hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sp...@apache.org
Subject hive git commit: HIVE-11062: Remove Exception stacktrace from Log.info when ACL is not supported. (Yongzhi Chen, reviewed by Sergio Pena)
Date Tue, 23 Jun 2015 17:48:14 GMT
Repository: hive
Updated Branches:
  refs/heads/master f7b3b49f2 -> da2a77fdc


HIVE-11062: Remove Exception stacktrace from Log.info when ACL is not supported. (Yongzhi
Chen, reviewed by Sergio Pena)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/da2a77fd
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/da2a77fd
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/da2a77fd

Branch: refs/heads/master
Commit: da2a77fdc256e08bf7eb8dfa9756d72e50ad8b83
Parents: f7b3b49
Author: Sergio Pena <sergio.pena@cloudera.com>
Authored: Tue Jun 23 12:47:37 2015 -0500
Committer: Sergio Pena <sergio.pena@cloudera.com>
Committed: Tue Jun 23 12:47:37 2015 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/da2a77fd/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
----------------------------------------------------------------------
diff --git a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
index 5ddab98..aa3531c 100644
--- a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
+++ b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
@@ -699,7 +699,8 @@ public class Hadoop23Shims extends HadoopShimsSecure {
         aclStatus = fs.getAclStatus(file);
       } catch (Exception e) {
         LOG.info("Skipping ACL inheritance: File system for path " + file + " " +
-                "does not support ACLs but dfs.namenode.acls.enabled is set to true: " +
e, e);
+                "does not support ACLs but dfs.namenode.acls.enabled is set to true. ");
+        LOG.debug("The details are: " + e, e);
       }
     }
     return new Hadoop23FileStatus(fileStatus, aclStatus);
@@ -735,7 +736,8 @@ public class Hadoop23Shims extends HadoopShimsSecure {
           }
         } catch (Exception e) {
           LOG.info("Skipping ACL inheritance: File system for path " + target + " " +
-                  "does not support ACLs but dfs.namenode.acls.enabled is set to true: "
+ e, e);
+                  "does not support ACLs but dfs.namenode.acls.enabled is set to true. ");
+          LOG.debug("The details are: " + e, e);
         }
       } else {
         String permission = Integer.toString(sourceStatus.getFileStatus().getPermission().toShort(),
8);


Mime
View raw message