Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12344

Various Configs in webcat-site.xml Are Using Paths With 'current' Rather Than Version

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: ambari-server
    • Labels:
      None

      Description

      some examples

      <property>
            <name>templeton.hadoop</name>
            <value>/usr/hdp/current/hadoop-client/bin/hadoop</value>
          </property>
      
      
      <property>
            <name>templeton.hcat</name>
            <value>/usr/hdp/current/hive-client/bin/hcat</value>
          </property>
      
      
       <property>
            <name>templeton.hive.extra.files</name>
            <value>/etc/tez/conf/tez-site.xml,/usr/hdp/current/tez-client,/usr/hdp/current/tez-client/lib</value>
          </property>
      
      
       <property>
            <name>templeton.jar</name>
            <value>/usr/hdp/current/hive-webhcat/share/webhcat/svr/lib/hive-webhcat-*.jar</value>
          </property>
          
          <property>
            <name>templeton.libjars</name>
            <value>/usr/hdp/current/zookeeper-client/zookeeper.jar,/usr/hdp/current/hive-server2/lib/hive-common.jar</value>
          </property>
      

      We should be using paths with version to make sure webhcat is running with the same version client as its running with.

      There's a simple solution for this: we use the property hdp.version instead of current. You can see other configs in the same file that depend on hdp.version. hdp.version is tested with other configuration properties, so if we change these current references to hdp.version, we should be good.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonathanhurley Jonathan Hurley
                Reporter:
                jonathanhurley Jonathan Hurley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: