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

Cannot run ozone if HADOOP_HOME points to Hadoop install

    XMLWordPrintableJSON

Details

    Description

      Currently Ozone relies on HADOOP_* environment variables (eg. HADOOP_HOME) for historical and practical reasons (code reuse). If Hadoop and Ozone are both present on a node, and they share their environment, then ozone (and stop-ozone.sh) exits with error:

      $ ozone help
      ERROR: Cannot execute /usr/local/hadoop/libexec/ozone-config.sh.
      

      The same problem was reported and fixed in HDDS-1912 for the start-ozone.sh script. This task is limited to applying the changes from HDDS-1912 to the other two scripts. Ideally Ozone should use its own environment variables, which is a much larger change.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: