[
https://issues.apache.org/jira/browse/MESOS-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Littlestar resolved MESOS-2529.
-------------------------------
Resolution: Won't Fix
May misconfigured mesos + spark.
I fixed this by add MESOS_hadoop_home to mesos-slave-env.sh
> fetch hdfs executor failed with "sh: hadoop: command not found"
> ---------------------------------------------------------------
>
> Key: MESOS-2529
> URL: https://issues.apache.org/jira/browse/MESOS-2529
> Project: Mesos
> Issue Type: Bug
> Components: fetcher
> Affects Versions: 0.21.1
> Reporter: Littlestar
>
> fetch hdfs executor failed with "sh: hadoop: command not found"
> I set HADOOP_HOME and PATH in /etc/profile, but it not works well.
> WARNING: Logging before InitGoogleLogging() is written to STDERR
> I0323 11:46:41.758134 9312 fetcher.cpp:76] Fetching URI
> 'hdfs://192.168.1.9:54310/home/test/spark-1.3.0-bin-2.4.0.tar.gz'
> I0323 11:46:41.758301 9312 fetcher.cpp:105] Downloading resource from
> 'hdfs://192.168.1.9:54310/home/test/spark-1.3.0-bin-2.4.0.tar.gz' to
> '/home/mesos/work_dir/slaves/20150323-100710-1214949568-5050-3453-S1/frameworks/20150323-114534-1214949568-5050-12082-0000/executors/20150323-100710-1214949568-5050-3453-S1/runs/5bb19ef7-483a-4871-aa2a-cb18796775e9/spark-1.3.0-bin-2.4.0.tar.gz'
> E0323 11:46:41.762511 9312 fetcher.cpp:109] HDFS copyToLocal failed: hadoop
> fs -copyToLocal
> 'hdfs://192.168.1.9:54310/home/test/spark-1.3.0-bin-2.4.0.tar.gz'
> '/home/mesos/work_dir/slaves/20150323-100710-1214949568-5050-3453-S1/frameworks/20150323-114534-1214949568-5050-12082-0000/executors/20150323-100710-1214949568-5050-3453-S1/runs/5bb19ef7-483a-4871-aa2a-cb18796775e9/spark-1.3.0-bin-2.4.0.tar.gz'
> sh: hadoop: command not found
> Failed to fetch:
> hdfs://192.168.1.9:54310/home/test/spark-1.3.0-bin-2.4.0.tar.gz
> Failed to synchronize with slave (it's probably exited)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)