HADOOP-12828. Print user when services are started. (Wei-Chiu Chuang via Yongjun Zhang)
(cherry picked from commit a963baba10648859ad88d4ed9a4325b66b1af0d5)
This commit is contained in:
parent
5faa2934e8
commit
36c08f793a
@ -480,6 +480,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…
x
Reference in New Issue
Block a user