Jonathan Hurley created AMBARI-12344:
----------------------------------------

             Summary: Various Configs in webcat-site.xml Are Using Paths With 
'current' Rather Than Version
                 Key: AMBARI-12344
                 URL: https://issues.apache.org/jira/browse/AMBARI-12344
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Jonathan Hurley
            Assignee: Jonathan Hurley
            Priority: Blocker
             Fix For: 2.1.0


some examples

{code}
<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>
{code}

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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to