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

libexec/entrypoint.sh might copy from wrong path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • 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

        Issue Links

          Activity

            People

              sky76093016 Keyi Song
              sombat.cha Sombat Charnchaleo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: