YUBI LEE created HDFS-17912:
-------------------------------

             Summary: HttpFS: hadoop-httpfs.sh ignores HTTPFS_CONFIG when 
locating httpfs-env.sh
                 Key: HDFS-17912
                 URL: https://issues.apache.org/jira/browse/HDFS-17912
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: httpfs
    Affects Versions: 3.4.3, 3.5.0, 3.3.6
            Reporter: YUBI LEE


hadoop-httpfs.sh sources httpfs-env.sh from HADOOP_CONF_DIR only,
even though HTTPFS_CONFIG is honored elsewhere in the same script
(e.g. -Dhttpfs.config.dir).

If you set HTTPFS_CONFIG to a separate directory, httpfs-site.xml is
read from there but httpfs-env.sh is silently skipped, which is
confusing.

Fix: use ${HTTPFS_CONFIG:-${HADOOP_CONF_DIR}} for httpfs-env.sh too.
Backward compatible since HTTPFS_CONFIG defaults to HADOOP_CONF_DIR.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to