You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2014/09/03 08:52:51 UTC

[jira] [Commented] (HADOOP-11035) distcp on mr1(branch-1) fails with NPE using a short relative source path.

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

Hadoop QA commented on HADOOP-11035:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12666168/HADOOP-11035.000.patch
  against trunk revision 08a9ac7.

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/4636//console

This message is automatically generated.

> distcp on mr1(branch-1) fails with NPE using a short relative source path.
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-11035
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11035
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: tools
>            Reporter: zhihai xu
>            Assignee: zhihai xu
>         Attachments: HADOOP-11035.000.patch
>
>
> distcp on mr1(branch-1) fails with NPE using a short relative source path. 
> The failure is at DistCp.java, makeRelative return null at the following code:
> The parameters passed to makeRelative are not same format:
> root is relative path and child.getPath() is a full path.
> {code}
> final String dst = makeRelative(root, child.getPath());
> {code}
> The solution is 
> change root to full path to match child.getPath().



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