You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2021/02/23 17:22:00 UTC
[jira] [Resolved] (HDDS-4853) libexec/entrypoint.sh might copy from
wrong path
[ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org