HADOOP-12828. Print user when services are started. (Wei-Chiu Chuang via Yongjun Zhang)
This commit is contained in:
parent
748b6c07fe
commit
a963baba10
|
@ -1134,6 +1134,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HADOOP-11031. Design Document for Credential Provider API.
|
HADOOP-11031. Design Document for Credential Provider API.
|
||||||
(Larry McCay via cnauroth)
|
(Larry McCay via cnauroth)
|
||||||
|
|
||||||
|
HADOOP-12828. Print user when services are started.
|
||||||
|
(Wei-Chiu Chuang via Yongjun Zhang)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
||||||
|
|
|
@ -687,6 +687,7 @@ public class StringUtils {
|
||||||
LOG.info(
|
LOG.info(
|
||||||
toStartupShutdownString("STARTUP_MSG: ", new String[] {
|
toStartupShutdownString("STARTUP_MSG: ", new String[] {
|
||||||
"Starting " + classname,
|
"Starting " + classname,
|
||||||
|
" user = " + System.getProperty("user.name"),
|
||||||
" host = " + hostname,
|
" host = " + hostname,
|
||||||
" args = " + Arrays.asList(args),
|
" args = " + Arrays.asList(args),
|
||||||
" version = " + VersionInfo.getVersion(),
|
" version = " + VersionInfo.getVersion(),
|
||||||
|
|
|
@ -124,6 +124,7 @@ public class KMSWebApp implements ServletContextListener {
|
||||||
LOG.info("-------------------------------------------------------------");
|
LOG.info("-------------------------------------------------------------");
|
||||||
LOG.info(" Java runtime version : {}", System.getProperty(
|
LOG.info(" Java runtime version : {}", System.getProperty(
|
||||||
"java.runtime.version"));
|
"java.runtime.version"));
|
||||||
|
LOG.info(" User: {}", System.getProperty("user.name"));
|
||||||
LOG.info(" KMS Hadoop Version: " + VersionInfo.getVersion());
|
LOG.info(" KMS Hadoop Version: " + VersionInfo.getVersion());
|
||||||
LOG.info("-------------------------------------------------------------");
|
LOG.info("-------------------------------------------------------------");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue