Repository: samza Updated Branches: refs/heads/master b480f2535 -> e9f700861
SAMZA-739: updated hello-samza version in tutorials Project: http://git-wip-us.apache.org/repos/asf/samza/repo Commit: http://git-wip-us.apache.org/repos/asf/samza/commit/e9f70086 Tree: http://git-wip-us.apache.org/repos/asf/samza/tree/e9f70086 Diff: http://git-wip-us.apache.org/repos/asf/samza/diff/e9f70086 Branch: refs/heads/master Commit: e9f70086166fc7c3e54ca5989cff1a63bc427a4b Parents: b480f25 Author: Aleksandar Pejakovic <[email protected]> Authored: Tue Jul 21 09:52:26 2015 -0700 Committer: Yan Fang <[email protected]> Committed: Tue Jul 21 09:52:26 2015 -0700 ---------------------------------------------------------------------- .../tutorials/versioned/deploy-samza-job-from-hdfs.md | 2 +- docs/learn/tutorials/versioned/deploy-samza-to-CDH.md | 4 ++-- docs/learn/tutorials/versioned/remote-debugging-samza.md | 2 +- docs/learn/tutorials/versioned/run-in-multi-node-yarn.md | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/samza/blob/e9f70086/docs/learn/tutorials/versioned/deploy-samza-job-from-hdfs.md ---------------------------------------------------------------------- diff --git a/docs/learn/tutorials/versioned/deploy-samza-job-from-hdfs.md b/docs/learn/tutorials/versioned/deploy-samza-job-from-hdfs.md index 77a1e21..c2d934d 100644 --- a/docs/learn/tutorials/versioned/deploy-samza-job-from-hdfs.md +++ b/docs/learn/tutorials/versioned/deploy-samza-job-from-hdfs.md @@ -24,7 +24,7 @@ This tutorial uses [hello-samza](../../../startup/hello-samza/{{site.version}}/) ### Upload the package {% highlight bash %} -hadoop fs -put ./target/hello-samza-0.8.0-dist.tar.gz /path/for/tgz +hadoop fs -put ./target/hello-samza-0.9.1-dist.tar.gz /path/for/tgz {% endhighlight %} ### Add HDFS configuration http://git-wip-us.apache.org/repos/asf/samza/blob/e9f70086/docs/learn/tutorials/versioned/deploy-samza-to-CDH.md ---------------------------------------------------------------------- diff --git a/docs/learn/tutorials/versioned/deploy-samza-to-CDH.md b/docs/learn/tutorials/versioned/deploy-samza-to-CDH.md index 8c19150..b5e0397 100644 --- a/docs/learn/tutorials/versioned/deploy-samza-to-CDH.md +++ b/docs/learn/tutorials/versioned/deploy-samza-to-CDH.md @@ -26,7 +26,7 @@ The tutorial assumes you have successfully run [hello-samza](../../../startup/he There are a few ways of uploading the package to the cluster's HDFS. If you do not have the job package in your cluster, **scp** from you local machine to the cluster. Then run {% highlight bash %} -hadoop fs -put path/to/hello-samza-0.8.0-dist.tar.gz /path/for/tgz +hadoop fs -put path/to/hello-samza-0.9.1-dist.tar.gz /path/for/tgz {% endhighlight %} ### Get Deloying Scripts @@ -34,7 +34,7 @@ hadoop fs -put path/to/hello-samza-0.8.0-dist.tar.gz /path/for/tgz Untar the job package (assume you will run from the current directory) {% highlight bash %} -tar -xvf path/to/samza-job-package-0.8.0-dist.tar.gz -C ./ +tar -xvf path/to/samza-job-package-0.9.1-dist.tar.gz -C ./ {% endhighlight %} ### Add Package Path to Properties File http://git-wip-us.apache.org/repos/asf/samza/blob/e9f70086/docs/learn/tutorials/versioned/remote-debugging-samza.md ---------------------------------------------------------------------- diff --git a/docs/learn/tutorials/versioned/remote-debugging-samza.md b/docs/learn/tutorials/versioned/remote-debugging-samza.md index 5f4f993..efef045 100644 --- a/docs/learn/tutorials/versioned/remote-debugging-samza.md +++ b/docs/learn/tutorials/versioned/remote-debugging-samza.md @@ -83,7 +83,7 @@ Once the grid starts, you can start the wikipedia-feed Samza job. {% highlight bash %} mvn clean package mkdir -p deploy/samza -tar -xvf ./target/hello-samza-0.8.0-dist.tar.gz -C deploy/samza +tar -xvf ./target/hello-samza-0.9.1-dist.tar.gz -C deploy/samza deploy/samza/bin/run-job.sh --config-factory=org.apache.samza.config.factories.PropertiesConfigFactory --config-path=file://$PWD/deploy/samza/config/wikipedia-feed.properties {% endhighlight %} http://git-wip-us.apache.org/repos/asf/samza/blob/e9f70086/docs/learn/tutorials/versioned/run-in-multi-node-yarn.md ---------------------------------------------------------------------- diff --git a/docs/learn/tutorials/versioned/run-in-multi-node-yarn.md b/docs/learn/tutorials/versioned/run-in-multi-node-yarn.md index 312efaf..7a9fdf4 100644 --- a/docs/learn/tutorials/versioned/run-in-multi-node-yarn.md +++ b/docs/learn/tutorials/versioned/run-in-multi-node-yarn.md @@ -84,8 +84,8 @@ tar -xvf scala-2.10.4.tgz cp /tmp/scala-2.10.4/lib/scala-compiler.jar $HADOOP_YARN_HOME/share/hadoop/hdfs/lib cp /tmp/scala-2.10.4/lib/scala-library.jar $HADOOP_YARN_HOME/share/hadoop/hdfs/lib curl -L http://search.maven.org/remotecontent?filepath=org/clapper/grizzled-slf4j_2.10/1.0.1/grizzled-slf4j_2.10-1.0.1.jar > $HADOOP_YARN_HOME/share/hadoop/hdfs/lib/grizzled-slf4j_2.10-1.0.1.jar -curl -L http://search.maven.org/remotecontent?filepath=org/apache/samza/samza-yarn_2.10/0.8.0/samza-yarn_2.10-0.8.0.jar > $HADOOP_YARN_HOME/share/hadoop/hdfs/lib/samza-yarn_2.10-0.8.0.jar -curl -L http://search.maven.org/remotecontent?filepath=org/apache/samza/samza-core_2.10/0.8.0/samza-core_2.10-0.8.0.jar > $HADOOP_YARN_HOME/share/hadoop/hdfs/lib/samza-core_2.10-0.8.0.jar +curl -L http://search.maven.org/remotecontent?filepath=org/apache/samza/samza-yarn_2.10/0.9.1/samza-yarn_2.10-0.9.1.jar > $HADOOP_YARN_HOME/share/hadoop/hdfs/lib/samza-yarn_2.10-0.9.1.jar +curl -L http://search.maven.org/remotecontent?filepath=org/apache/samza/samza-core_2.10/0.9.1/samza-core_2.10-0.9.1.jar > $HADOOP_YARN_HOME/share/hadoop/hdfs/lib/samza-core_2.10-0.9.1.jar {% endhighlight %} 6\. Add http configuration in core-site.xml (create the core-site.xml file and add content). @@ -116,7 +116,7 @@ echo 172.21.100.35 > conf/slaves sbin/start-yarn.sh {% endhighlight %} -* If you get "172.21.100.35: Error: JAVA_HOME is not set and could not be found.", you'll need to add a conf/hadoop-env.sh file to the machine with the failure (172.21.100.35, in this case), which has "export JAVA_HOME=/export/apps/jdk/JDK-1_6_0_27" (or wherever your JAVA_HOME actually is). +* If you get "172.21.100.35: Error: JAVA_HOME is not set and could not be found.", you'll need to add a conf/hadoop-env.sh file to the machine with the failure (172.21.100.35, in this case), which has "export JAVA_HOME=/export/apps/jdk/JDK-1_8_0_45" (or wherever your JAVA_HOME actually is). 8\. Validate that your nodes are up by visiting http://yourHostname:8088/cluster/nodes. @@ -145,7 +145,7 @@ vi src/main/config/wikipedia-feed.properties Change the yarn.package.path property to be: {% highlight jproperties %} -yarn.package.path=http://yourHostname:8000/target/hello-samza-0.8.0-dist.tar.gz +yarn.package.path=http://yourHostname:8000/target/hello-samza-0.9.1-dist.tar.gz {% endhighlight %} 3\. Complie hello-samza. @@ -153,7 +153,7 @@ yarn.package.path=http://yourHostname:8000/target/hello-samza-0.8.0-dist.tar.gz {% highlight bash %} mvn clean package mkdir -p deploy/samza -tar -xvf ./target/hello-samza-0.8.0-dist.tar.gz -C deploy/samza +tar -xvf ./target/hello-samza-0.9.1-dist.tar.gz -C deploy/samza {% endhighlight %} 4\. Deploy Samza job package to Http server..
