Can't start brocker
Closed this issue · 1 comments
zubairov commented
We have a Mesosphere DCOS 1.3 AWS cloud formation, deploying Kafka-mesos worked well, but starting brocker is failed:
/opt/mesosphere/packages/mesos--d43a8eb9946a5c1c5ec05fb21922a2fdf41775b2/libexec/mesos/mesos-fetcher: /lib64/libcurl.so.4: no version information available (required by /opt/mesosphere/packages/mesos--d43a8eb9946a5c1c5ec05fb21922a2fdf41775b2/libexec/mesos/mesos-fetcher)
/opt/mesosphere/packages/mesos--d43a8eb9946a5c1c5ec05fb21922a2fdf41775b2/libexec/mesos/mesos-fetcher: /lib64/libcurl.so.4: no version information available (required by /opt/mesosphere/packages/mesos--d43a8eb9946a5c1c5ec05fb21922a2fdf41775b2/lib/libmesos-0.23.0.so)
I1126 20:20:04.424836 5998 logging.cpp:172] INFO level logging started!
I1126 20:20:04.425092 5998 fetcher.cpp:409] Fetcher Info: {"cache_directory":"\/tmp\/mesos\/fetch\/slaves\/20151007-131959-1845952522-5050-2292-S0\/core","items":[{"action":"BYPASS_CACHE","uri":{"extract":true,"value":"http:\/\/leader.mesos:7000\/jar\/kafka-mesos-0.9.3.0.jar"}},{"action":"BYPASS_CACHE","uri":{"extract":true,"value":"http:\/\/leader.mesos:7000\/kafka\/kafka_2.10-0.8.2.2.tgz"}}],"sandbox_directory":"\/var\/lib\/mesos\/slave\/slaves\/20151007-131959-1845952522-5050-2292-S0\/frameworks\/20151007-131959-1845952522-5050-2292-0000\/executors\/broker-0-67dad5b3-960f-4196-a826-e6d60f108d87\/runs\/e82834e9-bd05-4f62-becb-f95c6f396683","user":"core"}
I1126 20:20:04.426383 5998 fetcher.cpp:364] Fetching URI 'http://leader.mesos:7000/jar/kafka-mesos-0.9.3.0.jar'
I1126 20:20:04.426405 5998 fetcher.cpp:238] Fetching directly into the sandbox directory
I1126 20:20:04.426425 5998 fetcher.cpp:176] Fetching URI 'http://leader.mesos:7000/jar/kafka-mesos-0.9.3.0.jar'
I1126 20:20:04.426440 5998 fetcher.cpp:126] Downloading resource from 'http://leader.mesos:7000/jar/kafka-mesos-0.9.3.0.jar' to '/var/lib/mesos/slave/slaves/20151007-131959-1845952522-5050-2292-S0/frameworks/20151007-131959-1845952522-5050-2292-0000/executors/broker-0-67dad5b3-960f-4196-a826-e6d60f108d87/runs/e82834e9-bd05-4f62-becb-f95c6f396683/kafka-mesos-0.9.3.0.jar'
W1126 20:20:04.499917 5998 fetcher.cpp:260] Copying instead of extracting resource from URI with 'extract' flag, because it does not seem to be an archive: http://leader.mesos:7000/jar/kafka-mesos-0.9.3.0.jar
I1126 20:20:04.500119 5998 fetcher.cpp:441] Fetched 'http://leader.mesos:7000/jar/kafka-mesos-0.9.3.0.jar' to '/var/lib/mesos/slave/slaves/20151007-131959-1845952522-5050-2292-S0/frameworks/20151007-131959-1845952522-5050-2292-0000/executors/broker-0-67dad5b3-960f-4196-a826-e6d60f108d87/runs/e82834e9-bd05-4f62-becb-f95c6f396683/kafka-mesos-0.9.3.0.jar'
I1126 20:20:04.500133 5998 fetcher.cpp:364] Fetching URI 'http://leader.mesos:7000/kafka/kafka_2.10-0.8.2.2.tgz'
I1126 20:20:04.500141 5998 fetcher.cpp:238] Fetching directly into the sandbox directory
I1126 20:20:04.500155 5998 fetcher.cpp:176] Fetching URI 'http://leader.mesos:7000/kafka/kafka_2.10-0.8.2.2.tgz'
I1126 20:20:04.500169 5998 fetcher.cpp:126] Downloading resource from 'http://leader.mesos:7000/kafka/kafka_2.10-0.8.2.2.tgz' to '/var/lib/mesos/slave/slaves/20151007-131959-1845952522-5050-2292-S0/frameworks/20151007-131959-1845952522-5050-2292-0000/executors/broker-0-67dad5b3-960f-4196-a826-e6d60f108d87/runs/e82834e9-bd05-4f62-becb-f95c6f396683/kafka_2.10-0.8.2.2.tgz'
I1126 20:20:04.591084 5998 fetcher.cpp:76] Extracting with command: tar -C '/var/lib/mesos/slave/slaves/20151007-131959-1845952522-5050-2292-S0/frameworks/20151007-131959-1845952522-5050-2292-0000/executors/broker-0-67dad5b3-960f-4196-a826-e6d60f108d87/runs/e82834e9-bd05-4f62-becb-f95c6f396683' -xf '/var/lib/mesos/slave/slaves/20151007-131959-1845952522-5050-2292-S0/frameworks/20151007-131959-1845952522-5050-2292-0000/executors/broker-0-67dad5b3-960f-4196-a826-e6d60f108d87/runs/e82834e9-bd05-4f62-becb-f95c6f396683/kafka_2.10-0.8.2.2.tgz'
I1126 20:20:04.782620 5998 fetcher.cpp:84] Extracted '/var/lib/mesos/slave/slaves/20151007-131959-1845952522-5050-2292-S0/frameworks/20151007-131959-1845952522-5050-2292-0000/executors/broker-0-67dad5b3-960f-4196-a826-e6d60f108d87/runs/e82834e9-bd05-4f62-becb-f95c6f396683/kafka_2.10-0.8.2.2.tgz' into '/var/lib/mesos/slave/slaves/20151007-131959-1845952522-5050-2292-S0/frameworks/20151007-131959-1845952522-5050-2292-0000/executors/broker-0-67dad5b3-960f-4196-a826-e6d60f108d87/runs/e82834e9-bd05-4f62-becb-f95c6f396683'
W1126 20:20:04.782685 5998 fetcher.cpp:260] Copying instead of extracting resource from URI with 'extract' flag, because it does not seem to be an archive: http://leader.mesos:7000/kafka/kafka_2.10-0.8.2.2.tgz
I1126 20:20:04.782771 5998 fetcher.cpp:441] Fetched 'http://leader.mesos:7000/kafka/kafka_2.10-0.8.2.2.tgz' to '/var/lib/mesos/slave/slaves/20151007-131959-1845952522-5050-2292-S0/frameworks/20151007-131959-1845952522-5050-2292-0000/executors/broker-0-67dad5b3-960f-4196-a826-e6d60f108d87/runs/e82834e9-bd05-4f62-becb-f95c6f396683/kafka_2.10-0.8.2.2.tgz'
sh: java: command not found
Apparently launching script assumes java is on PATH which is not the case?
dmitrypekar commented
JVM is not installed to slave node.
Please pass --jre option to scheduler. It will use provided jre in that case.