alexius ludeman created MESOS-3605:
--------------------------------------
Summary: hdfs.du() fails on os x due to lack of native-hadoop
library.
Key: MESOS-3605
URL: https://issues.apache.org/jira/browse/MESOS-3605
Project: Mesos
Issue Type: Bug
Components: fetcher, hadoop
Affects Versions: 0.23.0
Environment: os x
Reporter: alexius ludeman
hdfs.du() fails on os x due to lack of native-hadoop library.
This requires a fix from https://issues.apache.org/jira/browse/MESOS-3602
before it's reproducible.
per
https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/NativeLibraries.html
os x does not have native library support, and I could not readily find a way
to disable the message. This causes hdfs.du() to fail when parsing the output
with the warning message.
W1007 21:47:38.362117 250429440 fetcher.cpp:451] Reverting to fetching directly
into the sandbox for
'hdfs:///a/path/artifacts/executor/3.3.2-SNAPSHOT/executor-3.3.2-SNAPSHOT-artifact-with-dependencies-archive.tar.gz',
due to failure to fetch through the cache, with error: Could not determine
size of cache file for
'lexinator@hdfs:///a/path/artifacts/executor/3.3.2-SNAPSHOT/executor-3.3.2-SNAPSHOT-artifact-with-dependencies-archive.tar.gz'
with error: Hadoop client could not determine size: HDFS du returned an
unexpected number of results: '2015-10-07 21:47:37,474 WARN [main]
util.NativeCodeLoader (NativeCodeLoader.java:<clinit>(62)) - Unable to load
native-hadoop library for your platform... using builtin-java classes where
applicable
10.4 M
/a/path/artifacts/executor/3.3.2-SNAPSHOT/executor-3.3.2-SNAPSHOT-artifact-with-dependencies-archive.tar.gz
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)