mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Lyubimov (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (MAHOUT-574) "seqdirectory" command fails to notice -Ddefault.fs.name
Date Mon, 24 Jan 2011 23:38:43 GMT

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

Dmitriy Lyubimov reopened MAHOUT-574:
-------------------------------------


I guess it needs to stay opened to be considered?..

> "seqdirectory" command fails to notice -Ddefault.fs.name
> --------------------------------------------------------
>
>                 Key: MAHOUT-574
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-574
>             Project: Mahout
>          Issue Type: Improvement
>          Components: Utils
>    Affects Versions: 0.4
>            Reporter: Dmitriy Lyubimov
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: MAHOUT-574.patch
>
>
> Have problem targeting Filesystem used with utility. If hadoop setup is present, there's
no way to force the utility to process using local filesystem (or, i guess, vice versa): 
> {code}
> bin/mahout seqdirectory -Dmapred.job.tracker=local -Dfs.default.name=file:/// -c UTF-8
-i /home/dmitriy/projects/testcollections/reuters-extracted/ -o /home/dmitriy/projects/testcollections/reuters-seqfiles
> Running on hadoop, using HADOOP_HOME=/home/dmitriy/tools/hadoop
> No HADOOP_CONF_DIR set, using /home/dmitriy/tools/hadoop/conf
> 11/01/03 15:16:13 ERROR text.SequenceFilesFromDirectory: Exception
> org.apache.commons.cli2.OptionException: Unexpected -Dfs.default.name=file:/// while
processing Options
>         at org.apache.commons.cli2.commandline.Parser.parse(Parser.java:99)
>         at org.apache.mahout.text.SequenceFilesFromDirectory.main(SequenceFilesFromDirectory.java:201)
>         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:183)
>         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:186)
> {code}
> The reason seems to be in the fact that this job is not a Tool and hence does not recognize
any hadoop params. 

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