You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/06/19 15:34:59 UTC

[GitHub] [hbase] busbey commented on issue #311: [HBASE-22592] : HMaster Construction failure stacktrace to be availab…

busbey commented on issue #311: [HBASE-22592] : HMaster Construction failure stacktrace to be availab…
URL: https://github.com/apache/hbase/pull/311#issuecomment-503612957
 
 
   the current patch prints a stack trace to stdout for any throwable. we know there are lots of ways to bring down the master with a throwable that *will* have a logger in place. Don't print those to stdout.
   
   at a minimum you should be adding a catch block for things that are likely to go wrong in a way that can predate a logger being available in the runtime.
   
   The stacktrace in your screen shot shows a problem that should not be possible before the logging system is available (it happens in a catch block in an instance method and the logger is a final static variable that should be initialized already before any instances can be created). So please include a reproduction that ensures proper logging configs.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services