aurora.git
2 years agoUpdating .auroraversion to release version 0.7.0-incubating. rel/0.7.0-incubating
Maxim Khutornenko [Mon, 9 Feb 2015 20:53:31 +0000 (12:53 -0800)] 
Updating .auroraversion to release version 0.7.0-incubating.

2 years agoUpdating .auroraversion to 0.7.0-rc3.
Maxim Khutornenko [Sun, 1 Feb 2015 03:50:30 +0000 (19:50 -0800)] 
Updating .auroraversion to 0.7.0-rc3.

2 years agoUpdating CHANGELOG for 0.7.0 release.
Maxim Khutornenko [Sun, 1 Feb 2015 03:50:30 +0000 (19:50 -0800)] 
Updating CHANGELOG for 0.7.0 release.

2 years agoPreparing for 0.7.0 RC3
Maxim Khutornenko [Sat, 31 Jan 2015 01:55:48 +0000 (17:55 -0800)] 
Preparing for 0.7.0 RC3

Reviewed at https://reviews.apache.org/r/30474/

2 years agoFixing copyright notice
Maxim Khutornenko [Sat, 31 Jan 2015 01:54:11 +0000 (17:54 -0800)] 
Fixing copyright notice

Bugs closed: AURORA-1072

Reviewed at https://reviews.apache.org/r/30473/

2 years agoRevert backwards incomaptible chnages to GC ExecutorInfo.
Zameer Manji [Sat, 31 Jan 2015 00:27:58 +0000 (16:27 -0800)] 
Revert backwards incomaptible chnages to GC ExecutorInfo.

The Docker patch (7ba6226) started to set the shell attribute of of
ExecutorInfo. This breaks backwards compatability for the GC executor as it will
continue to have the same id but different info now. In addition it is not
necessary to set this value because it defaults to true.

Testing Done:
./gradlew build -Pq

Bugs closed: AURORA-1076

Reviewed at https://reviews.apache.org/r/30471/

2 years agoRemove support for cluster metadata in YAML format.
Bill Farner [Fri, 30 Jan 2015 20:34:23 +0000 (12:34 -0800)] 
Remove support for cluster metadata in YAML format.

Testing Done:
./build-support/jenkins/build.sh

test_end_to_end.sh is currently broken on master, i will address that and ensure it passes before committing this.

Bugs closed: AURORA-1029

Reviewed at https://reviews.apache.org/r/30187/

2 years agoFix compile errors under Java 8.
Joshua Cohen [Fri, 30 Jan 2015 19:28:33 +0000 (11:28 -0800)] 
Fix compile errors under Java 8.

Reviewed at https://reviews.apache.org/r/30446/

2 years ago[AURORA-184] Remove hardcoded 'host' and 'rack' limit constraints
Florian Pfeiffer [Fri, 30 Jan 2015 19:24:37 +0000 (11:24 -0800)] 
[AURORA-184] Remove hardcoded 'host' and 'rack' limit constraints

This is the first step for AURORA-184, that removes the default host&rack limit
constraints.
The second step that's still missing would be to add s.th. like
"--default-constraints" as start parameter to the scheduler.

AURORA-174 could probably be closed with this?(since the rack limit constraint
can be configured in the .aurora file)

I can't really estimate the effect of my changes in
StorageBackfillTest&SchedulerThriftInterfaceTest, please have a closer look at
the changes I did there.

Since this is also my first code submit, comments about codestyle&other bad
habbits are very appreciated.

Testing Done:
Added test for ConfigurationManager.hasName
Added test testNoHostAndRackConstraintsAdded, that checks if the constraints are
present
Tested on vagrant devcluster to see if constraints are also gone in "real life"

Bugs closed: AURORA-184

Reviewed at https://reviews.apache.org/r/30010/

2 years agoAdded TellApart to list of aurora users.
Steve Niemitz [Wed, 28 Jan 2015 23:38:40 +0000 (15:38 -0800)] 
Added TellApart to list of aurora users.

Reviewed at https://reviews.apache.org/r/30384/

2 years agoFix small typo in documentation.
Florian Pfeiffer [Wed, 28 Jan 2015 23:30:41 +0000 (15:30 -0800)] 
Fix small typo in documentation.
In the examples it's always "db_team", so I think it should be db_team in this
sentence as well.

Testing Done:
none

Reviewed at https://reviews.apache.org/r/30383/

2 years agoEnd to end tests for docker in aurora
Steve Niemitz [Wed, 28 Jan 2015 21:01:25 +0000 (13:01 -0800)] 
End to end tests for docker in aurora

Reviewed at https://reviews.apache.org/r/29827/

2 years agoSimplify AuroraCommandContext
Zameer Manji [Wed, 28 Jan 2015 19:30:34 +0000 (11:30 -0800)] 
Simplify AuroraCommandContext

The AuroraCommandContext class is used in multiple commands and contains common
code for all of them. However some portions are only used by one command. This
patch takes some of those portions and moves them to the command that requires
that functionality.

Testing Done:
./pants test.pytest --no-fast src/test/python/apache/aurora/client::

Reviewed at https://reviews.apache.org/r/30207/

2 years agoRemove documentation for nonexistent pystachio feature.
Kevin Sweeney [Wed, 28 Jan 2015 01:49:51 +0000 (17:49 -0800)] 
Remove documentation for nonexistent pystachio feature.

Bugs closed: AURORA-1008

Reviewed at https://reviews.apache.org/r/29862/

2 years agoIncrementing snapshot version to 0.7.1-SNAPSHOT.
Maxim Khutornenko [Wed, 28 Jan 2015 01:23:26 +0000 (17:23 -0800)] 
Incrementing snapshot version to 0.7.1-SNAPSHOT.

2 years agoUpdating CHANGELOG for 0.7.0 release.
Maxim Khutornenko [Wed, 28 Jan 2015 01:23:25 +0000 (17:23 -0800)] 
Updating CHANGELOG for 0.7.0 release.

2 years agoOnly print when coverage is below the pass threshold.
Bill Farner [Wed, 28 Jan 2015 01:17:52 +0000 (17:17 -0800)] 
Only print when coverage is below the pass threshold.

Bugs closed: AURORA-1060

Reviewed at https://reviews.apache.org/r/30346/

2 years agoFixed python tests hanging
Steve Niemitz [Wed, 28 Jan 2015 00:51:03 +0000 (16:51 -0800)] 
Fixed python tests hanging

Bugs closed: AURORA-1067

Reviewed at https://reviews.apache.org/r/30331/

2 years agoReverting .auroraversion and CHANGELOG changes
Maxim Khutornenko [Wed, 28 Jan 2015 00:37:15 +0000 (16:37 -0800)] 
Reverting .auroraversion and CHANGELOG changes

Rolling back 0.7.0  RC1 changes in preparation for RC2.

Reviewed at https://reviews.apache.org/r/30341/

2 years agoUpdating release publishing script to work with linked .auroraversion
Maxim Khutornenko [Wed, 28 Jan 2015 00:24:49 +0000 (16:24 -0800)] 
Updating release publishing script to work with linked .auroraversion

Reviewed at https://reviews.apache.org/r/30302/

2 years agoAdd CONTRIBUTING.md so github shows a link to it before opening a PR.
Jeffrey Schroeder [Tue, 27 Jan 2015 19:08:56 +0000 (11:08 -0800)] 
Add CONTRIBUTING.md so github shows a link to it before opening a PR.

Reviewed at https://reviews.apache.org/r/30249/

2 years agoUpgrade to rbt=0.7.0.
Bill Farner [Tue, 27 Jan 2015 18:24:36 +0000 (10:24 -0800)] 
Upgrade to rbt=0.7.0.

Reviewed at https://reviews.apache.org/r/30204/

2 years agoIncrementing snapshot version to 0.7.1-SNAPSHOT.
-l [Tue, 27 Jan 2015 00:15:24 +0000 (16:15 -0800)] 
Incrementing snapshot version to 0.7.1-SNAPSHOT.

2 years agoUpdating CHANGELOG for 0.7.0 release.
-l [Tue, 27 Jan 2015 00:15:24 +0000 (16:15 -0800)] 
Updating CHANGELOG for 0.7.0 release.

2 years agoUpdating release script to work with linked .auroraversion
Maxim Khutornenko [Tue, 27 Jan 2015 00:11:38 +0000 (16:11 -0800)] 
Updating release script to work with linked .auroraversion

Reviewed at https://reviews.apache.org/r/30293/

2 years agoAvoid performing RPC authentication while holding the write lock.
Bill Farner [Mon, 26 Jan 2015 23:44:28 +0000 (15:44 -0800)] 
Avoid performing RPC authentication while holding the write lock.

Bugs closed: AURORA-1045

Reviewed at https://reviews.apache.org/r/30178/

2 years agoRaise .auroraversion to 0.7.0-SNAPSHOT
Maxim Khutornenko [Mon, 26 Jan 2015 22:11:46 +0000 (14:11 -0800)] 
Raise .auroraversion to 0.7.0-SNAPSHOT

Reviewed at https://reviews.apache.org/r/30286/

2 years agoAdd Protobufs anonymous class back to untested classes list.
Bill Farner [Mon, 26 Jan 2015 22:05:38 +0000 (14:05 -0800)] 
Add Protobufs anonymous class back to untested classes list.

Reviewed at https://reviews.apache.org/r/30285/

2 years agoFix impedance mismatch between offer matching and task launching.
Bill Farner [Mon, 26 Jan 2015 20:46:58 +0000 (12:46 -0800)] 
Fix impedance mismatch between offer matching and task launching.

Bugs closed: AURORA-1050

Reviewed at https://reviews.apache.org/r/30203/

2 years agoAdd support for docker containers to aurora
Steve Niemitz [Sat, 24 Jan 2015 00:39:54 +0000 (16:39 -0800)] 
Add support for docker containers to aurora

This change adds support for launching docker containers through
aurora.  These changes are based off of the discussion in
https://issues.apache.org/jira/browse/AURORA-633

As of now, a special thermos_executor.sh script is needed to launch
the executor inside docker containers.  A sample aurora file is in
examples/jobs/docker.

In addition, mesos-slave must be run with
`--containerizers=docker,mesos`, the example upstart config in
examples/vagrant/upstart has been updated to reflect this.

More information is in subsequent review request comments.

Bugs closed: AURORA-633

Reviewed at https://reviews.apache.org/r/28920/

2 years agoMinor clean up to mock usage in resource manager integration tests.
Joshua Cohen [Fri, 23 Jan 2015 21:39:55 +0000 (13:39 -0800)] 
Minor clean up to mock usage in resource manager integration tests.

We didn't need to wrap the mock disk collector in a lambda, just rather than
asserting on the mock class, we instead needed to assert on its return value
(the instance).

Testing Done:
./pants build src/test/python/apache/aurora/executor/common:resource_manager_integration

Reviewed at https://reviews.apache.org/r/29984/

2 years agoStream backups directly to file.
Kevin Sweeney [Fri, 23 Jan 2015 19:26:11 +0000 (11:26 -0800)] 
Stream backups directly to file.

Testing Done:
./gradlew build

Bugs closed: AURORA-1053

Reviewed at https://reviews.apache.org/r/30224/

2 years agoAdd option to override local scheduler address published into ZooKeeper
Steve Niemitz [Fri, 23 Jan 2015 00:23:33 +0000 (16:23 -0800)] 
Add option to override local scheduler address published into ZooKeeper

I've added a new flag for the aurora scheduler, -hostname which can
override the scheduler server address published into ZK.

This is useful for cases such as running the scheduler in EC2, where
the autodetected local address is actual an interal IP and not the
public address of the machine.

Reviewed at https://reviews.apache.org/r/29464/

2 years agoFix newbie ticket link in docs.
Bill Farner [Wed, 21 Jan 2015 00:37:09 +0000 (16:37 -0800)] 
Fix newbie ticket link in docs.

Reviewed at https://reviews.apache.org/r/30102/

2 years agoFixing batched kill task filtering.
Maxim Khutornenko [Sat, 17 Jan 2015 22:05:51 +0000 (14:05 -0800)] 
Fixing batched kill task filtering.

Bugs closed: AURORA-996

Reviewed at https://reviews.apache.org/r/29873/

2 years agoBump the minimum allocation for thermos to 256MB of RAM.
Zameer Manji [Sat, 17 Jan 2015 01:23:34 +0000 (17:23 -0800)] 
Bump the minimum allocation for thermos to 256MB of RAM.

This increase will prevent jobs with small resource requirements from OOMing if
there is no executor overhead.

Testing Done:
./gradlew clean test

Bugs closed: AURORA-1021

Reviewed at https://reviews.apache.org/r/30000/

2 years agoUpgrade pants to 0.0.27
Brian Wickman [Fri, 16 Jan 2015 22:49:44 +0000 (14:49 -0800)] 
Upgrade pants to 0.0.27

Ports aurora repo to use pants 0.0.27 using the new pants new command
processor.

Testing Done:
bash src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh

Reviewed at https://reviews.apache.org/r/29866/

2 years agoFix path to stylesheet in slaves and utilization templates.
Joshua Cohen [Fri, 16 Jan 2015 22:29:31 +0000 (14:29 -0800)] 
Fix path to stylesheet in slaves and utilization templates.

Bugs closed: AURORA-1019

Reviewed at https://reviews.apache.org/r/29971/

2 years agoUpdates so client will run in PyCharm.
Joshua Cohen [Thu, 15 Jan 2015 19:49:53 +0000 (11:49 -0800)] 
Updates so client will run in PyCharm.

2 years agoDe-flakify resource_manager_integration test
Brian Wickman [Fri, 16 Jan 2015 19:11:37 +0000 (11:11 -0800)] 
De-flakify resource_manager_integration test

Testing Done:
./pants goal test --no-test-pytest-fast src/test/python/apache/aurora/executor/common::

Reviewed at https://reviews.apache.org/r/29901/

2 years agoEnsure TaskStateChange event emitted by StateManagerImpl has valid data.
Zameer Manji [Thu, 15 Jan 2015 22:52:16 +0000 (14:52 -0800)] 
Ensure TaskStateChange event emitted by StateManagerImpl has valid data.

The `StateManagerImpl` class emits a pubsub event when a task transitions to the
ASSIGNED state but before it attaches the associated slave id and host. This
patch ensures that the pubsub event has the associated slave id and host when
emitted.

Testing Done:
./gradlew build -Pq

Bugs closed: AURORA-1016

Reviewed at https://reviews.apache.org/r/29915/

2 years agoPaginate when necessary in review bot.
Bill Farner [Thu, 15 Jan 2015 19:32:34 +0000 (11:32 -0800)] 
Paginate when necessary in review bot.

Bugs closed: AURORA-1018

Reviewed at https://reviews.apache.org/r/29940/

2 years agoRemove dynamic command hooks and dynamic hook policy.
Zameer Manji [Tue, 13 Jan 2015 19:23:53 +0000 (11:23 -0800)] 
Remove dynamic command hooks and dynamic hook policy.

Reviewed at https://reviews.apache.org/r/29717/

2 years agoUpgrade pystachio to 0.7.4.
Brian Wickman [Tue, 13 Jan 2015 19:08:06 +0000 (11:08 -0800)] 
Upgrade pystachio to 0.7.4.

This fixes a bug with loading a serialized pystachio config with multiply
nested include statements.

Testing Done:
build-support/jenkins/build.sh

Reviewed at https://reviews.apache.org/r/29463/

2 years agoPatch ResourceManager into OSS Aurora.
Brian Wickman [Tue, 13 Jan 2015 00:43:50 +0000 (16:43 -0800)] 
Patch ResourceManager into OSS Aurora.

Testing Done:
e2e

Bugs closed: AURORA-1002

Reviewed at https://reviews.apache.org/r/29828/

2 years agoFixed cleanup in end to end failure after v1 client removal
Steve Niemitz [Tue, 13 Jan 2015 00:24:36 +0000 (16:24 -0800)] 
Fixed cleanup in end to end failure after v1 client removal

Reviewed at https://reviews.apache.org/r/29829/

2 years agoAdd support for --version flag to client.
Joshua Cohen [Tue, 13 Jan 2015 00:07:17 +0000 (16:07 -0800)] 
Add support for --version flag to client.

Bugs closed: AURORA-970, AURORA-989

Reviewed at https://reviews.apache.org/r/29770/

2 years agoRemoves documentation README link to clientv2, and removes unnecessary markdown header.
Dave Lester [Mon, 12 Jan 2015 19:16:44 +0000 (11:16 -0800)] 
Removes documentation README link to clientv2, and removes unnecessary markdown header.

2 years agoAdded gutefrage.net to 'Companies using Aurora' list
Florian Pfeiffer [Mon, 12 Jan 2015 19:00:12 +0000 (11:00 -0800)] 
Added gutefrage.net to 'Companies using Aurora' list

Reviewed at https://reviews.apache.org/r/29797/

2 years agoDon't double up on verbose kwargs when creating a DirectSchedulerClient.
Joshua Cohen [Mon, 12 Jan 2015 18:17:39 +0000 (10:17 -0800)] 
Don't double up on verbose kwargs when creating a DirectSchedulerClient.

Bugs closed: AURORA-998

Reviewed at https://reviews.apache.org/r/29786/

2 years agoScrub docs of remaining references to aurora2 and aurora help.
Bill Farner [Fri, 9 Jan 2015 21:16:41 +0000 (13:16 -0800)] 
Scrub docs of remaining references to aurora2 and aurora help.

Reviewed at https://reviews.apache.org/r/29774/

2 years agoUse pipefail to capture build failures in ReviewBot.
Bill Farner [Fri, 9 Jan 2015 20:51:29 +0000 (12:51 -0800)] 
Use pipefail to capture build failures in ReviewBot.

Bugs closed: AURORA-997

Reviewed at https://reviews.apache.org/r/29777/

2 years agoService status endpoint.
Kevin Sweeney [Fri, 9 Jan 2015 18:58:24 +0000 (10:58 -0800)] 
Service status endpoint.

Service status endpoint for debugging.

Testing Done:
./gradlew -Pq build

Inspected output with ./gradlew run

```
% curl http://localhost:8081/services | python -m json.tool
[
    {
        "name": "TaskTimeout",
        "state": "RUNNING"
    },
    {
        "name": "JobUpdateHistoryPruner",
        "state": "RUNNING"
    },
    {
        "name": "TaskStatUpdaterService",
        "state": "RUNNING"
    },
    {
        "name": "SlotSizeCounterService",
        "state": "RUNNING"
    },
    {
        "name": "SlaUpdater",
        "state": "RUNNING"
    },
    {
        "name": "CronLifecycle",
        "state": "RUNNING"
    },
    {
        "name": "TaskVars",
        "state": "RUNNING"
    },
    {
        "name": "RegisterGauges",
        "state": "RUNNING"
    },
    {
        "name": "RegisterSubscribers",
        "state": "RUNNING"
    },
    {
        "name": "RedirectMonitor",
        "state": "RUNNING"
    }
]
```

Reviewed at https://reviews.apache.org/r/29731/

2 years agoFix bad call to print_out causing 'job inspect --raw' to fail.
Bill Farner [Fri, 9 Jan 2015 18:44:53 +0000 (10:44 -0800)] 
Fix bad call to print_out causing 'job inspect --raw' to fail.

Bugs closed: AURORA-990

Reviewed at https://reviews.apache.org/r/29696/

2 years agoFix reviewbot to skip reviews that have no diffs.
Joshua Cohen [Fri, 9 Jan 2015 01:04:28 +0000 (17:04 -0800)] 
Fix reviewbot to skip reviews that have no diffs.

Reviewed at https://reviews.apache.org/r/29734/

2 years agoSimplify client help output and solely use argparse.
Bill Farner [Thu, 8 Jan 2015 21:13:37 +0000 (13:13 -0800)] 
Simplify client help output and solely use argparse.

Bugs closed: AURORA-994

Reviewed at https://reviews.apache.org/r/29698/

2 years agoAdd reference to styleguides for Java and Python.
Joshua Cohen [Thu, 8 Jan 2015 19:20:35 +0000 (11:20 -0800)] 
Add reference to styleguides for Java and Python.

Testing Done:
Previewed markdown.

Reviewed at https://reviews.apache.org/r/29691/

2 years agoRemoving client v1 code.
Maxim Khutornenko [Thu, 8 Jan 2015 01:06:52 +0000 (17:06 -0800)] 
Removing client v1 code.

Bugs closed: AURORA-775

Reviewed at https://reviews.apache.org/r/29216/

2 years agoRemoving cron schedule support from createJob and killTasks
Maxim Khutornenko [Thu, 8 Jan 2015 01:01:36 +0000 (17:01 -0800)] 
Removing cron schedule support from createJob and killTasks

Bugs closed: AURORA-454, AURORA-976

Reviewed at https://reviews.apache.org/r/29271/

2 years agoSuppressing duplicate error messages.
Maxim Khutornenko [Thu, 8 Jan 2015 00:27:46 +0000 (16:27 -0800)] 
Suppressing duplicate error messages.

Bugs closed: AURORA-968

Reviewed at https://reviews.apache.org/r/29015/

2 years agoFix user agent support for DirectSchedulerClient.
Joshua Cohen [Wed, 7 Jan 2015 23:57:16 +0000 (15:57 -0800)] 
Fix user agent support for DirectSchedulerClient.

Bugs closed: AURORA-988

Reviewed at https://reviews.apache.org/r/29674/

2 years agoRemoving unused import.
Maxim Khutornenko [Wed, 7 Jan 2015 22:47:44 +0000 (14:47 -0800)] 
Removing unused import.

Reviewed at https://reviews.apache.org/r/29681/

2 years agoFixing failed test.
Maxim Khutornenko [Wed, 7 Jan 2015 21:54:06 +0000 (13:54 -0800)] 
Fixing failed test.

Reviewed at https://reviews.apache.org/r/29672/

2 years agoChange index to point to API thrift documentation.
Bill Farner [Wed, 7 Jan 2015 21:11:10 +0000 (13:11 -0800)] 
Change index to point to API thrift documentation.

Bugs closed: AURORA-992

Reviewed at https://reviews.apache.org/r/29669/

2 years agoImplementing dual read the PopulatedJobConfig struct
Maxim Khutornenko [Wed, 7 Jan 2015 20:54:46 +0000 (12:54 -0800)] 
Implementing dual read the PopulatedJobConfig struct

Bugs closed: AURORA-691

Reviewed at https://reviews.apache.org/r/29137/

2 years agoFixed make-python-sdists after removal of v1 client.
Steve Niemitz [Wed, 7 Jan 2015 18:16:49 +0000 (10:16 -0800)] 
Fixed make-python-sdists after removal of v1 client.

Reviewed at https://reviews.apache.org/r/29662/

2 years agoReplace twitter.common.python dependency with a direct pex dependency (at the latest...
Joshua Cohen [Wed, 7 Jan 2015 00:52:04 +0000 (16:52 -0800)] 
Replace twitter.common.python dependency with a direct pex dependency (at the latest version).

Testing Done:
./pants build src/test/python/apache/aurora:all
bash src/test/sh/org/apache/aurora/e2e/test_end_to_end_v2.sh
bash src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh

Reviewed at https://reviews.apache.org/r/29586/

2 years agoImproving quota check message in the client.
Maxim Khutornenko [Tue, 6 Jan 2015 23:26:07 +0000 (15:26 -0800)] 
Improving quota check message in the client.

Bugs closed: AURORA-469

Reviewed at https://reviews.apache.org/r/28872/

2 years agoBegin dismantling client v1.
Bill Farner [Tue, 6 Jan 2015 21:30:13 +0000 (13:30 -0800)] 
Begin dismantling client v1.

Bugs closed: AURORA-775

Reviewed at https://reviews.apache.org/r/28971/

2 years agoRemove SANDBOX_DELETED state.
Bill Farner [Tue, 6 Jan 2015 19:54:25 +0000 (11:54 -0800)] 
Remove SANDBOX_DELETED state.

Bugs closed: AURORA-832

Reviewed at https://reviews.apache.org/r/28913/

2 years ago[AURORA-986] RequestLoggerTest failed for Locale.FRANCE
Issam EL ATIF [Tue, 6 Jan 2015 19:31:20 +0000 (11:31 -0800)] 
[AURORA-986] RequestLoggerTest failed for Locale.FRANCE

Testing Done:
All tests in RequestLoggerTest pass now.

Reviewed at https://reviews.apache.org/r/29491/

2 years agoFixes typo and markdown in Developing Aurora Client documentation.
Dave Lester [Mon, 29 Dec 2014 21:49:01 +0000 (16:49 -0500)] 
Fixes typo and markdown in Developing Aurora Client documentation.

Reviewed at https://reviews.apache.org/r/29423/

2 years agoFixes markdown formatting in Vagrant documentation.
Dave Lester [Mon, 29 Dec 2014 21:46:43 +0000 (16:46 -0500)] 
Fixes markdown formatting in Vagrant documentation.

Reviewed at https://reviews.apache.org/r/29426/

2 years agoRemoving duplicate target.
Maxim Khutornenko [Tue, 23 Dec 2014 02:29:50 +0000 (18:29 -0800)] 
Removing duplicate target.

Duplicate hooks target introduced in https://reviews.apache.org/r/29165

Reviewed at https://reviews.apache.org/r/29348/

2 years agoFixing build break.
Maxim Khutornenko [Fri, 19 Dec 2014 22:48:58 +0000 (14:48 -0800)] 
Fixing build break.

Couple of tests changes escaped in https://reviews.apache.org/r/29165

Testing Done:
./pants src/test/python:all

Reviewed at https://reviews.apache.org/r/29275/

2 years agoAdd custom user agent for Aurora v1, Aurora v2 and Aurora Admin clients.
Joshua Cohen [Fri, 19 Dec 2014 21:59:26 +0000 (13:59 -0800)] 
Add custom user agent for Aurora v1, Aurora v2 and Aurora Admin clients.

Testing Done:
./pants build src/test/python/apache/aurora::

Also ran e2e tests for v1 and v2 and verified the user agent in the
scheduler logs.

Bugs closed: AURORA-934

Reviewed at https://reviews.apache.org/r/29165/

2 years agoRemove unused 3rdparty dependencies.
Kevin Sweeney [Fri, 19 Dec 2014 20:23:26 +0000 (12:23 -0800)] 
Remove unused 3rdparty dependencies.
Wire up tests not linked to src/test/python:all
Remove unused tests.

Testing Done:
Listed leaf dependencies:

```bash
for target in $(./pants goal list :: 2>/dev/null); do
  if [[ -z "$(./pants goal dependees $target 2>/dev/null)" ]]; then
    echo $target
  fi
done
```

Reviewed at https://reviews.apache.org/r/29267/

2 years agoget_client_version should never be allowed to run unpatched in test.
Brian Wickman [Thu, 18 Dec 2014 00:40:21 +0000 (16:40 -0800)] 
get_client_version should never be allowed to run unpatched in test.

get_client_version tries to get the PEX-INFO of sys.argv[0], which is
usually pants when running tests (!) if the format of PEX-INFO changes to a
new version of pants (as is the case for pants 0.0.25), then tests will
start failing with an inscrutible error.  instead, just patch
get_client_version to something sensible.

Reviewed at https://reviews.apache.org/r/29132/

2 years agoMake 'pants goal' invocations work. Use proper python codegen style.
Brian Wickman [Wed, 17 Dec 2014 00:10:45 +0000 (16:10 -0800)] 
Make 'pants goal' invocations work.  Use proper python codegen style.

Testing Done:
./pants goal test src/test/python/apache/aurora/client/api:updater

Reviewed at https://reviews.apache.org/r/29126/

2 years agoExtract mechanism for determining pex version so it can be used for cases other than...
Joshua Cohen [Mon, 15 Dec 2014 23:19:24 +0000 (15:19 -0800)] 
Extract mechanism for determining pex version so it can be used for cases other than client version.

Reviewed at https://reviews.apache.org/r/29058/

2 years agoChanging log level for the RequestLogger.
Maxim Khutornenko [Mon, 15 Dec 2014 20:50:50 +0000 (12:50 -0800)] 
Changing log level for the RequestLogger.

Bugs closed: AURORA-934

Reviewed at https://reviews.apache.org/r/29005/

2 years agoMake abstract decorators effective in CommandHook class
Zameer Manji [Fri, 12 Dec 2014 00:40:44 +0000 (16:40 -0800)] 
Make abstract decorators effective in CommandHook class

Reviewed at https://reviews.apache.org/r/28879/

2 years agoSuppressing redundant client command error messaging.
Maxim Khutornenko [Thu, 11 Dec 2014 20:48:50 +0000 (12:48 -0800)] 
Suppressing redundant client command error messaging.

Bugs closed: AURORA-965

Reviewed at https://reviews.apache.org/r/28876/

2 years agoImproving logging experience in admin drain_hosts.
Maxim Khutornenko [Thu, 11 Dec 2014 20:47:00 +0000 (12:47 -0800)] 
Improving logging experience in admin drain_hosts.

Bugs closed: AURORA-943

Reviewed at https://reviews.apache.org/r/28811/

2 years agoMore logging in MaintenanceController.
Maxim Khutornenko [Thu, 11 Dec 2014 19:58:59 +0000 (11:58 -0800)] 
More logging in MaintenanceController.

Bugs closed: AURORA-935

Reviewed at https://reviews.apache.org/r/28806/

2 years agoAdding JMH framework support for scheduler performance analysis.
Maxim Khutornenko [Thu, 11 Dec 2014 19:57:09 +0000 (11:57 -0800)] 
Adding JMH framework support for scheduler performance analysis.

Reviewed at https://reviews.apache.org/r/28710/

2 years agoAdding PMD rule to check @Timed annotation placement.
Maxim Khutornenko [Thu, 11 Dec 2014 19:50:59 +0000 (11:50 -0800)] 
Adding PMD rule to check @Timed annotation placement.

Bugs closed: AURORA-967

Reviewed at https://reviews.apache.org/r/28914/

2 years agoChanging the default --batch-size to 1.
Maxim Khutornenko [Thu, 11 Dec 2014 19:46:31 +0000 (11:46 -0800)] 
Changing the default --batch-size to 1.

Bugs closed: AURORA-961

Reviewed at https://reviews.apache.org/r/28831/

2 years agoUse pip to pre-fetch python dependencies.
Bill Farner [Thu, 11 Dec 2014 05:47:17 +0000 (21:47 -0800)] 
Use pip to pre-fetch python dependencies.

Reviewed at https://reviews.apache.org/r/28915/

2 years agoFixing @Timed method visibility.
Maxim Khutornenko [Wed, 10 Dec 2014 01:13:06 +0000 (17:13 -0800)] 
Fixing @Timed method visibility.

Bugs closed: AURORA-966

Reviewed at https://reviews.apache.org/r/28883/

2 years agoSimplify logging in the client.
Zameer Manji [Mon, 8 Dec 2014 23:37:24 +0000 (15:37 -0800)] 
Simplify logging in the client.

Bugs closed: AURORA-919

Reviewed at https://reviews.apache.org/r/28742/

2 years agoUse abstract decorators in CommandLine class.
Zameer Manji [Mon, 8 Dec 2014 17:59:32 +0000 (09:59 -0800)] 
Use abstract decorators in CommandLine class.
This ensures the name property and register_nouns method are implemented.

Reviewed at https://reviews.apache.org/r/28696/

2 years agoDon't fall back to old command syntax in the new client.
Bill Farner [Mon, 8 Dec 2014 17:56:32 +0000 (09:56 -0800)] 
Don't fall back to old command syntax in the new client.

Bugs closed: AURORA-782

Reviewed at https://reviews.apache.org/r/28771/

2 years agoReorganizes documentation README and updates links to current documentation pages.
Dave Lester [Sat, 6 Dec 2014 18:48:54 +0000 (10:48 -0800)] 
Reorganizes documentation README and updates links to current documentation pages.

Reviewed at https://reviews.apache.org/r/28613/

2 years agoRemove unused DefaultServlet subclass.
Bill Farner [Fri, 5 Dec 2014 18:36:20 +0000 (10:36 -0800)] 
Remove unused DefaultServlet subclass.

Reviewed at https://reviews.apache.org/r/28738/

2 years agoMake abstract method annotations on ConfigurationPlugin effective.
Zameer Manji [Fri, 5 Dec 2014 16:38:58 +0000 (08:38 -0800)] 
Make abstract method annotations on ConfigurationPlugin effective.

Reviewed at https://reviews.apache.org/r/28693/

2 years agoRemove Response.messageDEPRECATED field.
Bill Farner [Fri, 5 Dec 2014 02:11:00 +0000 (18:11 -0800)] 
Remove Response.messageDEPRECATED field.

Bugs closed: AURORA-466

Reviewed at https://reviews.apache.org/r/28674/

2 years agoDrop custom thrift doc generator in favor of the one included in thrift.
Bill Farner [Fri, 5 Dec 2014 02:09:33 +0000 (18:09 -0800)] 
Drop custom thrift doc generator in favor of the one included in thrift.

Bugs closed: AURORA-947

Reviewed at https://reviews.apache.org/r/28682/

2 years agoRemove redundant storage.write.
Bill Farner [Fri, 5 Dec 2014 00:23:17 +0000 (16:23 -0800)] 
Remove redundant storage.write.

Reviewed at https://reviews.apache.org/r/28725/

2 years agoCollect HTTP stats on every request.
Zameer Manji [Thu, 4 Dec 2014 23:54:18 +0000 (15:54 -0800)] 
Collect HTTP stats on every request.

Reviewed at https://reviews.apache.org/r/28728/