hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10655) Fix path related byte array conversion bugs
Date Wed, 27 Jul 2016 17:50:20 GMT

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

Jing Zhao commented on HDFS-10655:

Thanks for the response, [~daryn]. I agree in the current code base whether to append "/"
does not matter. So I'll leave it to you to decide whether to keep the original behavior.
Other than this +1.

> Fix path related byte array conversion bugs
> -------------------------------------------
>                 Key: HDFS-10655
>                 URL: https://issues.apache.org/jira/browse/HDFS-10655
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HDFS-10655.patch, HDFS-10655.patch
> {{DFSUtil.bytes2ByteArray}} does not always properly handle runs of multiple separators,
nor does it handle relative paths correctly.
> {{DFSUtil.byteArray2PathString}} does not rebuild the path correctly unless the specified
range is the entire component array.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message