virajjasani commented on a change in pull request #311: [HBASE-22592] : HMaster 
Construction failure stacktrace to be availab…
URL: https://github.com/apache/hbase/pull/311#discussion_r294091754
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMasterCommandLine.java
 ##########
 @@ -244,6 +244,7 @@ private int startMaster() {
           throw new RuntimeException("HMaster Aborted");
       }
     } catch (Throwable t) {
+      t.printStackTrace();
 
 Review comment:
   I thought about that but as per the screenshot provided in the description, 
the Exception provided is not available in log file because Logger is not yet 
loaded.
   Anyways, adding printstacktrace() would ensure that the StackTrace is 
atleast available in .out file. If the Logger is created and loaded by that 
time, then it would also be present in .log file based on: LOG.error("Master 
exiting", t);

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