From 4a80b861fc10e7dca554cade60d5f0bd1e1fc460 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Sun, 25 Jun 2017 14:39:34 -0400 Subject: [PATCH 01/16] Hbase MCC for CDH5.10.1 --- hbase.multicluster.iml | 132 +++++ pom.xml | 26 +- .../client/HBaseMultiClusterConfigUtil.java | 7 + .../hbase/client/HBaseTableFunction.java | 2 +- ...HConnectionManagerMultiClusterWrapper.java | 12 +- .../hbase/client/HConnectionMultiCluster.java | 483 +++++++++--------- .../hbase/client/HTableMultiCluster.java | 132 ++--- .../hbase/client/SpeculativeMutater.java | 6 +- .../hbase/client/SpeculativeRequester.java | 6 +- ...ultiThreadedMultiClusterWithCmApiTest.java | 10 +- ...eadedMultiClusterWithCombinedFileTest.java | 6 +- .../hbase/test/RunMultiClusterTest.java | 6 +- .../client/HBaseMultiClusterClientTest.java | 15 +- 13 files changed, 509 insertions(+), 334 deletions(-) create mode 100644 hbase.multicluster.iml diff --git a/hbase.multicluster.iml b/hbase.multicluster.iml new file mode 100644 index 0000000..2a79f7f --- /dev/null +++ b/hbase.multicluster.iml @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 98c17d6..de8062c 100644 --- a/pom.xml +++ b/pom.xml @@ -22,77 +22,77 @@ org.apache.hadoop hadoop-common - 2.5.0-cdh5.3.0 + 2.6.0-cdh5.10.1 org.apache.hadoop hadoop-common - 2.5.0-cdh5.3.0 + 2.6.0-cdh5.10.1 test-jar tests org.apache.hbase hbase-client - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-server - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 test-jar org.apache.hbase hbase-server - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-protocol - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-hadoop2-compat - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-hadoop2-compat - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 test-jar tests org.apache.hbase hbase-common - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-common - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 test-jar tests org.apache.hbase hbase-hadoop-compat - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-hadoop-compat - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 test-jar tests com.cloudera.api cloudera-manager-api - 5.3.1 + 5.10.1 org.apache.cxf diff --git a/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java b/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java index 42543b0..3d32002 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java @@ -199,6 +199,13 @@ public static Configuration combineConfigurations(Configuration primary, Configu return combineConfigurations(primary, map); } + public static Configuration combineConfigurations(Configuration primary, Configuration failover, Configuration failover2 ) { + Map map = new HashMap(); + map.put("failover1", failover); + map.put("failover2", failover2); + return combineConfigurations(primary, map); + } + // This method obtains the Hbase configuration from 2 clusters and combines // them public static Configuration combineConfigurations(String host1, String user1, String pwd1, diff --git a/src/main/java/org/apache/hadoop/hbase/client/HBaseTableFunction.java b/src/main/java/org/apache/hadoop/hbase/client/HBaseTableFunction.java index e0c3a8f..d2c2b53 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HBaseTableFunction.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HBaseTableFunction.java @@ -3,5 +3,5 @@ import org.apache.hadoop.hbase.client.HTableInterface; public interface HBaseTableFunction { - public T call(HTableInterface table) throws Exception; + public T call(Table table) throws Exception; } diff --git a/src/main/java/org/apache/hadoop/hbase/client/HConnectionManagerMultiClusterWrapper.java b/src/main/java/org/apache/hadoop/hbase/client/HConnectionManagerMultiClusterWrapper.java index f8fe1c0..5ef01ea 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HConnectionManagerMultiClusterWrapper.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HConnectionManagerMultiClusterWrapper.java @@ -11,7 +11,7 @@ public class HConnectionManagerMultiClusterWrapper { - public static HConnection createConnection(Configuration conf) + public static Connection createConnection(Configuration conf) throws IOException { Logger LOG = Logger.getLogger(HConnectionManagerMultiClusterWrapper.class); @@ -21,31 +21,31 @@ public static HConnection createConnection(Configuration conf) if (failoverClusters.size() == 0) { LOG.info(" -- Getting a signle cluster connection !!"); - return HConnectionManager.createConnection(conf); + return ConnectionFactory.createConnection(conf); } else { Map configMap = HBaseMultiClusterConfigUtil .splitMultiConfigFile(conf); LOG.info(" -- Getting primary Connction"); - HConnection primaryConnection = HConnectionManager + Connection primaryConnection = ConnectionFactory .createConnection(configMap .get(HBaseMultiClusterConfigUtil.PRIMARY_NAME)); LOG.info(" --- Got primary Connction"); - ArrayList failoverConnections = new ArrayList(); + ArrayList failoverConnections = new ArrayList(); for (Entry entry : configMap.entrySet()) { if (!entry.getKey().equals(HBaseMultiClusterConfigUtil.PRIMARY_NAME)) { LOG.info(" -- Getting failure Connction"); - failoverConnections.add(HConnectionManager.createConnection(entry + failoverConnections.add(ConnectionFactory.createConnection(entry .getValue())); LOG.info(" --- Got failover Connction"); } } return new HConnectionMultiCluster(conf, primaryConnection, - failoverConnections.toArray(new HConnection[0])); + failoverConnections.toArray(new Connection[0])); } } } diff --git a/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java index bbd9cb8..358ad82 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java @@ -14,10 +14,10 @@ import org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface; import org.apache.hadoop.hbase.util.Bytes; -public class HConnectionMultiCluster implements HConnection { +public class HConnectionMultiCluster implements Connection { - HConnection primaryConnection; - HConnection[] failoverConnections; + Connection primaryConnection; + Connection[] failoverConnections; Configuration originalConfiguration; boolean isMasterMaster; int waitTimeBeforeAcceptingResults; @@ -34,7 +34,7 @@ public class HConnectionMultiCluster implements HConnection { ExecutorService executor; public HConnectionMultiCluster(Configuration originalConfiguration, - HConnection primaryConnection, HConnection[] failoverConnections) { + Connection primaryConnection, Connection[] failoverConnections) { this.primaryConnection = primaryConnection; this.failoverConnections = failoverConnections; this.originalConfiguration = originalConfiguration; @@ -78,7 +78,7 @@ public HConnectionMultiCluster(Configuration originalConfiguration, public void abort(String why, Throwable e) { primaryConnection.abort(why, e); - for (HConnection failOverConnection : failoverConnections) { + for (Connection failOverConnection : failoverConnections) { failOverConnection.abort(why, e); } } @@ -96,7 +96,7 @@ public void close() throws IOException { LOG.error("Exception while closing primary", e); lastException = e; } - for (HConnection failOverConnection : failoverConnections) { + for (Connection failOverConnection : failoverConnections) { try { failOverConnection.close(); } catch (Exception e) { @@ -113,29 +113,29 @@ public Configuration getConfiguration() { return originalConfiguration; } - @Override - public HTableInterface getTable(String tableName) throws IOException { + + public Table getTable(String tableName) throws IOException { return this.getTable(Bytes.toBytes(tableName)); } - @Override - public HTableInterface getTable(byte[] tableName) throws IOException { + + public Table getTable(byte[] tableName) throws IOException { return this.getTable(TableName.valueOf(tableName)); } - @Override - public HTableInterface getTable(TableName tableName) throws IOException { + + public Table getTable(TableName tableName) throws IOException { LOG.info(" -- getting primaryHTable" + primaryConnection.getConfiguration().get("hbase.zookeeper.quorum")); - HTableInterface primaryHTable = primaryConnection.getTable(tableName); - primaryHTable.setAutoFlush(true, true); + Table primaryHTable = primaryConnection.getTable(tableName); + primaryConnection.getBufferedMutator(tableName).flush(); LOG.info(" --- got primaryHTable"); - ArrayList failoverHTables = new ArrayList(); - for (HConnection failOverConnection : failoverConnections) { + ArrayList failoverHTables = new ArrayList
(); + for (Connection failOverConnection : failoverConnections) { LOG.info(" -- getting failoverHTable:" + failOverConnection.getConfiguration().get("hbase.zookeeper.quorum")); - HTableInterface htable = failOverConnection.getTable(tableName); - htable.setAutoFlush(true, true); + Table htable = failOverConnection.getTable(tableName); + primaryConnection.getBufferedMutator(tableName).flush(); failoverHTables.add(htable); LOG.info(" --- got failoverHTable"); @@ -153,21 +153,21 @@ public HTableInterface getTable(TableName tableName) throws IOException { waitTimeFromLastPrimaryFail); } - public HTableInterface getTable(String tableName, ExecutorService pool) + public Table getTable(String tableName, ExecutorService pool) throws IOException { return this.getTable(TableName.valueOf(tableName), pool); } - public HTableInterface getTable(byte[] tableName, ExecutorService pool) + public Table getTable(byte[] tableName, ExecutorService pool) throws IOException { return this.getTable(TableName.valueOf(tableName), pool); } - public HTableInterface getTable(TableName tableName, ExecutorService pool) + public Table getTable(TableName tableName, ExecutorService pool) throws IOException { - HTableInterface primaryHTable = primaryConnection.getTable(tableName, pool); - ArrayList failoverHTables = new ArrayList(); - for (HConnection failOverConnection : failoverConnections) { + Table primaryHTable = primaryConnection.getTable(tableName, pool); + ArrayList
failoverHTables = new ArrayList
(); + for (Connection failOverConnection : failoverConnections) { failoverHTables.add(failOverConnection.getTable(tableName, pool)); } @@ -183,193 +183,210 @@ public HTableInterface getTable(TableName tableName, ExecutorService pool) waitTimeFromLastPrimaryFail); } + @Override + public BufferedMutator getBufferedMutator(TableName tableName) throws IOException { + return null; + } + + @Override + public BufferedMutator getBufferedMutator(BufferedMutatorParams bufferedMutatorParams) throws IOException { + return null; + } + + @Override + public RegionLocator getRegionLocator(TableName tableName) throws IOException { + return null; + } + + @Override + public Admin getAdmin() throws IOException { + return null; + } + public boolean isMasterRunning() throws MasterNotRunningException, - ZooKeeperConnectionException { - return primaryConnection.isMasterRunning(); + ZooKeeperConnectionException, IOException { + return primaryConnection.getAdmin().getClusterStatus().getMaster() != null; } - + public boolean isTableEnabled(TableName tableName) throws IOException { - return primaryConnection.isTableEnabled(tableName); + return primaryConnection.getAdmin().isTableEnabled(tableName); } @Deprecated public boolean isTableEnabled(byte[] tableName) throws IOException { - return primaryConnection.isTableEnabled(tableName); + return primaryConnection.getAdmin().isTableEnabled(TableName.valueOf(tableName)); } public boolean isTableDisabled(TableName tableName) throws IOException { - return primaryConnection.isTableDisabled(tableName); + return primaryConnection.getAdmin().isTableDisabled(tableName); } @Deprecated public boolean isTableDisabled(byte[] tableName) throws IOException { - return primaryConnection.isTableDisabled(tableName); + return primaryConnection.getAdmin().isTableDisabled(TableName.valueOf(tableName)); } public boolean isTableAvailable(TableName tableName) throws IOException { - return primaryConnection.isTableAvailable(tableName); + return primaryConnection.getAdmin().isTableAvailable(tableName); } @Deprecated public boolean isTableAvailable(byte[] tableName) throws IOException { - return primaryConnection.isTableAvailable(tableName); + return primaryConnection.getAdmin().isTableAvailable(TableName.valueOf(tableName)); } public boolean isTableAvailable(TableName tableName, byte[][] splitKeys) throws IOException { - return primaryConnection.isTableAvailable(tableName, splitKeys); + return primaryConnection.getAdmin().isTableAvailable(tableName, splitKeys); } @Deprecated public boolean isTableAvailable(byte[] tableName, byte[][] splitKeys) throws IOException { - return primaryConnection.isTableAvailable(tableName, splitKeys); + return primaryConnection.getAdmin().isTableAvailable(TableName.valueOf(tableName), splitKeys); } public HTableDescriptor[] listTables() throws IOException { - return primaryConnection.listTables(); + return primaryConnection.getAdmin().listTables(); } @Deprecated - public String[] getTableNames() throws IOException { - return primaryConnection.getTableNames(); - } +// public String[] getTableNames() throws IOException { +// return primaryConnection.getAdmin().listTableNames().toString(); +// } public TableName[] listTableNames() throws IOException { - return primaryConnection.listTableNames(); + return primaryConnection.getAdmin().listTableNames(); } public HTableDescriptor getHTableDescriptor(TableName tableName) throws IOException { - return primaryConnection.getHTableDescriptor(tableName); - } - - @Deprecated - public - HTableDescriptor getHTableDescriptor(byte[] tableName) throws IOException { - return primaryConnection.getHTableDescriptor(tableName); - } - - public HRegionLocation locateRegion(TableName tableName, byte[] row) - throws IOException { - return primaryConnection.locateRegion(tableName, row); + return primaryConnection.getAdmin().getTableDescriptor(tableName); } @Deprecated - public HRegionLocation locateRegion(byte[] tableName, byte[] row) - throws IOException { - return primaryConnection.locateRegion(tableName, row); - } - - public void clearRegionCache() { - primaryConnection.clearRegionCache(); - } - - public void clearRegionCache(TableName tableName) { - primaryConnection.clearRegionCache(tableName); - } - - @Deprecated - public - void clearRegionCache(byte[] tableName) { - primaryConnection.clearRegionCache(tableName); - - } - - public void deleteCachedRegionLocation(HRegionLocation location) { - primaryConnection.deleteCachedRegionLocation(location); - } - - public HRegionLocation relocateRegion(TableName tableName, byte[] row) - throws IOException { - return primaryConnection.relocateRegion(tableName, row); - } - - @Deprecated - public - HRegionLocation relocateRegion(byte[] tableName, byte[] row) - throws IOException { - return primaryConnection.relocateRegion(tableName, row); - } - - public void updateCachedLocations(TableName tableName, byte[] rowkey, - Object exception, HRegionLocation source) { - primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); - } - - @Deprecated - public - void updateCachedLocations(byte[] tableName, byte[] rowkey, Object exception, - HRegionLocation source) { - primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); - } - - public HRegionLocation locateRegion(byte[] regionName) throws IOException { - return primaryConnection.locateRegion(regionName); - } - - public List locateRegions(TableName tableName) - throws IOException { - return primaryConnection.locateRegions(tableName); - } - - @Deprecated - public - List locateRegions(byte[] tableName) throws IOException { - return (List) primaryConnection.locateRegion(tableName); - } - - public List locateRegions(TableName tableName, - boolean useCache, boolean offlined) throws IOException { - return (List) primaryConnection.locateRegions(tableName, - useCache, offlined); - } - - @Deprecated - public List locateRegions(byte[] tableName, - boolean useCache, boolean offlined) throws IOException { - return (List) primaryConnection.locateRegions(tableName, - useCache, offlined); - } - - public BlockingInterface getMaster() throws IOException { - return primaryConnection.getMaster(); - } - - public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( - ServerName serverName) throws IOException { - return primaryConnection.getAdmin(serverName); - } - - public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClient( - ServerName serverName) throws IOException { - return primaryConnection.getClient(serverName); - } - - public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( - ServerName serverName, boolean getMaster) throws IOException { - return primaryConnection.getAdmin(serverName); - } + public HTableDescriptor getHTableDescriptor(byte[] tableName) throws IOException { + return primaryConnection.getAdmin().getTableDescriptor(TableName.valueOf(tableName)); + } + +// public HRegionLocation locateRegion(TableName tableName, byte[] row) +// throws IOException { +// return primaryConnection.locateRegion(tableName, row); +// } + +// @Deprecated +// public HRegionLocation locateRegion(byte[] tableName, byte[] row) +// throws IOException { +// return primaryConnection.locateRegion(tableName, row); +// } + +// public void clearRegionCache() { +// primaryConnection.clearRegionCache(); +// } +// +// public void clearRegionCache(TableName tableName) { +// primaryConnection.clearRegionCache(tableName); +// } + +// @Deprecated +// public +// void clearRegionCache(byte[] tableName) { +// primaryConnection.clearRegionCache(tableName); +// } + +// public void deleteCachedRegionLocation(HRegionLocation location) { +// primaryConnection.deleteCachedRegionLocation(location); +// } + +// public HRegionLocation relocateRegion(TableName tableName, byte[] row) +// throws IOException { +// return primaryConnection.relocateRegion(tableName, row); +// } + +// @Deprecated +// public +// HRegionLocation relocateRegion(byte[] tableName, byte[] row) +// throws IOException { +// return primaryConnection.relocateRegion(tableName, row); +// } + +// public void updateCachedLocations(TableName tableName, byte[] rowkey, +// Object exception, HRegionLocation source) { +// primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); +// } + +// @Deprecated +// public +// void updateCachedLocations(byte[] tableName, byte[] rowkey, Object exception, +// HRegionLocation source) { +// primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); +// } + +// public HRegionLocation locateRegion(byte[] regionName) throws IOException { +// return primaryConnection.locateRegion(regionName); +// } + +// public List locateRegions(TableName tableName) +// throws IOException { +// return primaryConnection.locateRegions(tableName); +// } + +// @Deprecated +// public +// List locateRegions(byte[] tableName) throws IOException { +// return (List) primaryConnection.locateRegion(tableName); +// } +// +// public List locateRegions(TableName tableName, +// boolean useCache, boolean offlined) throws IOException { +// return (List) primaryConnection.locateRegions(tableName, +// useCache, offlined); +// } + +// @Deprecated +// public List locateRegions(byte[] tableName, +// boolean useCache, boolean offlined) throws IOException { +// return (List) primaryConnection.locateRegions(tableName, +// useCache, offlined); +// } + +// public BlockingInterface getMaster() throws IOException { +// return primaryConnection.getAdmin().getClusterStatus().getMaster(); +// } + +// public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( +// ServerName serverName) throws IOException { +// return primaryConnection.getAdmin(serverName); +// } + +// public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClient( +// ServerName serverName) throws IOException { +// return primaryConnection.getClient(serverName); +// } + +// public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( +// ServerName serverName, boolean getMaster) throws IOException { +// return primaryConnection.getAdmin(serverName); +// } public HRegionLocation getRegionLocation(TableName tableName, byte[] row, boolean reload) throws IOException { - return primaryConnection.getRegionLocation(tableName, row, reload); + return primaryConnection.getRegionLocator(tableName).getRegionLocation(row, reload); } @Deprecated public HRegionLocation getRegionLocation(byte[] tableName, byte[] row, boolean reload) throws IOException { - return primaryConnection.getRegionLocation(tableName, row, reload); + return primaryConnection.getRegionLocator(TableName.valueOf(tableName)).getRegionLocation(row, reload); } @Deprecated - public - void processBatch(List actions, TableName tableName, + public void processBatch(List actions, TableName tableName, ExecutorService pool, Object[] results) throws IOException, InterruptedException { throw new RuntimeException("processBatch not supported in " + this.getClass()); @@ -381,106 +398,106 @@ void processBatch(List actions, TableName tableName, void processBatch(List actions, byte[] tableName, ExecutorService pool, Object[] results) throws IOException, InterruptedException { - primaryConnection.processBatch(actions, tableName, pool, results); + primaryConnection.getTable(TableName.valueOf(tableName)).batch(actions, results); } @Deprecated public void processBatchCallback(List list, TableName tableName, ExecutorService pool, Object[] results, Callback callback) throws IOException, InterruptedException { - primaryConnection.processBatchCallback(list, tableName, pool, results, callback); + primaryConnection.getTable(tableName).batchCallback(list, results, callback); } @Deprecated public void processBatchCallback(List list, byte[] tableName, ExecutorService pool, Object[] results, Callback callback) throws IOException, InterruptedException { - primaryConnection.processBatchCallback(list, tableName, pool, results, callback); - - } - - public void setRegionCachePrefetch(TableName tableName, boolean enable) { - RuntimeException lastException = null; - try { - primaryConnection.setRegionCachePrefetch(tableName, enable); - } catch (RuntimeException e) { - LOG.error("Exception while closing primary", e); - lastException = e; - } - for (HConnection failOverConnection : failoverConnections) { - try { - failOverConnection.setRegionCachePrefetch(tableName, enable); - } catch (RuntimeException e) { - LOG.error("Exception while closing failOverConnection", e); - lastException = e; - } - } - if (lastException != null) { - throw lastException; - } - - } - - public void setRegionCachePrefetch(byte[] tableName, boolean enable) { - this.setRegionCachePrefetch(TableName.valueOf(tableName), enable); - } - - public boolean getRegionCachePrefetch(TableName tableName) { - return this.getRegionCachePrefetch(tableName); - } - - public boolean getRegionCachePrefetch(byte[] tableName) { - return this.getRegionCachePrefetch(TableName.valueOf(tableName)); - } - - public int getCurrentNrHRS() throws IOException { - return primaryConnection.getCurrentNrHRS(); - } - - public HTableDescriptor[] getHTableDescriptorsByTableName( - List tableNames) throws IOException { - return primaryConnection.getHTableDescriptorsByTableName(tableNames); - } - - @Deprecated - public - HTableDescriptor[] getHTableDescriptors(List tableNames) - throws IOException { - return primaryConnection.getHTableDescriptors(tableNames); - } + primaryConnection.getTable(TableName.valueOf(tableName)).batchCallback(list, results, callback); + + } + +// public void setRegionCachePrefetch(TableName tableName, boolean enable) { +// RuntimeException lastException = null; +// try { +// primaryConnection.setRegionCachePrefetch(tableName, enable); +// } catch (RuntimeException e) { +// LOG.error("Exception while closing primary", e); +// lastException = e; +// } +// for (Connection failOverConnection : failoverConnections) { +// try { +// failOverConnection.setRegionCachePrefetch(tableName, enable); +// } catch (RuntimeException e) { +// LOG.error("Exception while closing failOverConnection", e); +// lastException = e; +// } +// } +// if (lastException != null) { +// throw lastException; +// } +// +// } + +// public void setRegionCachePrefetch(byte[] tableName, boolean enable) { +// this.setRegionCachePrefetch(TableName.valueOf(tableName), enable); +// } + +// public boolean getRegionCachePrefetch(TableName tableName) { +// return this.getRegionCachePrefetch(tableName); +// } + +// public boolean getRegionCachePrefetch(byte[] tableName) { +// return this.getRegionCachePrefetch(TableName.valueOf(tableName)); +// } + +// public int getCurrentNrHRS() throws IOException { +// return primaryConnection.getCurrentNrHRS(); +// } + +// public HTableDescriptor[] getHTableDescriptorsByTableName( +// List tableNames) throws IOException { +// return primaryConnection.getAdmin().getTableDescriptor(tableNames) +// } +// +// @Deprecated +// public +// HTableDescriptor[] getHTableDescriptors(List tableNames) +// throws IOException { +// return primaryConnection.getAdmin().getTableDescriptor(tableNames); +// } public boolean isClosed() { return primaryConnection.isClosed(); } - public void clearCaches(ServerName sn) { - RuntimeException lastException = null; - try { - primaryConnection.clearCaches(sn); - } catch (RuntimeException e) { - LOG.error("Exception while closing primary", e); - lastException = e; - } - for (HConnection failOverConnection : failoverConnections) { - try { - failOverConnection.clearCaches(sn); - } catch (RuntimeException e) { - LOG.error("Exception while closing failOverConnection", e); - lastException = e; - } - } - if (lastException != null) { - throw lastException; - } - } - - public boolean isDeadServer(ServerName serverName) { - return primaryConnection.isDeadServer(serverName); - } - - public NonceGenerator getNonceGenerator() { - return primaryConnection.getNonceGenerator(); - } +// public void clearCaches(ServerName sn) { +// RuntimeException lastException = null; +// try { +// primaryConnection.clearCaches(sn); +// } catch (RuntimeException e) { +// LOG.error("Exception while closing primary", e); +// lastException = e; +// } +// for (Connection failOverConnection : failoverConnections) { +// try { +// failOverConnection.clearCaches(sn); +// } catch (RuntimeException e) { +// LOG.error("Exception while closing failOverConnection", e); +// lastException = e; +// } +// } +// if (lastException != null) { +// throw lastException; +// } +// } + +// public boolean isDeadServer(ServerName serverName) { +// return primaryConnection.isDeadServer(serverName); +// } +// +// public NonceGenerator getNonceGenerator() { +// return primaryConnection.getNonceGenerator(); +// } @Deprecated diff --git a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java index 6ba0518..eb5006b 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java @@ -25,10 +25,10 @@ import java.util.Map.Entry; import java.util.concurrent.atomic.AtomicLong; -public class HTableMultiCluster implements HTableInterface { +public class HTableMultiCluster implements Table { - HTableInterface primaryHTable; - Collection failoverHTables; + Table primaryHTable; + Collection
failoverHTables; Configuration originalConfiguration; boolean isMasterMaster; int waitTimeBeforeAcceptingResults; @@ -56,8 +56,8 @@ public HTableStats getStats() { } public HTableMultiCluster(Configuration originalConfiguration, - HTableInterface primaryHTable, - Collection failoverHTables, boolean isMasterMaster, + Table primaryHTable, + Collection
failoverHTables, boolean isMasterMaster, int waitTimeBeforeAcceptingResults, int waitTimeBeforeRequestingFailover, int waitTimeBeforeMutatingFailover, int waitTimeBeforeMutatingFailoverWithPrimaryException, @@ -84,7 +84,7 @@ public HTableMultiCluster(Configuration originalConfiguration, } public byte[] getTableName() { - return primaryHTable.getTableName(); + return primaryHTable.getName().toBytes(); } public TableName getName() { @@ -104,12 +104,17 @@ public boolean exists(final Get get) throws IOException { return multiClusterExists(get).getOriginalReturn(); } + @Override + public boolean[] existsAll(List list) throws IOException { + return new boolean[0]; + } + public Tuple multiClusterExists(final Get get) throws IOException { long startTime = System.currentTimeMillis(); HBaseTableFunction function = new HBaseTableFunction() { @Override - public Boolean call(HTableInterface table) throws Exception { + public Boolean call(Table table) throws Exception { return table.exists(get); } }; @@ -125,31 +130,31 @@ public Boolean call(HTableInterface table) throws Exception { return new Tuple(result.isPrimary, doesExist); } - public Boolean[] exists(final List gets) throws IOException { - return multiClusterExists(gets).getOriginalReturn(); - } - - public Tuple multiClusterExists(final List gets) throws IOException { - long startTime = System.currentTimeMillis(); - - HBaseTableFunction function = new HBaseTableFunction() { - @Override - public Boolean[] call(HTableInterface table) throws Exception { - return table.exists(gets); - } - }; - - SpeculativeRequester.ResultWrapper result = (new SpeculativeRequester( - waitTimeBeforeRequestingFailover, waitTimeBeforeAcceptingResults, lastPrimaryFail, - waitTimeFromLastPrimaryFail)). - request(function, primaryHTable, failoverHTables); - - stats.addGetList(result.isPrimary, System.currentTimeMillis() - startTime); - - Boolean[] doesExists = result.t; - - return new Tuple(result.isPrimary, doesExists); - } +// public Boolean[] exists(final List gets) throws IOException { +// return multiClusterExists(gets).getOriginalReturn(); +// } + +// public Tuple multiClusterExists(final List gets) throws IOException { +// long startTime = System.currentTimeMillis(); +// +// HBaseTableFunction function = new HBaseTableFunction() { +// @Override +// public Boolean[] call(Table table) throws Exception { +// return table.exists(gets); +// } +// }; +// +// SpeculativeRequester.ResultWrapper result = (new SpeculativeRequester( +// waitTimeBeforeRequestingFailover, waitTimeBeforeAcceptingResults, lastPrimaryFail, +// waitTimeFromLastPrimaryFail)). +// request(function, primaryHTable, failoverHTables); +// +// stats.addGetList(result.isPrimary, System.currentTimeMillis() - startTime); +// +// Boolean[] doesExists = result.t; +// +// return new Tuple(result.isPrimary, doesExists); +// } public void batch(final List actions, final Object[] results) throws IOException, InterruptedException { @@ -182,7 +187,7 @@ public Tuple multiClusterGet(final Get get) throws IOException { HBaseTableFunction function = new HBaseTableFunction() { @Override - public Result call(HTableInterface table) throws Exception { + public Result call(Table table) throws Exception { return table.get(get); } }; @@ -207,7 +212,7 @@ public Tuple multiClusterGet(final List gets) throws IOException HBaseTableFunction function = new HBaseTableFunction() { @Override - public Result[] call(HTableInterface table) throws Exception { + public Result[] call(Table table) throws Exception { return table.get(gets); } }; @@ -235,8 +240,11 @@ public Tuple multiClusterGetRowOrBefore(final byte[] row, final byte[] f HBaseTableFunction function = new HBaseTableFunction() { @Override - public Result call(HTableInterface table) throws Exception { - return table.getRowOrBefore(row, family); + public Result call(Table table) throws Exception { + + return (Result)table.getScanner(row, family); + + //return table.getRowOrBefore(row, family); } }; @@ -261,7 +269,7 @@ public Tuple multiClusterGetScanner(final Scan scan) throws IOExc HBaseTableFunction function = new HBaseTableFunction() { @Override - public ResultScanner call(HTableInterface table) throws Exception { + public ResultScanner call(Table table) throws Exception { return table.getScanner(scan); } }; @@ -287,7 +295,7 @@ public Tuple multiClusterGetScanner(final byte[] family) throws I HBaseTableFunction function = new HBaseTableFunction() { @Override - public ResultScanner call(HTableInterface table) throws Exception { + public ResultScanner call(Table table) throws Exception { return table.getScanner(family); } }; @@ -314,7 +322,7 @@ public Tuple multiClusterGetScanner(final byte[] family, final by HBaseTableFunction function = new HBaseTableFunction() { @Override - public ResultScanner call(HTableInterface table) throws Exception { + public ResultScanner call(Table table) throws Exception { return table.getScanner(family, qualifier); } }; @@ -360,7 +368,7 @@ private Boolean autoFlushMutliClusterPut(final Put put) throws IOException { HBaseTableFunction function = new HBaseTableFunction() { @Override - public Void call(HTableInterface table) throws Exception { + public Void call(Table table) throws Exception { synchronized (table) { System.out.println("table.put.start:" + table.getConfiguration().get("hbase.zookeeper.quorum") + " " + table.getName() + " " + Bytes.toString(newPut.getRow())); try { @@ -398,7 +406,7 @@ private Put setTimeStampOfUnsetValues(final Put put, long ts) // This will protect us from a multicluster sumbission if (cell.getTimestamp() == HConstants.LATEST_TIMESTAMP) { newPut - .add(cell.getFamily(), cell.getQualifier(), ts, cell.getValue()); + .addColumn(cell.getFamily(), cell.getQualifier(), ts, cell.getValue()); } else { newPut.add(cell); } @@ -440,7 +448,7 @@ public Boolean autoFlushMutliClusterPut(final List puts) throws IOException HBaseTableFunction function = new HBaseTableFunction() { @Override - public Void call(HTableInterface table) throws Exception { + public Void call(Table table) throws Exception { table.put(newPuts); return null; } @@ -462,6 +470,11 @@ public boolean checkAndPut(byte[] row, byte[] family, byte[] qualifier, return primaryHTable.checkAndPut(row, family, qualifier, value, put); } + @Override + public boolean checkAndPut(byte[] bytes, byte[] bytes1, byte[] bytes2, CompareFilter.CompareOp compareOp, byte[] bytes3, Put put) throws IOException { + return false; + } + public void delete(final Delete delete) throws IOException { multiClusterDelete(delete); } @@ -471,7 +484,7 @@ public Boolean multiClusterDelete(final Delete delete) throws IOException { HBaseTableFunction function = new HBaseTableFunction() { @Override - public Void call(HTableInterface table) throws Exception { + public Void call(Table table) throws Exception { table.delete(delete); return null; } @@ -496,7 +509,7 @@ public Boolean multiClusterDelete(final List deletes) throws IOException HBaseTableFunction function = new HBaseTableFunction() { @Override - public Void call(HTableInterface table) throws Exception { + public Void call(Table table) throws Exception { table.delete(deletes); return null; } @@ -517,6 +530,11 @@ public boolean checkAndDelete(byte[] row, byte[] family, byte[] qualifier, return primaryHTable.checkAndDelete(row, family, qualifier, value, delete); } + @Override + public boolean checkAndDelete(byte[] bytes, byte[] bytes1, byte[] bytes2, CompareFilter.CompareOp compareOp, byte[] bytes3, Delete delete) throws IOException { + return false; + } + public void mutateRow(final RowMutations rm) throws IOException { primaryHTable.mutateRow(rm); @@ -541,19 +559,19 @@ public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, durability); } - @Deprecated - public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, - long amount, boolean writeToWAL) throws IOException { - return primaryHTable.incrementColumnValue(row, family, qualifier, amount, - writeToWAL); - } - - public boolean isAutoFlush() { +// @Deprecated +// public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, +// long amount, boolean writeToWAL) throws IOException { +// return primaryHTable.incrementColumnValue(row, family, qualifier, amount, +// writeToWAL); +// } - boolean primaryAnswer = primaryHTable.isAutoFlush(); - - return primaryAnswer; - } +// public boolean isAutoFlush() { +// +// boolean primaryAnswer = primaryHTable.isAutoFlush(); +// +// return primaryAnswer; +// } public void flushCommits() throws IOException { if (bufferPutList.size() > 0) { @@ -580,7 +598,7 @@ public void close() throws IOException { LOG.error("Exception while flushCommits primary", e); lastException = e; } - for (final HTableInterface failoverTable : failoverHTables) { + for (final Table failoverTable : failoverHTables) { try { synchronized (failoverTable) { failoverTable.close(); diff --git a/src/main/java/org/apache/hadoop/hbase/client/SpeculativeMutater.java b/src/main/java/org/apache/hadoop/hbase/client/SpeculativeMutater.java index 18f873a..ec155f5 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/SpeculativeMutater.java +++ b/src/main/java/org/apache/hadoop/hbase/client/SpeculativeMutater.java @@ -21,8 +21,8 @@ public class SpeculativeMutater { public static Boolean mutate(final long waitToSendFailover, final long waitToSendFailoverWithException, final HBaseTableFunction function, - final HTableInterface primaryTable, - final Collection failoverTables, + final Table primaryTable, + final Collection
failoverTables, final AtomicLong lastPrimaryFail, final int waitTimeFromLastPrimaryFail) { ExecutorCompletionService exeS = new ExecutorCompletionService(exe); @@ -54,7 +54,7 @@ public Boolean call() throws Exception { } - for (final HTableInterface failoverTable : failoverTables) { + for (final Table failoverTable : failoverTables) { callables.add(new Callable() { public Boolean call() throws Exception { diff --git a/src/main/java/org/apache/hadoop/hbase/client/SpeculativeRequester.java b/src/main/java/org/apache/hadoop/hbase/client/SpeculativeRequester.java index 668d6e6..e466a74 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/SpeculativeRequester.java +++ b/src/main/java/org/apache/hadoop/hbase/client/SpeculativeRequester.java @@ -36,8 +36,8 @@ public SpeculativeRequester(long waitTimeBeforeRequestingFailover, } public ResultWrapper request(final HBaseTableFunction function, - final HTableInterface primaryTable, - final Collection failoverTables) { + final Table primaryTable, + final Collection
failoverTables) { ExecutorCompletionService> exeS = new ExecutorCompletionService>(exe); @@ -64,7 +64,7 @@ public ResultWrapper call() throws Exception { }); } - for (final HTableInterface failoverTable : failoverTables) { + for (final Table failoverTable : failoverTables) { callables.add(new Callable>() { public ResultWrapper call() throws Exception { diff --git a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java index 20b6c4a..d4f1036 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java @@ -107,18 +107,18 @@ public static void main(String[] args) throws Exception { splitKeys[8][0] = '8'; splitKeys[9][0] = '9'; - LOG.info(" - About to create Table " + tableD.getName()); + LOG.info(" - About to create Table " + tableD.getTableName()); admin.createTable(tableD, splitKeys); - LOG.info(" - Created Table " + tableD.getName()); + LOG.info(" - Created Table " + tableD.getTableName()); LOG.info("Getting HConnection"); config.set("hbase.client.retries.number", "1"); config.set("hbase.client.pause", "1"); - final HConnection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); + final Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); LOG.info(" - Got HConnection: " + connection.getClass()); @@ -144,7 +144,7 @@ public static void main(String[] args) throws Exception { public void run() { try { Random r = new Random(); - HTableInterface table = connection.getTable(tableName); + Table table = connection.getTable(TableName.valueOf(tableName)); HTableStats stats = ((HTableMultiCluster) table).getStats(); stats.printStats(writer, 5000); @@ -153,7 +153,7 @@ public void run() { int hash = r.nextInt(10); Put put = new Put(Bytes.toBytes(hash + ".key." + i + "." + StringUtils.leftPad(String.valueOf(i * threadFinalNum), 12))); - put.add(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i * threadFinalNum)); + put.addColumn(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i * threadFinalNum)); table.put(put); Thread.sleep(millisecondToWait); diff --git a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java index 2c17c0c..fbad7ac 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java @@ -87,7 +87,7 @@ public static void main(String[] args) throws Exception { config.set("hbase.client.retries.number", "1"); config.set("hbase.client.pause", "1"); - final HConnection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); + final Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); System.out.println(" - Got HConnection: " + connection.getClass()); @@ -107,14 +107,14 @@ public void run() { try { Random r = new Random(); for (int i = 1; i <= numberOfPuts; i++) { - HTableInterface table = connection.getTable(tableName); + Table table = connection.getTable(TableName.valueOf(tableName)); HTableStats stats = ((HTableMultiCluster) table).getStats(); stats.printStats(writer, 5000); int hash = r.nextInt(10); Put put = new Put(Bytes.toBytes(hash + ".key." + StringUtils.leftPad(String.valueOf(i * threadFinalNum), 12))); - put.add(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i * threadFinalNum)); + put.addColumn(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i * threadFinalNum)); table.put(put); Thread.sleep(millisecondToWait); diff --git a/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java b/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java index 90c57a4..64a021e 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java @@ -74,13 +74,13 @@ public static void main(String[] args) throws Exception { config.set("hbase.client.retries.number", "1"); config.set("hbase.client.pause", "1"); - HConnection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); + Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); System.out.println(" - Got HConnection: " + connection.getClass()); System.out.println("Getting HTable"); - HTableInterface table = connection.getTable(tableName); + Table table = connection.getTable(TableName.valueOf(tableName)); System.out.println("Got HTable: " + table.getClass()); @@ -91,7 +91,7 @@ public static void main(String[] args) throws Exception { for (int i = 1; i <= numberOfPuts; i++) { System.out.print("p"); Put put = new Put(Bytes.toBytes(i%10 + ".key." + StringUtils.leftPad(String.valueOf(i), 12))); - put.add(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i)); + put.addColumn(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i)); table.put(put); System.out.print("g"); diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java index 79df9f2..11b166d 100644 --- a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java +++ b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java @@ -67,14 +67,15 @@ public void testHBaseMultiClusterClientTest() throws Exception { combinedConfig.setInt(ConfigConst.HBASE_WAIT_TIME_BEFORE_TRYING_PRIMARY_AFTER_FAILURE, 0); - HConnection connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); + Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); - HTableInterface multiTable = connection.getTable(TABLE_NAME); + Table multiTable = connection.getTable(TABLE_NAME); Put put1 = new Put(Bytes.toBytes("A1")); - put1.add(FAM_NAME, QUAL_NAME, VALUE); + put1.addColumn(FAM_NAME, QUAL_NAME, VALUE); multiTable.put(put1); - multiTable.flushCommits(); + connection.getBufferedMutator(TABLE_NAME).flush(); + Get get1 = new Get(Bytes.toBytes("A1")); Result r1_1 = table1.get(get1); @@ -97,7 +98,7 @@ public void testHBaseMultiClusterClientTest() throws Exception { System.out.println("------------2"); Put put2 = new Put(Bytes.toBytes("A2")); - put2.add(FAM_NAME, QUAL_NAME, VALUE); + put2.addColumn(FAM_NAME, QUAL_NAME, VALUE); System.out.println("------------3"); table2.put(put2); @@ -121,10 +122,10 @@ public void testHBaseMultiClusterClientTest() throws Exception { System.out.println("------------7"); Put put3 = new Put(Bytes.toBytes("A3")); - put3.add(FAM_NAME, QUAL_NAME, VALUE); + put3.addColumn(FAM_NAME, QUAL_NAME, VALUE); multiTable = connection.getTable(TABLE_NAME); multiTable.put(put3); - multiTable.flushCommits(); + connection.getBufferedMutator(TABLE_NAME).flush(); System.out.println("------------8"); Get get3 = new Get(Bytes.toBytes("A3")); From 73666adb9e69ff080427d70c8f713428da174ffe Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Sun, 25 Jun 2017 15:42:27 -0400 Subject: [PATCH 02/16] Project upgraded to CDH5.10.1 --- .idea/compiler.xml | 16 ++++++++++++++++ .idea/encodings.xml | 6 ++++++ .idea/libraries/Maven__asm_asm_3_1.xml | 13 +++++++++++++ ..._cloudera_api_cloudera_manager_api_5_10_1.xml | 13 +++++++++++++ ...ml_jackson_core_jackson_annotations_2_1_0.xml | 13 +++++++++++++ ...fasterxml_jackson_core_jackson_core_2_1_0.xml | 13 +++++++++++++ ...erxml_jackson_core_jackson_databind_2_1_0.xml | 13 +++++++++++++ ...n_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml | 13 +++++++++++++ ...ule_jackson_module_jaxb_annotations_2_1_0.xml | 13 +++++++++++++ ...enc_findbugs_findbugs_annotations_1_3_9_1.xml | 13 +++++++++++++ ...phenc_high_scale_lib_high_scale_lib_1_1_1.xml | 13 +++++++++++++ ...en__com_google_code_findbugs_jsr305_3_0_0.xml | 13 +++++++++++++ .../Maven__com_google_code_gson_gson_2_2_4.xml | 13 +++++++++++++ .../Maven__com_google_guava_guava_11_0_2.xml | 13 +++++++++++++ ...__com_google_protobuf_protobuf_java_2_5_0.xml | 13 +++++++++++++ ..._com_jamesmurty_utils_java_xmlbuilder_0_4.xml | 13 +++++++++++++ .../libraries/Maven__com_jcraft_jsch_0_1_42.xml | 13 +++++++++++++ .../Maven__com_lmax_disruptor_3_3_0.xml | 13 +++++++++++++ .../Maven__com_sun_jersey_jersey_core_1_9.xml | 13 +++++++++++++ .../Maven__com_sun_jersey_jersey_json_1_9.xml | 13 +++++++++++++ .../Maven__com_sun_jersey_jersey_server_1_9.xml | 13 +++++++++++++ ...Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml | 13 +++++++++++++ ..._com_thoughtworks_paranamer_paranamer_2_3.xml | 13 +++++++++++++ ...en__com_yammer_metrics_metrics_core_2_2_0.xml | 13 +++++++++++++ ...commons_beanutils_commons_beanutils_1_7_0.xml | 13 +++++++++++++ ...ns_beanutils_commons_beanutils_core_1_8_0.xml | 13 +++++++++++++ .../Maven__commons_cli_commons_cli_1_2.xml | 13 +++++++++++++ .../Maven__commons_codec_commons_codec_1_4.xml | 13 +++++++++++++ ...ons_collections_commons_collections_3_2_2.xml | 13 +++++++++++++ ...s_configuration_commons_configuration_1_6.xml | 13 +++++++++++++ ...ven__commons_daemon_commons_daemon_1_0_13.xml | 13 +++++++++++++ ...en__commons_digester_commons_digester_1_8.xml | 13 +++++++++++++ .../Maven__commons_el_commons_el_1_0.xml | 13 +++++++++++++ ...commons_httpclient_commons_httpclient_3_1.xml | 13 +++++++++++++ .../Maven__commons_io_commons_io_2_4.xml | 13 +++++++++++++ .../Maven__commons_lang_commons_lang_2_6.xml | 13 +++++++++++++ ...en__commons_logging_commons_logging_1_1_3.xml | 13 +++++++++++++ .../Maven__commons_net_commons_net_3_1.xml | 13 +++++++++++++ .../libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml | 13 +++++++++++++ .../Maven__io_netty_netty_all_4_0_23_Final.xml | 13 +++++++++++++ .../Maven__javax_activation_activation_1_1.xml | 13 +++++++++++++ .../Maven__javax_servlet_jsp_jsp_api_2_1.xml | 13 +++++++++++++ .../Maven__javax_servlet_servlet_api_2_5.xml | 13 +++++++++++++ ...aven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml | 13 +++++++++++++ .../Maven__javax_xml_bind_jaxb_api_2_2_2.xml | 13 +++++++++++++ .../Maven__javax_xml_stream_stax_api_1_0_2.xml | 13 +++++++++++++ .../libraries/Maven__joda_time_joda_time_2_1.xml | 13 +++++++++++++ .idea/libraries/Maven__junit_junit_4_12.xml | 13 +++++++++++++ .idea/libraries/Maven__log4j_log4j_1_2_17.xml | 13 +++++++++++++ .../Maven__net_java_dev_jets3t_jets3t_0_9_0.xml | 13 +++++++++++++ ...ven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml | 13 +++++++++++++ ...org_apache_commons_commons_compress_1_4_1.xml | 13 +++++++++++++ ...n__org_apache_commons_commons_math3_3_1_1.xml | 13 +++++++++++++ ...aven__org_apache_commons_commons_math_2_1.xml | 13 +++++++++++++ ...__org_apache_curator_curator_client_2_7_1.xml | 13 +++++++++++++ ...rg_apache_curator_curator_framework_2_7_1.xml | 13 +++++++++++++ ..._org_apache_curator_curator_recipes_2_7_1.xml | 13 +++++++++++++ .../Maven__org_apache_cxf_cxf_api_2_7_5.xml | 13 +++++++++++++ ..._org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml | 13 +++++++++++++ .../Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml | 13 +++++++++++++ ...rg_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml | 13 +++++++++++++ ...g_apache_cxf_cxf_rt_transports_http_2_7_5.xml | 13 +++++++++++++ ...ache_directory_api_api_asn1_api_1_0_0_M20.xml | 13 +++++++++++++ ...g_apache_directory_api_api_util_1_0_0_M20.xml | 13 +++++++++++++ ..._directory_server_apacheds_i18n_2_0_0_M15.xml | 13 +++++++++++++ ..._server_apacheds_kerberos_codec_2_0_0_M15.xml | 13 +++++++++++++ ...mo_specs_geronimo_javamail_1_4_spec_1_7_1.xml | 13 +++++++++++++ ...hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml | 13 +++++++++++++ ...apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml | 13 +++++++++++++ ...ache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml | 13 +++++++++++++ ...oop_common_test_jar_tests_2_6_0_cdh5_10_1.xml | 13 +++++++++++++ ...he_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml | 13 +++++++++++++ ...apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml | 13 +++++++++++++ ...adoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml | 13 +++++++++++++ ...e_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...ase_common_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...base_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...op2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...oop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...e_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...che_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...ache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...ase_server_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 +++++++++++++ ...ache_htrace_htrace_core4_4_0_1_incubating.xml | 13 +++++++++++++ ...pache_htrace_htrace_core_3_2_0_incubating.xml | 13 +++++++++++++ ...rg_apache_httpcomponents_httpclient_4_1_2.xml | 13 +++++++++++++ ..._org_apache_httpcomponents_httpcore_4_1_2.xml | 13 +++++++++++++ ..._apache_ws_xmlschema_xmlschema_core_2_0_3.xml | 13 +++++++++++++ ...pache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml | 13 +++++++++++++ ...g_codehaus_jackson_jackson_core_asl_1_8_8.xml | 13 +++++++++++++ ..._org_codehaus_jackson_jackson_jaxrs_1_8_8.xml | 13 +++++++++++++ ...codehaus_jackson_jackson_mapper_asl_1_8_8.xml | 13 +++++++++++++ ...en__org_codehaus_jackson_jackson_xc_1_8_3.xml | 13 +++++++++++++ ...Maven__org_codehaus_jettison_jettison_1_1.xml | 13 +++++++++++++ ...en__org_codehaus_woodstox_stax2_api_3_1_1.xml | 13 +++++++++++++ ...codehaus_woodstox_woodstox_core_asl_4_2_0.xml | 13 +++++++++++++ .../Maven__org_eclipse_jdt_core_3_1_1.xml | 13 +++++++++++++ ..._fusesource_leveldbjni_leveldbjni_all_1_8.xml | 13 +++++++++++++ .../Maven__org_hamcrest_hamcrest_core_1_3.xml | 13 +++++++++++++ .../Maven__org_jamon_jamon_runtime_2_4_1.xml | 13 +++++++++++++ .../Maven__org_jruby_jcodings_jcodings_1_0_8.xml | 13 +++++++++++++ .../Maven__org_jruby_joni_joni_2_1_2.xml | 13 +++++++++++++ ...org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml | 13 +++++++++++++ ...y_jetty_jetty_sslengine_6_1_26_cloudera_4.xml | 13 +++++++++++++ ...ortbay_jetty_jetty_util_6_1_26_cloudera_4.xml | 13 +++++++++++++ .../Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml | 13 +++++++++++++ ...ven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml | 13 +++++++++++++ ..._org_mortbay_jetty_servlet_api_2_5_6_1_14.xml | 13 +++++++++++++ .../Maven__org_slf4j_slf4j_api_1_7_5.xml | 13 +++++++++++++ .../Maven__org_slf4j_slf4j_log4j12_1_7_5.xml | 13 +++++++++++++ .idea/libraries/Maven__org_tukaani_xz_1_0.xml | 13 +++++++++++++ ...en__org_xerial_snappy_snappy_java_1_0_4_1.xml | 13 +++++++++++++ .../Maven__tomcat_jasper_compiler_5_5_23.xml | 13 +++++++++++++ .../Maven__tomcat_jasper_runtime_5_5_23.xml | 13 +++++++++++++ .idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml | 13 +++++++++++++ .idea/libraries/Maven__xmlenc_xmlenc_0_52.xml | 13 +++++++++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ 122 files changed, 1570 insertions(+) create mode 100644 .idea/compiler.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/libraries/Maven__asm_asm_3_1.xml create mode 100644 .idea/libraries/Maven__com_cloudera_api_cloudera_manager_api_5_10_1.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_1_0.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_1_0.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_1_0.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml create mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_1_0.xml create mode 100644 .idea/libraries/Maven__com_github_stephenc_findbugs_findbugs_annotations_1_3_9_1.xml create mode 100644 .idea/libraries/Maven__com_github_stephenc_high_scale_lib_high_scale_lib_1_1_1.xml create mode 100644 .idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml create mode 100644 .idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml create mode 100644 .idea/libraries/Maven__com_google_guava_guava_11_0_2.xml create mode 100644 .idea/libraries/Maven__com_google_protobuf_protobuf_java_2_5_0.xml create mode 100644 .idea/libraries/Maven__com_jamesmurty_utils_java_xmlbuilder_0_4.xml create mode 100644 .idea/libraries/Maven__com_jcraft_jsch_0_1_42.xml create mode 100644 .idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml create mode 100644 .idea/libraries/Maven__com_sun_jersey_jersey_core_1_9.xml create mode 100644 .idea/libraries/Maven__com_sun_jersey_jersey_json_1_9.xml create mode 100644 .idea/libraries/Maven__com_sun_jersey_jersey_server_1_9.xml create mode 100644 .idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml create mode 100644 .idea/libraries/Maven__com_thoughtworks_paranamer_paranamer_2_3.xml create mode 100644 .idea/libraries/Maven__com_yammer_metrics_metrics_core_2_2_0.xml create mode 100644 .idea/libraries/Maven__commons_beanutils_commons_beanutils_1_7_0.xml create mode 100644 .idea/libraries/Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml create mode 100644 .idea/libraries/Maven__commons_cli_commons_cli_1_2.xml create mode 100644 .idea/libraries/Maven__commons_codec_commons_codec_1_4.xml create mode 100644 .idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml create mode 100644 .idea/libraries/Maven__commons_configuration_commons_configuration_1_6.xml create mode 100644 .idea/libraries/Maven__commons_daemon_commons_daemon_1_0_13.xml create mode 100644 .idea/libraries/Maven__commons_digester_commons_digester_1_8.xml create mode 100644 .idea/libraries/Maven__commons_el_commons_el_1_0.xml create mode 100644 .idea/libraries/Maven__commons_httpclient_commons_httpclient_3_1.xml create mode 100644 .idea/libraries/Maven__commons_io_commons_io_2_4.xml create mode 100644 .idea/libraries/Maven__commons_lang_commons_lang_2_6.xml create mode 100644 .idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml create mode 100644 .idea/libraries/Maven__commons_net_commons_net_3_1.xml create mode 100644 .idea/libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml create mode 100644 .idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml create mode 100644 .idea/libraries/Maven__javax_activation_activation_1_1.xml create mode 100644 .idea/libraries/Maven__javax_servlet_jsp_jsp_api_2_1.xml create mode 100644 .idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml create mode 100644 .idea/libraries/Maven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml create mode 100644 .idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml create mode 100644 .idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml create mode 100644 .idea/libraries/Maven__joda_time_joda_time_2_1.xml create mode 100644 .idea/libraries/Maven__junit_junit_4_12.xml create mode 100644 .idea/libraries/Maven__log4j_log4j_1_2_17.xml create mode 100644 .idea/libraries/Maven__net_java_dev_jets3t_jets3t_0_9_0.xml create mode 100644 .idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_commons_commons_compress_1_4_1.xml create mode 100644 .idea/libraries/Maven__org_apache_commons_commons_math3_3_1_1.xml create mode 100644 .idea/libraries/Maven__org_apache_commons_commons_math_2_1.xml create mode 100644 .idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml create mode 100644 .idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml create mode 100644 .idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml create mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_api_2_7_5.xml create mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml create mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml create mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml create mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_rt_transports_http_2_7_5.xml create mode 100644 .idea/libraries/Maven__org_apache_directory_api_api_asn1_api_1_0_0_M20.xml create mode 100644 .idea/libraries/Maven__org_apache_directory_api_api_util_1_0_0_M20.xml create mode 100644 .idea/libraries/Maven__org_apache_directory_server_apacheds_i18n_2_0_0_M15.xml create mode 100644 .idea/libraries/Maven__org_apache_directory_server_apacheds_kerberos_codec_2_0_0_M15.xml create mode 100644 .idea/libraries/Maven__org_apache_geronimo_specs_geronimo_javamail_1_4_spec_1_7_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_common_test_jar_tests_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml create mode 100644 .idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml create mode 100644 .idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_1_2.xml create mode 100644 .idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_1_2.xml create mode 100644 .idea/libraries/Maven__org_apache_ws_xmlschema_xmlschema_core_2_0_3.xml create mode 100644 .idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_8_8.xml create mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_jaxrs_1_8_8.xml create mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_8_8.xml create mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml create mode 100644 .idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml create mode 100644 .idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_1.xml create mode 100644 .idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_2_0.xml create mode 100644 .idea/libraries/Maven__org_eclipse_jdt_core_3_1_1.xml create mode 100644 .idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml create mode 100644 .idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml create mode 100644 .idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml create mode 100644 .idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml create mode 100644 .idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml create mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml create mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jetty_sslengine_6_1_26_cloudera_4.xml create mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26_cloudera_4.xml create mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml create mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml create mode 100644 .idea/libraries/Maven__org_mortbay_jetty_servlet_api_2_5_6_1_14.xml create mode 100644 .idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml create mode 100644 .idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_5.xml create mode 100644 .idea/libraries/Maven__org_tukaani_xz_1_0.xml create mode 100644 .idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml create mode 100644 .idea/libraries/Maven__tomcat_jasper_compiler_5_5_23.xml create mode 100644 .idea/libraries/Maven__tomcat_jasper_runtime_5_5_23.xml create mode 100644 .idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml create mode 100644 .idea/libraries/Maven__xmlenc_xmlenc_0_52.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..203cac1 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..b26911b --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__asm_asm_3_1.xml b/.idea/libraries/Maven__asm_asm_3_1.xml new file mode 100644 index 0000000..3386f10 --- /dev/null +++ b/.idea/libraries/Maven__asm_asm_3_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_cloudera_api_cloudera_manager_api_5_10_1.xml b/.idea/libraries/Maven__com_cloudera_api_cloudera_manager_api_5_10_1.xml new file mode 100644 index 0000000..431d9a1 --- /dev/null +++ b/.idea/libraries/Maven__com_cloudera_api_cloudera_manager_api_5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_1_0.xml new file mode 100644 index 0000000..0680935 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_1_0.xml new file mode 100644 index 0000000..fe79e57 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_1_0.xml new file mode 100644 index 0000000..6770752 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml new file mode 100644 index 0000000..bc451de --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_1_0.xml new file mode 100644 index 0000000..34f7db8 --- /dev/null +++ b/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_github_stephenc_findbugs_findbugs_annotations_1_3_9_1.xml b/.idea/libraries/Maven__com_github_stephenc_findbugs_findbugs_annotations_1_3_9_1.xml new file mode 100644 index 0000000..d1d9a7c --- /dev/null +++ b/.idea/libraries/Maven__com_github_stephenc_findbugs_findbugs_annotations_1_3_9_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_github_stephenc_high_scale_lib_high_scale_lib_1_1_1.xml b/.idea/libraries/Maven__com_github_stephenc_high_scale_lib_high_scale_lib_1_1_1.xml new file mode 100644 index 0000000..9730a46 --- /dev/null +++ b/.idea/libraries/Maven__com_github_stephenc_high_scale_lib_high_scale_lib_1_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml b/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml new file mode 100644 index 0000000..6644d12 --- /dev/null +++ b/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml b/.idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml new file mode 100644 index 0000000..4533c1b --- /dev/null +++ b/.idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_guava_guava_11_0_2.xml b/.idea/libraries/Maven__com_google_guava_guava_11_0_2.xml new file mode 100644 index 0000000..01a573a --- /dev/null +++ b/.idea/libraries/Maven__com_google_guava_guava_11_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_protobuf_protobuf_java_2_5_0.xml b/.idea/libraries/Maven__com_google_protobuf_protobuf_java_2_5_0.xml new file mode 100644 index 0000000..c06d3a1 --- /dev/null +++ b/.idea/libraries/Maven__com_google_protobuf_protobuf_java_2_5_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_jamesmurty_utils_java_xmlbuilder_0_4.xml b/.idea/libraries/Maven__com_jamesmurty_utils_java_xmlbuilder_0_4.xml new file mode 100644 index 0000000..a2a0c04 --- /dev/null +++ b/.idea/libraries/Maven__com_jamesmurty_utils_java_xmlbuilder_0_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_jcraft_jsch_0_1_42.xml b/.idea/libraries/Maven__com_jcraft_jsch_0_1_42.xml new file mode 100644 index 0000000..880be15 --- /dev/null +++ b/.idea/libraries/Maven__com_jcraft_jsch_0_1_42.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml b/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml new file mode 100644 index 0000000..d523797 --- /dev/null +++ b/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_9.xml b/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_9.xml new file mode 100644 index 0000000..abd3e5d --- /dev/null +++ b/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_jersey_jersey_json_1_9.xml b/.idea/libraries/Maven__com_sun_jersey_jersey_json_1_9.xml new file mode 100644 index 0000000..fff6aea --- /dev/null +++ b/.idea/libraries/Maven__com_sun_jersey_jersey_json_1_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_9.xml b/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_9.xml new file mode 100644 index 0000000..717467f --- /dev/null +++ b/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_9.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml b/.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml new file mode 100644 index 0000000..1165a3b --- /dev/null +++ b/.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_thoughtworks_paranamer_paranamer_2_3.xml b/.idea/libraries/Maven__com_thoughtworks_paranamer_paranamer_2_3.xml new file mode 100644 index 0000000..3807eb2 --- /dev/null +++ b/.idea/libraries/Maven__com_thoughtworks_paranamer_paranamer_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_yammer_metrics_metrics_core_2_2_0.xml b/.idea/libraries/Maven__com_yammer_metrics_metrics_core_2_2_0.xml new file mode 100644 index 0000000..fc159c5 --- /dev/null +++ b/.idea/libraries/Maven__com_yammer_metrics_metrics_core_2_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_beanutils_commons_beanutils_1_7_0.xml b/.idea/libraries/Maven__commons_beanutils_commons_beanutils_1_7_0.xml new file mode 100644 index 0000000..1cb64ed --- /dev/null +++ b/.idea/libraries/Maven__commons_beanutils_commons_beanutils_1_7_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml b/.idea/libraries/Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml new file mode 100644 index 0000000..3fda2c0 --- /dev/null +++ b/.idea/libraries/Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_cli_commons_cli_1_2.xml b/.idea/libraries/Maven__commons_cli_commons_cli_1_2.xml new file mode 100644 index 0000000..cec2493 --- /dev/null +++ b/.idea/libraries/Maven__commons_cli_commons_cli_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_codec_commons_codec_1_4.xml b/.idea/libraries/Maven__commons_codec_commons_codec_1_4.xml new file mode 100644 index 0000000..2b149c4 --- /dev/null +++ b/.idea/libraries/Maven__commons_codec_commons_codec_1_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml b/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml new file mode 100644 index 0000000..13afda2 --- /dev/null +++ b/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_configuration_commons_configuration_1_6.xml b/.idea/libraries/Maven__commons_configuration_commons_configuration_1_6.xml new file mode 100644 index 0000000..ae96781 --- /dev/null +++ b/.idea/libraries/Maven__commons_configuration_commons_configuration_1_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_daemon_commons_daemon_1_0_13.xml b/.idea/libraries/Maven__commons_daemon_commons_daemon_1_0_13.xml new file mode 100644 index 0000000..d44fc67 --- /dev/null +++ b/.idea/libraries/Maven__commons_daemon_commons_daemon_1_0_13.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_digester_commons_digester_1_8.xml b/.idea/libraries/Maven__commons_digester_commons_digester_1_8.xml new file mode 100644 index 0000000..49f1def --- /dev/null +++ b/.idea/libraries/Maven__commons_digester_commons_digester_1_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_el_commons_el_1_0.xml b/.idea/libraries/Maven__commons_el_commons_el_1_0.xml new file mode 100644 index 0000000..598d1b0 --- /dev/null +++ b/.idea/libraries/Maven__commons_el_commons_el_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_httpclient_commons_httpclient_3_1.xml b/.idea/libraries/Maven__commons_httpclient_commons_httpclient_3_1.xml new file mode 100644 index 0000000..66e6537 --- /dev/null +++ b/.idea/libraries/Maven__commons_httpclient_commons_httpclient_3_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_io_commons_io_2_4.xml b/.idea/libraries/Maven__commons_io_commons_io_2_4.xml new file mode 100644 index 0000000..bc2aad0 --- /dev/null +++ b/.idea/libraries/Maven__commons_io_commons_io_2_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml b/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml new file mode 100644 index 0000000..2ec8376 --- /dev/null +++ b/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml b/.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml new file mode 100644 index 0000000..01c7b8e --- /dev/null +++ b/.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_net_commons_net_3_1.xml b/.idea/libraries/Maven__commons_net_commons_net_3_1.xml new file mode 100644 index 0000000..dc40661 --- /dev/null +++ b/.idea/libraries/Maven__commons_net_commons_net_3_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml b/.idea/libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml new file mode 100644 index 0000000..91c84d6 --- /dev/null +++ b/.idea/libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml b/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml new file mode 100644 index 0000000..7305d82 --- /dev/null +++ b/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_activation_activation_1_1.xml b/.idea/libraries/Maven__javax_activation_activation_1_1.xml new file mode 100644 index 0000000..180d587 --- /dev/null +++ b/.idea/libraries/Maven__javax_activation_activation_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_servlet_jsp_jsp_api_2_1.xml b/.idea/libraries/Maven__javax_servlet_jsp_jsp_api_2_1.xml new file mode 100644 index 0000000..4b5f67f --- /dev/null +++ b/.idea/libraries/Maven__javax_servlet_jsp_jsp_api_2_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml b/.idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml new file mode 100644 index 0000000..679e09a --- /dev/null +++ b/.idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml b/.idea/libraries/Maven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml new file mode 100644 index 0000000..2beb634 --- /dev/null +++ b/.idea/libraries/Maven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml b/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml new file mode 100644 index 0000000..a3054d2 --- /dev/null +++ b/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml b/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml new file mode 100644 index 0000000..2a4dd7a --- /dev/null +++ b/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__joda_time_joda_time_2_1.xml b/.idea/libraries/Maven__joda_time_joda_time_2_1.xml new file mode 100644 index 0000000..2646c87 --- /dev/null +++ b/.idea/libraries/Maven__joda_time_joda_time_2_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__junit_junit_4_12.xml b/.idea/libraries/Maven__junit_junit_4_12.xml new file mode 100644 index 0000000..d411041 --- /dev/null +++ b/.idea/libraries/Maven__junit_junit_4_12.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__log4j_log4j_1_2_17.xml b/.idea/libraries/Maven__log4j_log4j_1_2_17.xml new file mode 100644 index 0000000..e383c1b --- /dev/null +++ b/.idea/libraries/Maven__log4j_log4j_1_2_17.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_java_dev_jets3t_jets3t_0_9_0.xml b/.idea/libraries/Maven__net_java_dev_jets3t_jets3t_0_9_0.xml new file mode 100644 index 0000000..f4ff312 --- /dev/null +++ b/.idea/libraries/Maven__net_java_dev_jets3t_jets3t_0_9_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml new file mode 100644 index 0000000..4ee9f9f --- /dev/null +++ b/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_commons_commons_compress_1_4_1.xml b/.idea/libraries/Maven__org_apache_commons_commons_compress_1_4_1.xml new file mode 100644 index 0000000..190209e --- /dev/null +++ b/.idea/libraries/Maven__org_apache_commons_commons_compress_1_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_commons_commons_math3_3_1_1.xml b/.idea/libraries/Maven__org_apache_commons_commons_math3_3_1_1.xml new file mode 100644 index 0000000..5627f0c --- /dev/null +++ b/.idea/libraries/Maven__org_apache_commons_commons_math3_3_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_commons_commons_math_2_1.xml b/.idea/libraries/Maven__org_apache_commons_commons_math_2_1.xml new file mode 100644 index 0000000..eaa8a65 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_commons_commons_math_2_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml new file mode 100644 index 0000000..18c48a6 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml new file mode 100644 index 0000000..43f068b --- /dev/null +++ b/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml new file mode 100644 index 0000000..3f3e79a --- /dev/null +++ b/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_api_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_api_2_7_5.xml new file mode 100644 index 0000000..d221716 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_cxf_cxf_api_2_7_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml new file mode 100644 index 0000000..b108789 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml new file mode 100644 index 0000000..9f18356 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml new file mode 100644 index 0000000..49764ff --- /dev/null +++ b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_transports_http_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_transports_http_2_7_5.xml new file mode 100644 index 0000000..f4416d7 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_transports_http_2_7_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_directory_api_api_asn1_api_1_0_0_M20.xml b/.idea/libraries/Maven__org_apache_directory_api_api_asn1_api_1_0_0_M20.xml new file mode 100644 index 0000000..bd5ac37 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_directory_api_api_asn1_api_1_0_0_M20.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_directory_api_api_util_1_0_0_M20.xml b/.idea/libraries/Maven__org_apache_directory_api_api_util_1_0_0_M20.xml new file mode 100644 index 0000000..b3d86af --- /dev/null +++ b/.idea/libraries/Maven__org_apache_directory_api_api_util_1_0_0_M20.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_directory_server_apacheds_i18n_2_0_0_M15.xml b/.idea/libraries/Maven__org_apache_directory_server_apacheds_i18n_2_0_0_M15.xml new file mode 100644 index 0000000..7a73f45 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_directory_server_apacheds_i18n_2_0_0_M15.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_directory_server_apacheds_kerberos_codec_2_0_0_M15.xml b/.idea/libraries/Maven__org_apache_directory_server_apacheds_kerberos_codec_2_0_0_M15.xml new file mode 100644 index 0000000..5378216 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_directory_server_apacheds_kerberos_codec_2_0_0_M15.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_geronimo_specs_geronimo_javamail_1_4_spec_1_7_1.xml b/.idea/libraries/Maven__org_apache_geronimo_specs_geronimo_javamail_1_4_spec_1_7_1.xml new file mode 100644 index 0000000..ea18758 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_geronimo_specs_geronimo_javamail_1_4_spec_1_7_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..c660671 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..c4d73e2 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..70dd7fa --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..570c836 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml new file mode 100644 index 0000000..6b145fc --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..7aceb0c --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..84dc5d8 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..b869d5d --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..c7c0f48 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..dfb0079 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_common_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_common_test_jar_tests_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..0cd5381 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_common_test_jar_tests_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..beaf023 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..b2e28e5 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..a82849f --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..3bbdd71 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..5984ac2 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..2578825 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..1601fa9 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..87dbfcb --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..2661e79 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml b/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml new file mode 100644 index 0000000..aebd338 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml b/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml new file mode 100644 index 0000000..058ac96 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_1_2.xml b/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_1_2.xml new file mode 100644 index 0000000..1e5c3b5 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_1_2.xml b/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_1_2.xml new file mode 100644 index 0000000..9548c49 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_ws_xmlschema_xmlschema_core_2_0_3.xml b/.idea/libraries/Maven__org_apache_ws_xmlschema_xmlschema_core_2_0_3.xml new file mode 100644 index 0000000..0b28957 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_ws_xmlschema_xmlschema_core_2_0_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml new file mode 100644 index 0000000..28acdcf --- /dev/null +++ b/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_8_8.xml b/.idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_8_8.xml new file mode 100644 index 0000000..d649056 --- /dev/null +++ b/.idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_8_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jackson_jackson_jaxrs_1_8_8.xml b/.idea/libraries/Maven__org_codehaus_jackson_jackson_jaxrs_1_8_8.xml new file mode 100644 index 0000000..2e6814f --- /dev/null +++ b/.idea/libraries/Maven__org_codehaus_jackson_jackson_jaxrs_1_8_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_8_8.xml b/.idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_8_8.xml new file mode 100644 index 0000000..148cdfd --- /dev/null +++ b/.idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_8_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml b/.idea/libraries/Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml new file mode 100644 index 0000000..9fc3894 --- /dev/null +++ b/.idea/libraries/Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml b/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml new file mode 100644 index 0000000..d62802e --- /dev/null +++ b/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_1.xml b/.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_1.xml new file mode 100644 index 0000000..3182f88 --- /dev/null +++ b/.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_2_0.xml b/.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_2_0.xml new file mode 100644 index 0000000..203937d --- /dev/null +++ b/.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_eclipse_jdt_core_3_1_1.xml b/.idea/libraries/Maven__org_eclipse_jdt_core_3_1_1.xml new file mode 100644 index 0000000..ae34fa9 --- /dev/null +++ b/.idea/libraries/Maven__org_eclipse_jdt_core_3_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml b/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml new file mode 100644 index 0000000..4a829d2 --- /dev/null +++ b/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml new file mode 100644 index 0000000..f58bbc1 --- /dev/null +++ b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml b/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml new file mode 100644 index 0000000..8858b4f --- /dev/null +++ b/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml b/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml new file mode 100644 index 0000000..7e032d7 --- /dev/null +++ b/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml b/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml new file mode 100644 index 0000000..a557ab1 --- /dev/null +++ b/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml b/.idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml new file mode 100644 index 0000000..d0c7031 --- /dev/null +++ b/.idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jetty_sslengine_6_1_26_cloudera_4.xml b/.idea/libraries/Maven__org_mortbay_jetty_jetty_sslengine_6_1_26_cloudera_4.xml new file mode 100644 index 0000000..4bdda3e --- /dev/null +++ b/.idea/libraries/Maven__org_mortbay_jetty_jetty_sslengine_6_1_26_cloudera_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26_cloudera_4.xml b/.idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26_cloudera_4.xml new file mode 100644 index 0000000..9c48858 --- /dev/null +++ b/.idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26_cloudera_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml b/.idea/libraries/Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml new file mode 100644 index 0000000..cc33d9f --- /dev/null +++ b/.idea/libraries/Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml b/.idea/libraries/Maven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml new file mode 100644 index 0000000..590bc87 --- /dev/null +++ b/.idea/libraries/Maven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_servlet_api_2_5_6_1_14.xml b/.idea/libraries/Maven__org_mortbay_jetty_servlet_api_2_5_6_1_14.xml new file mode 100644 index 0000000..5536a9c --- /dev/null +++ b/.idea/libraries/Maven__org_mortbay_jetty_servlet_api_2_5_6_1_14.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml new file mode 100644 index 0000000..6f808f1 --- /dev/null +++ b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_5.xml b/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_5.xml new file mode 100644 index 0000000..df1d383 --- /dev/null +++ b/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_tukaani_xz_1_0.xml b/.idea/libraries/Maven__org_tukaani_xz_1_0.xml new file mode 100644 index 0000000..8b8042f --- /dev/null +++ b/.idea/libraries/Maven__org_tukaani_xz_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml b/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml new file mode 100644 index 0000000..ee11787 --- /dev/null +++ b/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__tomcat_jasper_compiler_5_5_23.xml b/.idea/libraries/Maven__tomcat_jasper_compiler_5_5_23.xml new file mode 100644 index 0000000..4610fa2 --- /dev/null +++ b/.idea/libraries/Maven__tomcat_jasper_compiler_5_5_23.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__tomcat_jasper_runtime_5_5_23.xml b/.idea/libraries/Maven__tomcat_jasper_runtime_5_5_23.xml new file mode 100644 index 0000000..e80db89 --- /dev/null +++ b/.idea/libraries/Maven__tomcat_jasper_runtime_5_5_23.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml b/.idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml new file mode 100644 index 0000000..8310dc8 --- /dev/null +++ b/.idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__xmlenc_xmlenc_0_52.xml b/.idea/libraries/Maven__xmlenc_xmlenc_0_52.xml new file mode 100644 index 0000000..59d176d --- /dev/null +++ b/.idea/libraries/Maven__xmlenc_xmlenc_0_52.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..de17de1 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file From 471c03a83df4ec28ef34f4435fa0fa99886cee73 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Sun, 25 Jun 2017 16:55:56 -0400 Subject: [PATCH 03/16] Hbase MCC for CDH5.10.1 --- .idea/compiler.xml | 16 ---------------- .idea/encodings.xml | 6 ------ .idea/libraries/Maven__asm_asm_3_1.xml | 13 ------------- ..._cloudera_api_cloudera_manager_api_5_10_1.xml | 13 ------------- ...ml_jackson_core_jackson_annotations_2_1_0.xml | 13 ------------- ...fasterxml_jackson_core_jackson_core_2_1_0.xml | 13 ------------- ...erxml_jackson_core_jackson_databind_2_1_0.xml | 13 ------------- ...n_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml | 13 ------------- ...ule_jackson_module_jaxb_annotations_2_1_0.xml | 13 ------------- ...enc_findbugs_findbugs_annotations_1_3_9_1.xml | 13 ------------- ...phenc_high_scale_lib_high_scale_lib_1_1_1.xml | 13 ------------- ...en__com_google_code_findbugs_jsr305_3_0_0.xml | 13 ------------- .../Maven__com_google_code_gson_gson_2_2_4.xml | 13 ------------- .../Maven__com_google_guava_guava_11_0_2.xml | 13 ------------- ...__com_google_protobuf_protobuf_java_2_5_0.xml | 13 ------------- ..._com_jamesmurty_utils_java_xmlbuilder_0_4.xml | 13 ------------- .../libraries/Maven__com_jcraft_jsch_0_1_42.xml | 13 ------------- .../Maven__com_lmax_disruptor_3_3_0.xml | 13 ------------- .../Maven__com_sun_jersey_jersey_core_1_9.xml | 13 ------------- .../Maven__com_sun_jersey_jersey_json_1_9.xml | 13 ------------- .../Maven__com_sun_jersey_jersey_server_1_9.xml | 13 ------------- ...Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml | 13 ------------- ..._com_thoughtworks_paranamer_paranamer_2_3.xml | 13 ------------- ...en__com_yammer_metrics_metrics_core_2_2_0.xml | 13 ------------- ...commons_beanutils_commons_beanutils_1_7_0.xml | 13 ------------- ...ns_beanutils_commons_beanutils_core_1_8_0.xml | 13 ------------- .../Maven__commons_cli_commons_cli_1_2.xml | 13 ------------- .../Maven__commons_codec_commons_codec_1_4.xml | 13 ------------- ...ons_collections_commons_collections_3_2_2.xml | 13 ------------- ...s_configuration_commons_configuration_1_6.xml | 13 ------------- ...ven__commons_daemon_commons_daemon_1_0_13.xml | 13 ------------- ...en__commons_digester_commons_digester_1_8.xml | 13 ------------- .../Maven__commons_el_commons_el_1_0.xml | 13 ------------- ...commons_httpclient_commons_httpclient_3_1.xml | 13 ------------- .../Maven__commons_io_commons_io_2_4.xml | 13 ------------- .../Maven__commons_lang_commons_lang_2_6.xml | 13 ------------- ...en__commons_logging_commons_logging_1_1_3.xml | 13 ------------- .../Maven__commons_net_commons_net_3_1.xml | 13 ------------- .../libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml | 13 ------------- .../Maven__io_netty_netty_all_4_0_23_Final.xml | 13 ------------- .../Maven__javax_activation_activation_1_1.xml | 13 ------------- .../Maven__javax_servlet_jsp_jsp_api_2_1.xml | 13 ------------- .../Maven__javax_servlet_servlet_api_2_5.xml | 13 ------------- ...aven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml | 13 ------------- .../Maven__javax_xml_bind_jaxb_api_2_2_2.xml | 13 ------------- .../Maven__javax_xml_stream_stax_api_1_0_2.xml | 13 ------------- .../libraries/Maven__joda_time_joda_time_2_1.xml | 13 ------------- .idea/libraries/Maven__junit_junit_4_12.xml | 13 ------------- .idea/libraries/Maven__log4j_log4j_1_2_17.xml | 13 ------------- .../Maven__net_java_dev_jets3t_jets3t_0_9_0.xml | 13 ------------- ...ven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml | 13 ------------- ...org_apache_commons_commons_compress_1_4_1.xml | 13 ------------- ...n__org_apache_commons_commons_math3_3_1_1.xml | 13 ------------- ...aven__org_apache_commons_commons_math_2_1.xml | 13 ------------- ...__org_apache_curator_curator_client_2_7_1.xml | 13 ------------- ...rg_apache_curator_curator_framework_2_7_1.xml | 13 ------------- ..._org_apache_curator_curator_recipes_2_7_1.xml | 13 ------------- .../Maven__org_apache_cxf_cxf_api_2_7_5.xml | 13 ------------- ..._org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml | 13 ------------- .../Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml | 13 ------------- ...rg_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml | 13 ------------- ...g_apache_cxf_cxf_rt_transports_http_2_7_5.xml | 13 ------------- ...ache_directory_api_api_asn1_api_1_0_0_M20.xml | 13 ------------- ...g_apache_directory_api_api_util_1_0_0_M20.xml | 13 ------------- ..._directory_server_apacheds_i18n_2_0_0_M15.xml | 13 ------------- ..._server_apacheds_kerberos_codec_2_0_0_M15.xml | 13 ------------- ...mo_specs_geronimo_javamail_1_4_spec_1_7_1.xml | 13 ------------- ...hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml | 13 ------------- ...apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml | 13 ------------- ...ache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml | 13 ------------- ...oop_common_test_jar_tests_2_6_0_cdh5_10_1.xml | 13 ------------- ...he_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml | 13 ------------- ...apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml | 13 ------------- ...adoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml | 13 ------------- ...e_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml | 13 ------------- ...apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml | 13 ------------- ...apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml | 13 ------------- ...ase_common_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 ------------- ...base_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml | 13 ------------- ...op2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 ------------- ...hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml | 13 ------------- ...oop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 ------------- ...e_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml | 13 ------------- ...che_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml | 13 ------------- ...ache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml | 13 ------------- ...apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml | 13 ------------- ...ase_server_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 ------------- ...ache_htrace_htrace_core4_4_0_1_incubating.xml | 13 ------------- ...pache_htrace_htrace_core_3_2_0_incubating.xml | 13 ------------- ...rg_apache_httpcomponents_httpclient_4_1_2.xml | 13 ------------- ..._org_apache_httpcomponents_httpcore_4_1_2.xml | 13 ------------- ..._apache_ws_xmlschema_xmlschema_core_2_0_3.xml | 13 ------------- ...pache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml | 13 ------------- ...g_codehaus_jackson_jackson_core_asl_1_8_8.xml | 13 ------------- ..._org_codehaus_jackson_jackson_jaxrs_1_8_8.xml | 13 ------------- ...codehaus_jackson_jackson_mapper_asl_1_8_8.xml | 13 ------------- ...en__org_codehaus_jackson_jackson_xc_1_8_3.xml | 13 ------------- ...Maven__org_codehaus_jettison_jettison_1_1.xml | 13 ------------- ...en__org_codehaus_woodstox_stax2_api_3_1_1.xml | 13 ------------- ...codehaus_woodstox_woodstox_core_asl_4_2_0.xml | 13 ------------- .../Maven__org_eclipse_jdt_core_3_1_1.xml | 13 ------------- ..._fusesource_leveldbjni_leveldbjni_all_1_8.xml | 13 ------------- .../Maven__org_hamcrest_hamcrest_core_1_3.xml | 13 ------------- .../Maven__org_jamon_jamon_runtime_2_4_1.xml | 13 ------------- .../Maven__org_jruby_jcodings_jcodings_1_0_8.xml | 13 ------------- .../Maven__org_jruby_joni_joni_2_1_2.xml | 13 ------------- ...org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml | 13 ------------- ...y_jetty_jetty_sslengine_6_1_26_cloudera_4.xml | 13 ------------- ...ortbay_jetty_jetty_util_6_1_26_cloudera_4.xml | 13 ------------- .../Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml | 13 ------------- ...ven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml | 13 ------------- ..._org_mortbay_jetty_servlet_api_2_5_6_1_14.xml | 13 ------------- .../Maven__org_slf4j_slf4j_api_1_7_5.xml | 13 ------------- .../Maven__org_slf4j_slf4j_log4j12_1_7_5.xml | 13 ------------- .idea/libraries/Maven__org_tukaani_xz_1_0.xml | 13 ------------- ...en__org_xerial_snappy_snappy_java_1_0_4_1.xml | 13 ------------- .../Maven__tomcat_jasper_compiler_5_5_23.xml | 13 ------------- .../Maven__tomcat_jasper_runtime_5_5_23.xml | 13 ------------- .idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml | 13 ------------- .idea/libraries/Maven__xmlenc_xmlenc_0_52.xml | 13 ------------- .idea/modules.xml | 8 -------- .idea/vcs.xml | 6 ------ 122 files changed, 1570 deletions(-) delete mode 100644 .idea/compiler.xml delete mode 100644 .idea/encodings.xml delete mode 100644 .idea/libraries/Maven__asm_asm_3_1.xml delete mode 100644 .idea/libraries/Maven__com_cloudera_api_cloudera_manager_api_5_10_1.xml delete mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_1_0.xml delete mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_1_0.xml delete mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_1_0.xml delete mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml delete mode 100644 .idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_1_0.xml delete mode 100644 .idea/libraries/Maven__com_github_stephenc_findbugs_findbugs_annotations_1_3_9_1.xml delete mode 100644 .idea/libraries/Maven__com_github_stephenc_high_scale_lib_high_scale_lib_1_1_1.xml delete mode 100644 .idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml delete mode 100644 .idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml delete mode 100644 .idea/libraries/Maven__com_google_guava_guava_11_0_2.xml delete mode 100644 .idea/libraries/Maven__com_google_protobuf_protobuf_java_2_5_0.xml delete mode 100644 .idea/libraries/Maven__com_jamesmurty_utils_java_xmlbuilder_0_4.xml delete mode 100644 .idea/libraries/Maven__com_jcraft_jsch_0_1_42.xml delete mode 100644 .idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml delete mode 100644 .idea/libraries/Maven__com_sun_jersey_jersey_core_1_9.xml delete mode 100644 .idea/libraries/Maven__com_sun_jersey_jersey_json_1_9.xml delete mode 100644 .idea/libraries/Maven__com_sun_jersey_jersey_server_1_9.xml delete mode 100644 .idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml delete mode 100644 .idea/libraries/Maven__com_thoughtworks_paranamer_paranamer_2_3.xml delete mode 100644 .idea/libraries/Maven__com_yammer_metrics_metrics_core_2_2_0.xml delete mode 100644 .idea/libraries/Maven__commons_beanutils_commons_beanutils_1_7_0.xml delete mode 100644 .idea/libraries/Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml delete mode 100644 .idea/libraries/Maven__commons_cli_commons_cli_1_2.xml delete mode 100644 .idea/libraries/Maven__commons_codec_commons_codec_1_4.xml delete mode 100644 .idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml delete mode 100644 .idea/libraries/Maven__commons_configuration_commons_configuration_1_6.xml delete mode 100644 .idea/libraries/Maven__commons_daemon_commons_daemon_1_0_13.xml delete mode 100644 .idea/libraries/Maven__commons_digester_commons_digester_1_8.xml delete mode 100644 .idea/libraries/Maven__commons_el_commons_el_1_0.xml delete mode 100644 .idea/libraries/Maven__commons_httpclient_commons_httpclient_3_1.xml delete mode 100644 .idea/libraries/Maven__commons_io_commons_io_2_4.xml delete mode 100644 .idea/libraries/Maven__commons_lang_commons_lang_2_6.xml delete mode 100644 .idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml delete mode 100644 .idea/libraries/Maven__commons_net_commons_net_3_1.xml delete mode 100644 .idea/libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml delete mode 100644 .idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml delete mode 100644 .idea/libraries/Maven__javax_activation_activation_1_1.xml delete mode 100644 .idea/libraries/Maven__javax_servlet_jsp_jsp_api_2_1.xml delete mode 100644 .idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml delete mode 100644 .idea/libraries/Maven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml delete mode 100644 .idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml delete mode 100644 .idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml delete mode 100644 .idea/libraries/Maven__joda_time_joda_time_2_1.xml delete mode 100644 .idea/libraries/Maven__junit_junit_4_12.xml delete mode 100644 .idea/libraries/Maven__log4j_log4j_1_2_17.xml delete mode 100644 .idea/libraries/Maven__net_java_dev_jets3t_jets3t_0_9_0.xml delete mode 100644 .idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_commons_commons_compress_1_4_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_commons_commons_math3_3_1_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_commons_commons_math_2_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_api_2_7_5.xml delete mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml delete mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml delete mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml delete mode 100644 .idea/libraries/Maven__org_apache_cxf_cxf_rt_transports_http_2_7_5.xml delete mode 100644 .idea/libraries/Maven__org_apache_directory_api_api_asn1_api_1_0_0_M20.xml delete mode 100644 .idea/libraries/Maven__org_apache_directory_api_api_util_1_0_0_M20.xml delete mode 100644 .idea/libraries/Maven__org_apache_directory_server_apacheds_i18n_2_0_0_M15.xml delete mode 100644 .idea/libraries/Maven__org_apache_directory_server_apacheds_kerberos_codec_2_0_0_M15.xml delete mode 100644 .idea/libraries/Maven__org_apache_geronimo_specs_geronimo_javamail_1_4_spec_1_7_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_common_test_jar_tests_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml delete mode 100644 .idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml delete mode 100644 .idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_1_2.xml delete mode 100644 .idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_1_2.xml delete mode 100644 .idea/libraries/Maven__org_apache_ws_xmlschema_xmlschema_core_2_0_3.xml delete mode 100644 .idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_8_8.xml delete mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_jaxrs_1_8_8.xml delete mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_8_8.xml delete mode 100644 .idea/libraries/Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml delete mode 100644 .idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml delete mode 100644 .idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_1.xml delete mode 100644 .idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_2_0.xml delete mode 100644 .idea/libraries/Maven__org_eclipse_jdt_core_3_1_1.xml delete mode 100644 .idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml delete mode 100644 .idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml delete mode 100644 .idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml delete mode 100644 .idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml delete mode 100644 .idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml delete mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml delete mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jetty_sslengine_6_1_26_cloudera_4.xml delete mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26_cloudera_4.xml delete mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml delete mode 100644 .idea/libraries/Maven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml delete mode 100644 .idea/libraries/Maven__org_mortbay_jetty_servlet_api_2_5_6_1_14.xml delete mode 100644 .idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml delete mode 100644 .idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_5.xml delete mode 100644 .idea/libraries/Maven__org_tukaani_xz_1_0.xml delete mode 100644 .idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml delete mode 100644 .idea/libraries/Maven__tomcat_jasper_compiler_5_5_23.xml delete mode 100644 .idea/libraries/Maven__tomcat_jasper_runtime_5_5_23.xml delete mode 100644 .idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml delete mode 100644 .idea/libraries/Maven__xmlenc_xmlenc_0_52.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml deleted file mode 100644 index 203cac1..0000000 --- a/.idea/compiler.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml deleted file mode 100644 index b26911b..0000000 --- a/.idea/encodings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__asm_asm_3_1.xml b/.idea/libraries/Maven__asm_asm_3_1.xml deleted file mode 100644 index 3386f10..0000000 --- a/.idea/libraries/Maven__asm_asm_3_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_cloudera_api_cloudera_manager_api_5_10_1.xml b/.idea/libraries/Maven__com_cloudera_api_cloudera_manager_api_5_10_1.xml deleted file mode 100644 index 431d9a1..0000000 --- a/.idea/libraries/Maven__com_cloudera_api_cloudera_manager_api_5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_1_0.xml deleted file mode 100644 index 0680935..0000000 --- a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_1_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_1_0.xml deleted file mode 100644 index fe79e57..0000000 --- a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_1_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_1_0.xml deleted file mode 100644 index 6770752..0000000 --- a/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_1_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml deleted file mode 100644 index bc451de..0000000 --- a/.idea/libraries/Maven__com_fasterxml_jackson_jaxrs_jackson_jaxrs_json_provider_2_1_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_1_0.xml b/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_1_0.xml deleted file mode 100644 index 34f7db8..0000000 --- a/.idea/libraries/Maven__com_fasterxml_jackson_module_jackson_module_jaxb_annotations_2_1_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_github_stephenc_findbugs_findbugs_annotations_1_3_9_1.xml b/.idea/libraries/Maven__com_github_stephenc_findbugs_findbugs_annotations_1_3_9_1.xml deleted file mode 100644 index d1d9a7c..0000000 --- a/.idea/libraries/Maven__com_github_stephenc_findbugs_findbugs_annotations_1_3_9_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_github_stephenc_high_scale_lib_high_scale_lib_1_1_1.xml b/.idea/libraries/Maven__com_github_stephenc_high_scale_lib_high_scale_lib_1_1_1.xml deleted file mode 100644 index 9730a46..0000000 --- a/.idea/libraries/Maven__com_github_stephenc_high_scale_lib_high_scale_lib_1_1_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml b/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml deleted file mode 100644 index 6644d12..0000000 --- a/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml b/.idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml deleted file mode 100644 index 4533c1b..0000000 --- a/.idea/libraries/Maven__com_google_code_gson_gson_2_2_4.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_guava_guava_11_0_2.xml b/.idea/libraries/Maven__com_google_guava_guava_11_0_2.xml deleted file mode 100644 index 01a573a..0000000 --- a/.idea/libraries/Maven__com_google_guava_guava_11_0_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_google_protobuf_protobuf_java_2_5_0.xml b/.idea/libraries/Maven__com_google_protobuf_protobuf_java_2_5_0.xml deleted file mode 100644 index c06d3a1..0000000 --- a/.idea/libraries/Maven__com_google_protobuf_protobuf_java_2_5_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_jamesmurty_utils_java_xmlbuilder_0_4.xml b/.idea/libraries/Maven__com_jamesmurty_utils_java_xmlbuilder_0_4.xml deleted file mode 100644 index a2a0c04..0000000 --- a/.idea/libraries/Maven__com_jamesmurty_utils_java_xmlbuilder_0_4.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_jcraft_jsch_0_1_42.xml b/.idea/libraries/Maven__com_jcraft_jsch_0_1_42.xml deleted file mode 100644 index 880be15..0000000 --- a/.idea/libraries/Maven__com_jcraft_jsch_0_1_42.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml b/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml deleted file mode 100644 index d523797..0000000 --- a/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_9.xml b/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_9.xml deleted file mode 100644 index abd3e5d..0000000 --- a/.idea/libraries/Maven__com_sun_jersey_jersey_core_1_9.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_jersey_jersey_json_1_9.xml b/.idea/libraries/Maven__com_sun_jersey_jersey_json_1_9.xml deleted file mode 100644 index fff6aea..0000000 --- a/.idea/libraries/Maven__com_sun_jersey_jersey_json_1_9.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_9.xml b/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_9.xml deleted file mode 100644 index 717467f..0000000 --- a/.idea/libraries/Maven__com_sun_jersey_jersey_server_1_9.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml b/.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml deleted file mode 100644 index 1165a3b..0000000 --- a/.idea/libraries/Maven__com_sun_xml_bind_jaxb_impl_2_2_3_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_thoughtworks_paranamer_paranamer_2_3.xml b/.idea/libraries/Maven__com_thoughtworks_paranamer_paranamer_2_3.xml deleted file mode 100644 index 3807eb2..0000000 --- a/.idea/libraries/Maven__com_thoughtworks_paranamer_paranamer_2_3.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_yammer_metrics_metrics_core_2_2_0.xml b/.idea/libraries/Maven__com_yammer_metrics_metrics_core_2_2_0.xml deleted file mode 100644 index fc159c5..0000000 --- a/.idea/libraries/Maven__com_yammer_metrics_metrics_core_2_2_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_beanutils_commons_beanutils_1_7_0.xml b/.idea/libraries/Maven__commons_beanutils_commons_beanutils_1_7_0.xml deleted file mode 100644 index 1cb64ed..0000000 --- a/.idea/libraries/Maven__commons_beanutils_commons_beanutils_1_7_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml b/.idea/libraries/Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml deleted file mode 100644 index 3fda2c0..0000000 --- a/.idea/libraries/Maven__commons_beanutils_commons_beanutils_core_1_8_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_cli_commons_cli_1_2.xml b/.idea/libraries/Maven__commons_cli_commons_cli_1_2.xml deleted file mode 100644 index cec2493..0000000 --- a/.idea/libraries/Maven__commons_cli_commons_cli_1_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_codec_commons_codec_1_4.xml b/.idea/libraries/Maven__commons_codec_commons_codec_1_4.xml deleted file mode 100644 index 2b149c4..0000000 --- a/.idea/libraries/Maven__commons_codec_commons_codec_1_4.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml b/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml deleted file mode 100644 index 13afda2..0000000 --- a/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_configuration_commons_configuration_1_6.xml b/.idea/libraries/Maven__commons_configuration_commons_configuration_1_6.xml deleted file mode 100644 index ae96781..0000000 --- a/.idea/libraries/Maven__commons_configuration_commons_configuration_1_6.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_daemon_commons_daemon_1_0_13.xml b/.idea/libraries/Maven__commons_daemon_commons_daemon_1_0_13.xml deleted file mode 100644 index d44fc67..0000000 --- a/.idea/libraries/Maven__commons_daemon_commons_daemon_1_0_13.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_digester_commons_digester_1_8.xml b/.idea/libraries/Maven__commons_digester_commons_digester_1_8.xml deleted file mode 100644 index 49f1def..0000000 --- a/.idea/libraries/Maven__commons_digester_commons_digester_1_8.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_el_commons_el_1_0.xml b/.idea/libraries/Maven__commons_el_commons_el_1_0.xml deleted file mode 100644 index 598d1b0..0000000 --- a/.idea/libraries/Maven__commons_el_commons_el_1_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_httpclient_commons_httpclient_3_1.xml b/.idea/libraries/Maven__commons_httpclient_commons_httpclient_3_1.xml deleted file mode 100644 index 66e6537..0000000 --- a/.idea/libraries/Maven__commons_httpclient_commons_httpclient_3_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_io_commons_io_2_4.xml b/.idea/libraries/Maven__commons_io_commons_io_2_4.xml deleted file mode 100644 index bc2aad0..0000000 --- a/.idea/libraries/Maven__commons_io_commons_io_2_4.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml b/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml deleted file mode 100644 index 2ec8376..0000000 --- a/.idea/libraries/Maven__commons_lang_commons_lang_2_6.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml b/.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml deleted file mode 100644 index 01c7b8e..0000000 --- a/.idea/libraries/Maven__commons_logging_commons_logging_1_1_3.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_net_commons_net_3_1.xml b/.idea/libraries/Maven__commons_net_commons_net_3_1.xml deleted file mode 100644 index dc40661..0000000 --- a/.idea/libraries/Maven__commons_net_commons_net_3_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml b/.idea/libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml deleted file mode 100644 index 91c84d6..0000000 --- a/.idea/libraries/Maven__hsqldb_hsqldb_1_8_0_10.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml b/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml deleted file mode 100644 index 7305d82..0000000 --- a/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_activation_activation_1_1.xml b/.idea/libraries/Maven__javax_activation_activation_1_1.xml deleted file mode 100644 index 180d587..0000000 --- a/.idea/libraries/Maven__javax_activation_activation_1_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_servlet_jsp_jsp_api_2_1.xml b/.idea/libraries/Maven__javax_servlet_jsp_jsp_api_2_1.xml deleted file mode 100644 index 4b5f67f..0000000 --- a/.idea/libraries/Maven__javax_servlet_jsp_jsp_api_2_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml b/.idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml deleted file mode 100644 index 679e09a..0000000 --- a/.idea/libraries/Maven__javax_servlet_servlet_api_2_5.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml b/.idea/libraries/Maven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml deleted file mode 100644 index 2beb634..0000000 --- a/.idea/libraries/Maven__javax_ws_rs_javax_ws_rs_api_2_0_m10.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml b/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml deleted file mode 100644 index a3054d2..0000000 --- a/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml b/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml deleted file mode 100644 index 2a4dd7a..0000000 --- a/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__joda_time_joda_time_2_1.xml b/.idea/libraries/Maven__joda_time_joda_time_2_1.xml deleted file mode 100644 index 2646c87..0000000 --- a/.idea/libraries/Maven__joda_time_joda_time_2_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__junit_junit_4_12.xml b/.idea/libraries/Maven__junit_junit_4_12.xml deleted file mode 100644 index d411041..0000000 --- a/.idea/libraries/Maven__junit_junit_4_12.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__log4j_log4j_1_2_17.xml b/.idea/libraries/Maven__log4j_log4j_1_2_17.xml deleted file mode 100644 index e383c1b..0000000 --- a/.idea/libraries/Maven__log4j_log4j_1_2_17.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__net_java_dev_jets3t_jets3t_0_9_0.xml b/.idea/libraries/Maven__net_java_dev_jets3t_jets3t_0_9_0.xml deleted file mode 100644 index f4ff312..0000000 --- a/.idea/libraries/Maven__net_java_dev_jets3t_jets3t_0_9_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml deleted file mode 100644 index 4ee9f9f..0000000 --- a/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_commons_commons_compress_1_4_1.xml b/.idea/libraries/Maven__org_apache_commons_commons_compress_1_4_1.xml deleted file mode 100644 index 190209e..0000000 --- a/.idea/libraries/Maven__org_apache_commons_commons_compress_1_4_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_commons_commons_math3_3_1_1.xml b/.idea/libraries/Maven__org_apache_commons_commons_math3_3_1_1.xml deleted file mode 100644 index 5627f0c..0000000 --- a/.idea/libraries/Maven__org_apache_commons_commons_math3_3_1_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_commons_commons_math_2_1.xml b/.idea/libraries/Maven__org_apache_commons_commons_math_2_1.xml deleted file mode 100644 index eaa8a65..0000000 --- a/.idea/libraries/Maven__org_apache_commons_commons_math_2_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml deleted file mode 100644 index 18c48a6..0000000 --- a/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml deleted file mode 100644 index 43f068b..0000000 --- a/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml deleted file mode 100644 index 3f3e79a..0000000 --- a/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_api_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_api_2_7_5.xml deleted file mode 100644 index d221716..0000000 --- a/.idea/libraries/Maven__org_apache_cxf_cxf_api_2_7_5.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml deleted file mode 100644 index b108789..0000000 --- a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_bindings_xml_2_7_5.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml deleted file mode 100644 index 9f18356..0000000 --- a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_core_2_7_5.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml deleted file mode 100644 index 49764ff..0000000 --- a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_frontend_jaxrs_2_7_5.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_transports_http_2_7_5.xml b/.idea/libraries/Maven__org_apache_cxf_cxf_rt_transports_http_2_7_5.xml deleted file mode 100644 index f4416d7..0000000 --- a/.idea/libraries/Maven__org_apache_cxf_cxf_rt_transports_http_2_7_5.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_directory_api_api_asn1_api_1_0_0_M20.xml b/.idea/libraries/Maven__org_apache_directory_api_api_asn1_api_1_0_0_M20.xml deleted file mode 100644 index bd5ac37..0000000 --- a/.idea/libraries/Maven__org_apache_directory_api_api_asn1_api_1_0_0_M20.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_directory_api_api_util_1_0_0_M20.xml b/.idea/libraries/Maven__org_apache_directory_api_api_util_1_0_0_M20.xml deleted file mode 100644 index b3d86af..0000000 --- a/.idea/libraries/Maven__org_apache_directory_api_api_util_1_0_0_M20.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_directory_server_apacheds_i18n_2_0_0_M15.xml b/.idea/libraries/Maven__org_apache_directory_server_apacheds_i18n_2_0_0_M15.xml deleted file mode 100644 index 7a73f45..0000000 --- a/.idea/libraries/Maven__org_apache_directory_server_apacheds_i18n_2_0_0_M15.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_directory_server_apacheds_kerberos_codec_2_0_0_M15.xml b/.idea/libraries/Maven__org_apache_directory_server_apacheds_kerberos_codec_2_0_0_M15.xml deleted file mode 100644 index 5378216..0000000 --- a/.idea/libraries/Maven__org_apache_directory_server_apacheds_kerberos_codec_2_0_0_M15.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_geronimo_specs_geronimo_javamail_1_4_spec_1_7_1.xml b/.idea/libraries/Maven__org_apache_geronimo_specs_geronimo_javamail_1_4_spec_1_7_1.xml deleted file mode 100644 index ea18758..0000000 --- a/.idea/libraries/Maven__org_apache_geronimo_specs_geronimo_javamail_1_4_spec_1_7_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml deleted file mode 100644 index c660671..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml deleted file mode 100644 index c4d73e2..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml deleted file mode 100644 index 70dd7fa..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml deleted file mode 100644 index 570c836..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml deleted file mode 100644 index 6b145fc..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml deleted file mode 100644 index 7aceb0c..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml deleted file mode 100644 index 84dc5d8..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml deleted file mode 100644 index b869d5d..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml deleted file mode 100644 index c7c0f48..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml deleted file mode 100644 index dfb0079..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_common_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_common_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_common_test_jar_tests_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 0cd5381..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_common_test_jar_tests_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml deleted file mode 100644 index beaf023..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml deleted file mode 100644 index b2e28e5..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop2_compat_test_jar_tests_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml deleted file mode 100644 index a82849f..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 3bbdd71..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_hadoop_compat_test_jar_tests_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 5984ac2..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 2578825..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 1601fa9..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_protocol_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 87dbfcb..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 2661e79..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml b/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml deleted file mode 100644 index aebd338..0000000 --- a/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml b/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml deleted file mode 100644 index 058ac96..0000000 --- a/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_1_2.xml b/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_1_2.xml deleted file mode 100644 index 1e5c3b5..0000000 --- a/.idea/libraries/Maven__org_apache_httpcomponents_httpclient_4_1_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_1_2.xml b/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_1_2.xml deleted file mode 100644 index 9548c49..0000000 --- a/.idea/libraries/Maven__org_apache_httpcomponents_httpcore_4_1_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_ws_xmlschema_xmlschema_core_2_0_3.xml b/.idea/libraries/Maven__org_apache_ws_xmlschema_xmlschema_core_2_0_3.xml deleted file mode 100644 index 0b28957..0000000 --- a/.idea/libraries/Maven__org_apache_ws_xmlschema_xmlschema_core_2_0_3.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml deleted file mode 100644 index 28acdcf..0000000 --- a/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_8_8.xml b/.idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_8_8.xml deleted file mode 100644 index d649056..0000000 --- a/.idea/libraries/Maven__org_codehaus_jackson_jackson_core_asl_1_8_8.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jackson_jackson_jaxrs_1_8_8.xml b/.idea/libraries/Maven__org_codehaus_jackson_jackson_jaxrs_1_8_8.xml deleted file mode 100644 index 2e6814f..0000000 --- a/.idea/libraries/Maven__org_codehaus_jackson_jackson_jaxrs_1_8_8.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_8_8.xml b/.idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_8_8.xml deleted file mode 100644 index 148cdfd..0000000 --- a/.idea/libraries/Maven__org_codehaus_jackson_jackson_mapper_asl_1_8_8.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml b/.idea/libraries/Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml deleted file mode 100644 index 9fc3894..0000000 --- a/.idea/libraries/Maven__org_codehaus_jackson_jackson_xc_1_8_3.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml b/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml deleted file mode 100644 index d62802e..0000000 --- a/.idea/libraries/Maven__org_codehaus_jettison_jettison_1_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_1.xml b/.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_1.xml deleted file mode 100644 index 3182f88..0000000 --- a/.idea/libraries/Maven__org_codehaus_woodstox_stax2_api_3_1_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_2_0.xml b/.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_2_0.xml deleted file mode 100644 index 203937d..0000000 --- a/.idea/libraries/Maven__org_codehaus_woodstox_woodstox_core_asl_4_2_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_eclipse_jdt_core_3_1_1.xml b/.idea/libraries/Maven__org_eclipse_jdt_core_3_1_1.xml deleted file mode 100644 index ae34fa9..0000000 --- a/.idea/libraries/Maven__org_eclipse_jdt_core_3_1_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml b/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml deleted file mode 100644 index 4a829d2..0000000 --- a/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml deleted file mode 100644 index f58bbc1..0000000 --- a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml b/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml deleted file mode 100644 index 8858b4f..0000000 --- a/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml b/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml deleted file mode 100644 index 7e032d7..0000000 --- a/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml b/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml deleted file mode 100644 index a557ab1..0000000 --- a/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml b/.idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml deleted file mode 100644 index d0c7031..0000000 --- a/.idea/libraries/Maven__org_mortbay_jetty_jetty_6_1_26_cloudera_4.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jetty_sslengine_6_1_26_cloudera_4.xml b/.idea/libraries/Maven__org_mortbay_jetty_jetty_sslengine_6_1_26_cloudera_4.xml deleted file mode 100644 index 4bdda3e..0000000 --- a/.idea/libraries/Maven__org_mortbay_jetty_jetty_sslengine_6_1_26_cloudera_4.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26_cloudera_4.xml b/.idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26_cloudera_4.xml deleted file mode 100644 index 9c48858..0000000 --- a/.idea/libraries/Maven__org_mortbay_jetty_jetty_util_6_1_26_cloudera_4.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml b/.idea/libraries/Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml deleted file mode 100644 index cc33d9f..0000000 --- a/.idea/libraries/Maven__org_mortbay_jetty_jsp_2_1_6_1_14.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml b/.idea/libraries/Maven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml deleted file mode 100644 index 590bc87..0000000 --- a/.idea/libraries/Maven__org_mortbay_jetty_jsp_api_2_1_6_1_14.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_mortbay_jetty_servlet_api_2_5_6_1_14.xml b/.idea/libraries/Maven__org_mortbay_jetty_servlet_api_2_5_6_1_14.xml deleted file mode 100644 index 5536a9c..0000000 --- a/.idea/libraries/Maven__org_mortbay_jetty_servlet_api_2_5_6_1_14.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml deleted file mode 100644 index 6f808f1..0000000 --- a/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_5.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_5.xml b/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_5.xml deleted file mode 100644 index df1d383..0000000 --- a/.idea/libraries/Maven__org_slf4j_slf4j_log4j12_1_7_5.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_tukaani_xz_1_0.xml b/.idea/libraries/Maven__org_tukaani_xz_1_0.xml deleted file mode 100644 index 8b8042f..0000000 --- a/.idea/libraries/Maven__org_tukaani_xz_1_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml b/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml deleted file mode 100644 index ee11787..0000000 --- a/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__tomcat_jasper_compiler_5_5_23.xml b/.idea/libraries/Maven__tomcat_jasper_compiler_5_5_23.xml deleted file mode 100644 index 4610fa2..0000000 --- a/.idea/libraries/Maven__tomcat_jasper_compiler_5_5_23.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__tomcat_jasper_runtime_5_5_23.xml b/.idea/libraries/Maven__tomcat_jasper_runtime_5_5_23.xml deleted file mode 100644 index e80db89..0000000 --- a/.idea/libraries/Maven__tomcat_jasper_runtime_5_5_23.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml b/.idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml deleted file mode 100644 index 8310dc8..0000000 --- a/.idea/libraries/Maven__wsdl4j_wsdl4j_1_6_3.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__xmlenc_xmlenc_0_52.xml b/.idea/libraries/Maven__xmlenc_xmlenc_0_52.xml deleted file mode 100644 index 59d176d..0000000 --- a/.idea/libraries/Maven__xmlenc_xmlenc_0_52.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index de17de1..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file From 20a85e2d0e669211931bc92f61c87dffce6134b1 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Mon, 26 Jun 2017 05:20:50 -0400 Subject: [PATCH 04/16] Fixed Build errors --- hbase.multicluster.iml | 132 ----------------------------------------- 1 file changed, 132 deletions(-) delete mode 100644 hbase.multicluster.iml diff --git a/hbase.multicluster.iml b/hbase.multicluster.iml deleted file mode 100644 index 2a79f7f..0000000 --- a/hbase.multicluster.iml +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file From 1c487efb0fe9bc9da127af104057c3602570845b Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Mon, 26 Jun 2017 11:30:44 +0200 Subject: [PATCH 05/16] Post Build fixes --- pom.xml | 26 +- .../client/HBaseMultiClusterConfigUtil.java | 7 + .../hbase/client/HBaseTableFunction.java | 2 +- ...HConnectionManagerMultiClusterWrapper.java | 12 +- .../hbase/client/HConnectionMultiCluster.java | 483 +++++++++--------- .../hbase/client/HTableMultiCluster.java | 132 ++--- .../hbase/client/SpeculativeMutater.java | 6 +- .../hbase/client/SpeculativeRequester.java | 6 +- ...ultiThreadedMultiClusterWithCmApiTest.java | 10 +- ...eadedMultiClusterWithCombinedFileTest.java | 6 +- .../hbase/test/RunMultiClusterTest.java | 6 +- .../client/HBaseMultiClusterClientTest.java | 15 +- 12 files changed, 377 insertions(+), 334 deletions(-) diff --git a/pom.xml b/pom.xml index 98c17d6..de8062c 100644 --- a/pom.xml +++ b/pom.xml @@ -22,77 +22,77 @@ org.apache.hadoop hadoop-common - 2.5.0-cdh5.3.0 + 2.6.0-cdh5.10.1 org.apache.hadoop hadoop-common - 2.5.0-cdh5.3.0 + 2.6.0-cdh5.10.1 test-jar tests org.apache.hbase hbase-client - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-server - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 test-jar org.apache.hbase hbase-server - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-protocol - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-hadoop2-compat - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-hadoop2-compat - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 test-jar tests org.apache.hbase hbase-common - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-common - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 test-jar tests org.apache.hbase hbase-hadoop-compat - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 org.apache.hbase hbase-hadoop-compat - 0.98.6-cdh5.3.0 + 1.2.0-cdh5.10.1 test-jar tests com.cloudera.api cloudera-manager-api - 5.3.1 + 5.10.1 org.apache.cxf diff --git a/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java b/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java index 42543b0..3d32002 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java @@ -199,6 +199,13 @@ public static Configuration combineConfigurations(Configuration primary, Configu return combineConfigurations(primary, map); } + public static Configuration combineConfigurations(Configuration primary, Configuration failover, Configuration failover2 ) { + Map map = new HashMap(); + map.put("failover1", failover); + map.put("failover2", failover2); + return combineConfigurations(primary, map); + } + // This method obtains the Hbase configuration from 2 clusters and combines // them public static Configuration combineConfigurations(String host1, String user1, String pwd1, diff --git a/src/main/java/org/apache/hadoop/hbase/client/HBaseTableFunction.java b/src/main/java/org/apache/hadoop/hbase/client/HBaseTableFunction.java index e0c3a8f..d2c2b53 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HBaseTableFunction.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HBaseTableFunction.java @@ -3,5 +3,5 @@ import org.apache.hadoop.hbase.client.HTableInterface; public interface HBaseTableFunction { - public T call(HTableInterface table) throws Exception; + public T call(Table table) throws Exception; } diff --git a/src/main/java/org/apache/hadoop/hbase/client/HConnectionManagerMultiClusterWrapper.java b/src/main/java/org/apache/hadoop/hbase/client/HConnectionManagerMultiClusterWrapper.java index f8fe1c0..5ef01ea 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HConnectionManagerMultiClusterWrapper.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HConnectionManagerMultiClusterWrapper.java @@ -11,7 +11,7 @@ public class HConnectionManagerMultiClusterWrapper { - public static HConnection createConnection(Configuration conf) + public static Connection createConnection(Configuration conf) throws IOException { Logger LOG = Logger.getLogger(HConnectionManagerMultiClusterWrapper.class); @@ -21,31 +21,31 @@ public static HConnection createConnection(Configuration conf) if (failoverClusters.size() == 0) { LOG.info(" -- Getting a signle cluster connection !!"); - return HConnectionManager.createConnection(conf); + return ConnectionFactory.createConnection(conf); } else { Map configMap = HBaseMultiClusterConfigUtil .splitMultiConfigFile(conf); LOG.info(" -- Getting primary Connction"); - HConnection primaryConnection = HConnectionManager + Connection primaryConnection = ConnectionFactory .createConnection(configMap .get(HBaseMultiClusterConfigUtil.PRIMARY_NAME)); LOG.info(" --- Got primary Connction"); - ArrayList failoverConnections = new ArrayList(); + ArrayList failoverConnections = new ArrayList(); for (Entry entry : configMap.entrySet()) { if (!entry.getKey().equals(HBaseMultiClusterConfigUtil.PRIMARY_NAME)) { LOG.info(" -- Getting failure Connction"); - failoverConnections.add(HConnectionManager.createConnection(entry + failoverConnections.add(ConnectionFactory.createConnection(entry .getValue())); LOG.info(" --- Got failover Connction"); } } return new HConnectionMultiCluster(conf, primaryConnection, - failoverConnections.toArray(new HConnection[0])); + failoverConnections.toArray(new Connection[0])); } } } diff --git a/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java index bbd9cb8..358ad82 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java @@ -14,10 +14,10 @@ import org.apache.hadoop.hbase.protobuf.generated.MasterProtos.MasterService.BlockingInterface; import org.apache.hadoop.hbase.util.Bytes; -public class HConnectionMultiCluster implements HConnection { +public class HConnectionMultiCluster implements Connection { - HConnection primaryConnection; - HConnection[] failoverConnections; + Connection primaryConnection; + Connection[] failoverConnections; Configuration originalConfiguration; boolean isMasterMaster; int waitTimeBeforeAcceptingResults; @@ -34,7 +34,7 @@ public class HConnectionMultiCluster implements HConnection { ExecutorService executor; public HConnectionMultiCluster(Configuration originalConfiguration, - HConnection primaryConnection, HConnection[] failoverConnections) { + Connection primaryConnection, Connection[] failoverConnections) { this.primaryConnection = primaryConnection; this.failoverConnections = failoverConnections; this.originalConfiguration = originalConfiguration; @@ -78,7 +78,7 @@ public HConnectionMultiCluster(Configuration originalConfiguration, public void abort(String why, Throwable e) { primaryConnection.abort(why, e); - for (HConnection failOverConnection : failoverConnections) { + for (Connection failOverConnection : failoverConnections) { failOverConnection.abort(why, e); } } @@ -96,7 +96,7 @@ public void close() throws IOException { LOG.error("Exception while closing primary", e); lastException = e; } - for (HConnection failOverConnection : failoverConnections) { + for (Connection failOverConnection : failoverConnections) { try { failOverConnection.close(); } catch (Exception e) { @@ -113,29 +113,29 @@ public Configuration getConfiguration() { return originalConfiguration; } - @Override - public HTableInterface getTable(String tableName) throws IOException { + + public Table getTable(String tableName) throws IOException { return this.getTable(Bytes.toBytes(tableName)); } - @Override - public HTableInterface getTable(byte[] tableName) throws IOException { + + public Table getTable(byte[] tableName) throws IOException { return this.getTable(TableName.valueOf(tableName)); } - @Override - public HTableInterface getTable(TableName tableName) throws IOException { + + public Table getTable(TableName tableName) throws IOException { LOG.info(" -- getting primaryHTable" + primaryConnection.getConfiguration().get("hbase.zookeeper.quorum")); - HTableInterface primaryHTable = primaryConnection.getTable(tableName); - primaryHTable.setAutoFlush(true, true); + Table primaryHTable = primaryConnection.getTable(tableName); + primaryConnection.getBufferedMutator(tableName).flush(); LOG.info(" --- got primaryHTable"); - ArrayList failoverHTables = new ArrayList(); - for (HConnection failOverConnection : failoverConnections) { + ArrayList
failoverHTables = new ArrayList
(); + for (Connection failOverConnection : failoverConnections) { LOG.info(" -- getting failoverHTable:" + failOverConnection.getConfiguration().get("hbase.zookeeper.quorum")); - HTableInterface htable = failOverConnection.getTable(tableName); - htable.setAutoFlush(true, true); + Table htable = failOverConnection.getTable(tableName); + primaryConnection.getBufferedMutator(tableName).flush(); failoverHTables.add(htable); LOG.info(" --- got failoverHTable"); @@ -153,21 +153,21 @@ public HTableInterface getTable(TableName tableName) throws IOException { waitTimeFromLastPrimaryFail); } - public HTableInterface getTable(String tableName, ExecutorService pool) + public Table getTable(String tableName, ExecutorService pool) throws IOException { return this.getTable(TableName.valueOf(tableName), pool); } - public HTableInterface getTable(byte[] tableName, ExecutorService pool) + public Table getTable(byte[] tableName, ExecutorService pool) throws IOException { return this.getTable(TableName.valueOf(tableName), pool); } - public HTableInterface getTable(TableName tableName, ExecutorService pool) + public Table getTable(TableName tableName, ExecutorService pool) throws IOException { - HTableInterface primaryHTable = primaryConnection.getTable(tableName, pool); - ArrayList failoverHTables = new ArrayList(); - for (HConnection failOverConnection : failoverConnections) { + Table primaryHTable = primaryConnection.getTable(tableName, pool); + ArrayList
failoverHTables = new ArrayList
(); + for (Connection failOverConnection : failoverConnections) { failoverHTables.add(failOverConnection.getTable(tableName, pool)); } @@ -183,193 +183,210 @@ public HTableInterface getTable(TableName tableName, ExecutorService pool) waitTimeFromLastPrimaryFail); } + @Override + public BufferedMutator getBufferedMutator(TableName tableName) throws IOException { + return null; + } + + @Override + public BufferedMutator getBufferedMutator(BufferedMutatorParams bufferedMutatorParams) throws IOException { + return null; + } + + @Override + public RegionLocator getRegionLocator(TableName tableName) throws IOException { + return null; + } + + @Override + public Admin getAdmin() throws IOException { + return null; + } + public boolean isMasterRunning() throws MasterNotRunningException, - ZooKeeperConnectionException { - return primaryConnection.isMasterRunning(); + ZooKeeperConnectionException, IOException { + return primaryConnection.getAdmin().getClusterStatus().getMaster() != null; } - + public boolean isTableEnabled(TableName tableName) throws IOException { - return primaryConnection.isTableEnabled(tableName); + return primaryConnection.getAdmin().isTableEnabled(tableName); } @Deprecated public boolean isTableEnabled(byte[] tableName) throws IOException { - return primaryConnection.isTableEnabled(tableName); + return primaryConnection.getAdmin().isTableEnabled(TableName.valueOf(tableName)); } public boolean isTableDisabled(TableName tableName) throws IOException { - return primaryConnection.isTableDisabled(tableName); + return primaryConnection.getAdmin().isTableDisabled(tableName); } @Deprecated public boolean isTableDisabled(byte[] tableName) throws IOException { - return primaryConnection.isTableDisabled(tableName); + return primaryConnection.getAdmin().isTableDisabled(TableName.valueOf(tableName)); } public boolean isTableAvailable(TableName tableName) throws IOException { - return primaryConnection.isTableAvailable(tableName); + return primaryConnection.getAdmin().isTableAvailable(tableName); } @Deprecated public boolean isTableAvailable(byte[] tableName) throws IOException { - return primaryConnection.isTableAvailable(tableName); + return primaryConnection.getAdmin().isTableAvailable(TableName.valueOf(tableName)); } public boolean isTableAvailable(TableName tableName, byte[][] splitKeys) throws IOException { - return primaryConnection.isTableAvailable(tableName, splitKeys); + return primaryConnection.getAdmin().isTableAvailable(tableName, splitKeys); } @Deprecated public boolean isTableAvailable(byte[] tableName, byte[][] splitKeys) throws IOException { - return primaryConnection.isTableAvailable(tableName, splitKeys); + return primaryConnection.getAdmin().isTableAvailable(TableName.valueOf(tableName), splitKeys); } public HTableDescriptor[] listTables() throws IOException { - return primaryConnection.listTables(); + return primaryConnection.getAdmin().listTables(); } @Deprecated - public String[] getTableNames() throws IOException { - return primaryConnection.getTableNames(); - } +// public String[] getTableNames() throws IOException { +// return primaryConnection.getAdmin().listTableNames().toString(); +// } public TableName[] listTableNames() throws IOException { - return primaryConnection.listTableNames(); + return primaryConnection.getAdmin().listTableNames(); } public HTableDescriptor getHTableDescriptor(TableName tableName) throws IOException { - return primaryConnection.getHTableDescriptor(tableName); - } - - @Deprecated - public - HTableDescriptor getHTableDescriptor(byte[] tableName) throws IOException { - return primaryConnection.getHTableDescriptor(tableName); - } - - public HRegionLocation locateRegion(TableName tableName, byte[] row) - throws IOException { - return primaryConnection.locateRegion(tableName, row); + return primaryConnection.getAdmin().getTableDescriptor(tableName); } @Deprecated - public HRegionLocation locateRegion(byte[] tableName, byte[] row) - throws IOException { - return primaryConnection.locateRegion(tableName, row); - } - - public void clearRegionCache() { - primaryConnection.clearRegionCache(); - } - - public void clearRegionCache(TableName tableName) { - primaryConnection.clearRegionCache(tableName); - } - - @Deprecated - public - void clearRegionCache(byte[] tableName) { - primaryConnection.clearRegionCache(tableName); - - } - - public void deleteCachedRegionLocation(HRegionLocation location) { - primaryConnection.deleteCachedRegionLocation(location); - } - - public HRegionLocation relocateRegion(TableName tableName, byte[] row) - throws IOException { - return primaryConnection.relocateRegion(tableName, row); - } - - @Deprecated - public - HRegionLocation relocateRegion(byte[] tableName, byte[] row) - throws IOException { - return primaryConnection.relocateRegion(tableName, row); - } - - public void updateCachedLocations(TableName tableName, byte[] rowkey, - Object exception, HRegionLocation source) { - primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); - } - - @Deprecated - public - void updateCachedLocations(byte[] tableName, byte[] rowkey, Object exception, - HRegionLocation source) { - primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); - } - - public HRegionLocation locateRegion(byte[] regionName) throws IOException { - return primaryConnection.locateRegion(regionName); - } - - public List locateRegions(TableName tableName) - throws IOException { - return primaryConnection.locateRegions(tableName); - } - - @Deprecated - public - List locateRegions(byte[] tableName) throws IOException { - return (List) primaryConnection.locateRegion(tableName); - } - - public List locateRegions(TableName tableName, - boolean useCache, boolean offlined) throws IOException { - return (List) primaryConnection.locateRegions(tableName, - useCache, offlined); - } - - @Deprecated - public List locateRegions(byte[] tableName, - boolean useCache, boolean offlined) throws IOException { - return (List) primaryConnection.locateRegions(tableName, - useCache, offlined); - } - - public BlockingInterface getMaster() throws IOException { - return primaryConnection.getMaster(); - } - - public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( - ServerName serverName) throws IOException { - return primaryConnection.getAdmin(serverName); - } - - public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClient( - ServerName serverName) throws IOException { - return primaryConnection.getClient(serverName); - } - - public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( - ServerName serverName, boolean getMaster) throws IOException { - return primaryConnection.getAdmin(serverName); - } + public HTableDescriptor getHTableDescriptor(byte[] tableName) throws IOException { + return primaryConnection.getAdmin().getTableDescriptor(TableName.valueOf(tableName)); + } + +// public HRegionLocation locateRegion(TableName tableName, byte[] row) +// throws IOException { +// return primaryConnection.locateRegion(tableName, row); +// } + +// @Deprecated +// public HRegionLocation locateRegion(byte[] tableName, byte[] row) +// throws IOException { +// return primaryConnection.locateRegion(tableName, row); +// } + +// public void clearRegionCache() { +// primaryConnection.clearRegionCache(); +// } +// +// public void clearRegionCache(TableName tableName) { +// primaryConnection.clearRegionCache(tableName); +// } + +// @Deprecated +// public +// void clearRegionCache(byte[] tableName) { +// primaryConnection.clearRegionCache(tableName); +// } + +// public void deleteCachedRegionLocation(HRegionLocation location) { +// primaryConnection.deleteCachedRegionLocation(location); +// } + +// public HRegionLocation relocateRegion(TableName tableName, byte[] row) +// throws IOException { +// return primaryConnection.relocateRegion(tableName, row); +// } + +// @Deprecated +// public +// HRegionLocation relocateRegion(byte[] tableName, byte[] row) +// throws IOException { +// return primaryConnection.relocateRegion(tableName, row); +// } + +// public void updateCachedLocations(TableName tableName, byte[] rowkey, +// Object exception, HRegionLocation source) { +// primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); +// } + +// @Deprecated +// public +// void updateCachedLocations(byte[] tableName, byte[] rowkey, Object exception, +// HRegionLocation source) { +// primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); +// } + +// public HRegionLocation locateRegion(byte[] regionName) throws IOException { +// return primaryConnection.locateRegion(regionName); +// } + +// public List locateRegions(TableName tableName) +// throws IOException { +// return primaryConnection.locateRegions(tableName); +// } + +// @Deprecated +// public +// List locateRegions(byte[] tableName) throws IOException { +// return (List) primaryConnection.locateRegion(tableName); +// } +// +// public List locateRegions(TableName tableName, +// boolean useCache, boolean offlined) throws IOException { +// return (List) primaryConnection.locateRegions(tableName, +// useCache, offlined); +// } + +// @Deprecated +// public List locateRegions(byte[] tableName, +// boolean useCache, boolean offlined) throws IOException { +// return (List) primaryConnection.locateRegions(tableName, +// useCache, offlined); +// } + +// public BlockingInterface getMaster() throws IOException { +// return primaryConnection.getAdmin().getClusterStatus().getMaster(); +// } + +// public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( +// ServerName serverName) throws IOException { +// return primaryConnection.getAdmin(serverName); +// } + +// public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClient( +// ServerName serverName) throws IOException { +// return primaryConnection.getClient(serverName); +// } + +// public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( +// ServerName serverName, boolean getMaster) throws IOException { +// return primaryConnection.getAdmin(serverName); +// } public HRegionLocation getRegionLocation(TableName tableName, byte[] row, boolean reload) throws IOException { - return primaryConnection.getRegionLocation(tableName, row, reload); + return primaryConnection.getRegionLocator(tableName).getRegionLocation(row, reload); } @Deprecated public HRegionLocation getRegionLocation(byte[] tableName, byte[] row, boolean reload) throws IOException { - return primaryConnection.getRegionLocation(tableName, row, reload); + return primaryConnection.getRegionLocator(TableName.valueOf(tableName)).getRegionLocation(row, reload); } @Deprecated - public - void processBatch(List actions, TableName tableName, + public void processBatch(List actions, TableName tableName, ExecutorService pool, Object[] results) throws IOException, InterruptedException { throw new RuntimeException("processBatch not supported in " + this.getClass()); @@ -381,106 +398,106 @@ void processBatch(List actions, TableName tableName, void processBatch(List actions, byte[] tableName, ExecutorService pool, Object[] results) throws IOException, InterruptedException { - primaryConnection.processBatch(actions, tableName, pool, results); + primaryConnection.getTable(TableName.valueOf(tableName)).batch(actions, results); } @Deprecated public void processBatchCallback(List list, TableName tableName, ExecutorService pool, Object[] results, Callback callback) throws IOException, InterruptedException { - primaryConnection.processBatchCallback(list, tableName, pool, results, callback); + primaryConnection.getTable(tableName).batchCallback(list, results, callback); } @Deprecated public void processBatchCallback(List list, byte[] tableName, ExecutorService pool, Object[] results, Callback callback) throws IOException, InterruptedException { - primaryConnection.processBatchCallback(list, tableName, pool, results, callback); - - } - - public void setRegionCachePrefetch(TableName tableName, boolean enable) { - RuntimeException lastException = null; - try { - primaryConnection.setRegionCachePrefetch(tableName, enable); - } catch (RuntimeException e) { - LOG.error("Exception while closing primary", e); - lastException = e; - } - for (HConnection failOverConnection : failoverConnections) { - try { - failOverConnection.setRegionCachePrefetch(tableName, enable); - } catch (RuntimeException e) { - LOG.error("Exception while closing failOverConnection", e); - lastException = e; - } - } - if (lastException != null) { - throw lastException; - } - - } - - public void setRegionCachePrefetch(byte[] tableName, boolean enable) { - this.setRegionCachePrefetch(TableName.valueOf(tableName), enable); - } - - public boolean getRegionCachePrefetch(TableName tableName) { - return this.getRegionCachePrefetch(tableName); - } - - public boolean getRegionCachePrefetch(byte[] tableName) { - return this.getRegionCachePrefetch(TableName.valueOf(tableName)); - } - - public int getCurrentNrHRS() throws IOException { - return primaryConnection.getCurrentNrHRS(); - } - - public HTableDescriptor[] getHTableDescriptorsByTableName( - List tableNames) throws IOException { - return primaryConnection.getHTableDescriptorsByTableName(tableNames); - } - - @Deprecated - public - HTableDescriptor[] getHTableDescriptors(List tableNames) - throws IOException { - return primaryConnection.getHTableDescriptors(tableNames); - } + primaryConnection.getTable(TableName.valueOf(tableName)).batchCallback(list, results, callback); + + } + +// public void setRegionCachePrefetch(TableName tableName, boolean enable) { +// RuntimeException lastException = null; +// try { +// primaryConnection.setRegionCachePrefetch(tableName, enable); +// } catch (RuntimeException e) { +// LOG.error("Exception while closing primary", e); +// lastException = e; +// } +// for (Connection failOverConnection : failoverConnections) { +// try { +// failOverConnection.setRegionCachePrefetch(tableName, enable); +// } catch (RuntimeException e) { +// LOG.error("Exception while closing failOverConnection", e); +// lastException = e; +// } +// } +// if (lastException != null) { +// throw lastException; +// } +// +// } + +// public void setRegionCachePrefetch(byte[] tableName, boolean enable) { +// this.setRegionCachePrefetch(TableName.valueOf(tableName), enable); +// } + +// public boolean getRegionCachePrefetch(TableName tableName) { +// return this.getRegionCachePrefetch(tableName); +// } + +// public boolean getRegionCachePrefetch(byte[] tableName) { +// return this.getRegionCachePrefetch(TableName.valueOf(tableName)); +// } + +// public int getCurrentNrHRS() throws IOException { +// return primaryConnection.getCurrentNrHRS(); +// } + +// public HTableDescriptor[] getHTableDescriptorsByTableName( +// List tableNames) throws IOException { +// return primaryConnection.getAdmin().getTableDescriptor(tableNames) +// } +// +// @Deprecated +// public +// HTableDescriptor[] getHTableDescriptors(List tableNames) +// throws IOException { +// return primaryConnection.getAdmin().getTableDescriptor(tableNames); +// } public boolean isClosed() { return primaryConnection.isClosed(); } - public void clearCaches(ServerName sn) { - RuntimeException lastException = null; - try { - primaryConnection.clearCaches(sn); - } catch (RuntimeException e) { - LOG.error("Exception while closing primary", e); - lastException = e; - } - for (HConnection failOverConnection : failoverConnections) { - try { - failOverConnection.clearCaches(sn); - } catch (RuntimeException e) { - LOG.error("Exception while closing failOverConnection", e); - lastException = e; - } - } - if (lastException != null) { - throw lastException; - } - } - - public boolean isDeadServer(ServerName serverName) { - return primaryConnection.isDeadServer(serverName); - } - - public NonceGenerator getNonceGenerator() { - return primaryConnection.getNonceGenerator(); - } +// public void clearCaches(ServerName sn) { +// RuntimeException lastException = null; +// try { +// primaryConnection.clearCaches(sn); +// } catch (RuntimeException e) { +// LOG.error("Exception while closing primary", e); +// lastException = e; +// } +// for (Connection failOverConnection : failoverConnections) { +// try { +// failOverConnection.clearCaches(sn); +// } catch (RuntimeException e) { +// LOG.error("Exception while closing failOverConnection", e); +// lastException = e; +// } +// } +// if (lastException != null) { +// throw lastException; +// } +// } + +// public boolean isDeadServer(ServerName serverName) { +// return primaryConnection.isDeadServer(serverName); +// } +// +// public NonceGenerator getNonceGenerator() { +// return primaryConnection.getNonceGenerator(); +// } @Deprecated diff --git a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java index 6ba0518..eb5006b 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java @@ -25,10 +25,10 @@ import java.util.Map.Entry; import java.util.concurrent.atomic.AtomicLong; -public class HTableMultiCluster implements HTableInterface { +public class HTableMultiCluster implements Table { - HTableInterface primaryHTable; - Collection failoverHTables; + Table primaryHTable; + Collection
failoverHTables; Configuration originalConfiguration; boolean isMasterMaster; int waitTimeBeforeAcceptingResults; @@ -56,8 +56,8 @@ public HTableStats getStats() { } public HTableMultiCluster(Configuration originalConfiguration, - HTableInterface primaryHTable, - Collection failoverHTables, boolean isMasterMaster, + Table primaryHTable, + Collection
failoverHTables, boolean isMasterMaster, int waitTimeBeforeAcceptingResults, int waitTimeBeforeRequestingFailover, int waitTimeBeforeMutatingFailover, int waitTimeBeforeMutatingFailoverWithPrimaryException, @@ -84,7 +84,7 @@ public HTableMultiCluster(Configuration originalConfiguration, } public byte[] getTableName() { - return primaryHTable.getTableName(); + return primaryHTable.getName().toBytes(); } public TableName getName() { @@ -104,12 +104,17 @@ public boolean exists(final Get get) throws IOException { return multiClusterExists(get).getOriginalReturn(); } + @Override + public boolean[] existsAll(List list) throws IOException { + return new boolean[0]; + } + public Tuple multiClusterExists(final Get get) throws IOException { long startTime = System.currentTimeMillis(); HBaseTableFunction function = new HBaseTableFunction() { @Override - public Boolean call(HTableInterface table) throws Exception { + public Boolean call(Table table) throws Exception { return table.exists(get); } }; @@ -125,31 +130,31 @@ public Boolean call(HTableInterface table) throws Exception { return new Tuple(result.isPrimary, doesExist); } - public Boolean[] exists(final List gets) throws IOException { - return multiClusterExists(gets).getOriginalReturn(); - } - - public Tuple multiClusterExists(final List gets) throws IOException { - long startTime = System.currentTimeMillis(); - - HBaseTableFunction function = new HBaseTableFunction() { - @Override - public Boolean[] call(HTableInterface table) throws Exception { - return table.exists(gets); - } - }; - - SpeculativeRequester.ResultWrapper result = (new SpeculativeRequester( - waitTimeBeforeRequestingFailover, waitTimeBeforeAcceptingResults, lastPrimaryFail, - waitTimeFromLastPrimaryFail)). - request(function, primaryHTable, failoverHTables); - - stats.addGetList(result.isPrimary, System.currentTimeMillis() - startTime); - - Boolean[] doesExists = result.t; - - return new Tuple(result.isPrimary, doesExists); - } +// public Boolean[] exists(final List gets) throws IOException { +// return multiClusterExists(gets).getOriginalReturn(); +// } + +// public Tuple multiClusterExists(final List gets) throws IOException { +// long startTime = System.currentTimeMillis(); +// +// HBaseTableFunction function = new HBaseTableFunction() { +// @Override +// public Boolean[] call(Table table) throws Exception { +// return table.exists(gets); +// } +// }; +// +// SpeculativeRequester.ResultWrapper result = (new SpeculativeRequester( +// waitTimeBeforeRequestingFailover, waitTimeBeforeAcceptingResults, lastPrimaryFail, +// waitTimeFromLastPrimaryFail)). +// request(function, primaryHTable, failoverHTables); +// +// stats.addGetList(result.isPrimary, System.currentTimeMillis() - startTime); +// +// Boolean[] doesExists = result.t; +// +// return new Tuple(result.isPrimary, doesExists); +// } public void batch(final List actions, final Object[] results) throws IOException, InterruptedException { @@ -182,7 +187,7 @@ public Tuple multiClusterGet(final Get get) throws IOException { HBaseTableFunction function = new HBaseTableFunction() { @Override - public Result call(HTableInterface table) throws Exception { + public Result call(Table table) throws Exception { return table.get(get); } }; @@ -207,7 +212,7 @@ public Tuple multiClusterGet(final List gets) throws IOException HBaseTableFunction function = new HBaseTableFunction() { @Override - public Result[] call(HTableInterface table) throws Exception { + public Result[] call(Table table) throws Exception { return table.get(gets); } }; @@ -235,8 +240,11 @@ public Tuple multiClusterGetRowOrBefore(final byte[] row, final byte[] f HBaseTableFunction function = new HBaseTableFunction() { @Override - public Result call(HTableInterface table) throws Exception { - return table.getRowOrBefore(row, family); + public Result call(Table table) throws Exception { + + return (Result)table.getScanner(row, family); + + //return table.getRowOrBefore(row, family); } }; @@ -261,7 +269,7 @@ public Tuple multiClusterGetScanner(final Scan scan) throws IOExc HBaseTableFunction function = new HBaseTableFunction() { @Override - public ResultScanner call(HTableInterface table) throws Exception { + public ResultScanner call(Table table) throws Exception { return table.getScanner(scan); } }; @@ -287,7 +295,7 @@ public Tuple multiClusterGetScanner(final byte[] family) throws I HBaseTableFunction function = new HBaseTableFunction() { @Override - public ResultScanner call(HTableInterface table) throws Exception { + public ResultScanner call(Table table) throws Exception { return table.getScanner(family); } }; @@ -314,7 +322,7 @@ public Tuple multiClusterGetScanner(final byte[] family, final by HBaseTableFunction function = new HBaseTableFunction() { @Override - public ResultScanner call(HTableInterface table) throws Exception { + public ResultScanner call(Table table) throws Exception { return table.getScanner(family, qualifier); } }; @@ -360,7 +368,7 @@ private Boolean autoFlushMutliClusterPut(final Put put) throws IOException { HBaseTableFunction function = new HBaseTableFunction() { @Override - public Void call(HTableInterface table) throws Exception { + public Void call(Table table) throws Exception { synchronized (table) { System.out.println("table.put.start:" + table.getConfiguration().get("hbase.zookeeper.quorum") + " " + table.getName() + " " + Bytes.toString(newPut.getRow())); try { @@ -398,7 +406,7 @@ private Put setTimeStampOfUnsetValues(final Put put, long ts) // This will protect us from a multicluster sumbission if (cell.getTimestamp() == HConstants.LATEST_TIMESTAMP) { newPut - .add(cell.getFamily(), cell.getQualifier(), ts, cell.getValue()); + .addColumn(cell.getFamily(), cell.getQualifier(), ts, cell.getValue()); } else { newPut.add(cell); } @@ -440,7 +448,7 @@ public Boolean autoFlushMutliClusterPut(final List puts) throws IOException HBaseTableFunction function = new HBaseTableFunction() { @Override - public Void call(HTableInterface table) throws Exception { + public Void call(Table table) throws Exception { table.put(newPuts); return null; } @@ -462,6 +470,11 @@ public boolean checkAndPut(byte[] row, byte[] family, byte[] qualifier, return primaryHTable.checkAndPut(row, family, qualifier, value, put); } + @Override + public boolean checkAndPut(byte[] bytes, byte[] bytes1, byte[] bytes2, CompareFilter.CompareOp compareOp, byte[] bytes3, Put put) throws IOException { + return false; + } + public void delete(final Delete delete) throws IOException { multiClusterDelete(delete); } @@ -471,7 +484,7 @@ public Boolean multiClusterDelete(final Delete delete) throws IOException { HBaseTableFunction function = new HBaseTableFunction() { @Override - public Void call(HTableInterface table) throws Exception { + public Void call(Table table) throws Exception { table.delete(delete); return null; } @@ -496,7 +509,7 @@ public Boolean multiClusterDelete(final List deletes) throws IOException HBaseTableFunction function = new HBaseTableFunction() { @Override - public Void call(HTableInterface table) throws Exception { + public Void call(Table table) throws Exception { table.delete(deletes); return null; } @@ -517,6 +530,11 @@ public boolean checkAndDelete(byte[] row, byte[] family, byte[] qualifier, return primaryHTable.checkAndDelete(row, family, qualifier, value, delete); } + @Override + public boolean checkAndDelete(byte[] bytes, byte[] bytes1, byte[] bytes2, CompareFilter.CompareOp compareOp, byte[] bytes3, Delete delete) throws IOException { + return false; + } + public void mutateRow(final RowMutations rm) throws IOException { primaryHTable.mutateRow(rm); @@ -541,19 +559,19 @@ public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, durability); } - @Deprecated - public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, - long amount, boolean writeToWAL) throws IOException { - return primaryHTable.incrementColumnValue(row, family, qualifier, amount, - writeToWAL); - } - - public boolean isAutoFlush() { +// @Deprecated +// public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, +// long amount, boolean writeToWAL) throws IOException { +// return primaryHTable.incrementColumnValue(row, family, qualifier, amount, +// writeToWAL); +// } - boolean primaryAnswer = primaryHTable.isAutoFlush(); - - return primaryAnswer; - } +// public boolean isAutoFlush() { +// +// boolean primaryAnswer = primaryHTable.isAutoFlush(); +// +// return primaryAnswer; +// } public void flushCommits() throws IOException { if (bufferPutList.size() > 0) { @@ -580,7 +598,7 @@ public void close() throws IOException { LOG.error("Exception while flushCommits primary", e); lastException = e; } - for (final HTableInterface failoverTable : failoverHTables) { + for (final Table failoverTable : failoverHTables) { try { synchronized (failoverTable) { failoverTable.close(); diff --git a/src/main/java/org/apache/hadoop/hbase/client/SpeculativeMutater.java b/src/main/java/org/apache/hadoop/hbase/client/SpeculativeMutater.java index 18f873a..ec155f5 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/SpeculativeMutater.java +++ b/src/main/java/org/apache/hadoop/hbase/client/SpeculativeMutater.java @@ -21,8 +21,8 @@ public class SpeculativeMutater { public static Boolean mutate(final long waitToSendFailover, final long waitToSendFailoverWithException, final HBaseTableFunction function, - final HTableInterface primaryTable, - final Collection failoverTables, + final Table primaryTable, + final Collection
failoverTables, final AtomicLong lastPrimaryFail, final int waitTimeFromLastPrimaryFail) { ExecutorCompletionService exeS = new ExecutorCompletionService(exe); @@ -54,7 +54,7 @@ public Boolean call() throws Exception { } - for (final HTableInterface failoverTable : failoverTables) { + for (final Table failoverTable : failoverTables) { callables.add(new Callable() { public Boolean call() throws Exception { diff --git a/src/main/java/org/apache/hadoop/hbase/client/SpeculativeRequester.java b/src/main/java/org/apache/hadoop/hbase/client/SpeculativeRequester.java index 668d6e6..e466a74 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/SpeculativeRequester.java +++ b/src/main/java/org/apache/hadoop/hbase/client/SpeculativeRequester.java @@ -36,8 +36,8 @@ public SpeculativeRequester(long waitTimeBeforeRequestingFailover, } public ResultWrapper request(final HBaseTableFunction function, - final HTableInterface primaryTable, - final Collection failoverTables) { + final Table primaryTable, + final Collection
failoverTables) { ExecutorCompletionService> exeS = new ExecutorCompletionService>(exe); @@ -64,7 +64,7 @@ public ResultWrapper call() throws Exception { }); } - for (final HTableInterface failoverTable : failoverTables) { + for (final Table failoverTable : failoverTables) { callables.add(new Callable>() { public ResultWrapper call() throws Exception { diff --git a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java index 20b6c4a..d4f1036 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java @@ -107,18 +107,18 @@ public static void main(String[] args) throws Exception { splitKeys[8][0] = '8'; splitKeys[9][0] = '9'; - LOG.info(" - About to create Table " + tableD.getName()); + LOG.info(" - About to create Table " + tableD.getTableName()); admin.createTable(tableD, splitKeys); - LOG.info(" - Created Table " + tableD.getName()); + LOG.info(" - Created Table " + tableD.getTableName()); LOG.info("Getting HConnection"); config.set("hbase.client.retries.number", "1"); config.set("hbase.client.pause", "1"); - final HConnection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); + final Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); LOG.info(" - Got HConnection: " + connection.getClass()); @@ -144,7 +144,7 @@ public static void main(String[] args) throws Exception { public void run() { try { Random r = new Random(); - HTableInterface table = connection.getTable(tableName); + Table table = connection.getTable(TableName.valueOf(tableName)); HTableStats stats = ((HTableMultiCluster) table).getStats(); stats.printStats(writer, 5000); @@ -153,7 +153,7 @@ public void run() { int hash = r.nextInt(10); Put put = new Put(Bytes.toBytes(hash + ".key." + i + "." + StringUtils.leftPad(String.valueOf(i * threadFinalNum), 12))); - put.add(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i * threadFinalNum)); + put.addColumn(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i * threadFinalNum)); table.put(put); Thread.sleep(millisecondToWait); diff --git a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java index 2c17c0c..fbad7ac 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java @@ -87,7 +87,7 @@ public static void main(String[] args) throws Exception { config.set("hbase.client.retries.number", "1"); config.set("hbase.client.pause", "1"); - final HConnection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); + final Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); System.out.println(" - Got HConnection: " + connection.getClass()); @@ -107,14 +107,14 @@ public void run() { try { Random r = new Random(); for (int i = 1; i <= numberOfPuts; i++) { - HTableInterface table = connection.getTable(tableName); + Table table = connection.getTable(TableName.valueOf(tableName)); HTableStats stats = ((HTableMultiCluster) table).getStats(); stats.printStats(writer, 5000); int hash = r.nextInt(10); Put put = new Put(Bytes.toBytes(hash + ".key." + StringUtils.leftPad(String.valueOf(i * threadFinalNum), 12))); - put.add(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i * threadFinalNum)); + put.addColumn(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i * threadFinalNum)); table.put(put); Thread.sleep(millisecondToWait); diff --git a/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java b/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java index 90c57a4..64a021e 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java @@ -74,13 +74,13 @@ public static void main(String[] args) throws Exception { config.set("hbase.client.retries.number", "1"); config.set("hbase.client.pause", "1"); - HConnection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); + Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); System.out.println(" - Got HConnection: " + connection.getClass()); System.out.println("Getting HTable"); - HTableInterface table = connection.getTable(tableName); + Table table = connection.getTable(TableName.valueOf(tableName)); System.out.println("Got HTable: " + table.getClass()); @@ -91,7 +91,7 @@ public static void main(String[] args) throws Exception { for (int i = 1; i <= numberOfPuts; i++) { System.out.print("p"); Put put = new Put(Bytes.toBytes(i%10 + ".key." + StringUtils.leftPad(String.valueOf(i), 12))); - put.add(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i)); + put.addColumn(Bytes.toBytes(familyName), Bytes.toBytes("C"), Bytes.toBytes("Value:" + i)); table.put(put); System.out.print("g"); diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java index 79df9f2..bbfbb6b 100644 --- a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java +++ b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java @@ -67,14 +67,15 @@ public void testHBaseMultiClusterClientTest() throws Exception { combinedConfig.setInt(ConfigConst.HBASE_WAIT_TIME_BEFORE_TRYING_PRIMARY_AFTER_FAILURE, 0); - HConnection connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); + Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); - HTableInterface multiTable = connection.getTable(TABLE_NAME); + Table multiTable = connection.getTable(TABLE_NAME); Put put1 = new Put(Bytes.toBytes("A1")); - put1.add(FAM_NAME, QUAL_NAME, VALUE); + put1.addColumn(FAM_NAME, QUAL_NAME, VALUE); multiTable.put(put1); - multiTable.flushCommits(); + // connection.getBufferedMutator(TABLE_NAME).flush(); + Get get1 = new Get(Bytes.toBytes("A1")); Result r1_1 = table1.get(get1); @@ -97,7 +98,7 @@ public void testHBaseMultiClusterClientTest() throws Exception { System.out.println("------------2"); Put put2 = new Put(Bytes.toBytes("A2")); - put2.add(FAM_NAME, QUAL_NAME, VALUE); + put2.addColumn(FAM_NAME, QUAL_NAME, VALUE); System.out.println("------------3"); table2.put(put2); @@ -121,10 +122,10 @@ public void testHBaseMultiClusterClientTest() throws Exception { System.out.println("------------7"); Put put3 = new Put(Bytes.toBytes("A3")); - put3.add(FAM_NAME, QUAL_NAME, VALUE); + put3.addColumn(FAM_NAME, QUAL_NAME, VALUE); multiTable = connection.getTable(TABLE_NAME); multiTable.put(put3); - multiTable.flushCommits(); +// connection.getBufferedMutator(TABLE_NAME).flush(); System.out.println("------------8"); Get get3 = new Get(Bytes.toBytes("A3")); From 592fcc7493545937dffbdbbf6e3646f16a420ca5 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Mon, 26 Jun 2017 05:32:01 -0400 Subject: [PATCH 06/16] Post Build error fixes --- .../hadoop/hbase/client/HBaseMultiClusterClientTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java index 11b166d..b8dece2 100644 --- a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java +++ b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java @@ -74,7 +74,7 @@ public void testHBaseMultiClusterClientTest() throws Exception { Put put1 = new Put(Bytes.toBytes("A1")); put1.addColumn(FAM_NAME, QUAL_NAME, VALUE); multiTable.put(put1); - connection.getBufferedMutator(TABLE_NAME).flush(); +// connection.getBufferedMutator(TABLE_NAME).flush(); Get get1 = new Get(Bytes.toBytes("A1")); @@ -125,7 +125,7 @@ public void testHBaseMultiClusterClientTest() throws Exception { put3.addColumn(FAM_NAME, QUAL_NAME, VALUE); multiTable = connection.getTable(TABLE_NAME); multiTable.put(put3); - connection.getBufferedMutator(TABLE_NAME).flush(); +// connection.getBufferedMutator(TABLE_NAME).flush(); System.out.println("------------8"); Get get3 = new Get(Bytes.toBytes("A3")); From 6b58ad0c5ba34672d125f710f1891549443405b3 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Mon, 26 Jun 2017 11:41:19 +0200 Subject: [PATCH 07/16] Adding HBaseMCCTest --- .../hadoop/hbase/client/HBaseMCCTest.java | 110 ++++++++++++++++++ 1 file changed, 110 insertions(+) create mode 100644 src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java new file mode 100644 index 0000000..5e9b71f --- /dev/null +++ b/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java @@ -0,0 +1,110 @@ +package org.apache.hadoop.hbase.client; + +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hbase.HBaseConfiguration; +import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.util.Bytes; +import org.apache.hadoop.security.UserGroupInformation; +import org.junit.Before; +import org.junit.Test; + +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +/** + * Created by balachandrapai on 19.06.17. + */ +public class HBaseMCCTest { + + @Test + public void initialize(){ + + + //Primary Cluster + Configuration primaryConfig = HBaseConfiguration.create(); + + primaryConfig.set("hbase.zookeeper.quorum", "cdhmaster1"); + primaryConfig.set("hbase.zookeeper.property.clientPort", "2181"); + primaryConfig.set("hadoop.security.authentication", "kerberos"); + primaryConfig.set("hbase.security.authentication", "kerberos"); + primaryConfig.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + primaryConfig.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + UserGroupInformation.setConfiguration(primaryConfig); + System.out.println("Principal Authentication: "); + final String user = "hbase/cdhmaster1@EXAMPLE.COM"; + final String keyPath = "/run/cloudera-scm-agent/process/71-hbase-REGIONSERVER/hbase.keytab"; + try { + UserGroupInformation.loginUserFromKeytab(user, keyPath); + } catch (IOException e) { + e.printStackTrace(); + } + + + //failover Cluster + Configuration failover = HBaseConfiguration.create(); + + failover.set("hbase.zookeeper.quorum", "cdhmaster2"); + failover.set("hbase.zookeeper.property.clientPort", "2181"); + failover.set("hadoop.security.authentication", "kerberos"); + failover.set("hbase.security.authentication", "kerberos"); + failover.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + failover.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + UserGroupInformation.setConfiguration(primaryConfig); + System.out.println("Principal Authentication: "); + final String user2 = "hbase/cdhmaster2@EXAMPLE.COM"; + final String keyPath2 = "/run/cloudera-scm-agent/process/47-hbase-MASTER/hbase.keytab"; + try { + UserGroupInformation.loginUserFromKeytab(user, keyPath); + } catch (IOException e) { + e.printStackTrace(); + } + + +// //failover Cluster2 +// Configuration failover2 = HBaseConfiguration.create(); +// +// failover2.set("hbase.zookeeper.quorum", "cdhmaster3"); +// failover2.set("hbase.zookeeper.property.clientPort", "2181"); +// failover2.set("hadoop.security.authentication", "Kerberos"); +// failover2.set("hbase.security.authentication", "kerberos"); +// failover2.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); +// failover2.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); +// UserGroupInformation.setConfiguration(primaryConfig); +// System.out.println("Principal Authentication: "); +// final String user3 = "hbase/cdhmaster3@EXAMPLE.COM"; +// final String keyPath3 = "/home/jing/jing.keytab"; +// try { +// UserGroupInformation.loginUserFromKeytab(user, keyPath); +// } catch (IOException e) { +// e.printStackTrace(); +// } + + Map failoverClusters = new HashMap(); + failoverClusters.put("failover", failover); +// failoverClusters.put("failover2", failover2); + + Configuration combinedConfig = HBaseMultiClusterConfigUtil.combineConfigurations(primaryConfig, failoverClusters); + + combinedConfig.setInt(ConfigConst.HBASE_WAIT_TIME_BEFORE_TRYING_PRIMARY_AFTER_FAILURE, 0); + + try { + Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); + + Table multiTable = connection.getTable(TableName.valueOf("t1")); + + Get get = new Get(Bytes.toBytes("row1")); + + Result result = multiTable.get(get); + + + } catch (IOException e) { + e.printStackTrace(); + } + + + + } + + +} From 876e04cc946f89201af0d625800e34fe85a3c788 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Mon, 26 Jun 2017 05:42:12 -0400 Subject: [PATCH 08/16] Adding HBaseMCCTest --- .../hadoop/hbase/client/HBaseMCCTest.java | 149 ++++++++++++++++++ 1 file changed, 149 insertions(+) create mode 100644 src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java new file mode 100644 index 0000000..f89c768 --- /dev/null +++ b/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java @@ -0,0 +1,149 @@ +package org.apache.hadoop.hbase.client; + +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hbase.HBaseConfiguration; +import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.util.Bytes; +import org.apache.hadoop.security.UserGroupInformation; +import org.junit.Before; +import org.junit.Test; + +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +/** + * Created by balachandrapai on 19.06.17. + */ +public class HBaseMCCTest { + + Configuration combinedConfig; + Connection connection; + + + @Before + public void initialize(){ + + + //Primary Cluster + Configuration primaryConfig = HBaseConfiguration.create(); + + primaryConfig.set("hbase.zookeeper.quorum", "cdhmaster1"); + primaryConfig.set("hbase.zookeeper.property.clientPort", "2181"); + primaryConfig.set("hadoop.security.authentication", "kerberos"); + primaryConfig.set("hbase.security.authentication", "kerberos"); + primaryConfig.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + primaryConfig.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + UserGroupInformation.setConfiguration(primaryConfig); + System.out.println("Principal Authentication: "); + final String user = "hbase/cdhmaster1@EXAMPLE.COM"; + final String keyPath = "/home/cloudera/Desktop/Security/cdhmaster1/hbase.keytab"; + try { + UserGroupInformation.loginUserFromKeytab(user, keyPath); + } catch (IOException e) { + e.printStackTrace(); + } + + + //failover Cluster + Configuration failover = HBaseConfiguration.create(); + + failover.set("hbase.zookeeper.quorum", "cdhmaster2"); + failover.set("hbase.zookeeper.property.clientPort", "2181"); + failover.set("hadoop.security.authentication", "kerberos"); + failover.set("hbase.security.authentication", "kerberos"); + failover.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + failover.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + UserGroupInformation.setConfiguration(primaryConfig); + System.out.println("Principal Authentication: "); + final String user2 = "hbase/cdhmaster2@EXAMPLE.COM"; + final String keyPath2 = "/home/cloudera/Desktop/Security/cdhmaster2/hbase.keytab"; + try { + UserGroupInformation.loginUserFromKeytab(user2, keyPath2); + } catch (IOException e) { + e.printStackTrace(); + } + + +// //failover Cluster2 +// Configuration failover2 = HBaseConfiguration.create(); +// +// failover2.set("hbase.zookeeper.quorum", "cdhmaster3"); +// failover2.set("hbase.zookeeper.property.clientPort", "2181"); +// failover2.set("hadoop.security.authentication", "kerberos"); +// failover2.set("hbase.security.authentication", "kerberos"); +// failover2.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); +// failover2.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); +// UserGroupInformation.setConfiguration(primaryConfig); +// System.out.println("Principal Authentication: "); +// final String user3 = "hbase/cdhmaster3@EXAMPLE.COM"; +// final String keyPath3 = "/hhome/cloudera/Desktop/Security/cdhmaster3/hbase.keytab"; +// try { +// UserGroupInformation.loginUserFromKeytab(user3, keyPath3); +// } catch (IOException e) { +// e.printStackTrace(); +// } + + Map failoverClusters = new HashMap(); + + failoverClusters.put("failover", failover); +// failoverClusters.put("failover2", failover2); + + + combinedConfig = HBaseMultiClusterConfigUtil.combineConfigurations(primaryConfig, failoverClusters); + //combinedConfig.setInt(ConfigConst.HBASE_WAIT_TIME_BEFORE_TRYING_PRIMARY_AFTER_FAILURE, 0); + + try { + connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); + } catch (IOException e) { + e.printStackTrace(); + } + + + } + + @Test + public void readFromMCC(){ + + try { + Table multiTable = connection.getTable(TableName.valueOf("t1")); + Get get1 = new Get(Bytes.toBytes("row1")); + + Result result = multiTable.get(get1); + + assertFalse(result.isEmpty()); + + + + } catch (IOException e) { + e.printStackTrace(); + } + + } + + @Test + public void writeToMCC(){ + + try { + Table multiTable = connection.getTable(TableName.valueOf("t1")); + Put put1 = new Put(Bytes.toBytes("row4")); + + put1.addColumn(Bytes.toBytes("cf1"), Bytes.toBytes("c1"), Bytes.toBytes("Data")); + multiTable.put(put1); + + Get get1 = new Get(Bytes.toBytes("row4")); + Result result = multiTable.get(get1); + + assertFalse(result.isEmpty()); + + } catch (IOException e) { + e.printStackTrace(); + } + + } + + +} From be233bd774302a5fa3d148e0a05ad58f5a721739 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Mon, 26 Jun 2017 05:53:24 -0400 Subject: [PATCH 09/16] Removing HBaseMCCTest --- .../hadoop/hbase/client/HBaseMCCTest.java | 149 ------------------ 1 file changed, 149 deletions(-) delete mode 100644 src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java deleted file mode 100644 index f89c768..0000000 --- a/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java +++ /dev/null @@ -1,149 +0,0 @@ -package org.apache.hadoop.hbase.client; - -import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hbase.HBaseConfiguration; -import org.apache.hadoop.hbase.TableName; -import org.apache.hadoop.hbase.util.Bytes; -import org.apache.hadoop.security.UserGroupInformation; -import org.junit.Before; -import org.junit.Test; - -import java.io.IOException; -import java.util.HashMap; -import java.util.Map; - -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertTrue; - -/** - * Created by balachandrapai on 19.06.17. - */ -public class HBaseMCCTest { - - Configuration combinedConfig; - Connection connection; - - - @Before - public void initialize(){ - - - //Primary Cluster - Configuration primaryConfig = HBaseConfiguration.create(); - - primaryConfig.set("hbase.zookeeper.quorum", "cdhmaster1"); - primaryConfig.set("hbase.zookeeper.property.clientPort", "2181"); - primaryConfig.set("hadoop.security.authentication", "kerberos"); - primaryConfig.set("hbase.security.authentication", "kerberos"); - primaryConfig.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); - primaryConfig.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); - UserGroupInformation.setConfiguration(primaryConfig); - System.out.println("Principal Authentication: "); - final String user = "hbase/cdhmaster1@EXAMPLE.COM"; - final String keyPath = "/home/cloudera/Desktop/Security/cdhmaster1/hbase.keytab"; - try { - UserGroupInformation.loginUserFromKeytab(user, keyPath); - } catch (IOException e) { - e.printStackTrace(); - } - - - //failover Cluster - Configuration failover = HBaseConfiguration.create(); - - failover.set("hbase.zookeeper.quorum", "cdhmaster2"); - failover.set("hbase.zookeeper.property.clientPort", "2181"); - failover.set("hadoop.security.authentication", "kerberos"); - failover.set("hbase.security.authentication", "kerberos"); - failover.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); - failover.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); - UserGroupInformation.setConfiguration(primaryConfig); - System.out.println("Principal Authentication: "); - final String user2 = "hbase/cdhmaster2@EXAMPLE.COM"; - final String keyPath2 = "/home/cloudera/Desktop/Security/cdhmaster2/hbase.keytab"; - try { - UserGroupInformation.loginUserFromKeytab(user2, keyPath2); - } catch (IOException e) { - e.printStackTrace(); - } - - -// //failover Cluster2 -// Configuration failover2 = HBaseConfiguration.create(); -// -// failover2.set("hbase.zookeeper.quorum", "cdhmaster3"); -// failover2.set("hbase.zookeeper.property.clientPort", "2181"); -// failover2.set("hadoop.security.authentication", "kerberos"); -// failover2.set("hbase.security.authentication", "kerberos"); -// failover2.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); -// failover2.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); -// UserGroupInformation.setConfiguration(primaryConfig); -// System.out.println("Principal Authentication: "); -// final String user3 = "hbase/cdhmaster3@EXAMPLE.COM"; -// final String keyPath3 = "/hhome/cloudera/Desktop/Security/cdhmaster3/hbase.keytab"; -// try { -// UserGroupInformation.loginUserFromKeytab(user3, keyPath3); -// } catch (IOException e) { -// e.printStackTrace(); -// } - - Map failoverClusters = new HashMap(); - - failoverClusters.put("failover", failover); -// failoverClusters.put("failover2", failover2); - - - combinedConfig = HBaseMultiClusterConfigUtil.combineConfigurations(primaryConfig, failoverClusters); - //combinedConfig.setInt(ConfigConst.HBASE_WAIT_TIME_BEFORE_TRYING_PRIMARY_AFTER_FAILURE, 0); - - try { - connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); - } catch (IOException e) { - e.printStackTrace(); - } - - - } - - @Test - public void readFromMCC(){ - - try { - Table multiTable = connection.getTable(TableName.valueOf("t1")); - Get get1 = new Get(Bytes.toBytes("row1")); - - Result result = multiTable.get(get1); - - assertFalse(result.isEmpty()); - - - - } catch (IOException e) { - e.printStackTrace(); - } - - } - - @Test - public void writeToMCC(){ - - try { - Table multiTable = connection.getTable(TableName.valueOf("t1")); - Put put1 = new Put(Bytes.toBytes("row4")); - - put1.addColumn(Bytes.toBytes("cf1"), Bytes.toBytes("c1"), Bytes.toBytes("Data")); - multiTable.put(put1); - - Get get1 = new Get(Bytes.toBytes("row4")); - Result result = multiTable.get(get1); - - assertFalse(result.isEmpty()); - - } catch (IOException e) { - e.printStackTrace(); - } - - } - - -} From 3885237b1ef21232b12b4f746dee900e4415a08d Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Mon, 26 Jun 2017 07:29:58 -0400 Subject: [PATCH 10/16] Adding HBaseMCCTest and resources --- src/resources/cdhmaster1/hbase.keytab | Bin 0 -> 594 bytes src/resources/cdhmaster2/hbase.keytab | Bin 0 -> 594 bytes src/resources/krb5.conf | 29 ++++ .../hadoop/hbase/client/HBaseMCCTest.java | 154 ++++++++++++++++++ 4 files changed, 183 insertions(+) create mode 100644 src/resources/cdhmaster1/hbase.keytab create mode 100644 src/resources/cdhmaster2/hbase.keytab create mode 100644 src/resources/krb5.conf create mode 100644 src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java diff --git a/src/resources/cdhmaster1/hbase.keytab b/src/resources/cdhmaster1/hbase.keytab new file mode 100644 index 0000000000000000000000000000000000000000..00e53fca6835b64d5e1b7e5759edccfeb7ddc21d GIT binary patch literal 594 zcmZQ&VqjnhW?*9Ac8zfK4e)W*bN2UTV9iKMEKX(MN>0hhO)M@+EiweEVvMvF)MH{0 zVo-=W=sLSJ%Volgqnq7~Ty0c}YQ>+tUBUFAKloVYO6S8%fr>%KI+J3oAcH`1`m^aL zldsGu-{IPA{qtEY)EIA4j1gdv&{^>#WcB4Y7D=6XALpI88N@MhZps_a+^6KYN}NGJ zWU0hhO)M@+EiwYCVvMvF?qXsP zVo=ChJyG{U_I73#_2<90|Ev7A*|q=E?ys85Uf3S86Q2E252zSqtTQRb3Ni?scHs~^ z_`tk^!C&ddre~WkL5=Yy#TWqwiNvaU&1{|Y{+EWopT55-vu8!z=0uL{r?KR?N}NHU zX$$w7!ov=UR}QtkthMl40yT!DFq2|XcwV+b;K`wK&!v2#U8)7itIAEgdXspzxOO?8 zFyRuG2_eUIk_-a>BZK()GBT2tB>#0=q~y9ljj<*r%s3c0t}48meN}K3>>cS No8PBg=Jo+;2LLV8pY{L% literal 0 HcmV?d00001 diff --git a/src/resources/krb5.conf b/src/resources/krb5.conf new file mode 100644 index 0000000..77726a1 --- /dev/null +++ b/src/resources/krb5.conf @@ -0,0 +1,29 @@ +# Configuration snippets may be placed in this directory as well +includedir /etc/krb5.conf.d/ + +[logging] + default = FILE:/var/log/krb5libs.log + kdc = FILE:/var/log/krb5kdc.log + admin_server = FILE:/var/log/kadmind.log + +[libdefaults] + dns_lookup_realm = false + ticket_lifetime = 24h + renew_lifetime = 7d + forwardable = true + rdns = false + default_realm = EXAMPLE.COM + default_ccache_name = KEYRING:persistent:%{uid} +udp_preference_limit = 1 +default_tgs_enctypes = arcfour-hmac +default_tkt_enctypes = arcfour-hmac + +[realms] + EXAMPLE.COM = { + kdc = kdcserver + admin_server = kdcserver + } + +[domain_realm] +# .example.com = EXAMPLE.COM +# example.com = EXAMPLE.COM diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java new file mode 100644 index 0000000..b819a2b --- /dev/null +++ b/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java @@ -0,0 +1,154 @@ +package org.apache.hadoop.hbase.client; + +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hbase.HBaseConfiguration; +import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.util.Bytes; +import org.apache.hadoop.security.UserGroupInformation; +import org.junit.Before; +import org.junit.Test; + +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +/** + * Created by balachandrapai on 19.06.17. + */ +public class HBaseMCCTest { + + Configuration combinedConfig; + Connection connection; + + + @Before + public void initialize(){ + + + + System.setProperty("java.security.krb5.conf", "src/resources/krb5.conf"); + System.setProperty("sun.security.krb5.debug", "true"); + + + //Primary Cluster + Configuration primaryConfig = HBaseConfiguration.create(); + + primaryConfig.set("hbase.zookeeper.quorum", "cdhmaster1"); + primaryConfig.set("hbase.zookeeper.property.clientPort", "2181"); + primaryConfig.set("hadoop.security.authentication", "kerberos"); + primaryConfig.set("hbase.security.authentication", "kerberos"); + primaryConfig.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + primaryConfig.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + UserGroupInformation.setConfiguration(primaryConfig); + System.out.println("Principal Authentication: "); + final String user = "hbase/cdhmaster1@EXAMPLE.COM"; + final String keyPath = "src/resources/cdhmaster1/hbase.keytab"; + try { + UserGroupInformation.loginUserFromKeytab(user, keyPath); + } catch (IOException e) { + e.printStackTrace(); + } + + + //failover Cluster + Configuration failover = HBaseConfiguration.create(); + + failover.set("hbase.zookeeper.quorum", "cdhmaster2"); + failover.set("hbase.zookeeper.property.clientPort", "2181"); + failover.set("hadoop.security.authentication", "kerberos"); + failover.set("hbase.security.authentication", "kerberos"); + failover.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + failover.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); + UserGroupInformation.setConfiguration(primaryConfig); + System.out.println("Principal Authentication: "); + final String user2 = "hbase/cdhmaster2@EXAMPLE.COM"; + final String keyPath2 = "src/resources/cdhmaster2/hbase.keytab"; + try { + UserGroupInformation.loginUserFromKeytab(user2, keyPath2); + } catch (IOException e) { + e.printStackTrace(); + } + + +// //failover Cluster2 +// Configuration failover2 = HBaseConfiguration.create(); +// +// failover2.set("hbase.zookeeper.quorum", "cdhmaster3"); +// failover2.set("hbase.zookeeper.property.clientPort", "2181"); +// failover2.set("hadoop.security.authentication", "kerberos"); +// failover2.set("hbase.security.authentication", "kerberos"); +// failover2.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); +// failover2.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); +// UserGroupInformation.setConfiguration(primaryConfig); +// System.out.println("Principal Authentication: "); +// final String user3 = "hbase/cdhmaster3@EXAMPLE.COM"; +// final String keyPath3 = "/hhome/cloudera/Desktop/Security/cdhmaster3/hbase.keytab"; +// try { +// UserGroupInformation.loginUserFromKeytab(user3, keyPath3); +// } catch (IOException e) { +// e.printStackTrace(); +// } + + Map failoverClusters = new HashMap(); + + failoverClusters.put("failover", failover); +// failoverClusters.put("failover2", failover2); + + + combinedConfig = HBaseMultiClusterConfigUtil.combineConfigurations(primaryConfig, failoverClusters); + //combinedConfig.setInt(ConfigConst.HBASE_WAIT_TIME_BEFORE_TRYING_PRIMARY_AFTER_FAILURE, 0); + + try { + connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); + } catch (IOException e) { + e.printStackTrace(); + } + + + } + + @Test + public void readFromMCC(){ + + try { + Table multiTable = connection.getTable(TableName.valueOf("t1")); + Get get1 = new Get(Bytes.toBytes("row1")); + + Result result = multiTable.get(get1); + + assertFalse(result.isEmpty()); + + + + } catch (IOException e) { + e.printStackTrace(); + } + + } + + @Test + public void writeToMCC(){ + + try { + Table multiTable = connection.getTable(TableName.valueOf("t1")); + Put put1 = new Put(Bytes.toBytes("row4")); + + put1.addColumn(Bytes.toBytes("cf1"), Bytes.toBytes("c1"), Bytes.toBytes("Data")); + multiTable.put(put1); + + Get get1 = new Get(Bytes.toBytes("row4")); + Result result = multiTable.get(get1); + + assertFalse(result.isEmpty()); + + } catch (IOException e) { + e.printStackTrace(); + } + + } + + +} From ebf717847aaaa526f73bd75f42e4563ac990026c Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Fri, 30 Jun 2017 07:26:08 +0200 Subject: [PATCH 11/16] After review changes --- ..._com_google_code_findbugs_jsr305_3_0_0.xml | 13 +++ .../Maven__com_lmax_disruptor_3_3_0.xml | 13 +++ ..._collections_commons_collections_3_2_2.xml | 13 +++ ...Maven__io_netty_netty_all_4_0_23_Final.xml | 13 +++ .../Maven__javax_xml_bind_jaxb_api_2_2_2.xml | 13 +++ ...Maven__javax_xml_stream_stax_api_1_0_2.xml | 13 +++ .idea/libraries/Maven__junit_junit_4_12.xml | 13 +++ ...__org_apache_avro_avro_1_7_6_cdh5_10_1.xml | 13 +++ ...rg_apache_curator_curator_client_2_7_1.xml | 13 +++ ...apache_curator_curator_framework_2_7_1.xml | 13 +++ ...g_apache_curator_curator_recipes_2_7_1.xml | 13 +++ ...oop_hadoop_annotations_2_6_0_cdh5_10_1.xml | 13 +++ ...che_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml | 13 +++ ..._common_test_jar_tests_2_6_0_cdh5_10_1.xml | 13 +++ ...hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml | 13 +++ ...che_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml | 13 +++ ...op_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml | 13 +++ ...base_hbase_annotations_1_2_0_cdh5_10_1.xml | 13 +++ ...che_hbase_hbase_client_1_2_0_cdh5_10_1.xml | 13 +++ ...base_hbase_prefix_tree_1_2_0_cdh5_10_1.xml | 13 +++ ..._hbase_hbase_procedure_1_2_0_cdh5_10_1.xml | 13 +++ ...che_hbase_hbase_server_1_2_0_cdh5_10_1.xml | 13 +++ ..._server_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 +++ ...e_htrace_htrace_core4_4_0_1_incubating.xml | 13 +++ ...he_htrace_htrace_core_3_2_0_incubating.xml | 13 +++ ...he_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml | 13 +++ ...sesource_leveldbjni_leveldbjni_all_1_8.xml | 13 +++ .../Maven__org_jamon_jamon_runtime_2_4_1.xml | 13 +++ ...ven__org_jruby_jcodings_jcodings_1_0_8.xml | 13 +++ .../Maven__org_jruby_joni_joni_2_1_2.xml | 13 +++ ..._org_xerial_snappy_snappy_java_1_0_4_1.xml | 13 +++ .../test/MultiHBaseClusterClientTest.java} | 82 +++++++++++-------- .../client/HBaseMultiClusterClientTest.java | 2 +- 33 files changed, 454 insertions(+), 33 deletions(-) create mode 100644 .idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml create mode 100644 .idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml create mode 100644 .idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml create mode 100644 .idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml create mode 100644 .idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml create mode 100644 .idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml create mode 100644 .idea/libraries/Maven__junit_junit_4_12.xml create mode 100644 .idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml create mode 100644 .idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml create mode 100644 .idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml create mode 100644 .idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml create mode 100644 .idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml create mode 100644 .idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml create mode 100644 .idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml create mode 100644 .idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml create mode 100644 .idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml create mode 100644 .idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml rename src/{test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java => main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java} (60%) diff --git a/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml b/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml new file mode 100644 index 0000000..6644d12 --- /dev/null +++ b/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml b/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml new file mode 100644 index 0000000..d523797 --- /dev/null +++ b/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml b/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml new file mode 100644 index 0000000..13afda2 --- /dev/null +++ b/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml b/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml new file mode 100644 index 0000000..7305d82 --- /dev/null +++ b/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml b/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml new file mode 100644 index 0000000..a3054d2 --- /dev/null +++ b/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml b/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml new file mode 100644 index 0000000..2a4dd7a --- /dev/null +++ b/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__junit_junit_4_12.xml b/.idea/libraries/Maven__junit_junit_4_12.xml new file mode 100644 index 0000000..d411041 --- /dev/null +++ b/.idea/libraries/Maven__junit_junit_4_12.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml new file mode 100644 index 0000000..4ee9f9f --- /dev/null +++ b/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml new file mode 100644 index 0000000..18c48a6 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml new file mode 100644 index 0000000..43f068b --- /dev/null +++ b/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml new file mode 100644 index 0000000..3f3e79a --- /dev/null +++ b/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..c660671 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..c4d73e2 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..570c836 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml new file mode 100644 index 0000000..6b145fc --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..7aceb0c --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml new file mode 100644 index 0000000..84dc5d8 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..b869d5d --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..c7c0f48 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..5984ac2 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..2578825 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..87dbfcb --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml new file mode 100644 index 0000000..2661e79 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml b/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml new file mode 100644 index 0000000..aebd338 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml b/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml new file mode 100644 index 0000000..058ac96 --- /dev/null +++ b/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml new file mode 100644 index 0000000..28acdcf --- /dev/null +++ b/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml b/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml new file mode 100644 index 0000000..4a829d2 --- /dev/null +++ b/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml b/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml new file mode 100644 index 0000000..8858b4f --- /dev/null +++ b/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml b/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml new file mode 100644 index 0000000..7e032d7 --- /dev/null +++ b/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml b/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml new file mode 100644 index 0000000..a557ab1 --- /dev/null +++ b/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml b/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml new file mode 100644 index 0000000..ee11787 --- /dev/null +++ b/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java similarity index 60% rename from src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java rename to src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java index 5e9b71f..307c905 100644 --- a/src/test/java/org/apache/hadoop/hbase/client/HBaseMCCTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java @@ -3,6 +3,7 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.client.*; import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.security.UserGroupInformation; import org.junit.Before; @@ -12,15 +13,27 @@ import java.util.HashMap; import java.util.Map; +import static junit.framework.TestCase.assertFalse; + + /** * Created by balachandrapai on 19.06.17. */ -public class HBaseMCCTest { +public class MultiHBaseClusterClientTest { - @Test + Configuration combinedConfig; + Connection connection; + + + @Before public void initialize(){ + + System.setProperty("java.security.krb5.conf", "src/resources/krb5.conf"); + System.setProperty("sun.security.krb5.debug", "true"); + + //Primary Cluster Configuration primaryConfig = HBaseConfiguration.create(); @@ -33,7 +46,7 @@ public void initialize(){ UserGroupInformation.setConfiguration(primaryConfig); System.out.println("Principal Authentication: "); final String user = "hbase/cdhmaster1@EXAMPLE.COM"; - final String keyPath = "/run/cloudera-scm-agent/process/71-hbase-REGIONSERVER/hbase.keytab"; + final String keyPath = "src/resources/cdhmaster1/hbase.keytab"; try { UserGroupInformation.loginUserFromKeytab(user, keyPath); } catch (IOException e) { @@ -53,56 +66,61 @@ public void initialize(){ UserGroupInformation.setConfiguration(primaryConfig); System.out.println("Principal Authentication: "); final String user2 = "hbase/cdhmaster2@EXAMPLE.COM"; - final String keyPath2 = "/run/cloudera-scm-agent/process/47-hbase-MASTER/hbase.keytab"; + final String keyPath2 = "src/resources/cdhmaster2/hbase.keytab"; try { - UserGroupInformation.loginUserFromKeytab(user, keyPath); + UserGroupInformation.loginUserFromKeytab(user2, keyPath2); } catch (IOException e) { e.printStackTrace(); } -// //failover Cluster2 -// Configuration failover2 = HBaseConfiguration.create(); -// -// failover2.set("hbase.zookeeper.quorum", "cdhmaster3"); -// failover2.set("hbase.zookeeper.property.clientPort", "2181"); -// failover2.set("hadoop.security.authentication", "Kerberos"); -// failover2.set("hbase.security.authentication", "kerberos"); -// failover2.set("hbase.master.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); -// failover2.set("hbase.regionserver.kerberos.principal", "hbase/_HOST@EXAMPLE.COM"); -// UserGroupInformation.setConfiguration(primaryConfig); -// System.out.println("Principal Authentication: "); -// final String user3 = "hbase/cdhmaster3@EXAMPLE.COM"; -// final String keyPath3 = "/home/jing/jing.keytab"; -// try { -// UserGroupInformation.loginUserFromKeytab(user, keyPath); -// } catch (IOException e) { -// e.printStackTrace(); -// } - Map failoverClusters = new HashMap(); - failoverClusters.put("failover", failover); -// failoverClusters.put("failover2", failover2); - Configuration combinedConfig = HBaseMultiClusterConfigUtil.combineConfigurations(primaryConfig, failoverClusters); + failoverClusters.put("failover", failover); - combinedConfig.setInt(ConfigConst.HBASE_WAIT_TIME_BEFORE_TRYING_PRIMARY_AFTER_FAILURE, 0); + combinedConfig = HBaseMultiClusterConfigUtil.combineConfigurations(primaryConfig, failoverClusters); try { - Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); + connection = HConnectionManagerMultiClusterWrapper.createConnection(combinedConfig); + } catch (IOException e) { + e.printStackTrace(); + } + } + @Test + public void readFromMCC(){ + try { Table multiTable = connection.getTable(TableName.valueOf("t1")); + Get get1 = new Get(Bytes.toBytes("row1")); - Get get = new Get(Bytes.toBytes("row1")); - - Result result = multiTable.get(get); + Result result = multiTable.get(get1); + assertFalse(result.isEmpty()); } catch (IOException e) { e.printStackTrace(); } + } + + @Test + public void writeToMCC(){ + try { + Table multiTable = connection.getTable(TableName.valueOf("t1")); + Put put1 = new Put(Bytes.toBytes("row4")); + + put1.addColumn(Bytes.toBytes("cf1"), Bytes.toBytes("c1"), Bytes.toBytes("Data")); + multiTable.put(put1); + + Get get1 = new Get(Bytes.toBytes("row4")); + Result result = multiTable.get(get1); + + assertFalse(result.isEmpty()); + + } catch (IOException e) { + e.printStackTrace(); + } } diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java index bbfbb6b..f1e7dea 100644 --- a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java +++ b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java @@ -12,7 +12,7 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; -public class HBaseMultiClusterClientTest { +public class MultiHBaseClusterClientTest { @Test public void testHBaseMultiClusterClientTest() throws Exception { From 03178de489727dfdc29eb9eaf72c3095efd94772 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Fri, 30 Jun 2017 08:19:06 +0200 Subject: [PATCH 12/16] removing idea libraries --- ...Maven__com_google_code_findbugs_jsr305_3_0_0.xml | 13 ------------- .idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml | 13 ------------- ...ommons_collections_commons_collections_3_2_2.xml | 13 ------------- .../Maven__io_netty_netty_all_4_0_23_Final.xml | 13 ------------- .../Maven__javax_xml_bind_jaxb_api_2_2_2.xml | 13 ------------- .../Maven__javax_xml_stream_stax_api_1_0_2.xml | 13 ------------- .idea/libraries/Maven__junit_junit_4_12.xml | 13 ------------- .../Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml | 13 ------------- ...ven__org_apache_curator_curator_client_2_7_1.xml | 13 ------------- ...__org_apache_curator_curator_framework_2_7_1.xml | 13 ------------- ...en__org_apache_curator_curator_recipes_2_7_1.xml | 13 ------------- ...he_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml | 13 ------------- ...rg_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml | 13 ------------- ...hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml | 13 ------------- ...pache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml | 13 ------------- ...rg_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml | 13 ------------- ...p_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml | 13 ------------- ...ache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml | 13 ------------- ...rg_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml | 13 ------------- ...ache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml | 13 ------------- ...apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml | 13 ------------- ...rg_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml | 13 ------------- ..._hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml | 13 ------------- ..._apache_htrace_htrace_core4_4_0_1_incubating.xml | 13 ------------- ...g_apache_htrace_htrace_core_3_2_0_incubating.xml | 13 ------------- ...g_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml | 13 ------------- ...org_fusesource_leveldbjni_leveldbjni_all_1_8.xml | 13 ------------- .../Maven__org_jamon_jamon_runtime_2_4_1.xml | 13 ------------- .../Maven__org_jruby_jcodings_jcodings_1_0_8.xml | 13 ------------- .../libraries/Maven__org_jruby_joni_joni_2_1_2.xml | 13 ------------- ...Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml | 13 ------------- 31 files changed, 403 deletions(-) delete mode 100644 .idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml delete mode 100644 .idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml delete mode 100644 .idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml delete mode 100644 .idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml delete mode 100644 .idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml delete mode 100644 .idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml delete mode 100644 .idea/libraries/Maven__junit_junit_4_12.xml delete mode 100644 .idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml delete mode 100644 .idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml delete mode 100644 .idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml delete mode 100644 .idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml delete mode 100644 .idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml delete mode 100644 .idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml delete mode 100644 .idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml delete mode 100644 .idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml diff --git a/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml b/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml deleted file mode 100644 index 6644d12..0000000 --- a/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml b/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml deleted file mode 100644 index d523797..0000000 --- a/.idea/libraries/Maven__com_lmax_disruptor_3_3_0.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml b/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml deleted file mode 100644 index 13afda2..0000000 --- a/.idea/libraries/Maven__commons_collections_commons_collections_3_2_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml b/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml deleted file mode 100644 index 7305d82..0000000 --- a/.idea/libraries/Maven__io_netty_netty_all_4_0_23_Final.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml b/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml deleted file mode 100644 index a3054d2..0000000 --- a/.idea/libraries/Maven__javax_xml_bind_jaxb_api_2_2_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml b/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml deleted file mode 100644 index 2a4dd7a..0000000 --- a/.idea/libraries/Maven__javax_xml_stream_stax_api_1_0_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__junit_junit_4_12.xml b/.idea/libraries/Maven__junit_junit_4_12.xml deleted file mode 100644 index d411041..0000000 --- a/.idea/libraries/Maven__junit_junit_4_12.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml deleted file mode 100644 index 4ee9f9f..0000000 --- a/.idea/libraries/Maven__org_apache_avro_avro_1_7_6_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml deleted file mode 100644 index 18c48a6..0000000 --- a/.idea/libraries/Maven__org_apache_curator_curator_client_2_7_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml deleted file mode 100644 index 43f068b..0000000 --- a/.idea/libraries/Maven__org_apache_curator_curator_framework_2_7_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml b/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml deleted file mode 100644 index 3f3e79a..0000000 --- a/.idea/libraries/Maven__org_apache_curator_curator_recipes_2_7_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml deleted file mode 100644 index c660671..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_annotations_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml deleted file mode 100644 index c4d73e2..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_auth_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml deleted file mode 100644 index 570c836..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_common_test_jar_tests_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml deleted file mode 100644 index 6b145fc..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_core_2_6_0_mr1_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml deleted file mode 100644 index 7aceb0c..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml deleted file mode 100644 index 84dc5d8..0000000 --- a/.idea/libraries/Maven__org_apache_hadoop_hadoop_hdfs_test_jar_tests_2_6_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml deleted file mode 100644 index b869d5d..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_annotations_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml deleted file mode 100644 index c7c0f48..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_client_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 5984ac2..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_prefix_tree_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 2578825..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_procedure_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 87dbfcb..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_server_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml deleted file mode 100644 index 2661e79..0000000 --- a/.idea/libraries/Maven__org_apache_hbase_hbase_server_test_jar_tests_1_2_0_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml b/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml deleted file mode 100644 index aebd338..0000000 --- a/.idea/libraries/Maven__org_apache_htrace_htrace_core4_4_0_1_incubating.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml b/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml deleted file mode 100644 index 058ac96..0000000 --- a/.idea/libraries/Maven__org_apache_htrace_htrace_core_3_2_0_incubating.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml b/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml deleted file mode 100644 index 28acdcf..0000000 --- a/.idea/libraries/Maven__org_apache_zookeeper_zookeeper_3_4_5_cdh5_10_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml b/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml deleted file mode 100644 index 4a829d2..0000000 --- a/.idea/libraries/Maven__org_fusesource_leveldbjni_leveldbjni_all_1_8.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml b/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml deleted file mode 100644 index 8858b4f..0000000 --- a/.idea/libraries/Maven__org_jamon_jamon_runtime_2_4_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml b/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml deleted file mode 100644 index 7e032d7..0000000 --- a/.idea/libraries/Maven__org_jruby_jcodings_jcodings_1_0_8.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml b/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml deleted file mode 100644 index a557ab1..0000000 --- a/.idea/libraries/Maven__org_jruby_joni_joni_2_1_2.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml b/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml deleted file mode 100644 index ee11787..0000000 --- a/.idea/libraries/Maven__org_xerial_snappy_snappy_java_1_0_4_1.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file From a443a6c2c37b34e1759b476c48cffe938df9091c Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Fri, 30 Jun 2017 08:32:30 +0200 Subject: [PATCH 13/16] Committing changes --- pom.xml | 29 ++++---- .../hbase/client/HBaseAdminMultiCluster.java | 4 +- .../client/HBaseMultiClusterConfigUtil.java | 7 -- .../hbase/client/HConnectionMultiCluster.java | 55 ++++++++++----- .../hbase/client/HTableMultiCluster.java | 70 +++++++++---------- .../test/MultiHBaseClusterClientTest.java | 34 +++------ .../client/HBaseMultiClusterClientTest.java | 2 - 7 files changed, 98 insertions(+), 103 deletions(-) diff --git a/pom.xml b/pom.xml index de8062c..bf3bf11 100644 --- a/pom.xml +++ b/pom.xml @@ -15,6 +15,9 @@ 1.7 1.7 + 2.6.0-cdh5.10.1 + 1.2.0-cdh5.10.1 + 5.10.1 @@ -22,77 +25,77 @@ org.apache.hadoop hadoop-common - 2.6.0-cdh5.10.1 + ${hadoop.version} org.apache.hadoop hadoop-common - 2.6.0-cdh5.10.1 + ${hadoop.version} test-jar tests org.apache.hbase hbase-client - 1.2.0-cdh5.10.1 + ${hbase.version} org.apache.hbase hbase-server - 1.2.0-cdh5.10.1 + ${hbase.version} test-jar org.apache.hbase hbase-server - 1.2.0-cdh5.10.1 + ${hbase.version} org.apache.hbase hbase-protocol - 1.2.0-cdh5.10.1 + ${hbase.version} org.apache.hbase hbase-hadoop2-compat - 1.2.0-cdh5.10.1 + ${hbase.version} org.apache.hbase hbase-hadoop2-compat - 1.2.0-cdh5.10.1 + ${hbase.version} test-jar tests org.apache.hbase hbase-common - 1.2.0-cdh5.10.1 + ${hbase.version} org.apache.hbase hbase-common - 1.2.0-cdh5.10.1 + ${hbase.version} test-jar tests org.apache.hbase hbase-hadoop-compat - 1.2.0-cdh5.10.1 + ${hbase.version} org.apache.hbase hbase-hadoop-compat - 1.2.0-cdh5.10.1 + ${hbase.version} test-jar tests com.cloudera.api cloudera-manager-api - 5.10.1 + ${cloudera-manager.version} org.apache.cxf diff --git a/src/main/java/org/apache/hadoop/hbase/client/HBaseAdminMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HBaseAdminMultiCluster.java index d5d2f7e..27a5a79 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HBaseAdminMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HBaseAdminMultiCluster.java @@ -230,7 +230,7 @@ public void createTableAsync(final HTableDescriptor desc, callArray[counter++] = new Callable() { @Override public Void call() throws Exception { - LOG.info("createTableAsync: " + desc.getName() + " for cluster: primary"); + LOG.info("createTableAsync: " + desc.getTableName() + " for cluster: primary"); HBaseAdminMultiCluster.super.createTableAsync(desc, splitKeys); return null; } @@ -240,7 +240,7 @@ public Void call() throws Exception { callArray[counter++] = new Callable() { @Override public Void call() throws Exception { - LOG.info("createTableAsync: " + desc.getName() + " for cluster: " + entry.getKey()); + LOG.info("createTableAsync: " + desc.getTableName() + " for cluster: " + entry.getKey()); entry.getValue().createTableAsync(desc, splitKeys); return null; } diff --git a/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java b/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java index 3d32002..42543b0 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HBaseMultiClusterConfigUtil.java @@ -199,13 +199,6 @@ public static Configuration combineConfigurations(Configuration primary, Configu return combineConfigurations(primary, map); } - public static Configuration combineConfigurations(Configuration primary, Configuration failover, Configuration failover2 ) { - Map map = new HashMap(); - map.put("failover1", failover); - map.put("failover2", failover2); - return combineConfigurations(primary, map); - } - // This method obtains the Hbase configuration from 2 clusters and combines // them public static Configuration combineConfigurations(String host1, String user1, String pwd1, diff --git a/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java index 358ad82..8dbcee3 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java @@ -185,22 +185,22 @@ public Table getTable(TableName tableName, ExecutorService pool) @Override public BufferedMutator getBufferedMutator(TableName tableName) throws IOException { - return null; + return primaryConnection.getBufferedMutator(tableName); } @Override public BufferedMutator getBufferedMutator(BufferedMutatorParams bufferedMutatorParams) throws IOException { - return null; + return primaryConnection.getBufferedMutator(bufferedMutatorParams); } @Override public RegionLocator getRegionLocator(TableName tableName) throws IOException { - return null; + return primaryConnection.getRegionLocator(tableName); } @Override public Admin getAdmin() throws IOException { - return null; + return primaryConnection.getAdmin(); } public boolean isMasterRunning() throws MasterNotRunningException, @@ -255,9 +255,16 @@ public HTableDescriptor[] listTables() throws IOException { } @Deprecated -// public String[] getTableNames() throws IOException { -// return primaryConnection.getAdmin().listTableNames().toString(); -// } + public String[] getTableNames() throws IOException { + TableName[] tableNames = primaryConnection.getAdmin().listTableNames(); + String[] tNames = new String[tableNames.length]; + int i =0; + for (TableName tn: tableNames) { + tNames[i] = tn.toString(); + i++; + } + return tNames; + } public TableName[] listTableNames() throws IOException { return primaryConnection.getAdmin().listTableNames(); @@ -454,17 +461,29 @@ public void processBatchCallback(List list, // return primaryConnection.getCurrentNrHRS(); // } -// public HTableDescriptor[] getHTableDescriptorsByTableName( -// List tableNames) throws IOException { -// return primaryConnection.getAdmin().getTableDescriptor(tableNames) -// } -// -// @Deprecated -// public -// HTableDescriptor[] getHTableDescriptors(List tableNames) -// throws IOException { -// return primaryConnection.getAdmin().getTableDescriptor(tableNames); -// } + public HTableDescriptor[] getHTableDescriptorsByTableName( + List tableNames) throws IOException { + HTableDescriptor tdArr[] = new HTableDescriptor[tableNames.size()]; + int i=0; + for (TableName tn: tableNames) { + tdArr[i] = primaryConnection.getAdmin().getTableDescriptor(tn); + i++; + } + return tdArr; + } + + @Deprecated + public + HTableDescriptor[] getHTableDescriptors(List tableNames) + throws IOException { + HTableDescriptor tdArr[] = new HTableDescriptor[tableNames.size()]; + int i=0; + for (String tn: tableNames) { + tdArr[i] = primaryConnection.getAdmin().getTableDescriptor(TableName.valueOf(tn)); + i++; + } + return tdArr; + } public boolean isClosed() { return primaryConnection.isClosed(); diff --git a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java index eb5006b..4b68a58 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java @@ -7,10 +7,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hbase.Cell; -import org.apache.hadoop.hbase.HConstants; -import org.apache.hadoop.hbase.HTableDescriptor; -import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.*; import org.apache.hadoop.hbase.client.coprocessor.Batch.Call; import org.apache.hadoop.hbase.client.coprocessor.Batch.Callback; import org.apache.hadoop.hbase.filter.CompareFilter; @@ -106,7 +103,7 @@ public boolean exists(final Get get) throws IOException { @Override public boolean[] existsAll(List list) throws IOException { - return new boolean[0]; + return primaryHTable.existsAll(list); } public Tuple multiClusterExists(final Get get) throws IOException { @@ -130,31 +127,37 @@ public Boolean call(Table table) throws Exception { return new Tuple(result.isPrimary, doesExist); } -// public Boolean[] exists(final List gets) throws IOException { -// return multiClusterExists(gets).getOriginalReturn(); -// } + public Boolean[] exists(final List gets) throws IOException { + return multiClusterExists(gets).getOriginalReturn(); + } -// public Tuple multiClusterExists(final List gets) throws IOException { -// long startTime = System.currentTimeMillis(); -// -// HBaseTableFunction function = new HBaseTableFunction() { -// @Override -// public Boolean[] call(Table table) throws Exception { -// return table.exists(gets); -// } -// }; -// -// SpeculativeRequester.ResultWrapper result = (new SpeculativeRequester( -// waitTimeBeforeRequestingFailover, waitTimeBeforeAcceptingResults, lastPrimaryFail, -// waitTimeFromLastPrimaryFail)). -// request(function, primaryHTable, failoverHTables); -// -// stats.addGetList(result.isPrimary, System.currentTimeMillis() - startTime); -// -// Boolean[] doesExists = result.t; -// -// return new Tuple(result.isPrimary, doesExists); -// } + public Tuple multiClusterExists(final List gets) throws IOException { + long startTime = System.currentTimeMillis(); + + HBaseTableFunction function = new HBaseTableFunction() { + Boolean[] bool = new Boolean[gets.size()]; + int i=0; + @Override + public Boolean[] call(Table table) throws Exception { + for (Get gt: gets) { + bool[i]= table.exists(gt); + i++; + } + return bool; + } + }; + + SpeculativeRequester.ResultWrapper result = (new SpeculativeRequester( + waitTimeBeforeRequestingFailover, waitTimeBeforeAcceptingResults, lastPrimaryFail, + waitTimeFromLastPrimaryFail)). + request(function, primaryHTable, failoverHTables); + + stats.addGetList(result.isPrimary, System.currentTimeMillis() - startTime); + + Boolean[] doesExists = result.t; + + return new Tuple(result.isPrimary, doesExists); + } public void batch(final List actions, final Object[] results) throws IOException, InterruptedException { @@ -241,10 +244,7 @@ public Tuple multiClusterGetRowOrBefore(final byte[] row, final byte[] f HBaseTableFunction function = new HBaseTableFunction() { @Override public Result call(Table table) throws Exception { - return (Result)table.getScanner(row, family); - - //return table.getRowOrBefore(row, family); } }; @@ -406,7 +406,7 @@ private Put setTimeStampOfUnsetValues(final Put put, long ts) // This will protect us from a multicluster sumbission if (cell.getTimestamp() == HConstants.LATEST_TIMESTAMP) { newPut - .addColumn(cell.getFamily(), cell.getQualifier(), ts, cell.getValue()); + .addColumn(CellUtil.cloneFamily(cell), CellUtil.cloneQualifier(cell), ts, CellUtil.cloneValue(cell)); } else { newPut.add(cell); } @@ -472,7 +472,7 @@ public boolean checkAndPut(byte[] row, byte[] family, byte[] qualifier, @Override public boolean checkAndPut(byte[] bytes, byte[] bytes1, byte[] bytes2, CompareFilter.CompareOp compareOp, byte[] bytes3, Put put) throws IOException { - return false; + return primaryHTable.checkAndPut(bytes, bytes1, bytes2, compareOp, bytes3, put); } public void delete(final Delete delete) throws IOException { @@ -532,7 +532,7 @@ public boolean checkAndDelete(byte[] row, byte[] family, byte[] qualifier, @Override public boolean checkAndDelete(byte[] bytes, byte[] bytes1, byte[] bytes2, CompareFilter.CompareOp compareOp, byte[] bytes3, Delete delete) throws IOException { - return false; + return primaryHTable.checkAndDelete(bytes, bytes1, bytes2, compareOp, bytes3, delete); } public void mutateRow(final RowMutations rm) throws IOException { diff --git a/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java index 307c905..c01e0e5 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java @@ -1,4 +1,4 @@ -package org.apache.hadoop.hbase.client; +package org.apache.hadoop.hbase.test; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; @@ -8,35 +8,25 @@ import org.apache.hadoop.security.UserGroupInformation; import org.junit.Before; import org.junit.Test; - import java.io.IOException; import java.util.HashMap; import java.util.Map; - -import static junit.framework.TestCase.assertFalse; - +import org.junit.Assert; /** * Created by balachandrapai on 19.06.17. */ public class MultiHBaseClusterClientTest { - Configuration combinedConfig; Connection connection; - @Before public void initialize(){ - - - - System.setProperty("java.security.krb5.conf", "src/resources/krb5.conf"); + System.setProperty("java.security.krb5.conf", "home/balachandrapai/Desktop/Security/krb5.conf"); System.setProperty("sun.security.krb5.debug", "true"); - //Primary Cluster Configuration primaryConfig = HBaseConfiguration.create(); - primaryConfig.set("hbase.zookeeper.quorum", "cdhmaster1"); primaryConfig.set("hbase.zookeeper.property.clientPort", "2181"); primaryConfig.set("hadoop.security.authentication", "kerberos"); @@ -46,17 +36,15 @@ public void initialize(){ UserGroupInformation.setConfiguration(primaryConfig); System.out.println("Principal Authentication: "); final String user = "hbase/cdhmaster1@EXAMPLE.COM"; - final String keyPath = "src/resources/cdhmaster1/hbase.keytab"; + final String keyPath = "home/balachandrapai/Desktop/Security/cdhmaster1/hbase.keytab"; try { UserGroupInformation.loginUserFromKeytab(user, keyPath); } catch (IOException e) { e.printStackTrace(); } - //failover Cluster Configuration failover = HBaseConfiguration.create(); - failover.set("hbase.zookeeper.quorum", "cdhmaster2"); failover.set("hbase.zookeeper.property.clientPort", "2181"); failover.set("hadoop.security.authentication", "kerberos"); @@ -66,16 +54,14 @@ public void initialize(){ UserGroupInformation.setConfiguration(primaryConfig); System.out.println("Principal Authentication: "); final String user2 = "hbase/cdhmaster2@EXAMPLE.COM"; - final String keyPath2 = "src/resources/cdhmaster2/hbase.keytab"; + final String keyPath2 = "home/balachandrapai/Desktop/Security/hbase.keytab"; try { UserGroupInformation.loginUserFromKeytab(user2, keyPath2); } catch (IOException e) { e.printStackTrace(); } - Map failoverClusters = new HashMap(); - failoverClusters.put("failover", failover); combinedConfig = HBaseMultiClusterConfigUtil.combineConfigurations(primaryConfig, failoverClusters); @@ -95,8 +81,7 @@ public void readFromMCC(){ Result result = multiTable.get(get1); - assertFalse(result.isEmpty()); - + Assert.assertEquals(Boolean.FALSE, result.isEmpty()); } catch (IOException e) { e.printStackTrace(); } @@ -104,7 +89,7 @@ public void readFromMCC(){ } @Test - public void writeToMCC(){ + public void writeToMCC() { try { Table multiTable = connection.getTable(TableName.valueOf("t1")); @@ -116,13 +101,10 @@ public void writeToMCC(){ Get get1 = new Get(Bytes.toBytes("row4")); Result result = multiTable.get(get1); - assertFalse(result.isEmpty()); + Assert.assertEquals(Boolean.FALSE, result.isEmpty()); } catch (IOException e) { e.printStackTrace(); } - } - - } diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java index 11b166d..51ad81a 100644 --- a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java +++ b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java @@ -74,7 +74,6 @@ public void testHBaseMultiClusterClientTest() throws Exception { Put put1 = new Put(Bytes.toBytes("A1")); put1.addColumn(FAM_NAME, QUAL_NAME, VALUE); multiTable.put(put1); - connection.getBufferedMutator(TABLE_NAME).flush(); Get get1 = new Get(Bytes.toBytes("A1")); @@ -125,7 +124,6 @@ public void testHBaseMultiClusterClientTest() throws Exception { put3.addColumn(FAM_NAME, QUAL_NAME, VALUE); multiTable = connection.getTable(TABLE_NAME); multiTable.put(put3); - connection.getBufferedMutator(TABLE_NAME).flush(); System.out.println("------------8"); Get get3 = new Get(Bytes.toBytes("A3")); From 13b3554008c36a4664ad1fd3aefe61ef00827799 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Mon, 3 Jul 2017 11:44:36 +0200 Subject: [PATCH 14/16] Committing changes --- pom.xml | 9 +++++---- .../hadoop/hbase/client/HTableMultiCluster.java | 6 +++++- .../hbase/test/MultiHBaseClusterClientTest.java | 13 +++++++++---- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index bf3bf11..56e9627 100644 --- a/pom.xml +++ b/pom.xml @@ -15,9 +15,10 @@ 1.7 1.7 - 2.6.0-cdh5.10.1 - 1.2.0-cdh5.10.1 - 5.10.1 + 5.10.1 + 2.6.0-cdh${cdh.version} + 1.2.0-cdh${cdh.version} + @@ -95,7 +96,7 @@ com.cloudera.api cloudera-manager-api - ${cloudera-manager.version} + ${cdh.version} org.apache.cxf diff --git a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java index 4b68a58..b2d9a23 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java @@ -7,7 +7,11 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hbase.*; +import org.apache.hadoop.hbase.HTableDescriptor; +import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.Cell; +import org.apache.hadoop.hbase.HConstants; +import org.apache.hadoop.hbase.CellUtil; import org.apache.hadoop.hbase.client.coprocessor.Batch.Call; import org.apache.hadoop.hbase.client.coprocessor.Batch.Callback; import org.apache.hadoop.hbase.filter.CompareFilter; diff --git a/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java index c01e0e5..abcc487 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java @@ -3,7 +3,13 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.TableName; -import org.apache.hadoop.hbase.client.*; +import org.apache.hadoop.hbase.client.Connection; +import org.apache.hadoop.hbase.client.HBaseMultiClusterConfigUtil; +import org.apache.hadoop.hbase.client.HConnectionManagerMultiClusterWrapper; +import org.apache.hadoop.hbase.client.Table; +import org.apache.hadoop.hbase.client.Get; +import org.apache.hadoop.hbase.client.Result; +import org.apache.hadoop.hbase.client.Put; import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.security.UserGroupInformation; import org.junit.Before; @@ -81,7 +87,7 @@ public void readFromMCC(){ Result result = multiTable.get(get1); - Assert.assertEquals(Boolean.FALSE, result.isEmpty()); + Assert.assertFalse(result.isEmpty()); } catch (IOException e) { e.printStackTrace(); } @@ -101,8 +107,7 @@ public void writeToMCC() { Get get1 = new Get(Bytes.toBytes("row4")); Result result = multiTable.get(get1); - Assert.assertEquals(Boolean.FALSE, result.isEmpty()); - + Assert.assertFalse(result.isEmpty()); } catch (IOException e) { e.printStackTrace(); } From ee6e678809e774b7074b454553566cb17df7dffa Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Mon, 3 Jul 2017 16:08:11 +0200 Subject: [PATCH 15/16] Committing changes --- .../hbase/client/HConnectionMultiCluster.java | 168 ------------------ .../hbase/client/HTableMultiCluster.java | 14 -- .../test/MultiHBaseClusterClientTest.java | 6 +- .../client/HBaseMultiClusterClientTest.java | 2 - 4 files changed, 3 insertions(+), 187 deletions(-) diff --git a/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java index 8dbcee3..4a7c63a 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HConnectionMultiCluster.java @@ -280,106 +280,6 @@ public HTableDescriptor getHTableDescriptor(byte[] tableName) throws IOException return primaryConnection.getAdmin().getTableDescriptor(TableName.valueOf(tableName)); } -// public HRegionLocation locateRegion(TableName tableName, byte[] row) -// throws IOException { -// return primaryConnection.locateRegion(tableName, row); -// } - -// @Deprecated -// public HRegionLocation locateRegion(byte[] tableName, byte[] row) -// throws IOException { -// return primaryConnection.locateRegion(tableName, row); -// } - -// public void clearRegionCache() { -// primaryConnection.clearRegionCache(); -// } -// -// public void clearRegionCache(TableName tableName) { -// primaryConnection.clearRegionCache(tableName); -// } - -// @Deprecated -// public -// void clearRegionCache(byte[] tableName) { -// primaryConnection.clearRegionCache(tableName); -// } - -// public void deleteCachedRegionLocation(HRegionLocation location) { -// primaryConnection.deleteCachedRegionLocation(location); -// } - -// public HRegionLocation relocateRegion(TableName tableName, byte[] row) -// throws IOException { -// return primaryConnection.relocateRegion(tableName, row); -// } - -// @Deprecated -// public -// HRegionLocation relocateRegion(byte[] tableName, byte[] row) -// throws IOException { -// return primaryConnection.relocateRegion(tableName, row); -// } - -// public void updateCachedLocations(TableName tableName, byte[] rowkey, -// Object exception, HRegionLocation source) { -// primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); -// } - -// @Deprecated -// public -// void updateCachedLocations(byte[] tableName, byte[] rowkey, Object exception, -// HRegionLocation source) { -// primaryConnection.updateCachedLocations(tableName, rowkey, exception, source); -// } - -// public HRegionLocation locateRegion(byte[] regionName) throws IOException { -// return primaryConnection.locateRegion(regionName); -// } - -// public List locateRegions(TableName tableName) -// throws IOException { -// return primaryConnection.locateRegions(tableName); -// } - -// @Deprecated -// public -// List locateRegions(byte[] tableName) throws IOException { -// return (List) primaryConnection.locateRegion(tableName); -// } -// -// public List locateRegions(TableName tableName, -// boolean useCache, boolean offlined) throws IOException { -// return (List) primaryConnection.locateRegions(tableName, -// useCache, offlined); -// } - -// @Deprecated -// public List locateRegions(byte[] tableName, -// boolean useCache, boolean offlined) throws IOException { -// return (List) primaryConnection.locateRegions(tableName, -// useCache, offlined); -// } - -// public BlockingInterface getMaster() throws IOException { -// return primaryConnection.getAdmin().getClusterStatus().getMaster(); -// } - -// public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( -// ServerName serverName) throws IOException { -// return primaryConnection.getAdmin(serverName); -// } - -// public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ClientService.BlockingInterface getClient( -// ServerName serverName) throws IOException { -// return primaryConnection.getClient(serverName); -// } - -// public org.apache.hadoop.hbase.protobuf.generated.AdminProtos.AdminService.BlockingInterface getAdmin( -// ServerName serverName, boolean getMaster) throws IOException { -// return primaryConnection.getAdmin(serverName); -// } - public HRegionLocation getRegionLocation(TableName tableName, byte[] row, boolean reload) throws IOException { return primaryConnection.getRegionLocator(tableName).getRegionLocation(row, reload); @@ -423,44 +323,6 @@ public void processBatchCallback(List list, } -// public void setRegionCachePrefetch(TableName tableName, boolean enable) { -// RuntimeException lastException = null; -// try { -// primaryConnection.setRegionCachePrefetch(tableName, enable); -// } catch (RuntimeException e) { -// LOG.error("Exception while closing primary", e); -// lastException = e; -// } -// for (Connection failOverConnection : failoverConnections) { -// try { -// failOverConnection.setRegionCachePrefetch(tableName, enable); -// } catch (RuntimeException e) { -// LOG.error("Exception while closing failOverConnection", e); -// lastException = e; -// } -// } -// if (lastException != null) { -// throw lastException; -// } -// -// } - -// public void setRegionCachePrefetch(byte[] tableName, boolean enable) { -// this.setRegionCachePrefetch(TableName.valueOf(tableName), enable); -// } - -// public boolean getRegionCachePrefetch(TableName tableName) { -// return this.getRegionCachePrefetch(tableName); -// } - -// public boolean getRegionCachePrefetch(byte[] tableName) { -// return this.getRegionCachePrefetch(TableName.valueOf(tableName)); -// } - -// public int getCurrentNrHRS() throws IOException { -// return primaryConnection.getCurrentNrHRS(); -// } - public HTableDescriptor[] getHTableDescriptorsByTableName( List tableNames) throws IOException { HTableDescriptor tdArr[] = new HTableDescriptor[tableNames.size()]; @@ -489,36 +351,6 @@ public boolean isClosed() { return primaryConnection.isClosed(); } -// public void clearCaches(ServerName sn) { -// RuntimeException lastException = null; -// try { -// primaryConnection.clearCaches(sn); -// } catch (RuntimeException e) { -// LOG.error("Exception while closing primary", e); -// lastException = e; -// } -// for (Connection failOverConnection : failoverConnections) { -// try { -// failOverConnection.clearCaches(sn); -// } catch (RuntimeException e) { -// LOG.error("Exception while closing failOverConnection", e); -// lastException = e; -// } -// } -// if (lastException != null) { -// throw lastException; -// } -// } - -// public boolean isDeadServer(ServerName serverName) { -// return primaryConnection.isDeadServer(serverName); -// } -// -// public NonceGenerator getNonceGenerator() { -// return primaryConnection.getNonceGenerator(); -// } - - @Deprecated public MasterKeepAliveConnection getKeepAliveMasterService() diff --git a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java index b2d9a23..4d87608 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HTableMultiCluster.java @@ -563,20 +563,6 @@ public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, durability); } -// @Deprecated -// public long incrementColumnValue(byte[] row, byte[] family, byte[] qualifier, -// long amount, boolean writeToWAL) throws IOException { -// return primaryHTable.incrementColumnValue(row, family, qualifier, amount, -// writeToWAL); -// } - -// public boolean isAutoFlush() { -// -// boolean primaryAnswer = primaryHTable.isAutoFlush(); -// -// return primaryAnswer; -// } - public void flushCommits() throws IOException { if (bufferPutList.size() > 0) { autoFlushMutliClusterPut(bufferPutList); diff --git a/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java index abcc487..83d2032 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiHBaseClusterClientTest.java @@ -28,7 +28,7 @@ public class MultiHBaseClusterClientTest { @Before public void initialize(){ - System.setProperty("java.security.krb5.conf", "home/balachandrapai/Desktop/Security/krb5.conf"); + System.setProperty("java.security.krb5.conf", "/home/balachandrapai/Desktop/Security/krb5.conf"); System.setProperty("sun.security.krb5.debug", "true"); //Primary Cluster @@ -42,7 +42,7 @@ public void initialize(){ UserGroupInformation.setConfiguration(primaryConfig); System.out.println("Principal Authentication: "); final String user = "hbase/cdhmaster1@EXAMPLE.COM"; - final String keyPath = "home/balachandrapai/Desktop/Security/cdhmaster1/hbase.keytab"; + final String keyPath = "/home/balachandrapai/Desktop/Security/cdhmaster1/hbase.keytab"; try { UserGroupInformation.loginUserFromKeytab(user, keyPath); } catch (IOException e) { @@ -60,7 +60,7 @@ public void initialize(){ UserGroupInformation.setConfiguration(primaryConfig); System.out.println("Principal Authentication: "); final String user2 = "hbase/cdhmaster2@EXAMPLE.COM"; - final String keyPath2 = "home/balachandrapai/Desktop/Security/hbase.keytab"; + final String keyPath2 = "/home/balachandrapai/Desktop/Security/hbase.keytab"; try { UserGroupInformation.loginUserFromKeytab(user2, keyPath2); } catch (IOException e) { diff --git a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java index 51ad81a..6e0de49 100644 --- a/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java +++ b/src/test/java/org/apache/hadoop/hbase/client/HBaseMultiClusterClientTest.java @@ -7,8 +7,6 @@ import org.apache.hadoop.hbase.util.Bytes; import org.apache.hadoop.hbase.util.DynamicClassLoader; import org.junit.Test; - -import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; From 9645982fbc4088329be9a200f322a516af6a2b93 Mon Sep 17 00:00:00 2001 From: balachandrapai Date: Wed, 5 Jul 2017 11:24:58 +0200 Subject: [PATCH 16/16] Committing changes --- .../hbase/client/HBaseAdminMultiCluster.java | 22 ++----------------- ...ultiThreadedMultiClusterWithCmApiTest.java | 6 ++--- ...eadedMultiClusterWithCombinedFileTest.java | 5 +++-- .../hbase/test/RunMultiClusterTest.java | 8 +++---- 4 files changed, 12 insertions(+), 29 deletions(-) diff --git a/src/main/java/org/apache/hadoop/hbase/client/HBaseAdminMultiCluster.java b/src/main/java/org/apache/hadoop/hbase/client/HBaseAdminMultiCluster.java index 27a5a79..f238794 100644 --- a/src/main/java/org/apache/hadoop/hbase/client/HBaseAdminMultiCluster.java +++ b/src/main/java/org/apache/hadoop/hbase/client/HBaseAdminMultiCluster.java @@ -21,26 +21,8 @@ public class HBaseAdminMultiCluster extends HBaseAdmin { Map failoverAdminMap = new HashMap(); - public HBaseAdminMultiCluster(Configuration c) - throws MasterNotRunningException, ZooKeeperConnectionException, - IOException { - super(HBaseMultiClusterConfigUtil.splitMultiConfigFile(c).get( - HBaseMultiClusterConfigUtil.PRIMARY_NAME)); - - Map configs = HBaseMultiClusterConfigUtil - .splitMultiConfigFile(c); - - for (Entry entry : configs.entrySet()) { - - if (!entry.getKey().equals(HBaseMultiClusterConfigUtil.PRIMARY_NAME)) { - HBaseAdmin admin = new HBaseAdmin(entry.getValue()); - LOG.info("creating HBaseAdmin for : " + entry.getKey()); - failoverAdminMap.put(entry.getKey(), admin); - LOG.info(" - successfully creating HBaseAdmin for : " + entry.getKey()); - } - } - LOG.info("Successful loaded all HBaseAdmins"); - + public HBaseAdminMultiCluster(ClusterConnection connection) { + super(connection); } @Override diff --git a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java index d4f1036..cd33b0a 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCmApiTest.java @@ -59,6 +59,8 @@ public static void main(String[] args) throws Exception { cmHost2, username2, password2, cluster2, hbaseService2); + final Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); + LOG.info("--Got Configuration"); final String tableName = args[10]; @@ -74,7 +76,7 @@ public static void main(String[] args) throws Exception { LOG.info("hbase.zookeeper.quorum: " + config.get("hbase.zookeeper.quorum")); LOG.info("hbase.failover.cluster.fail1.hbase.hstore.compaction.max: " + config.get("hbase.failover.cluster.fail1.hbase.hstore.compaction.max")); - HBaseAdmin admin = new HBaseAdminMultiCluster(config); + Admin admin = connection.getAdmin(); try { if (admin.tableExists(TableName.valueOf(tableName))) { @@ -118,8 +120,6 @@ public static void main(String[] args) throws Exception { config.set("hbase.client.retries.number", "1"); config.set("hbase.client.pause", "1"); - final Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); - LOG.info(" - Got HConnection: " + connection.getClass()); LOG.info("Getting HTable"); diff --git a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java index fbad7ac..8612271 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/MultiThreadedMultiClusterWithCombinedFileTest.java @@ -53,7 +53,9 @@ public static void main(String[] args) throws Exception { System.out.println("hbase.zookeeper.quorum: " + config.get("hbase.zookeeper.quorum")); System.out.println("hbase.failover.cluster.fail1.hbase.hstore.compaction.max: " + config.get("hbase.failover.cluster.fail1.hbase.hstore.compaction.max")); - HBaseAdmin admin = new HBaseAdminMultiCluster(config); + final Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); + + Admin admin = connection.getAdmin(); try { admin.disableTable(TableName.valueOf(tableName)); @@ -87,7 +89,6 @@ public static void main(String[] args) throws Exception { config.set("hbase.client.retries.number", "1"); config.set("hbase.client.pause", "1"); - final Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); System.out.println(" - Got HConnection: " + connection.getClass()); diff --git a/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java b/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java index 64a021e..4843932 100644 --- a/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java +++ b/src/main/java/org/apache/hadoop/hbase/test/RunMultiClusterTest.java @@ -39,8 +39,10 @@ public static void main(String[] args) throws Exception { System.out.println(ConfigConst.HBASE_FAILOVER_CLUSTERS_CONFIG + ": " + config.get(ConfigConst.HBASE_FAILOVER_CLUSTERS_CONFIG)); System.out.println("hbase.zookeeper.quorum: " + config.get("hbase.zookeeper.quorum")); System.out.println("hbase.failover.cluster.fail1.hbase.hstore.compaction.max: " + config.get("hbase.failover.cluster.fail1.hbase.hstore.compaction.max")); - - HBaseAdmin admin = new HBaseAdminMultiCluster(config); + + Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); + + Admin admin = connection.getAdmin(); try { admin.disableTable(TableName.valueOf(tableName)); @@ -74,8 +76,6 @@ public static void main(String[] args) throws Exception { config.set("hbase.client.retries.number", "1"); config.set("hbase.client.pause", "1"); - Connection connection = HConnectionManagerMultiClusterWrapper.createConnection(config); - System.out.println(" - Got HConnection: " + connection.getClass()); System.out.println("Getting HTable");