Attila Doroszlai created HDDS-4450:
--------------------------------------
Summary: Cannot run ozone if HADOOP_HOME points to Hadoop install
Key: HDDS-4450
URL: https://issues.apache.org/jira/browse/HDDS-4450
Project: Hadoop Distributed Data Store
Issue Type: Bug
Components: Ozone CLI
Reporter: Attila Doroszlai
Assignee: Attila Doroszlai
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:
{code}
$ ozone help
ERROR: Cannot execute /usr/local/hadoop/libexec/ozone-config.sh.
{code}
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]