Repository: incubator-samza Updated Branches: refs/heads/master 28d464c09 -> f5778447e
SAMAZ-403; consolidate hello-samza into one project Project: http://git-wip-us.apache.org/repos/asf/incubator-samza/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-samza/commit/f5778447 Tree: http://git-wip-us.apache.org/repos/asf/incubator-samza/tree/f5778447 Diff: http://git-wip-us.apache.org/repos/asf/incubator-samza/diff/f5778447 Branch: refs/heads/master Commit: f5778447ef063147210b3dd64a5f8b8ce01b621c Parents: 28d464c Author: David Chen <[email protected]> Authored: Mon Sep 8 14:25:54 2014 -0700 Committer: Chris Riccomini <[email protected]> Committed: Mon Sep 8 14:25:54 2014 -0700 ---------------------------------------------------------------------- docs/learn/tutorials/versioned/deploy-samza-job-from-hdfs.md | 4 ++-- docs/learn/tutorials/versioned/remote-debugging-samza.md | 4 ++-- docs/learn/tutorials/versioned/run-in-multi-node-yarn.md | 6 +++--- docs/startup/hello-samza/versioned/index.md | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/f5778447/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 ec455d7..77a1e21 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 ./samza-job-package/target/samza-job-package-0.7.0-dist.tar.gz /path/for/tgz +hadoop fs -put ./target/hello-samza-0.8.0-dist.tar.gz /path/for/tgz {% endhighlight %} ### Add HDFS configuration @@ -39,4 +39,4 @@ Change the yarn.package.path in the properties file to your HDFS location. yarn.package.path=hdfs://<hdfs name node ip>:<hdfs name node port>/path/to/tgz {% endhighlight %} -Then you should be able to run the Samza job as described in [hello-samza](../../../startup/hello-samza/{{site.version}}/). \ No newline at end of file +Then you should be able to run the Samza job as described in [hello-samza](../../../startup/hello-samza/{{site.version}}/). http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/f5778447/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 b84584e..3b16e9e 100644 --- a/docs/learn/tutorials/versioned/remote-debugging-samza.md +++ b/docs/learn/tutorials/versioned/remote-debugging-samza.md @@ -54,7 +54,7 @@ Next, open Eclipse, and import the Samza source code into your workspace: "File" ### Enable Remote Debugging -Now, go back to the hello-samza project, and edit ./samza-job-package/src/main/config/wikipedia-feed.properties to add the following line: +Now, go back to the hello-samza project, and edit ./src/main/config/wikipedia-feed.properties to add the following line: {% highlight jproperties %} task.opts=-agentlib:jdwp=transport=dt_socket,address=localhost:9009,server=y,suspend=y @@ -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 ./samza-job-package/target/samza-job-package-0.7.0-dist.tar.gz -C deploy/samza +tar -xvf ./target/hello-samza-0.8.0-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/incubator-samza/blob/f5778447/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 b5e6dcb..09ad353 100644 --- a/docs/learn/tutorials/versioned/run-in-multi-node-yarn.md +++ b/docs/learn/tutorials/versioned/run-in-multi-node-yarn.md @@ -137,13 +137,13 @@ cd .. {% highlight bash %} git clone git://github.com/linkedin/hello-samza.git cd hello-samza -vi samza-job-package/src/main/config/wikipedia-feed.properties +vi src/main/config/wikipedia-feed.properties {% endhighlight %} Change the yarn.package.path property to be: {% highlight jproperties %} -yarn.package.path=http://yourHostname:8000/samza-job-package/target/samza-job-package-0.7.0-dist.tar.gz +yarn.package.path=http://yourHostname:8000/target/hello-samza-0.8.0-dist.tar.gz {% endhighlight %} 3\. Complie hello-samza. @@ -151,7 +151,7 @@ yarn.package.path=http://yourHostname:8000/samza-job-package/target/samza-job-pa {% highlight bash %} mvn clean package mkdir -p deploy/samza -tar -xvf ./samza-job-package/target/samza-job-package-0.7.0-dist.tar.gz -C deploy/samza +tar -xvf ./target/hello-samza-0.8.0-dist.tar.gz -C deploy/samza {% endhighlight %} 4\. Deploy Samza job package to Http server.. http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/f5778447/docs/startup/hello-samza/versioned/index.md ---------------------------------------------------------------------- diff --git a/docs/startup/hello-samza/versioned/index.md b/docs/startup/hello-samza/versioned/index.md index db37972..1475b8d 100644 --- a/docs/startup/hello-samza/versioned/index.md +++ b/docs/startup/hello-samza/versioned/index.md @@ -52,7 +52,7 @@ Before you can run a Samza job, you need to build a package for it. This package {% highlight bash %} mvn clean package mkdir -p deploy/samza -tar -xvf ./samza-job-package/target/samza-job-package-0.7.0-dist.tar.gz -C deploy/samza +tar -xvf ./target/hello-samza-0.8.0-dist.tar.gz -C deploy/samza {% endhighlight %} ### Run a Samza Job
