busbey commented on a change in pull request #916: HBASE-23382: Clean up 
Logging for Some of hbase-server Module
URL: https://github.com/apache/hbase/pull/916#discussion_r356408206
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/FileIOEngine.java
 ##########
 @@ -84,10 +82,8 @@ public FileIOEngine(long capacity, boolean 
maintainPersistence, String... filePa
         if (totalSpace < sizePerFile) {
           // The next setting length will throw exception,logging this message
           // is just used for the detail reason of exception,
-          String msg = "Only " + StringUtils.byteDesc(totalSpace)
-              + " total space under " + filePath + ", not enough for requested 
"
-              + StringUtils.byteDesc(sizePerFile);
-          LOG.warn(msg);
+          LOG.warn("Only " + StringUtils.byteDesc(totalSpace) + " total space 
under " + filePath
 
 Review comment:
   use substitution

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to