[
https://issues.apache.org/jira/browse/HDDS-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-4853.
------------------------------------
Fix Version/s: 1.1.0
Resolution: Fixed
Thanks [~sombat.cha] for reporting this and [~sky76093016] for the fix.
> 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
> Assignee: Ke-Yi Sung
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.1.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]