busbey commented on a change in pull request #2419:
URL: https://github.com/apache/hbase/pull/2419#discussion_r491014702
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/fs/HFileSystem.java
##########
@@ -85,8 +85,6 @@ public HFileSystem(Configuration conf, boolean
useHBaseChecksum)
this.fs = FileSystem.get(conf);
this.useHBaseChecksum = useHBaseChecksum;
- fs.initialize(getDefaultUri(conf), conf);
-
Review comment:
looking at the source and javadocs for hadoop versions we use, I think
we should remove this line as you have done and then also replace line 85 with
```
this.fs = FileSystem.get(getDefaultUri(conf), conf);
```
because the javadocs for that version of get make clear that `initialize`
will have already been called on whatever is returned. the get method we're
using now is ambiguous about it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]