You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/08/03 05:38:09 UTC

[GitHub] [hadoop] hemanthboyina commented on a change in pull request #3217: HADOOP-17542. IPV6 support in Netutils#createSocketAddress

hemanthboyina commented on a change in pull request #3217:
URL: https://github.com/apache/hadoop/pull/3217#discussion_r681448675



##########
File path: hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/ChecksumFileSystem.java
##########
@@ -104,12 +105,18 @@ public FileSystem getRawFileSystem() {
 
   /** Return the name of the checksum file associated with a file.*/
   public Path getChecksumFile(Path file) {
+    if (StringUtils.countMatches(file.toString(), ":") > 2) {
+      return new Path(file.getParent(), "./" + file.getName() + ".crc");

Review comment:
       @prasad-acit can you add an UT for these changes here




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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