You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/04/22 01:26:00 UTC

[jira] [Work logged] (HDFS-16555) rename mixlead method name in DistCpOptions

     [ https://issues.apache.org/jira/browse/HDFS-16555?focusedWorklogId=760543&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-760543 ]

ASF GitHub Bot logged work on HDFS-16555:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Apr/22 01:25
            Start Date: 22/Apr/22 01:25
    Worklog Time Spent: 10m 
      Work Description: GuoPhilipse opened a new pull request, #4216:
URL: https://github.com/apache/hadoop/pull/4216

   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.
   
   
   
   
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 760543)
    Remaining Estimate: 0h
            Time Spent: 10m

> rename mixlead method name in DistCpOptions
> -------------------------------------------
>
>                 Key: HDFS-16555
>                 URL: https://issues.apache.org/jira/browse/HDFS-16555
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: distcp
>    Affects Versions: 3.3.2
>            Reporter: guophilipse
>            Priority: Minor
>          Time Spent: 10m
>  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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org