You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Sombat Charnchaleo (Jira)" <ji...@apache.org> on 2021/02/20 20:57:00 UTC
[jira] [Created] (HDDS-4853) libexec/entrypoint.sh might copy from
wrong path
Sombat Charnchaleo created HDDS-4853:
----------------------------------------
Summary: libexec/entrypoint.sh might copy from wrong path
Key: HDDS-4853
URL: https://issues.apache.org/jira/browse/HDDS-4853
Project: Apache Ozone
Issue Type: Bug
Components: OM
Reporter: Sombat Charnchaleo
Not quite sure, but I expect the first cp cmd should be:
cp /opt/ozone/etc/hadoop/* "$CONF_DESTINATION_DIR/" > /dev/null 2>&1
instead of:
||libexec/entrypoint.sh||
|...
#Try to copy the defaults
set +e
if [[ -d "/opt/ozone/etc/hadoop" ]]; then
cp /opt/hadoop/etc/hadoop/* "$CONF_DESTINATION_DIR/" > /dev/null 2>&1
elif [[ -d "/opt/hadoop/etc/hadoop" ]]; then
cp /opt/hadoop/etc/hadoop/* "$CONF_DESTINATION_DIR/" > /dev/null 2>&1
fi
...|
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org