[jira] [Created] (HADOOP-17554) Make getFileChecksumInternal method more readable

2021-02-28 Thread Aref Khandan (Jira)
Aref Khandan created HADOOP-17554:
-

 Summary: Make getFileChecksumInternal method more readable
 Key: HADOOP-17554
 URL: https://issues.apache.org/jira/browse/HADOOP-17554
 Project: Hadoop Common
  Issue Type: Improvement
Affects Versions: 3.2.2
Reporter: Aref Khandan


It might be help with readability having getFileChecksumInternal method  
ecpolicy cheking

[https://github.com/apache/hadoop/blob/1a205cc3adffa568c814a5241e041b08e2fcd3eb/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSClient.java#L1845]

more explicit,

currently it is implemented inline,  which makes understanding the outcome of 
condition harder for future readers.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org



[jira] [Created] (HADOOP-17561) Where is hadoop-user-functions.sh.examples ?

2021-03-03 Thread Aref Khandan (Jira)
Aref Khandan created HADOOP-17561:
-

 Summary: Where is hadoop-user-functions.sh.examples ?
 Key: HADOOP-17561
 URL: https://issues.apache.org/jira/browse/HADOOP-17561
 Project: Hadoop Common
  Issue Type: Improvement
  Components: common
Affects Versions: 3.1.3
Reporter: Aref Khandan


in UnixShellGuide page 
[https://hadoop.apache.org/docs/r3.1.3/hadoop-project-dist/hadoop-common/UnixShellGuide.html]

it is mentioned that 

{{Examples of function replacement are in the 
??{{hadoop-user-functions.sh.examples}}?? file.}}

I've searched through whole Hadoop directory and source code, but there is no 
trace of this file except:

[hadoop-common-project/hadoop-common/src/site/markdown/UnixShellGuide.md]

which only mentions ??Examples of function replacement are in the 
`hadoop-user-functions.sh.examples` file.??

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org