You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2016/09/16 21:58:05 UTC
aurora git commit: Change framework_name default value from
'TwitterScheduler' to 'Aurora'
Repository: aurora
Updated Branches:
refs/heads/master 496397aa5 -> a87ad4102
Change framework_name default value from 'TwitterScheduler' to 'Aurora'
Bugs closed: AURORA-1688
Reviewed at https://reviews.apache.org/r/51874/
Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/a87ad410
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/a87ad410
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/a87ad410
Branch: refs/heads/master
Commit: a87ad4102cf008b9e50d572fb2b722984a622c55
Parents: 496397a
Author: Santhosh Kumar Shanmugham <sa...@gmail.com>
Authored: Fri Sep 16 14:54:46 2016 -0700
Committer: Maxim Khutornenko <ma...@apache.org>
Committed: Fri Sep 16 14:54:46 2016 -0700
----------------------------------------------------------------------
RELEASE-NOTES.md | 1 +
.../aurora/scheduler/mesos/CommandLineDriverSettingsModule.java | 5 ++---
src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/aurora/blob/a87ad410/RELEASE-NOTES.md
----------------------------------------------------------------------
diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md
index 83f1ca2..8e656ca 100644
--- a/RELEASE-NOTES.md
+++ b/RELEASE-NOTES.md
@@ -41,6 +41,7 @@
commandline flag `-enable_revocable_ram`.
- Introduce UpdateMetadata fields in JobUpdateRequest to allow clients to store metadata on update.
- Changed cronSchedule field inside of JobConfiguration schema to be optional for compatibility with Go.
+- Update default value of command line option `-framework_name` to 'Aurora'.
### Deprecations and removals:
http://git-wip-us.apache.org/repos/asf/aurora/blob/a87ad410/src/main/java/org/apache/aurora/scheduler/mesos/CommandLineDriverSettingsModule.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/aurora/scheduler/mesos/CommandLineDriverSettingsModule.java b/src/main/java/org/apache/aurora/scheduler/mesos/CommandLineDriverSettingsModule.java
index 8a386bd..96b5a28 100644
--- a/src/main/java/org/apache/aurora/scheduler/mesos/CommandLineDriverSettingsModule.java
+++ b/src/main/java/org/apache/aurora/scheduler/mesos/CommandLineDriverSettingsModule.java
@@ -78,9 +78,8 @@ public class CommandLineDriverSettingsModule extends AbstractModule {
private static final Arg<Boolean> FRAMEWORK_ANNOUNCE_PRINCIPAL = Arg.create(false);
@CmdLine(name = "framework_name",
- help = "Name used to register the Aurora framework with Mesos. Changing this value can be "
- + "backwards incompatible. For details, see MESOS-703.")
- private static final Arg<String> FRAMEWORK_NAME = Arg.create("TwitterScheduler");
+ help = "Name used to register the Aurora framework with Mesos.")
+ private static final Arg<String> FRAMEWORK_NAME = Arg.create("Aurora");
@CmdLine(name = "executor_user",
help = "User to start the executor. Defaults to \"root\". "
http://git-wip-us.apache.org/repos/asf/aurora/blob/a87ad410/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
----------------------------------------------------------------------
diff --git a/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh b/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
index 97677f2..e36726e 100755
--- a/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
+++ b/src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh
@@ -287,7 +287,7 @@ test_discovery_info() {
return 0
fi
- framework_info=$(curl --silent '192.168.33.7:5050/state' | jq '.frameworks | map(select(.name == "TwitterScheduler"))')
+ framework_info=$(curl --silent '192.168.33.7:5050/state' | jq '.frameworks | map(select(.name == "Aurora"))')
if [[ -z $framework_info ]]; then
echo "Cannot get framework info for $framework"
exit 1