[
https://issues.apache.org/jira/browse/MAHOUT-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235796#comment-13235796
]
Dmitriy Lyubimov commented on MAHOUT-994:
-----------------------------------------
looking at the pig code and your references in terms of lines, i am not sure i
can see how they add $HADOOP_HOME/lib files to the classpath. I also see that
they still use HADOOP_CONF_DIR to add to classpath in order to add default
hadoop configuration resources.
And finally your reference points to initialization of HADOOP_BIN which again i
am not sure how they use it further along as i don't see that it is being used
to form hadoop classpath or configuration anywhere further along. I am not sure
'which hadoop' can be relied upon so much to deduce libraries and conf reliably
as different distros tend to place binaries and configurations into different
actual locations (such as /usr/bin/hadoop) which are linked up into actual
hadoop home layout somewhere else. That's why i asked you to clarify how you
want to do it since i am still dubious "which" can be reliably used to deduce
HADOOP_HOME.
> 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