ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sneet...@apache.org
Subject git commit: ARGUS-15: Fixed Authorization Coprocessor to implement new methods
Date Thu, 21 Aug 2014 00:35:18 GMT
Repository: incubator-argus
Updated Branches:
  refs/heads/master 72054a366 -> e5656c1b7


ARGUS-15: Fixed Authorization Coprocessor to implement new methods


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

Branch: refs/heads/master
Commit: e5656c1b7e21dd45b0219a7f6cd6dfc96f72b030
Parents: 72054a3
Author: sneethiraj <sneethir@apache.org>
Authored: Wed Aug 20 16:14:08 2014 -0700
Committer: sneethiraj <sneethir@apache.org>
Committed: Wed Aug 20 17:28:51 2014 -0700

----------------------------------------------------------------------
 .../hbase/XaSecureAuthorizationCoprocessor.java | 33 ++++++++++++++++++++
 pom.xml                                         | 17 ++++++++--
 2 files changed, 47 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/e5656c1b/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
----------------------------------------------------------------------
diff --git a/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
b/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
index 0c85c84..9272a9c 100644
--- a/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
+++ b/hbase-agent/src/main/java/com/xasecure/authorization/hbase/XaSecureAuthorizationCoprocessor.java
@@ -52,6 +52,7 @@ import org.apache.hadoop.hbase.client.Delete;
 import org.apache.hadoop.hbase.client.Durability;
 import org.apache.hadoop.hbase.client.Get;
 import org.apache.hadoop.hbase.client.Increment;
+import org.apache.hadoop.hbase.client.Mutation;
 import org.apache.hadoop.hbase.client.Put;
 import org.apache.hadoop.hbase.client.Result;
 import org.apache.hadoop.hbase.client.Scan;
@@ -948,4 +949,36 @@ public class XaSecureAuthorizationCoprocessor extends BaseRegionObserver
impleme
 	    utc.add(Calendar.MILLISECOND, -offset);
 	    return utc.getTime();
 	}
+	
+	//
+	//  Generated to support HBase 0.98.4-hadoop2 version
+	//
+	
+	@Override
+	public void postMerge(ObserverContext<RegionServerCoprocessorEnvironment> aRctx,HRegion
reg1, HRegion reg2, HRegion reg3) throws IOException {
+	}
+	
+	@Override
+	public void postMergeCommit(ObserverContext<RegionServerCoprocessorEnvironment> aRctx,
HRegion reg1, HRegion reg2, HRegion reg3) throws IOException {
+	}
+	
+	@Override
+	public void postRollBackMerge(ObserverContext<RegionServerCoprocessorEnvironment>
aRctx, HRegion aReg1, HRegion aReg2) throws IOException {
+	}
+	
+	@Override
+	public void preMerge(ObserverContext<RegionServerCoprocessorEnvironment> aRctx, HRegion
reg1, HRegion aReg2) throws IOException {
+	}
+	
+	@Override
+	public void preMergeCommit(ObserverContext<RegionServerCoprocessorEnvironment> aRctx,
HRegion arg1, HRegion arg2, List<Mutation> arg3) throws IOException {
+	}
+	
+	@Override
+	public void preRollBackMerge(ObserverContext<RegionServerCoprocessorEnvironment> aRctx,
HRegion arg1, HRegion arg2) throws IOException {
+	}
+	
+	
+	
+	
 }

http://git-wip-us.apache.org/repos/asf/incubator-argus/blob/e5656c1b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 10b7e41..bef29bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,11 +61,11 @@
 <google.guava.version>17.0</google.guava.version>
 <gson.version>2.2.4</gson.version>
 <guava.version>11.0.2</guava.version>
-<hadoop-auth.version>2.2.0</hadoop-auth.version>
+<hadoop-auth.version>3.0.0-SNAPSHOT</hadoop-auth.version>
 <hadoop-common.version>3.0.0-SNAPSHOT</hadoop-common.version>
-<hadoop.version>2.4.0</hadoop.version>
+<hadoop.version>3.0.0-SNAPSHOT</hadoop.version>
 <hamcrest.all.version>1.3</hamcrest.all.version>
-<hbase.version>0.96.2-hadoop2</hbase.version>
+<hbase.version>0.98.4-hadoop2</hbase.version>
 <hive.version>0.13.0</hive.version>
 <javassist.version>3.12.1.GA</javassist.version>
 <javax.persistence.version>2.1.0</javax.persistence.version>
@@ -101,6 +101,17 @@
                 <enabled>true</enabled>
             </snapshots>
           </repository>
+          <repository>
+            <id>apache.public.https</id>
+            <name>Apache Development Snapshot Repository</name>
+            <url>https://repository.apache.org/content/repositories/public</url>
+            <releases>
+            	<enabled>true</enabled>
+            </releases>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+          </repository>
   </repositories>
   <build>
   	<pluginManagement>


Mime
View raw message