added task to copy the leagal files
authorYaniv Rodenski <roadan@gmail.com>
Sun, 6 May 2018 11:20:13 +0000 (21:20 +1000)
committerYaniv Rodenski <roadan@gmail.com>
Sun, 6 May 2018 11:20:13 +0000 (21:20 +1000)
build.gradle
leader/src/main/scripts/ama-start-yarn.sh
leader/src/main/scripts/amaterasu.properties

index 4242da4..9a361d9 100644 (file)
@@ -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
 }
index c437246..c40c71e 100755 (executable)
@@ -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}"
index 202e350..572a642 100755 (executable)
@@ -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