[ 
https://issues.apache.org/jira/browse/HDFS-17912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaoqiao He resolved HDFS-17912.
--------------------------------
    Fix Version/s: 3.6.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

> 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.3.6, 3.5.0, 3.4.3
>            Reporter: YUBI LEE
>            Assignee: YUBI LEE
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>
> 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