[ https://issues.apache.org/jira/browse/GIRAPH-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199585#comment-13199585 ]
Avery Ching commented on GIRAPH-136: ------------------------------------ +1, much better. First try. $ ./bin/giraph target/giraph-0.1-SNAPSHOT-jar-with-dependencies.jar No lib directory, assuming dev environment No HADOOP_CONF_DIR set, using /conf ./bin/giraph: line 112: /bin/hadoop: No such file or directory ./bin/giraph: line 112: exec: /bin/hadoop: cannot execute: No such file or directory Second try after setting HADOOP_CONF_DIR. $ ./bin/giraph target/giraph-0.1-SNAPSHOT-jar-with-dependencies.jar No lib directory, assuming dev environment HADOOP_CONF_DIR=/Users/aching/Avery/Work/source/hadoop-0.20.203.0/conf usage: org.apache.giraph.GiraphRunner [-aw <arg>] [-c <arg>] [-h] [-if <arg>] [-ip <arg>] [-of <arg>] [-op <arg>] [-q] [-w <arg>] [-wc <arg>] -aw,--aggregatorWriter <arg> AggregatorWriter class -c,--combiner <arg> VertexCombiner class -h,--help Help -if,--inputFormat <arg> Graph inputformat -ip,--inputPath <arg> Graph input path -of,--outputFormat <arg> Graph outputformat -op,--outputPath <arg> Graph output path -q,--quiet Quiet output -w,--workers <arg> Number of workers -wc,--workerContext <arg> WorkerContext class > Erorr message for bin/giraph could be improved > ---------------------------------------------- > > Key: GIRAPH-136 > URL: https://issues.apache.org/jira/browse/GIRAPH-136 > Project: Giraph > Issue Type: Improvement > Affects Versions: 0.1.0 > Reporter: Jakob Homan > Assignee: Jakob Homan > Fix For: 0.2.0 > > Attachments: GIRAPH-136-b.patch, GIRAPH-136.patch > > > Currently when one just runs bin/giraph without the required jar, the message > isn't very helpful: > {noformat}[tardis giraph-0.1]$ bin/giraph > Can't find user jar to execute.{noformat} > It would be better to have a more in-depth message explaining Giraph and what > is expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira