aurora.git
23 months agoUpdating .auroraversion to release version 0.10.0. rel/0.10.0
Zameer Manji [Mon, 16 Nov 2015 22:00:57 +0000 (14:00 -0800)] 
Updating .auroraversion to release version 0.10.0.

23 months agoUpdating .auroraversion to 0.10.0-rc2.
Zameer Manji [Thu, 12 Nov 2015 04:10:07 +0000 (20:10 -0800)] 
Updating .auroraversion to 0.10.0-rc2.

23 months agoUpdating CHANGELOG for 0.10.0 release.
Zameer Manji [Thu, 12 Nov 2015 04:10:07 +0000 (20:10 -0800)] 
Updating CHANGELOG for 0.10.0 release.

23 months agoRevert .auroraversion and CHANGELOG for 0.10.0 RC2
Zameer Manji [Thu, 12 Nov 2015 04:08:33 +0000 (20:08 -0800)] 
Revert .auroraversion and CHANGELOG for 0.10.0 RC2

23 months agoIncrementing snapshot version to 0.11.0-SNAPSHOT.
Zameer Manji [Thu, 12 Nov 2015 04:05:01 +0000 (20:05 -0800)] 
Incrementing snapshot version to 0.11.0-SNAPSHOT.

23 months agoUpdating CHANGELOG for 0.10.0 release.
Zameer Manji [Thu, 12 Nov 2015 04:05:01 +0000 (20:05 -0800)] 
Updating CHANGELOG for 0.10.0 release.

23 months agoRevert .auroraversion for 0.10.0-rc1.
Zameer Manji [Thu, 12 Nov 2015 04:01:17 +0000 (20:01 -0800)] 
Revert .auroraversion for 0.10.0-rc1.

23 months agoTrim whitespace for pants script.
Joe Smith [Thu, 12 Nov 2015 00:50:28 +0000 (16:50 -0800)] 
Trim whitespace for pants script.

Contains https://github.com/pantsbuild/setup/pull/9

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

23 months agoUpdate pants bootstrap script to be agnostic to sed version.
Joe Smith [Wed, 11 Nov 2015 23:49:53 +0000 (15:49 -0800)] 
Update pants bootstrap script to be agnostic to sed version.

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

23 months agoCreate ExecutorSettings closer to command line arguments.
Bill Farner [Wed, 11 Nov 2015 16:57:26 +0000 (08:57 -0800)] 
Create ExecutorSettings closer to command line arguments.

This is prep work for https://issues.apache.org/jira/browse/AURORA-1376

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

23 months agoClarify the commit process for new contributors.
John Sirois [Wed, 11 Nov 2015 16:22:40 +0000 (08:22 -0800)] 
Clarify the commit process for new contributors.

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

23 months agoUpgrade Aurora to pants 0.0.57.
John Sirois [Tue, 10 Nov 2015 23:27:53 +0000 (15:27 -0800)] 
Upgrade Aurora to pants 0.0.57.

Bugs closed: AURORA-1499

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

23 months agoIncrementing snapshot version to 0.11.0-SNAPSHOT.
Zameer Manji [Tue, 10 Nov 2015 19:24:50 +0000 (11:24 -0800)] 
Incrementing snapshot version to 0.11.0-SNAPSHOT.

23 months agoUpdating CHANGELOG for 0.10.0 release.
Zameer Manji [Tue, 10 Nov 2015 19:24:50 +0000 (11:24 -0800)] 
Updating CHANGELOG for 0.10.0 release.

23 months agoDeleting unused function deprecation_warning
Dmitriy Shirchenko [Tue, 10 Nov 2015 02:17:36 +0000 (18:17 -0800)] 
Deleting unused function deprecation_warning
Adding test coverage to base, job_monitor, quota_check, scheduler_client

Bugs closed: AURORA-1536

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

23 months agoCallback should only be called on drained hosts.
David Robinson [Mon, 9 Nov 2015 23:37:53 +0000 (15:37 -0800)] 
Callback should only be called on drained hosts.

Bugs closed: AURORA-1537

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

23 months agoAdding GPG key for zmanji@apache.org.
Zameer Manji [Mon, 9 Nov 2015 22:56:38 +0000 (14:56 -0800)] 
Adding GPG key for zmanji@apache.org.

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

23 months agoAdding build target to build kerberos auth module.
Maxim Khutornenko [Sat, 7 Nov 2015 00:47:02 +0000 (16:47 -0800)] 
Adding build target to build kerberos auth module.

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

23 months agoAdding help message in case kerberos auth fails.
Maxim Khutornenko [Wed, 4 Nov 2015 01:00:23 +0000 (17:00 -0800)] 
Adding help message in case kerberos auth fails.

Bugs closed: AURORA-1364

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

23 months agoupgrade psutil to 3.2.2
Dmitriy Shirchenko [Mon, 2 Nov 2015 21:04:23 +0000 (13:04 -0800)] 
upgrade psutil to 3.2.2

Bugs closed: AURORA-1531

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

23 months agoRetry scheduler connection after unknown failures.
Stephan Erb [Mon, 2 Nov 2015 18:54:04 +0000 (10:54 -0800)] 
Retry scheduler connection after unknown failures.

Bugs closed: AURORA-1533

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

23 months agoEliminate duplicate docu in configuration tutorial.
Stephan Erb [Sun, 1 Nov 2015 17:02:10 +0000 (09:02 -0800)] 
Eliminate duplicate docu in configuration tutorial.

Bugs closed: AURORA-829

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

23 months agoRemove ChainedPathDetector and root argument from the observer.
Zameer Manji [Thu, 29 Oct 2015 23:25:53 +0000 (16:25 -0700)] 
Remove ChainedPathDetector and root argument from the observer.

Testing Done:
e2e tests passed

Bugs closed: AURORA-1338

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

23 months agoModify ClusterStateImpl to be thread safe.
Zameer Manji [Thu, 29 Oct 2015 21:04:23 +0000 (14:04 -0700)] 
Modify ClusterStateImpl to be thread safe.

ClusterStateImpl exposes a synchronized multimap which does not have a
thread-safe implementation of `keySet`. This patch revises the
`ClusterStateImpl` to return an immutable copy.

Bugs closed: AURORA-1510

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

23 months agoAdd note to CONTRIBUTING.md about default reviewers.
Joshua Cohen [Thu, 29 Oct 2015 18:38:40 +0000 (13:38 -0500)] 
Add note to CONTRIBUTING.md about default reviewers.

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

23 months agofix client build path in the docs
Dmitriy Shirchenko [Thu, 29 Oct 2015 15:51:28 +0000 (08:51 -0700)] 
fix client build path in the docs

Bugs closed: AURORA-1529

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

23 months agoSuppress no-op delete log noise during scheduler startup.
Bill Farner [Wed, 28 Oct 2015 03:12:16 +0000 (20:12 -0700)] 
Suppress no-op delete log noise during scheduler startup.

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

23 months agoAdd missing binding for ZooKeeperTestServer when running a local scheduler.
Bill Farner [Mon, 26 Oct 2015 23:02:50 +0000 (16:02 -0700)] 
Add missing binding for ZooKeeperTestServer when running a local scheduler.

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

23 months agoAdd listener to trigger scheduler shutdown on service failure.
Zameer Manji [Mon, 26 Oct 2015 21:03:52 +0000 (14:03 -0700)] 
Add listener to trigger scheduler shutdown on service failure.

Bugs closed: AURORA-1511

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

23 months agoRemove unused Connection interface.
Zameer Manji [Sun, 25 Oct 2015 22:00:14 +0000 (15:00 -0700)] 
Remove unused Connection interface.

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

23 months agoExplicitly declare FindBugs version and effort level.
Zameer Manji [Sun, 25 Oct 2015 20:39:33 +0000 (13:39 -0700)] 
Explicitly declare FindBugs version and effort level.

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

2 years agoIgnore serverInfo on the client side.
Kevin Sweeney [Fri, 23 Oct 2015 03:13:10 +0000 (20:13 -0700)] 
Ignore serverInfo on the client side.

The design of this check is flawed - the client has already sent an RPC
to the scheduler and received a response for it, meaning the request has
already been processed and this check only serves to ignore its results.

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

2 years agoRemove callable check.
Kevin Sweeney [Thu, 22 Oct 2015 23:56:00 +0000 (16:56 -0700)] 
Remove callable check.

Bugs closed: AURORA-1524

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

2 years agoAlways set SessionKey to empty in the client.
Kevin Sweeney [Thu, 22 Oct 2015 22:47:09 +0000 (15:47 -0700)] 
Always set SessionKey to empty in the client.

Always set SessionKey to empty on the client, as it's now ignored by
the scheduler.

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

./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh

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

2 years agoIgnore all SessionKeys.
Kevin Sweeney [Wed, 21 Oct 2015 23:14:15 +0000 (16:14 -0700)] 
Ignore all SessionKeys.

This change ignores all SessionKeys. Since the scheduler was doing
"requireNonNull" on SessionKey before the client needs to continue
to set SessionKey to a non-null value for this release. In the next
release the parameter can be dropped completely.

Apologies for the large diff, thankfully it's mostly red. Coverage in
SchedulerThriftInterface is very high, most of the deleted tests deal
with branches related to authentication or authorization failures,
as these are now enforced in a different layer.

Testing Done:
./graldew -Pq clean build

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

2 years agoAdding job update diff details into "aurora job diff" command.
Maxim Khutornenko [Wed, 21 Oct 2015 18:10:17 +0000 (11:10 -0700)] 
Adding job update diff details into "aurora job diff" command.

Bugs closed: AURORA-1516

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

2 years agoAdding getJobUpdateDiff thrift API.
Maxim Khutornenko [Wed, 14 Oct 2015 00:36:21 +0000 (17:36 -0700)] 
Adding getJobUpdateDiff thrift API.

Bugs closed: AURORA-1515

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

2 years agoConverting to Range in ConfigGroup thrift.
Maxim Khutornenko [Fri, 9 Oct 2015 18:05:11 +0000 (11:05 -0700)] 
Converting to Range in ConfigGroup thrift.

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

2 years agoFix minor inconsistencies in the storage documentation.
Stephan Erb [Fri, 9 Oct 2015 13:00:03 +0000 (14:00 +0100)] 
Fix minor inconsistencies in the storage documentation.

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

2 years agoAdd a note about updating the aurora-packagine repo when changing the gradle version.
Joshua Cohen [Thu, 8 Oct 2015 04:10:14 +0000 (21:10 -0700)] 
Add a note about updating the aurora-packagine repo when changing the gradle version.

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

2 years agoUpgrade to gradle 2.7 and checkstyle 6.11.2.
Bill Farner [Wed, 7 Oct 2015 17:09:43 +0000 (10:09 -0700)] 
Upgrade to gradle 2.7 and checkstyle 6.11.2.

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

2 years agoBetter handling of enums and constructor-only classes in test coverage check.
Bill Farner [Wed, 7 Oct 2015 16:36:08 +0000 (09:36 -0700)] 
Better handling of enums and constructor-only classes in test coverage check.

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

2 years agoUse Shiro to generate audit messages when available.
Kevin Sweeney [Wed, 30 Sep 2015 23:06:53 +0000 (16:06 -0700)] 
Use Shiro to generate audit messages when available.

This ensures that Shiro is always used to generate audit messages when available.

Testing Done:
./gradlew build

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

2 years agoClean up instance id range display. Also remove deprecated max time until running...
Joshua Cohen [Wed, 30 Sep 2015 20:07:50 +0000 (15:07 -0500)] 
Clean up instance id range display. Also remove deprecated max time until running, since it's unused by the server updater.

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

2 years agoDrop commons-io dependency.
Zameer Manji [Tue, 29 Sep 2015 21:13:49 +0000 (14:13 -0700)] 
Drop commons-io dependency.

This drops the commons-io dependency by replacing the uses with a built in Junit
rule.

Testing Done:
./gradlew clean test

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

2 years agoDocumenting dedicated job & quota relationship.
Maxim Khutornenko [Mon, 21 Sep 2015 22:38:30 +0000 (15:38 -0700)] 
Documenting dedicated job & quota relationship.

Bugs closed: AURORA-1462

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

2 years agoAdding oversubscription summary.
Maxim Khutornenko [Mon, 21 Sep 2015 22:36:46 +0000 (15:36 -0700)] 
Adding oversubscription summary.

Bugs closed: AURORA-1441

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

2 years agoAdding ssh options into "aurora task" commands.
Maxim Khutornenko [Mon, 21 Sep 2015 22:22:47 +0000 (15:22 -0700)] 
Adding ssh options into "aurora task" commands.

Bugs closed: AURORA-1491

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

2 years agoMaintain compatibility with Health Handler before javax refactor.
Joe Smith [Fri, 18 Sep 2015 22:30:08 +0000 (15:30 -0700)] 
Maintain compatibility with Health Handler before javax refactor.

Testing Done:
The previous HealthHandler used `println` to get the newline.

`[tw-mbp-jsmith aurora (health-newline)]$ src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh`

and

```
vagrant@aurora:~$ curl --silent --fail --retry 4 --retry-delay 10 localhost:8081/health
OK
vagrant@aurora:~$
```

Bugs closed: AURORA-1496

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

2 years agoRe-add Health Check to the Scheduler
Joe Smith [Fri, 18 Sep 2015 20:06:52 +0000 (13:06 -0700)] 
Re-add Health Check to the Scheduler

Bugs closed: AURORA-1496

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

2 years agoFixing SQL schema data types.
Maxim Khutornenko [Fri, 18 Sep 2015 17:12:53 +0000 (10:12 -0700)] 
Fixing SQL schema data types.

Bugs closed: AURORA-1494

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

2 years agoRestore build properties within Scheduler vars endpoint and snapshots
Joe Smith [Thu, 17 Sep 2015 19:31:52 +0000 (12:31 -0700)] 
Restore build properties within Scheduler vars endpoint and snapshots

Testing Done:
`./gradlew build -Pq`

Bugs closed: AURORA-1473

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

2 years agoAURORA-1485: TaskConfig default container value breaks client library generation...
Jake Farrell [Thu, 17 Sep 2015 16:24:41 +0000 (12:24 -0400)] 
AURORA-1485: TaskConfig default container value breaks client library generation for GO

When generating the client api library for go the default containerizer used as a hack for AURORA-1185 breaks and causes the client lib to not be generated correctly. The default value for the optional field `container = { "mesos": {} }` is not necessary as it is defaulted in java code on the api side.

Tracking this down it looks like the default value was a last minute addition based on some review comments and is not necessary or used anywhere.

Testing Done:
Passes all java/py tests in ./build-support/jenkins/build.sh
Passes all e2e tests in ./src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh

Bugs closed: AURORA-1485

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

2 years agoConvert all of our servlet implementations to jax-rs endpoints.
Bill Farner [Wed, 16 Sep 2015 02:55:46 +0000 (19:55 -0700)] 
Convert all of our servlet implementations to jax-rs endpoints.

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

2 years agoRefactor SchedulerMain to absorb AppLauncher.
Bill Farner [Tue, 15 Sep 2015 01:31:05 +0000 (18:31 -0700)] 
Refactor SchedulerMain to absorb AppLauncher.

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

2 years agoMake async work queue gating thread-local.
Bill Farner [Tue, 15 Sep 2015 01:29:22 +0000 (18:29 -0700)] 
Make async work queue gating thread-local.

Bugs closed: AURORA-1459

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

2 years agoChange ZooKeeperTestServer to not rely on ShutdownRegistry.
Bill Farner [Fri, 11 Sep 2015 23:52:21 +0000 (16:52 -0700)] 
Change ZooKeeperTestServer to not rely on ShutdownRegistry.

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

2 years agoShowing all resource consumption details in the UI
Maxim Khutornenko [Fri, 11 Sep 2015 21:29:18 +0000 (14:29 -0700)] 
Showing all resource consumption details in the UI

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

2 years agoTweak README to make bug filing instructions easier to find. Also update JDK requirem...
Joshua Cohen [Fri, 11 Sep 2015 20:47:10 +0000 (15:47 -0500)] 
Tweak README to make bug filing instructions easier to find. Also update JDK requirement to 1.8.

Bugs closed: AURORA-1489

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

2 years agoAdjusting /utilization and client to show correct consumption.
Maxim Khutornenko [Fri, 11 Sep 2015 20:11:52 +0000 (13:11 -0700)] 
Adjusting /utilization and client to show correct consumption.

Bugs closed: AURORA-1461

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

2 years agoReplace incorrect/misleading use of constraints with best practices doc.
Bill Farner [Fri, 11 Sep 2015 18:00:30 +0000 (11:00 -0700)] 
Replace incorrect/misleading use of constraints with best practices doc.

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

2 years agoProperly hide the job dashboard link if no dashboard link is configured.
Joshua Cohen [Fri, 11 Sep 2015 17:35:14 +0000 (12:35 -0500)] 
Properly hide the job dashboard link if no dashboard link is configured.

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

2 years agoRemove StartupRegistry.
Bill Farner [Fri, 11 Sep 2015 17:31:16 +0000 (10:31 -0700)] 
Remove StartupRegistry.

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

2 years agoRevert "Revert "Refer to shared task_configs table for job updates.""
Bill Farner [Fri, 11 Sep 2015 17:11:16 +0000 (10:11 -0700)] 
Revert "Revert "Refer to shared task_configs table for job updates.""

Bugs closed: AURORA-647

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

2 years agoRemove redundancy between breadcrumbs and page headers. Also make job dashboard link...
Joshua Cohen [Fri, 11 Sep 2015 17:08:37 +0000 (12:08 -0500)] 
Remove redundancy between breadcrumbs and page headers. Also make job dashboard link more prominent.

Bugs closed: AURORA-1474, AURORA-783

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

2 years agoRemove JDK 1.8 warning.
Bill Farner [Fri, 11 Sep 2015 17:03:43 +0000 (10:03 -0700)] 
Remove JDK 1.8 warning.

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

2 years agoAlter thrift wrapper generator to use default primitive values and empty
Bill Farner [Fri, 11 Sep 2015 03:49:45 +0000 (20:49 -0700)] 
Alter thrift wrapper generator to use default primitive values and empty
collections.

Bugs closed: AURORA-1476

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

2 years agoPrint a traceback when MesosExecutorDriver fails to load.
Bill Farner [Fri, 11 Sep 2015 00:24:18 +0000 (17:24 -0700)] 
Print a traceback when MesosExecutorDriver fails to load.

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

2 years agoReplace BoundedQueue with Guava's EvictingQueue.
Zameer Manji [Wed, 9 Sep 2015 23:52:57 +0000 (16:52 -0700)] 
Replace BoundedQueue with Guava's EvictingQueue.

Testing Done:
./gradlew build -Pq

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

2 years agoRefactoring resources table to show dedicated.
Maxim Khutornenko [Wed, 9 Sep 2015 21:12:28 +0000 (14:12 -0700)] 
Refactoring resources table to show dedicated.

Bugs closed: AURORA-1461

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

2 years agoDropping quota check for dedicated jobs and exposing dedicated consumption.
Maxim Khutornenko [Wed, 9 Sep 2015 19:03:27 +0000 (12:03 -0700)] 
Dropping quota check for dedicated jobs and exposing dedicated consumption.

Bugs closed: AURORA-1460

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

2 years agoAdding notes on changing the scheduler quorum size.
Jeffrey Schroeder [Wed, 9 Sep 2015 15:08:38 +0000 (08:08 -0700)] 
Adding notes on changing the scheduler quorum size.

Bugs closed: AURORA-1484

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

2 years agoDisable mimetype guessing in the observer chroot browser.
Zameer Manji [Fri, 4 Sep 2015 18:52:29 +0000 (11:52 -0700)] 
Disable mimetype guessing in the observer chroot browser.

This disables the mimetype guessing of files served by the chroot browser and
sets it to the standard `application/octet-stream` mimetype. This prevents
browsers from trying to decompress gzipped files or other surprising behaviour
for users.

Testing Done:
./pants test src/test/python/apache/thermos/observer::
Manual inspection of Content-Type header via vagrant.

Bugs closed: AURORA-1479

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

2 years agoMake it possible to link directly to individual tabs on the job page.
Joshua Cohen [Thu, 3 Sep 2015 21:05:21 +0000 (16:05 -0500)] 
Make it possible to link directly to individual tabs on the job page.

Bugs closed: AURORA-696

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

2 years agoAdding oversubscription e2e tests.
Maxim Khutornenko [Thu, 3 Sep 2015 04:23:51 +0000 (21:23 -0700)] 
Adding oversubscription e2e tests.

Bugs closed: AURORA-1464

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

2 years agoRevert "Refer to shared task_configs table for job updates."
Bill Farner [Wed, 2 Sep 2015 22:26:56 +0000 (15:26 -0700)] 
Revert "Refer to shared task_configs table for job updates."

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

2 years agoAdded support for {{mesos.hostname}} in configuration files.
Steve Niemitz [Wed, 2 Sep 2015 21:47:21 +0000 (14:47 -0700)] 
Added support for {{mesos.hostname}} in configuration files.

Bugs closed: AURORA-1261

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

2 years agoRemove ExceptionalClosure interface.
Zameer Manji [Wed, 2 Sep 2015 19:07:24 +0000 (12:07 -0700)] 
Remove ExceptionalClosure interface.

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

2 years agoOnly process instances if there's been a change.
Joshua Cohen [Wed, 2 Sep 2015 18:15:48 +0000 (13:15 -0500)] 
Only process instances if there's been a change.

The `true` parameter to `scope.$watch` tells Angular to only execute the supplied function if the watched data has changed. Given our 15s polling interval is likely less than time it takes for any progress to be made on an update, this removes the majority of (no-op) DOM operations.

Testing Done:
Left tab open continually polling a job with ~3000 instances, confirmed that memory usage did not grow beyond ~200MB.

Bugs closed: AURORA-1345

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

2 years agoUse guava replacement for ExecutorServiceShutdown.
Bill Farner [Wed, 2 Sep 2015 03:54:11 +0000 (20:54 -0700)] 
Use guava replacement for ExecutorServiceShutdown.

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

2 years agoStop in-progress instances from pulsing when update has been aborted.
Joshua Cohen [Wed, 2 Sep 2015 03:42:11 +0000 (22:42 -0500)] 
Stop in-progress instances from pulsing when update has been aborted.

Also removed the "INSTANCE-" prefix from tooltip as it seemed superfluous and
added "ABORTED" to the tooltip for instances that were "UPDATING" when the
update was aborted. An argument can be made for adding "ABORTED" to the tooltip
for all non-terminal states (PENDING, etc.), let me know if you think we
should add it for those as well.

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

2 years agoFix link to update page for the update list.
Joshua Cohen [Wed, 2 Sep 2015 01:04:35 +0000 (20:04 -0500)] 
Fix link to update page for the update list.

This was missed when I added the instance page. The redirect in the instance
controller catches this, but it makes going back impossible (since you land back
on the instance page and immediately get redirected again).

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

2 years agoRemove unused commons classes.
Zameer Manji [Tue, 1 Sep 2015 17:24:03 +0000 (10:24 -0700)] 
Remove unused commons classes.

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

2 years agoRemove unused components from the scheduler application stack.
Bill Farner [Tue, 1 Sep 2015 05:09:17 +0000 (22:09 -0700)] 
Remove unused components from the scheduler application stack.

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

2 years agoAllow for slashes in metric names
Joe Smith [Mon, 31 Aug 2015 23:24:28 +0000 (16:24 -0700)] 
Allow for slashes in metric names

Bugs closed: AURORA-1282

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

2 years agoAdding minimal implementation of the external tier config.
Maxim Khutornenko [Mon, 31 Aug 2015 22:18:51 +0000 (15:18 -0700)] 
Adding minimal implementation of the external tier config.

Bugs closed: AURORA-1437

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

2 years agoUpgrade Shiro to 1.2.4.
Zameer Manji [Mon, 31 Aug 2015 17:10:51 +0000 (10:10 -0700)] 
Upgrade Shiro to 1.2.4.

Testing Done:
./gradlew build -Pq

Bugs closed: AURORA-1186

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

2 years agoRemove barely used commons classes.
Zameer Manji [Mon, 31 Aug 2015 17:09:36 +0000 (10:09 -0700)] 
Remove barely used commons classes.

This patch removes a few barely used or duplicate classes from commons.

Testing Done:
./gradlew -Pq

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

2 years agoUpgrade to Guava 18
Zameer Manji [Mon, 31 Aug 2015 02:27:13 +0000 (19:27 -0700)] 
Upgrade to Guava 18

Upgrades the Gauva dep to 18. Full release notes can be found here:
* https://code.google.com/p/guava-libraries/wiki/Release17
* https://code.google.com/p/guava-libraries/wiki/Release18

Relevant changes are the introduction of `MoreObjects`, removal of
`InputSupplier` and `OutputSupplier` interfaces and replacing
`MoreExecutors.sameThreadExecutor()` with
`MoreExecutors.newDirectExecutorService()`.

Bugs closed: AURORA-586

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

2 years agoRemove dependency on old google testing library.
Bill Farner [Sun, 30 Aug 2015 21:57:40 +0000 (14:57 -0700)] 
Remove dependency on old google testing library.

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

2 years agoRemove unused code from commons fork.
Bill Farner [Sun, 30 Aug 2015 21:55:39 +0000 (14:55 -0700)] 
Remove unused code from commons fork.

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

2 years agoRefer to shared task_configs table for job updates.
Bill Farner [Sat, 29 Aug 2015 16:15:45 +0000 (09:15 -0700)] 
Refer to shared task_configs table for job updates.

Bugs closed: AURORA-647

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

2 years agoRemove unused classes from commons fork.
Bill Farner [Fri, 28 Aug 2015 18:32:58 +0000 (11:32 -0700)] 
Remove unused classes from commons fork.

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

2 years agoMove packages from com.twitter.common to org.apache.aurora.common
Zameer Manji [Wed, 26 Aug 2015 20:59:22 +0000 (13:59 -0700)] 
Move packages from com.twitter.common to org.apache.aurora.common

Change the namespace of the forked Twitter Commons from com.twitter.common to
org.apache.aurora.common. IntellJ's refactoring capability was used to do the
rename.

Testing Done:
./gradlew build -Pq

Bugs closed: AURORA-1442

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

2 years agoUse a copy of the table config to avoid contaminating pagination settings.
Joshua Cohen [Wed, 26 Aug 2015 20:29:49 +0000 (15:29 -0500)] 
Use a copy of the table config to avoid contaminating pagination settings.

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

2 years agoSetting revocable flag on a TaskInfo.
Maxim Khutornenko [Wed, 26 Aug 2015 18:49:50 +0000 (11:49 -0700)] 
Setting revocable flag on a TaskInfo.

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

2 years agoAdd a link to the instance page from instance events on the update page.
Joshua Cohen [Wed, 26 Aug 2015 14:30:36 +0000 (09:30 -0500)] 
Add a link to the instance page from instance events on the update page.

Bugs closed: AURORA-1331

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

2 years agoAdding TierManager binding into JMH benchmarks.
Maxim Khutornenko [Tue, 25 Aug 2015 23:12:52 +0000 (16:12 -0700)] 
Adding TierManager binding into JMH benchmarks.

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

2 years agoRevocable: schema changes.
Maxim Khutornenko [Tue, 25 Aug 2015 22:55:20 +0000 (15:55 -0700)] 
Revocable: schema changes.

Bugs closed: AURORA-1414

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

2 years agoReplace Twitter copyright headers in commons.
Zameer Manji [Tue, 25 Aug 2015 20:58:54 +0000 (13:58 -0700)] 
Replace Twitter copyright headers in commons.

The IP was donated to the Apache Foundation so the copyright headers need to be
updated to reflect their new status.

Testing Done:
./gradlew build -Pq

Bugs closed: AURORA-1442

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