[ https://issues.apache.org/jira/browse/MESOS-6914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16431847#comment-16431847 ]
wangyuzhao edited comment on MESOS-6914 at 4/10/18 7:40 AM: ------------------------------------------------------------ I encountered this issue, even add "export MESOS_hadoop_home=xxx" in the mesos_agent_env.sh. i wonder it relates to the isolation mechanism, such as cgroups.Does it use the namespace's file system isolation, i.e Mount? was (Author: wangyuzhao): I encountered this issue, even add "export MESOS_hadoop_home=xxx" in the mesos_agent_env.sh. i wonder it's related to the isolation mechanism, such as cgroups.Does it includes the namespace's file system isolation, i.e Mount? > Command 'hadoop version 2>&1' failed > ------------------------------------ > > Key: MESOS-6914 > URL: https://issues.apache.org/jira/browse/MESOS-6914 > Project: Mesos > Issue Type: Bug > Reporter: yangjunfeng > Priority: Major > > I am green hand in spark on mesos. > when I run spark-shell on mesos. The error is below: > Command 'hadoop version 2>&1' failed; this is the output: > sh: hadoop: command not found > Failed to fetch > 'hdfs://188.188.0.189:9000/usr/yjf/spark-2.1.0-bin-hadoop2.7.tgz': Failed to > create HDFS client: Failed to execute 'hadoop version 2>&1'; the command was > either not found or exited with a non-zero exit status: 127 > Failed to synchronize with agent (it's probably exited) > How can I fix this problom. > Thanks a lot! -- This message was sent by Atlassian JIRA (v7.6.3#76005)