hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject hbase git commit: Amend HBASE-14512 Cache UGI groups
Date Wed, 18 Nov 2015 18:40:41 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 ea3c2e906 -> 474c39913


Amend HBASE-14512 Cache UGI groups

Compliation fix for Hadoop 1


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

Branch: refs/heads/0.98
Commit: 474c39913738db8a9a7358052e581279b081e471
Parents: ea3c2e9
Author: Andrew Purtell <apurtell@apache.org>
Authored: Wed Nov 18 10:40:35 2015 -0800
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Wed Nov 18 10:40:53 2015 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/security/UserProvider.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/474c3991/hbase-common/src/main/java/org/apache/hadoop/hbase/security/UserProvider.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/security/UserProvider.java
b/hbase-common/src/main/java/org/apache/hadoop/hbase/security/UserProvider.java
index 453ade3..a0d09e9 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/security/UserProvider.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/security/UserProvider.java
@@ -67,8 +67,7 @@ public class UserProvider extends BaseConfigurable {
     }
 
     long cacheTimeout =
-        getConf().getLong(CommonConfigurationKeys.HADOOP_SECURITY_GROUPS_CACHE_SECS,
-          300) * 1000;
+        getConf().getLong("hadoop.security.groups.cache.secs", 300) * 1000;
 
     this.groupCache = CacheBuilder.newBuilder()
         // This is the same timeout that hadoop uses. So we'll follow suit.


Mime
View raw message