virajjasani commented on issue #311: [HBASE-22592] : HMaster Construction failure stacktrace to be availab… URL: https://github.com/apache/hbase/pull/311#issuecomment-503602324 > we don't print stuff to stdout if there's a logger available. Please refactor to only print if the logging system isn't present. (which I'm not sure is possible) @busbey I agree we shouldn't print everything to stdout when logger is available. However, the error present in the screenshot was encountered due to a library that contained some incompatible guava method and HBase had classpath setup to use that library. Hence, when HMaster was started, no error was printed to .log or .out file. We had to attach JDB to figure out this Exception. If HMaster fails due to some valid Exception, do you think it is fine to print the StackTrace on stdout also. Not that it will harm anything but it will be redundant if Logger is already loaded in JVM, else stdout will be the only source of truth to get the details of Exception.
---------------------------------------------------------------- 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
