Explorar o código

AMBARI-11846. Add hive2 credential to oozie-site.xml for RU (ncole)

Nate Cole %!s(int64=10) %!d(string=hai) anos
pai
achega
cd9d915aa6

+ 1 - 1
ambari-server/src/main/resources/common-services/OOZIE/5.0.0.2.3/configuration/oozie-site.xml

@@ -42,7 +42,7 @@
 
   <property>
     <name>oozie.credentials.credentialclasses</name>
-    <value>hcat=org.apache.oozie.action.hadoop.HCatCredentials</value>
+    <value>hcat=org.apache.oozie.action.hadoop.HCatCredentials,hive2=org.apache.oozie.action.hadoop.Hive2Credentials</value>
     <description>
       Credential Class to be used for HCat.
     </description>

+ 1 - 1
ambari-server/src/main/resources/stacks/HDP/2.2/upgrades/upgrade-2.3.xml

@@ -889,7 +889,6 @@
               <keep-key>oozie.authentication.type</keep-key>
               <keep-key>oozie.authentication.simple.anonymous.allowed</keep-key>
               <keep-key>oozie.authentication.kerberos.name.rules</keep-key>
-              <keep-key>oozie.credentials.credentialclasses</keep-key>
               <keep-key>oozie.service.AuthorizationService.authorization.enabled</keep-key>
               <keep-key>oozie.service.HadoopAccessorService.hadoop.configurations</keep-key>
               <keep-key>oozie.service.HadoopAccessorService.kerberos.enabled</keep-key>
@@ -904,6 +903,7 @@
               <keep-key>oozie.service.ELService.ext.functions.coord-sla-submit</keep-key>
               <keep-key>oozie.service.ELService.ext.functions.coord-sla-create</keep-key>
             </transfer>
+            <set key="oozie.credentials.credentialclasses" value="hcat=org.apache.oozie.action.hadoop.HCatCredentials,hive2=org.apache.oozie.action.hadoop.Hive2Credentials" />
           </task>
         </pre-upgrade>
         <upgrade>