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

Dominic Hamon reassigned MESOS-1050:
------------------------------------

    Assignee: Dominic Hamon

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

Reply via email to