Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4853

libexec/entrypoint.sh might copy from wrong path

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: OM

      Description

      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
      ...

        Attachments

          Activity

            People

            • Assignee:
              sky76093016 Ke-Yi Sung
              Reporter:
              sombat.cha Sombat Charnchaleo

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment