sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject sentry git commit: SENTRY-1169: MetastorePlugin#renameAuthzObject log message prints oldpathname as newpathname (Sravya Tirukkovalur, Reviewed by: Hao Hao)
Date Mon, 04 Apr 2016 22:19:30 GMT
Repository: sentry
Updated Branches:
  refs/heads/master 1b0596142 -> fd047665b


SENTRY-1169: MetastorePlugin#renameAuthzObject log message prints oldpathname as newpathname
(Sravya Tirukkovalur, Reviewed by: Hao Hao)

Change-Id: Ifabdd2387774a277940c8d8598fb006298d57415


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

Branch: refs/heads/master
Commit: fd047665bc7b92c282ac2d569ec52d763d6d00ff
Parents: 1b05961
Author: hahao <hao.hao@cloudera.com>
Authored: Mon Apr 4 15:18:33 2016 -0700
Committer: hahao <hao.hao@cloudera.com>
Committed: Mon Apr 4 15:18:33 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/sentry/hdfs/MetastorePlugin.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/fd047665/sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/MetastorePlugin.java
----------------------------------------------------------------------
diff --git a/sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/MetastorePlugin.java
b/sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/MetastorePlugin.java
index 10ea37b..570cf23 100644
--- a/sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/MetastorePlugin.java
+++ b/sentry-hdfs/sentry-hdfs-service/src/main/java/org/apache/sentry/hdfs/MetastorePlugin.java
@@ -257,7 +257,7 @@ public class MetastorePlugin extends SentryMetastoreListenerPlugin {
     LOGGER.debug("#### HMS Path Update ["
         + "OP : renameAuthzObject, "
         + "oldName : " + oldName + ","
-        + "newPath : " + oldPath + ","
+        + "oldPath : " + oldPath + ","
         + "newName : " + newName + ","
         + "newPath : " + newPath + "]");
     List<String> newPathTree = PathsUpdate.parsePath(newPath);


Mime
View raw message