brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [08/50] brooklyn-docs git commit: Update hadoop-and-whirr example docs to take cli into account
Date Mon, 01 Feb 2016 17:28:42 GMT
Update hadoop-and-whirr example docs to take cli into account

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/71657f9f
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/71657f9f
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/71657f9f

Branch: refs/heads/0.4.0
Commit: 71657f9fa04c294ec0629286dac402fe9f9ef9f3
Parents: 6e8d335
Author: Cosmin Dumitrache <cosmin.dumitrache@cloudsoftcorp.com>
Authored: Wed May 30 16:40:19 2012 +0100
Committer: Cosmin Dumitrache <cosmin.dumitrache@cloudsoftcorp.com>
Committed: Wed May 30 16:40:19 2012 +0100

----------------------------------------------------------------------
 .../examples/whirrhadoop/whirrhadoop.include.md | 21 ++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/71657f9f/docs/use/examples/whirrhadoop/whirrhadoop.include.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/whirrhadoop/whirrhadoop.include.md b/docs/use/examples/whirrhadoop/whirrhadoop.include.md
index 270af70..ddd52cd 100644
--- a/docs/use/examples/whirrhadoop/whirrhadoop.include.md
+++ b/docs/use/examples/whirrhadoop/whirrhadoop.include.md
@@ -22,8 +22,14 @@ with an arbitrary size, with one line using the ``WhirrHadoopCluster``
entity.
     WhirrCluster cluster = new WhirrHadoopCluster(this, size: 2, memory: 2048);
 {% endhighlight %}
 
-You can run this by running ``./demo-hadoop.sh``.
-This by default targets ``aws-ec2:eu-west-1``,
+You can run this by running:
+
+{% highlight bash %}
+% cd $EXAMPLES_DIR/hadoop-and-whirr/brooklyn-example-hadoop-and-whirr/bin
+% ./hadoop.sh aws-ec2:eu-west-1
+{% endhighlight %}
+
+This targets ``aws-ec2:eu-west-1``,
 so you will need to set your AWS credentials as described [here]({{site.url}}/use/guide/management/index.html#startup-config).

 
 [![Web Console Showing Whirr-launched Hadoop Cluster](whirrhadoop-w750.png "Web Console Showing
Whirr-launched Hadoop Cluster")](whirrhadoop.png) 
@@ -49,9 +55,16 @@ whirr.instance-templates= 1 noop, 1 elasticsearch
     WhirrCluster cluster = new WhirrCluster(this, recipe: RECIPE);
 {% endhighlight %}
 
-This can be launched with the script ``./demo-whirr-recipe.sh``. In the provided example
this will by default deploy to AWS.
+This can be launched by running:
+
+{% highlight bash %}
+% cd $EXAMPLES_DIR/hadoop-and-whirr/brooklyn-example-hadoop-and-whirr/bin
+% ./whirr-recipe.sh aws-ec2:eu-west-1
+{% endhighlight %} 
+
+In the provided example this will deploy to AWS.
 
-If you would like to deploy to localhost, you can do this by running ``./demo-whirr-recipe.sh
localhost``. However, please note that currently there are some limitations when deploying
to localhost:
+If you would like to deploy to localhost, you can do this by running ``./whirr-recipe.sh
localhost``. However, please note that currently there are some limitations when deploying
to localhost:
 
 *	You can not deploy more than one server (noop doesn't count in the above case).
 *	This has only been tested on Ubuntu 10.04 and might cause problems on other operating systems.


Mime
View raw message