[ 
https://issues.apache.org/jira/browse/GIRAPH-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402471#comment-13402471
 ] 

Jakob Homan commented on GIRAPH-81:
-----------------------------------

Looks good, but I'm getting an NPE when I try to run it:
{noformat}$ bin/giraph giraph-0.2-SNAPSHOT.jar -la
No HADOOP_CONF_DIR set, using /export/apps/hadoop/latest/conf 
Exception in thread "main" java.lang.NullPointerException
        at 
org.apache.giraph.utils.AnnotationUtils.addAll(AnnotationUtils.java:71)
        at 
org.apache.giraph.utils.AnnotationUtils.getAnnotatedClasses(AnnotationUtils.java:55)
        at 
org.apache.giraph.GiraphRunner.printSupportedAlgorithms(GiraphRunner.java:101)
        at org.apache.giraph.GiraphRunner.run(GiraphRunner.java:132)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.giraph.GiraphRunner.main(GiraphRunner.java:221)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
{noformat}
Could this be related to GIRAPH-205?
                
> Create annotations on provided algorithms for cli
> -------------------------------------------------
>
>                 Key: GIRAPH-81
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-81
>             Project: Giraph
>          Issue Type: New Feature
>            Reporter: Jakob Homan
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-81.patch
>
>
> As discussed in GIRAPH-64, it would be nice if the built-in algorithms that 
> ship with Giraph were displayed from cli (ala Mahout) so that users can see 
> what's available.  Also, it was suggested that it would be good to use 
> annotations for these to ease in documentation.  This sounds like a good 
> approach.

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

        

Reply via email to