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

Brandon Li commented on HDFS-5107:
----------------------------------

Manually tested with NFS mount. 
                
> Fix array copy error in Readdir and Readdirplus responses
> ---------------------------------------------------------
>
>                 Key: HDFS-5107
>                 URL: https://issues.apache.org/jira/browse/HDFS-5107
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: nfs
>    Affects Versions: 2.1.0-beta
>            Reporter: Brandon Li
>            Assignee: Brandon Li
>         Attachments: HDFS-5107.patch.2, HDFS-5107.patch.3
>
>
> System.arraycopy(this.entries, 0, entries, 0, entries.length);
> it should be 
> System.arraycopy(entries, 0, this.entries, 0, entries.length);
> This caused NFS to fail to return directory content. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to