[
https://issues.apache.org/jira/browse/HDFS-8493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14586053#comment-14586053
]
Rakesh R commented on HDFS-8493:
--------------------------------
Thank you [~wheat9] for the review comments. Attached patch addressing the
comments.
bq. Most of the functions in FSDirTruncateOp should be private instead of
package local.
Since FsDirTruncateOp#prepareFileForTruncate is used in tests, have made
{{@VisibleForTesting}} to it.
> Consolidate truncate() related implementation in a single class
> ---------------------------------------------------------------
>
> Key: HDFS-8493
> URL: https://issues.apache.org/jira/browse/HDFS-8493
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Haohui Mai
> Assignee: Rakesh R
> Attachments: HDFS-8493-001.patch, HDFS-8493-002.patch,
> HDFS-8493-003.patch, HDFS-8493-004.patch, HDFS-8493-005.patch
>
>
> This jira proposes to consolidate truncate() related methods into a single
> class.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)