mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yu Wei <>
Subject Failed to launch spark jobs on mesos due to "hadoop" not found
Date Thu, 10 Nov 2016 11:29:36 GMT
Hi Guys,

I failed to launch spark jobs on mesos. Actually I submitted the job to cluster successfully.

But the job failed to run.

I1110 18:25:11.095507   301 fetcher.cpp:498] Fetcher Info: {"cache_directory":"\/tmp\/mesos\/fetch\/slaves\/1f8e621b-3cbf-4b86-a1c1-9e2cf77265ee-S7\/root","items":[{"action":"BYPASS_CACHE","uri":{"extract":true,"value":"hdfs:\/\/\/bigdata\/package\/spark-examples_2.11-2.0.1.jar"}}],"sandbox_directory":"\/var\/lib\/mesos\/agent\/slaves\/1f8e621b-3cbf-4b86-a1c1-9e2cf77265ee-S7\/frameworks\/1f8e621b-3cbf-4b86-a1c1-9e2cf77265ee-0002\/executors\/driver-20161110182510-0001\/runs\/b561328e-9110-4583-b740-98f9653e7fc2","user":"root"}
I1110 18:25:11.099799   301 fetcher.cpp:409] Fetching URI 'hdfs://'
I1110 18:25:11.099820   301 fetcher.cpp:250] Fetching directly into the sandbox directory
I1110 18:25:11.099862   301 fetcher.cpp:187] Fetching URI 'hdfs://'
E1110 18:25:11.101842   301 shell.hpp:106] Command 'hadoop version 2>&1' failed; this
is the output:
sh: hadoop: command not found
Failed to fetch 'hdfs://':
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

Actually I installed hadoop on each agent node.

Any advice?


Jared, (??)
Software developer
Interested in open source software, big data, Linux

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message