[jira] [Commented] (GIRAPH-136) Erorr message for bin/giraph could be improved

2012-02-03 Thread Avery Ching (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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 argVertexCombiner class
 -h,--help  Help
 -if,--inputFormat argGraph 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




[jira] [Commented] (GIRAPH-136) Erorr message for bin/giraph could be improved

2012-02-02 Thread Jakob Homan (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13199482#comment-13199482
 ] 

Jakob Homan commented on GIRAPH-136:


@Avery - how does this one look?

 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




[jira] [Commented] (GIRAPH-136) Erorr message for bin/giraph could be improved

2012-02-01 Thread Avery Ching (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13198070#comment-13198070
 ] 

Avery Ching commented on GIRAPH-136:


Okay, hopefully that gets addressed at some point.  +1 for this patch.

It would be nice to see help in the message on what is required to get this to 
work.  Another way would be to add to 
https://cwiki.apache.org/confluence/display/GIRAPH/Index.

 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.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




[jira] [Commented] (GIRAPH-136) Erorr message for bin/giraph could be improved

2012-01-31 Thread Avery Ching (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/GIRAPH-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13197650#comment-13197650
 ] 

Avery Ching commented on GIRAPH-136:


I can verify the error message is improved, but perhaps the message could be 
improved further?  Is there any example usage you have for using this?

aching:~/git/git_svn_giraph_trunk$ ./bin/giraph 
Usage: giraph [-DHadoop property] jar containing vertex parameters to jar
At a minimum one must provide a path to the jar containing the vertex to be 
executed.
aching:~/git/git_svn_giraph_trunk$ ./bin/giraph 
target/giraph-0.1-SNAPSHOT-jar-with-dependencies.jar 
Can't find Giraph jar.


 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.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