You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by da...@apache.org on 2014/08/02 00:35:33 UTC

svn commit: r1615257 - /hive/trunk/hcatalog/hcatalog-pig-adapter/src/main/java/org/apache/hive/hcatalog/pig/HCatLoader.java

Author: daijy
Date: Fri Aug  1 22:35:33 2014
New Revision: 1615257

URL: http://svn.apache.org/r1615257
Log:
HIVE-7558: HCatLoader reuses credentials across jobs ( Thiruvel Thirumoolan via Daniel Dai )

Modified:
    hive/trunk/hcatalog/hcatalog-pig-adapter/src/main/java/org/apache/hive/hcatalog/pig/HCatLoader.java

Modified: hive/trunk/hcatalog/hcatalog-pig-adapter/src/main/java/org/apache/hive/hcatalog/pig/HCatLoader.java
URL: http://svn.apache.org/viewvc/hive/trunk/hcatalog/hcatalog-pig-adapter/src/main/java/org/apache/hive/hcatalog/pig/HCatLoader.java?rev=1615257&r1=1615256&r2=1615257&view=diff
==============================================================================
--- hive/trunk/hcatalog/hcatalog-pig-adapter/src/main/java/org/apache/hive/hcatalog/pig/HCatLoader.java (original)
+++ hive/trunk/hcatalog/hcatalog-pig-adapter/src/main/java/org/apache/hive/hcatalog/pig/HCatLoader.java Fri Aug  1 22:35:33 2014
@@ -119,7 +119,6 @@ public class HCatLoader extends HCatBase
       if (!HCatUtil.checkJobContextIfRunningFromBackend(job)) {
         //Combine credentials and credentials from job takes precedence for freshness
         Credentials crd = jobCredentials.get(INNER_SIGNATURE_PREFIX + "_" + signature);
-        crd.addAll(job.getCredentials());
         job.getCredentials().addAll(crd);
       }
     } else {