hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9431) DistributedFileSystem#concat fails if the target path is relative.
Date Thu, 19 Nov 2015 05:29:11 GMT

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

Akira AJISAKA commented on HDFS-9431:
-------------------------------------

LGTM, +1.

> DistributedFileSystem#concat fails if the target path is relative.
> ------------------------------------------------------------------
>
>                 Key: HDFS-9431
>                 URL: https://issues.apache.org/jira/browse/HDFS-9431
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs-client
>            Reporter: Kazuho Fujii
>            Assignee: Kazuho Fujii
>         Attachments: HDFS-9431.001.patch, HDFS-9431.002.patch
>
>
> {{DistributedFileSystem#concat}} fails if the target path is relative.
> The method tries to send a relative path to DFSClient at the first call.
> bq.      dfs.concat(getPathName(trg), srcsStr);
> But, {{getPathName}} failed. It seems that {{trg}} should be {{absF}} like the second
call.
> bq.      dfs.concat(getPathName(absF), srcsStr);



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

Mime
View raw message