You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Dominic Hamon (JIRA)" <ji...@apache.org> on 2014/03/12 00:23:50 UTC

[jira] [Commented] (MESOS-1050) Containerizer broke getting hadoop binary from $HADOOP_HOME and $PATH

    [ https://issues.apache.org/jira/browse/MESOS-1050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13931140#comment-13931140 ] 

Dominic Hamon commented on MESOS-1050:
--------------------------------------

https://reviews.apache.org/r/18974/

> Containerizer broke getting hadoop binary from $HADOOP_HOME and $PATH
> ---------------------------------------------------------------------
>
>                 Key: MESOS-1050
>                 URL: https://issues.apache.org/jira/browse/MESOS-1050
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization, hadoop
>    Affects Versions: 0.18.0
>            Reporter: Robert Lacroix
>            Assignee: Dominic Hamon
>             Fix For: 0.18.0
>
>
> In [mesos_containerizer.cpp |https://github.com/apache/mesos/blob/02a17d8826542b12db1ca3c2668102d7a1763ee8/src/slave/containerizer/mesos_containerizer.cpp#L499] the containerized always sets HADOOP_HOME to what's passed to the slave as --hadoop_home.
> Therefore even if --hadoop_home is unset, the check in [hdfs.hpp |https://github.com/apache/mesos/blob/02a17d8826542b12db1ca3c2668102d7a1763ee8/src/hdfs/hdfs.hpp#L41] is always true and getting the hadoop binary from $HADOOP_HOME or $PATH passed to the mesos-slave doesn't work. It tries to load hadoop from /bin/hadoop in this case.
> This is a new regression in 0.18.



--
This message was sent by Atlassian JIRA
(v6.2#6252)