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.
|
||||
(Larry McCay via cnauroth)
|
||||
|
||||
HADOOP-12828. Print user when services are started.
|
||||
(Wei-Chiu Chuang via Yongjun Zhang)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
||||
|
@ -687,6 +687,7 @@ static void startupShutdownMessage(Class<?> clazz, String[] args,
|
||||
LOG.info(
|
||||
toStartupShutdownString("STARTUP_MSG: ", new String[] {
|
||||
"Starting " + classname,
|
||||
" user = " + System.getProperty("user.name"),
|
||||
" host = " + hostname,
|
||||
" args = " + Arrays.asList(args),
|
||||
" version = " + VersionInfo.getVersion(),
|
||||
|
@ -124,6 +124,7 @@ public void contextInitialized(ServletContextEvent sce) {
|
||||
LOG.info("-------------------------------------------------------------");
|
||||
LOG.info(" Java runtime version : {}", System.getProperty(
|
||||
"java.runtime.version"));
|
||||
LOG.info(" User: {}", System.getProperty("user.name"));
|
||||
LOG.info(" KMS Hadoop Version: " + VersionInfo.getVersion());
|
||||
LOG.info("-------------------------------------------------------------");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user