Updated Branches: refs/heads/trunk e5a21c4bb -> 4a8b5c3f1
GIRAPH-738: Fix typos in quick start guide Project: http://git-wip-us.apache.org/repos/asf/giraph/repo Commit: http://git-wip-us.apache.org/repos/asf/giraph/commit/4a8b5c3f Tree: http://git-wip-us.apache.org/repos/asf/giraph/tree/4a8b5c3f Diff: http://git-wip-us.apache.org/repos/asf/giraph/diff/4a8b5c3f Branch: refs/heads/trunk Commit: 4a8b5c3f1bb93dccab309225164c249d1f9770f2 Parents: e5a21c4 Author: Claudio Martella <[email protected]> Authored: Wed Nov 6 14:57:54 2013 +0100 Committer: Claudio Martella <[email protected]> Committed: Wed Nov 6 14:57:54 2013 +0100 ---------------------------------------------------------------------- CHANGELOG | 2 ++ src/site/xdoc/quick_start.xml | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/giraph/blob/4a8b5c3f/CHANGELOG ---------------------------------------------------------------------- diff --git a/CHANGELOG b/CHANGELOG index cd04a2b..99a3086 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ Giraph Change Log Release 1.1.0 - unreleased + GIRAPH-738: Fix typos in quick start guide (aladagemre via claudio) + GIRAPH-755: Make ZooKeeper port list available to input/output format (armax00 via claudio) GIRAPH-737: Giraph Application Master: Move to new and stable YARN API (mislam via ereisman) http://git-wip-us.apache.org/repos/asf/giraph/blob/4a8b5c3f/src/site/xdoc/quick_start.xml ---------------------------------------------------------------------- diff --git a/src/site/xdoc/quick_start.xml b/src/site/xdoc/quick_start.xml index 4c14c75..d704cba 100644 --- a/src/site/xdoc/quick_start.xml +++ b/src/site/xdoc/quick_start.xml @@ -125,7 +125,6 @@ sudo chmod 750 /app/hadoop/tmp</source> <property> <name>dfs.replication</name> <value>1</value> -</description> </property></source>Notice that you just set the replication service to make only 1 copy of the files stored in HDFS. This is because you have only one data nodes. The default value is 3 and you will receive run-time exceptions if you do not change it!</li> </ul> <p>Next, set up SSH for user account <tt>hduser</tt> so that you do not have to enter a passcode every time an SSH connection is started:</p> @@ -213,14 +212,14 @@ $HADOOP_HOME/bin/hadoop dfs -copyFromLocal /tmp/tiny_graph.txt /user/hduser/inpu $HADOOP_HOME/bin/hadoop dfs -ls /user/hduser/input</source> <p>We will use <tt>IdWithValueTextOutputFormat</tt> output file format, where each line consists of <tt>source_id length</tt> for each node in the input graph (the source node has a length of 0, by convention). You can now run the example by:</p> <source> -$HADOOP_HOME/bin/hadoop jar $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar org.apache.giraph.GiraphRunner org.apache.giraph.examples.SimpleShortestPathsComputation -vif org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat -vip /user/hduser/input/tiny_graph.txt -of org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op /user/hduser/output/shortestpaths -w 1</source> +$HADOOP_HOME/bin/hadoop jar $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar org.apache.giraph.GiraphRunner org.apache.giraph.examples.SimpleShortestPathsComputation -vif org.apache.giraph.io.formats.JsonLongDoubleFloatDoubleVertexInputFormat -vip /user/hduser/input/tiny_graph.txt -vof org.apache.giraph.io.formats.IdWithValueTextOutputFormat -op /user/hduser/output/shortestpaths -w 1</source> <p>Notice that the job is computed using a single worker using the argument <tt>-w</tt>. To get more information about running a Giraph job, run the following command:</p> <source>$HADOOP_HOME/bin/hadoop jar $GIRAPH_HOME/giraph-examples/target/giraph-examples-1.1.0-SNAPSHOT-for-hadoop-0.20.203.0-jar-with-dependencies.jar org.apache.giraph.GiraphRunner -h</source> <p>This will output the following:</p> <source> usage: org.apache.giraph.utils.ConfigurationUtils [-aw <arg>] [-c <arg>] [-ca <arg>] [-cf <arg>] [-eif <arg>] [-eip <arg>] [-h] [-la] [-mc - <arg>] [-of <arg>] [-op <arg>] [-pc <arg>] [-q] [-ve <arg>] [-vif + <arg>] [-vof <arg>] [-op <arg>] [-pc <arg>] [-q] [-ve <arg>] [-vif <arg>] [-vip <arg>] [-vvf <arg>] [-w <arg>] [-wc <arg>] [-yh <arg>] [-yj <arg>] -aw,--aggregatorWriter <arg> AggregatorWriter class @@ -234,10 +233,11 @@ usage: org.apache.giraph.utils.ConfigurationUtils [-aw <arg>] [-c <arg& -cf,--cacheFile <arg> Files for distributed cache -eif,--edgeInputFormat <arg> Edge input format -eip,--edgeInputPath <arg> Edge input path + -eof,--vertexOutputFormat <arg> Edge output format -h,--help Help -la,--listAlgorithms List supported algorithms -mc,--masterCompute <arg> MasterCompute class - -of,--outputFormat <arg> Vertex output format + -vof,--vertexOutputFormat <arg> Vertex output format -op,--outputPath <arg> Vertex output path -pc,--partitionClass <arg> Partition class -q,--quiet Quiet output
