Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3057

httpfs and hdfs launcher scripts should honor CATALINA_HOME and HADOOP_LIBEXEC_DIR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.1
    • 2.0.0-alpha
    • scripts
    • None
    • Reviewed

    Description

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

      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
      

      and the following should honor HADOOP_LIBEXEC_DIR:

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

      Attachments

        1. HDFS-3057.patch.txt
          2 kB
          Roman Shaposhnik

        Activity

          People

            rvs Roman Shaposhnik
            rvs Roman Shaposhnik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: