[
https://issues.apache.org/jira/browse/HDFS-5107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Li updated HDFS-5107:
-----------------------------
Attachment: HDFS-5107.patch.2
HDFS-5107.patch.2 uses the passed array instead of copying it.
> 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
>
>
> 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