You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2008/11/06 08:35:44 UTC

[jira] Created: (HAMA-101) Example driver should check the arguments

Example driver should check the arguments
-----------------------------------------

                 Key: HAMA-101
                 URL: https://issues.apache.org/jira/browse/HAMA-101
             Project: Hama
          Issue Type: New Feature
          Components: scripts 
            Reporter: Edward J. Yoon
             Fix For: 0.1.0


hadoop@vldb ~/hama-trunk $ bin/hama examples
An example program must be given as the first argument.
Valid program names are:
  add: matrix-matrix addition.
  mult: matrix-matrix multiplication.
java.lang.IllegalArgumentException: An example program must be given as the first argument.
        at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:123)
        at org.apache.hama.examples.ExampleDriver.main(ExampleDriver.java:30)
        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:155)
        at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HAMA-101) Example driver should check the arguments

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon resolved HAMA-101.
---------------------------------

    Resolution: Won't Fix

It seems related with hadoop.mapred.JobShell. so, won't fix.

> Example driver should check the arguments
> -----------------------------------------
>
>                 Key: HAMA-101
>                 URL: https://issues.apache.org/jira/browse/HAMA-101
>             Project: Hama
>          Issue Type: New Feature
>          Components: scripts 
>            Reporter: Edward J. Yoon
>             Fix For: 0.1.0
>
>
> hadoop@vldb ~/hama-trunk $ bin/hama examples
> An example program must be given as the first argument.
> Valid program names are:
>   add: matrix-matrix addition.
>   mult: matrix-matrix multiplication.
> java.lang.IllegalArgumentException: An example program must be given as the first argument.
>         at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:123)
>         at org.apache.hama.examples.ExampleDriver.main(ExampleDriver.java:30)
>         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:155)
>         at org.apache.hadoop.mapred.JobShell.run(JobShell.java:54)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>         at org.apache.hadoop.mapred.JobShell.main(JobShell.java:68)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.