You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amaterasu.apache.org by ya...@apache.org on 2018/05/14 01:15:28 UTC

[incubator-amaterasu] 01/02: added task to copy the leagal files

This is an automated email from the ASF dual-hosted git repository.

yaniv pushed a commit to branch version-0.2.0-incubating-rc3
in repository https://gitbox.apache.org/repos/asf/incubator-amaterasu.git

commit e7da2b743ec26f055412c63daf5c58ff236d8bac
Author: Yaniv Rodenski <ro...@gmail.com>
AuthorDate: Sun May 6 21:20:13 2018 +1000

    added task to copy the leagal files
---
 build.gradle                                 | 9 ++++++++-
 leader/src/main/scripts/ama-start-yarn.sh    | 2 +-
 leader/src/main/scripts/amaterasu.properties | 2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/build.gradle b/build.gradle
index 4242da4..9a361d9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -18,15 +18,21 @@ apply plugin: 'distribution'
 
 allprojects {
     group 'org.apache.amaterasu'
-    version '0.2.0-incubating-rc2'
+    version '0.2.0-incubating-rc3'
 }
 
 project(':leader')
 project(':common')
 project(':executor')
 
+task copyLeagalFiles(type: Copy) {
+    from "./DISCLAIMER", "./LICENSE", "./NOTICE"
+    into "${buildDir}/amaterasu"
+}
+
 task buildHomeDir() {
     dependsOn subprojects.collect { getTasksByName('copyToHome', true) }
+    dependsOn copyLeagalFiles
 }
 
 distributions {
@@ -45,6 +51,7 @@ task buildDistribution() {
     dependsOn customDistTar
 }
 
+
 tasks.withType(Test)  {
     maxParallelForks = 1
 }
diff --git a/leader/src/main/scripts/ama-start-yarn.sh b/leader/src/main/scripts/ama-start-yarn.sh
index c437246..c40c71e 100755
--- a/leader/src/main/scripts/ama-start-yarn.sh
+++ b/leader/src/main/scripts/ama-start-yarn.sh
@@ -86,7 +86,7 @@ done
 echo "repo: ${REPO} "
 echo "force-bin: ${FORCE_BIN}"
 export HADOOP_USER_CLASSPATH_FIRST=true
-CMD="yarn jar ${BASEDIR}/bin/leader-0.2.0-incubating-rc2-all.jar org.apache.amaterasu.leader.yarn.Client --home ${BASEDIR}"
+CMD="yarn jar ${BASEDIR}/bin/leader-0.2.0-incubating-rc3-all.jar org.apache.amaterasu.leader.yarn.Client --home ${BASEDIR}"
 
 if [ -n "$REPO" ]; then
     echo "repo is ${REPO}"
diff --git a/leader/src/main/scripts/amaterasu.properties b/leader/src/main/scripts/amaterasu.properties
index 202e350..572a642 100755
--- a/leader/src/main/scripts/amaterasu.properties
+++ b/leader/src/main/scripts/amaterasu.properties
@@ -1,5 +1,5 @@
 zk=127.0.0.1
-version=0.2.0-incubating-rc2
+version=0.2.0-incubating-rc3
 master=192.168.33.11
 user=root
 mode=yarn

-- 
To stop receiving notification emails like this one, please contact
yaniv@apache.org.