[
https://issues.apache.org/jira/browse/MAHOUT-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235684#comment-13235684
]
Roman Shaposhnik commented on MAHOUT-994:
-----------------------------------------
Sure. In fact, let me use Pig as a good example of how to handle these cases
(scroll to line #162):
http://svn.apache.org/viewvc/pig/trunk/bin/pig?revision=1228547&view=markup
Given that Pig, just like Mahout supports a local mode where it doesn't need
Hadoop at all, I think
if we can agree on the approach they are taking I can submit a patch for you
guys, essenntially
replacing lines #202-243 of:
http://svn.apache.org/viewvc/mahout/trunk/bin/mahout?revision=1186718&view=markup
with the code similar to what Pig has.
What do you think?
> mahout script shouldn't rely on HADOOP_HOME since that was deprecated in all
> major Hadoop branches
> --------------------------------------------------------------------------------------------------
>
> Key: MAHOUT-994
> URL: https://issues.apache.org/jira/browse/MAHOUT-994
> Project: Mahout
> Issue Type: Bug
> Components: Integration
> Affects Versions: 0.6
> Reporter: Roman Shaposhnik
>
> Mahout should follow the Pig and Hive example and not rely explicitly on
> HADOOP_HOME and HADOOP_CONF_DIR
--
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