adoroszlai commented on a change in pull request #1357: HDDS-2042. Avoid log on 
console with Ozone shell
URL: https://github.com/apache/hadoop/pull/1357#discussion_r318728169
 
 

 ##########
 File path: hadoop-ozone/common/src/main/bin/ozone
 ##########
 @@ -136,6 +138,7 @@ function ozonecmd_case
     ;;
     sh | shell)
       HADOOP_CLASSNAME=org.apache.hadoop.ozone.web.ozShell.OzoneShell
+      HDFS_OM_SH_OPTS="${HDFS_OM_SH_OPTS} -Dhadoop.log.file=ozone-shell.log 
-Dlog4j.configuration=file:${HADOOP_CONF_DIR}/ozone-shell-log4j.properties"
 
 Review comment:
   I would prefer `OZONE_SH_OPTS`.  However, this is an existing variable.  I 
kept its name to avoid breaking anyone's scripts.

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to