Apache9 commented on a change in pull request #2627:
URL: https://github.com/apache/hbase/pull/2627#discussion_r523009110
##########
File path:
hbase-common/src/main/java/org/apache/hadoop/hbase/util/UnsafeAvailChecker.java
##########
@@ -39,6 +42,10 @@
@Override
public Boolean run() {
try {
+ final Configuration conf = HBaseConfiguration.create();
Review comment:
We will pass in a Configuration when constructoring a client Connection
for accessing HBase cluster, but here we just use the default one, it may lead
to strange behavior when user does not use the default config file, or creating
the Configuration by programming
----------------------------------------------------------------
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]