[
https://issues.apache.org/jira/browse/HDDS-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-4757:
---------------------------------
Labels: pull-request-available (was: )
> Unnecessary WARNING to set OZONE_CONF_DIR
> -----------------------------------------
>
> Key: HDDS-4757
> URL: https://issues.apache.org/jira/browse/HDDS-4757
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Marton Elek
> Assignee: Marton Elek
> Priority: Major
> Labels: pull-request-available
>
> I executed a simple ozone command ("ozone admin pipeline list") on my latest
> deploy and got a warning:
> {code}
> ozone admin pipeline list
> WARNING: OZONE_CONF_DIR not defined and cannot be found, setting in
> OZONE_HOME: /opt/ozone/etc/hadoop.
> {code}
> Same with bash debug log (set -x):
> {code}
> ++ local conf_dir=etc/hadoop
> ++ [[ -n '' ]]
> ++ [[ -n /opt/ozone ]]
> ++ ozone_verify_confdir /opt/ozone/etc/hadoop
> ++ [[ -f /log4j.properties ]]
> ++ [[ -n /opt/ozone/libexec ]]
> ++ ozone_verify_confdir /opt/ozone/libexec/../etc/hadoop
> ++ [[ -f /log4j.properties ]]
> ++ OZONE_CONF_DIR=/opt/ozone/etc/hadoop
> ++ ozone_error 'WARNING: OZONE_CONF_DIR not defined and cannot be found,
> setting in OZONE_HOME: /opt/ozone/etc/hadoop.'
> ++ echo 'WARNING: OZONE_CONF_DIR not defined and cannot be found, setting in
> OZONE_HOME: /opt/ozone/etc/hadoop.'
> WARNING: OZONE_CONF_DIR not defined and cannot be found, setting in
> OZONE_HOME: /opt/ozone/etc/hadoop.
> {code}
> This error supposed to be hidden as conf dir is under the default location
> (/opt/ozone/etc/hadoop).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]