[ 
https://issues.apache.org/jira/browse/HDDS-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ke-Yi Sung reassigned HDDS-4853:
--------------------------------

    Assignee: Ke-Yi Sung

> 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
>
> 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-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to