mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MAHOUT-587) -Dmapred.job.queue.name=unfunded is not counted in for seq2sparse
Date Mon, 24 Jan 2011 21:45:43 GMT

     [ https://issues.apache.org/jira/browse/MAHOUT-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Owen updated MAHOUT-587:
-----------------------------

       Resolution: Fixed
    Fix Version/s: 0.5
         Assignee: Sean Owen
           Status: Resolved  (was: Patch Available)

This looks pretty legitimate. I committed the patch with very minor changes. Thanks!

> -Dmapred.job.queue.name=unfunded is not counted in for seq2sparse
> -----------------------------------------------------------------
>
>                 Key: MAHOUT-587
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-587
>             Project: Mahout
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: 0.4
>         Environment: RHL Linux 2.6.18 x86_64
>            Reporter: Shige Takeda
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: 0001-added-D-option-support-to-seq2sparse.patch
>
>
> I revisited this and found the -D problem still remains in seq2sparse... 
> $ $MAHOUT_HOME/bin/mahout seq2sparse --input text_output --output seq_output -Dmapred.job.queue.name=unfunded
> Running on hadoop, using HADOOP_HOME=/grid/0/gs/hadoop/current
> HADOOP_CONF_DIR=/grid/0/gs/conf/current
> 11/01/21 20:12:39 ERROR vectorizer.SparseVectorsFromSequenceFiles: Exception
> org.apache.commons.cli2.OptionException: Unexpected -Dmapred.job.queue.name=unfunded
while processing Options
> 	at org.apache.commons.cli2.commandline.Parser.parse(Parser.java:99)
> 	at org.apache.mahout.vectorizer.SparseVectorsFromSequenceFiles.main(SparseVectorsFromSequenceFiles.java:137)
> 	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.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
> 	at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
> 	at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:174)
> 	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)
> Usage:                                                                          
> ...
> The cause is obvious; as somebody mentioned (as well as I see from source code), ./core/src/main/java/org/apache/mahout/vectorizer/SparseVectorsFromSequenceFiles.java
doesn't use ToolRunner, and an appropriate propagation of config object to MR jobs is missing.
> Although this may be a known issue, since it is not filed in JIRA, I've done just in
case.

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


Mime
View raw message