Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-214

HCat commandline does not set location for config dir correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.3
    • 0.3
    • None

    Description

      HCat commandline (bin/hcat) has the following section:


      HADOOP_CLASSPATH=${HADOOP_CLASSPATH}:${HCAT_PREFIX}/etc/hcatalog

      A simple trivial fix for this is by adding in ${HCAT_CONF_DIR} to this.

      That's incorrect, and it should be using ${HCAT_CONF_DIR} instead. We really need to sort out our env and configs to make it simpler and clearer across all our packages, but that's outside the scope of a trivial patch - I'll raise another jira for that.

      (Not removing existing case, since that'd help tarballs without HCAT_CONF_DIR being set, that have their conf in ${HCAT_PREFIX}/etc/hcatalog.

      Attachments

        1. HCATALOG-214.patch
          0.4 kB
          Sushanth Sowmyan
        2. HCATALOG-214-2.patch
          0.4 kB
          Sushanth Sowmyan

        Activity

          People

            sushanth Sushanth Sowmyan
            sushanth Sushanth Sowmyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: