This is an automated email from the ASF dual-hosted git repository. javiroman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-myriad.git
The following commit(s) were added to refs/heads/master by this push: new 6d8c9b0 Renaming artifacts with v0.3.0 + updated some docs with v0.3.0 (#130) 6d8c9b0 is described below commit 6d8c9b0135c017ac4e59fac812a71e44db64722a Author: OscarFM <oscarf...@gmail.com> AuthorDate: Sat Jul 27 07:57:10 2019 +0200 Renaming artifacts with v0.3.0 + updated some docs with v0.3.0 (#130) --- build.gradle | 2 +- docs/myriad-dev.md | 6 +++--- docs/myriad-remote-distribution-configuration.md | 2 +- docs/vagrant.md | 6 +++--- vagrant/libvirt/mesos/README.md | 2 +- vagrant/libvirt/mesos/docs/notes-myriad.txt | 2 +- .../mesos/provisioning/roles/hadoop/files/myriad-config-default.yml | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index 4660cd2..2c76203 100644 --- a/build.gradle +++ b/build.gradle @@ -66,7 +66,7 @@ subprojects { mainClassName = "org.apache.myriad.Main" group = "org.apache.myriad" - version = "0.2.0" + version = "0.3.0" ext { mesosVer = "1.8.0:shaded-protobuf" diff --git a/docs/myriad-dev.md b/docs/myriad-dev.md index 5de1a33..8bfae34 100644 --- a/docs/myriad-dev.md +++ b/docs/myriad-dev.md @@ -58,18 +58,18 @@ To build only the Executor, from $PROJECT_HOME, run: To deploy Myriad Scheduler and Executor Binaries: 1. Copy the Myriad Scheduler jar and it's dependencies from the $PROJECT_HOME/myriad-scheduler/build/libs/ directory to the $YARN_HOME/share/hadoop/yarn/lib/ directory on all nodes in your cluster. -2. Copy the Myriad Executor myriad-executor-xxx.jar file from the $PROJECT_HOME/myriad-executor/build/libs/ directory to each mesos slave's $YARN_HOME/share/hadoop/yarn/lib/ directory. +2. Copy the Myriad Executor myriad-executor-<version>.jar file from the $PROJECT_HOME/myriad-executor/build/libs/ directory to each mesos slave's $YARN_HOME/share/hadoop/yarn/lib/ directory. 3. Copy the myriad-config-default.yml file from $PROJECT_HOME/myriad-scheduler/build/src/main/resources/ directory to the $YARN_HOME/etc/hadoop directory. For example: ``` cp myriad-scheduler/build/libs/*.jar /opt/hadoop-2.7.0/share/hadoop/yarn/lib/ -cp myriad-executor/build/libs/myriad-executor-0.1.0.jar /opt/hadoop-2.7.0/share/hadoop/yarn/lib/ +cp myriad-executor/build/libs/myriad-executor-<version>.jar /opt/hadoop-2.7.0/share/hadoop/yarn/lib/ cp myriad-scheduler/build/resources/main/myriad-config-default.yml /opt/hadoop-2.7.0/etc/hadoop/ ``` -**NOTE:** For advanced users, you can also copy myriad-executor-xxx.jar to any other directory on a slave filesystem or it can be copied to HDFS as well. In either case, you need to update the executor's path property in the myriad-config-default.yml file and prepend the path with either file:// or hdfs://, as appropriate. +**NOTE:** For advanced users, you can also copy myriad-executor-<version>.jar to any other directory on a slave filesystem or it can be copied to HDFS as well. In either case, you need to update the executor's path property in the myriad-config-default.yml file and prepend the path with either file:// or hdfs://, as appropriate. ## Step 3: Configure the Myriad Defaults diff --git a/docs/myriad-remote-distribution-configuration.md b/docs/myriad-remote-distribution-configuration.md index 2eae88e..ce7b0c4 100644 --- a/docs/myriad-remote-distribution-configuration.md +++ b/docs/myriad-remote-distribution-configuration.md @@ -34,7 +34,7 @@ To deploy the Myriad Scheduler and Executor files, copy the jar filess and confi ``` cp myriad-scheduler/build/libs/*.jar /opt/hadoop-2.7.0/share/hadoop/yarn/lib/ -cp myriad-executor/build/libs/myriad-executor-0.1.0.jar /opt/hadoop-2.7.0/share/hadoop/yarn/lib/ +cp myriad-executor/build/libs/myriad-executor-<version>.jar /opt/hadoop-2.7.0/share/hadoop/yarn/lib/ cp myriad-scheduler/build/resources/main/myriad-config-default.yml /opt/hadoop-2.7.0/etc/hadoop/ ``` diff --git a/docs/vagrant.md b/docs/vagrant.md index 4db4ca0..6ac77b4 100644 --- a/docs/vagrant.md +++ b/docs/vagrant.md @@ -70,14 +70,14 @@ The Myriad Schedule and Executer jar files and all the runtime dependences as we * The Myriad Executor jar file are located at: ``` -/vagrant/myriad-scheduler/build/libs/myriad-executor-0.1.0.jar +/vagrant/myriad-scheduler/build/libs/myriad-executor-<version>.jar ``` For example, the files are copied to the following locations: ``` cp /vagrant/myriad-scheduler/build/libs/* $YARN_HOME/share/hadoop/yarn/lib/ -cp /vagrant/myriad-executor/build/libs/myriad-executor-0.1.0.jar $YARN_HOME/share/hadoop/yarn/lib/ +cp /vagrant/myriad-executor/build/libs/myriad-executor-<version>.jar $YARN_HOME/share/hadoop/yarn/lib/ cp /vagrant/myriad-scheduler/src/main/resources/myriad-config-default.yml $YARN_HOME/etc/hadoop/ ``` @@ -120,7 +120,7 @@ nodemanager: cgroups: false executor: jvmMaxMemoryMB: 256 - path: file://localhost/usr/local/libexec/mesos/myriad-executor-runnable-0.1.0.jar + path: file://localhost/usr/local/libexec/mesos/myriad-executor-runnable-<version>.jar ``` diff --git a/vagrant/libvirt/mesos/README.md b/vagrant/libvirt/mesos/README.md index 22797ac..4e4c2ce 100644 --- a/vagrant/libvirt/mesos/README.md +++ b/vagrant/libvirt/mesos/README.md @@ -219,7 +219,7 @@ cd /opt cp -vf myriad/myriad-scheduler/build/libs/* hadoop/share/hadoop/yarn/lib/ # Copy the Myriad Executor -cp -vf myriad/myriad-executor/build/libs/myriad-executor-0.2.0.jar hadoop/share/hadoop/yarn/lib/ +cp -vf myriad/myriad-executor/build/libs/myriad-executor-<version>.jar hadoop/share/hadoop/yarn/lib/ # Hadoop 2.7.x: $ su - yarn diff --git a/vagrant/libvirt/mesos/docs/notes-myriad.txt b/vagrant/libvirt/mesos/docs/notes-myriad.txt index 1dd51d5..2b6a739 100644 --- a/vagrant/libvirt/mesos/docs/notes-myriad.txt +++ b/vagrant/libvirt/mesos/docs/notes-myriad.txt @@ -2,7 +2,7 @@ cp -vf myriad/myriad-scheduler/build/libs/* hadoop/share/hadoop/yarn/lib/ # Copy the Myriad Executor -cp -vf myriad/myriad-executor/build/libs/myriad-executor-0.2.0.jar hadoop/share/hadoop/yarn/lib/ +cp -vf myriad/myriad-executor/build/libs/myriad-executor-0.3.0.jar hadoop/share/hadoop/yarn/lib/ # Copy the myriad-config-default.yml cp myriad/myriad-scheduler/build/resources/main/myriad-config-default.yml hadoop/etc/hadoop/ diff --git a/vagrant/libvirt/mesos/provisioning/roles/hadoop/files/myriad-config-default.yml b/vagrant/libvirt/mesos/provisioning/roles/hadoop/files/myriad-config-default.yml index ef27ac1..52158a0 100644 --- a/vagrant/libvirt/mesos/provisioning/roles/hadoop/files/myriad-config-default.yml +++ b/vagrant/libvirt/mesos/provisioning/roles/hadoop/files/myriad-config-default.yml @@ -57,7 +57,7 @@ nodemanager: executor: jvmMaxMemoryMB: 256 #path: file:///usr/local/libexec/mesos/myriad-executor-runnable-0.1.0.jar - path: file:///opt/hadoop/share/hadoop/yarn/lib/myriad-executor-0.2.0.jar + path: file:///opt/hadoop/share/hadoop/yarn/lib/myriad-executor-0.3.0.jar #The following should be used for a remotely distributed URI, hdfs assumed but other URI types valid. #nodeManagerUri: hdfs://namenode:port/dist/hadoop-2.7.0.tar.gz #configUri: http://127.0.0.1/api/arifacts/config.tgz