[
https://issues.apache.org/jira/browse/HADOOP-18269?focusedWorklogId=775899&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-775899
]
ASF GitHub Bot logged work on HADOOP-18269:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 30/May/22 13:07
Start Date: 30/May/22 13:07
Worklog Time Spent: 10m
Work Description: steveloughran commented on PR #4216:
URL: https://github.com/apache/hadoop/pull/4216#issuecomment-1141138274
(oh, and moved to being a hadoop- jira, rather than HDFS. always a bit
confusing there as hdfs jira does have a distcp component in its dropdowns).
Issue Time Tracking
-------------------
Worklog Id: (was: 775899)
Time Spent: 2h 20m (was: 2h 10m)
> Misleading method name in DistCpOptions
> ---------------------------------------
>
> Key: HADOOP-18269
> URL: https://issues.apache.org/jira/browse/HADOOP-18269
> Project: Hadoop Common
> Issue Type: Improvement
> Components: tools/distcp
> Affects Versions: 3.3.2
> Reporter: guophilipse
> Assignee: guophilipse
> Priority: Minor
> Labels: pull-request-available
> Fix For: 3.3.4
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> Currently method in DistCpOptions withCRC was used as the following
> ```
> withCRC(true) means check without crc
> withCRC(false) means check with crc
> ```
> which mislead the developer when we pass the paramter, we can rename the
> method to clear that.after that it should be:
> ```
> withSkipCRC(true) means check without crc
> withSkipCRC(false) means check with crc
> ```
> so it will be more understandable.
>
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]