You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "haosdent (JIRA)" <ji...@apache.org> on 2015/11/04 04:09:27 UTC

[jira] [Commented] (MESOS-3602) hdfs du fails due to prepended / on path

    [ https://issues.apache.org/jira/browse/MESOS-3602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14988800#comment-14988800 ] 

haosdent commented on MESOS-3602:
---------------------------------

I think you could add [~bernd-mesos] as reviewer :-) . He is the author of fetcher. 

> hdfs du fails due to prepended / on path
> ----------------------------------------
>
>                 Key: MESOS-3602
>                 URL: https://issues.apache.org/jira/browse/MESOS-3602
>             Project: Mesos
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 0.23.0
>            Reporter: alexius ludeman
>            Assignee: James Peach
>
> hdfs.hpp du() fails to run.  It appears to prepend "/" but the path passed in is a uri of something like "hdfs:///a/path/to/artifact.tar.gz".
> {code}
> W1007 13:46:25.791894 373116928 fetcher.cpp:436] Reverting to fetching directly into the sandbox for 'hdfs:///a/path/to/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/to/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 13:46:21,958 WARN  [main] util.NativeCodeLoader (NativeCodeLoader.java:<clinit>(62)) - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
> -du: java.net.URISyntaxException: Expected scheme-specific part at index 5: hdfs:
> Usage: hadoop fs [generic options] -du [-s] [-h] <path> ...
> {code}
> The command it's running is:
> {code}
> /usr/bin/env bash /.../hadoop fs -du -h /hdfs:///a/path/to/3.3.2-SNAPSHOT/executor-3.3.2-SNAPSHOT-artifact-with-dependencies-archive.tar.gz
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)