httpfs launcher script should honor CATALINA_HOME and HADOOP_LIBEXEC_DIR
------------------------------------------------------------------------

                 Key: HDFS-3057
                 URL: https://issues.apache.org/jira/browse/HDFS-3057
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: scripts
    Affects Versions: 0.23.1
            Reporter: Roman Shaposhnik
            Assignee: Roman Shaposhnik
             Fix For: 0.23.2


In sbin/httpfs.sh the following should use CATALINA_HOME:

{noformat}
if [ "${HTTPFS_SILENT}" != "true" ]; then
  ${CATALINA_BASE:-"${BASEDIR}/share/hadoop/httpfs/tomcat"}/bin/catalina.sh "$@"
else
  ${CATALINA_BASE:-"${BASEDIR}/share/hadoop/httpfs/tomcat"}/bin/catalina.sh 
"$@" > /dev/null
fi
{noformat}

and the following should honor HADOOP_LIBEXEC_DIR:

{noformat}
source ${BASEDIR}/libexec/httpfs-config.sh
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to