hbase git commit: HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
Repository: hbase Updated Branches: refs/heads/branch-1.1 2598d0087 -> 68cd18176 HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/68cd1817 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/68cd1817 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/68cd1817 Branch: refs/heads/branch-1.1 Commit: 68cd18176e197c08294af622b849f2e7f9ea1fc7 Parents: 2598d00 Author: Yu LiAuthored: Fri Sep 8 11:40:26 2017 +0800 Committer: Yu Li Committed: Tue Sep 19 09:53:53 2017 +0800 -- .../src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/68cd1817/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java index 49c095d..8c3c212 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java @@ -1676,7 +1676,7 @@ class AsyncProcess { lastLog = now; LOG.info("#" + id + ", waiting for some tasks to finish. Expected max=" + max + ", tasksInProgress=" + currentInProgress + - " hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName); + " hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName)); if (currentInProgress <= thresholdToLogUndoneTaskDetails) { logDetailsOfUndoneTasks(currentInProgress); }
hbase git commit: HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
Repository: hbase Updated Branches: refs/heads/branch-1.3 699b3e7b1 -> 025c3f47d HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/025c3f47 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/025c3f47 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/025c3f47 Branch: refs/heads/branch-1.3 Commit: 025c3f47da5a297838a00e673b2bc6f4f4ff1e16 Parents: 699b3e7 Author: Yu LiAuthored: Fri Sep 8 11:40:26 2017 +0800 Committer: Yu Li Committed: Tue Sep 19 09:54:34 2017 +0800 -- .../src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/025c3f47/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java index d5f99f1..12fbb47 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java @@ -1819,7 +1819,7 @@ class AsyncProcess { lastLog = now; LOG.info("#" + id + ", waiting for some tasks to finish. Expected max=" + max + ", tasksInProgress=" + currentInProgress + - " hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName); + " hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName)); if (currentInProgress <= thresholdToLogUndoneTaskDetails) { logDetailsOfUndoneTasks(currentInProgress); }
hbase git commit: HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
Repository: hbase Updated Branches: refs/heads/branch-1.2 316dd45cc -> da25def91 HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/da25def9 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/da25def9 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/da25def9 Branch: refs/heads/branch-1.2 Commit: da25def91b517ecc279444d8ab4dd943c117f61c Parents: 316dd45 Author: Yu LiAuthored: Fri Sep 8 11:40:26 2017 +0800 Committer: Yu Li Committed: Tue Sep 19 09:54:19 2017 +0800 -- .../src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/da25def9/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java index 0f1fd58..d49d474 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java @@ -1747,7 +1747,7 @@ class AsyncProcess { lastLog = now; LOG.info("#" + id + ", waiting for some tasks to finish. Expected max=" + max + ", tasksInProgress=" + currentInProgress + - " hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName); + " hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName)); if (currentInProgress <= thresholdToLogUndoneTaskDetails) { logDetailsOfUndoneTasks(currentInProgress); }
hbase git commit: HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
Repository: hbase Updated Branches: refs/heads/branch-1.4 b87a8d97c -> a1d0bb97a HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a1d0bb97 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a1d0bb97 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a1d0bb97 Branch: refs/heads/branch-1.4 Commit: a1d0bb97ac0a3384dab14e343c4394f09ac09eee Parents: b87a8d9 Author: Yu LiAuthored: Fri Sep 8 11:40:26 2017 +0800 Committer: Yu Li Committed: Tue Sep 19 09:55:46 2017 +0800 -- .../src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/a1d0bb97/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java index 097206c..44a7656 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java @@ -1857,7 +1857,7 @@ class AsyncProcess { lastLog = now; LOG.info("#" + id + ", waiting for some tasks to finish. Expected max=" + max + ", tasksInProgress=" + currentInProgress + - " hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName); + " hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName)); if (currentInProgress <= thresholdToLogUndoneTaskDetails) { logDetailsOfUndoneTasks(currentInProgress); }
hbase git commit: HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
Repository: hbase Updated Branches: refs/heads/branch-2 00d9e3847 -> 52c809c35 HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/52c809c3 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/52c809c3 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/52c809c3 Branch: refs/heads/branch-2 Commit: 52c809c35e2abaa9e9b21b2a5fb775b2edbcf0f0 Parents: 00d9e38 Author: Yu LiAuthored: Fri Sep 8 11:38:00 2017 +0800 Committer: Yu Li Committed: Tue Sep 19 09:55:11 2017 +0800 -- .../src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/52c809c3/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java index f2d8d74..5e0da59 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java @@ -448,7 +448,7 @@ class AsyncProcess { LOG.info("#" + id + (max < 0 ? ", waiting for any free slot" : ", waiting for some tasks to finish. Expected max=" + max) + ", tasksInProgress=" + currentInProgress + - " hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName); + " hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName)); }; }
hbase git commit: HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
Repository: hbase Updated Branches: refs/heads/master 34d648808 -> b56760c73 HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b56760c7 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b56760c7 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b56760c7 Branch: refs/heads/master Commit: b56760c732f4f72fcc3734cb0133262198d0889c Parents: 34d6488 Author: Yu LiAuthored: Fri Sep 8 11:38:00 2017 +0800 Committer: Yu Li Committed: Tue Sep 19 09:54:51 2017 +0800 -- .../src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/b56760c7/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java index f2d8d74..5e0da59 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java @@ -448,7 +448,7 @@ class AsyncProcess { LOG.info("#" + id + (max < 0 ? ", waiting for any free slot" : ", waiting for some tasks to finish. Expected max=" + max) + ", tasksInProgress=" + currentInProgress + - " hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName); + " hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName)); }; }
hbase git commit: HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
Repository: hbase Updated Branches: refs/heads/branch-1 ead106324 -> 539fce344 HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/539fce34 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/539fce34 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/539fce34 Branch: refs/heads/branch-1 Commit: 539fce344048514606dd0c350985875774ec5e95 Parents: ead1063 Author: Yu LiAuthored: Fri Sep 8 11:40:26 2017 +0800 Committer: Yu Li Committed: Tue Sep 19 09:53:14 2017 +0800 -- .../src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/539fce34/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java index 097206c..44a7656 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java @@ -1857,7 +1857,7 @@ class AsyncProcess { lastLog = now; LOG.info("#" + id + ", waiting for some tasks to finish. Expected max=" + max + ", tasksInProgress=" + currentInProgress + - " hasError=" + hasError() + tableName == null ? "" : ", tableName=" + tableName); + " hasError=" + hasError() + (tableName == null ? "" : ", tableName=" + tableName)); if (currentInProgress <= thresholdToLogUndoneTaskDetails) { logDetailsOfUndoneTasks(currentInProgress); }
hbase git commit: HBASE-15410 Utilize the max seek value when all Filters in MUST_PASS_ALL FilterList return SEEK_NEXT_USING_HINT
Repository: hbase Updated Branches: refs/heads/branch-1 bd0f6551f -> ead106324 HBASE-15410 Utilize the max seek value when all Filters in MUST_PASS_ALL FilterList return SEEK_NEXT_USING_HINT Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/ead10632 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/ead10632 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/ead10632 Branch: refs/heads/branch-1 Commit: ead106324474d2faff11b4e1779e575aec67b59c Parents: bd0f655 Author: tedyuAuthored: Mon Sep 18 14:31:21 2017 -0700 Committer: tedyu Committed: Mon Sep 18 14:31:21 2017 -0700 -- .../apache/hadoop/hbase/filter/FilterList.java | 32 .../hadoop/hbase/filter/TestFilterList.java | 4 +-- 2 files changed, 28 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/ead10632/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java -- diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java index ddbd4a7..74736db 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterList.java @@ -22,12 +22,15 @@ import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; +import java.util.HashSet; import java.util.List; +import java.util.Set; import org.apache.hadoop.hbase.CellUtil; import org.apache.hadoop.hbase.classification.InterfaceAudience; import org.apache.hadoop.hbase.classification.InterfaceStability; import org.apache.hadoop.hbase.Cell; +import org.apache.hadoop.hbase.CellComparator; import org.apache.hadoop.hbase.KeyValue; import org.apache.hadoop.hbase.KeyValueUtil; import org.apache.hadoop.hbase.exceptions.DeserializationException; @@ -69,7 +72,7 @@ final public class FilterList extends Filter { private static final int MAX_LOG_FILTERS = 5; private Operator operator = Operator.MUST_PASS_ALL; private List filters = new ArrayList(); - private Filter seekHintFilter = null; + private Set seekHintFilter = new HashSet<>(); /** * Save previous return code and previous cell for every filter in filter list. For MUST_PASS_ONE, @@ -207,7 +210,7 @@ final public class FilterList extends Filter { prevCellList.set(i, null); } } -seekHintFilter = null; +seekHintFilter.clear(); } @Override @@ -314,6 +317,7 @@ final public class FilterList extends Filter { justification="Intentional") public ReturnCode filterKeyValue(Cell v) throws IOException { this.referenceKV = v; +seekHintFilter.clear(); // Accumulates successive transformation of every filter that includes the Cell: Cell transformed = v; @@ -345,10 +349,12 @@ final public class FilterList extends Filter { transformed = filter.transformCell(transformed); continue; case SEEK_NEXT_USING_HINT: - seekHintFilter = filter; - return code; + seekHintFilter.add(filter); + continue; default: - return code; + if (seekHintFilter.isEmpty()) { +return code; + } } } else if (operator == Operator.MUST_PASS_ONE) { Cell prevCell = this.prevCellList.get(i); @@ -398,6 +404,10 @@ final public class FilterList extends Filter { } } +if (!seekHintFilter.isEmpty()) { + return ReturnCode.SEEK_NEXT_USING_HINT; +} + // Save the transformed Cell for transform(): this.transformedKV = transformed; @@ -522,7 +532,17 @@ final public class FilterList extends Filter { public Cell getNextCellHint(Cell currentKV) throws IOException { Cell keyHint = null; if (operator == Operator.MUST_PASS_ALL) { - if (seekHintFilter != null) keyHint = seekHintFilter.getNextCellHint(currentKV); + for (Filter filter : seekHintFilter) { +if (filter.filterAllRemaining()) continue; +Cell curKeyHint = filter.getNextCellHint(currentKV); +if (keyHint == null) { + keyHint = curKeyHint; + continue; +} +if (KeyValue.COMPARATOR.compare(keyHint, curKeyHint) < 0) { + keyHint = curKeyHint; +} + } return keyHint; } http://git-wip-us.apache.org/repos/asf/hbase/blob/ead10632/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterList.java -- diff --git
hbase git commit: HBASE-18832 Fixed LTT, removed references to deprecated HColumnDescriptor
Repository: hbase Updated Branches: refs/heads/branch-2 a66f9dcda -> 00d9e3847 HBASE-18832 Fixed LTT, removed references to deprecated HColumnDescriptor Signed-off-by: Michael StackProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/00d9e384 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/00d9e384 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/00d9e384 Branch: refs/heads/branch-2 Commit: 00d9e38479890bb58d2aafd9b373458e0650e4f4 Parents: a66f9dc Author: Umesh Agashe Authored: Mon Sep 18 11:12:10 2017 -0700 Committer: Michael Stack Committed: Mon Sep 18 13:10:07 2017 -0700 -- .../apache/hadoop/hbase/util/LoadTestTool.java | 40 ++-- 1 file changed, 20 insertions(+), 20 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/00d9e384/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java -- diff --git a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java index 0cbcb5f..56dc5c7 100644 --- a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java +++ b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java @@ -24,7 +24,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Properties; -import java.util.Random; import java.util.concurrent.atomic.AtomicReference; import javax.crypto.spec.SecretKeySpec; @@ -36,9 +35,10 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HBaseInterfaceAudience; import org.apache.hadoop.hbase.HBaseTestingUtility; -import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.client.ColumnFamilyDescriptor; +import org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder; import org.apache.yetus.audience.InterfaceAudience; import org.apache.hadoop.hbase.client.Admin; import org.apache.hadoop.hbase.client.Connection; @@ -258,46 +258,46 @@ public class LoadTestTool extends AbstractHBaseTool { byte[][] columnFamilies) throws IOException { try (Connection conn = ConnectionFactory.createConnection(conf); Admin admin = conn.getAdmin()) { - TableDescriptor tableDesc = admin.getTableDescriptor(tableName); + TableDescriptor tableDesc = admin.getDescriptor(tableName); LOG.info("Disabling table " + tableName); admin.disableTable(tableName); for (byte[] cf : columnFamilies) { -HColumnDescriptor columnDesc = (HColumnDescriptor) tableDesc.getColumnFamily(cf); +ColumnFamilyDescriptor columnDesc = tableDesc.getColumnFamily(cf); boolean isNewCf = columnDesc == null; -if (isNewCf) { - columnDesc = new HColumnDescriptor(cf); -} +ColumnFamilyDescriptorBuilder columnDescBuilder = isNewCf ? +ColumnFamilyDescriptorBuilder.newBuilder(cf) : +ColumnFamilyDescriptorBuilder.newBuilder(columnDesc); if (bloomType != null) { - columnDesc.setBloomFilterType(bloomType); + columnDescBuilder.setBloomFilterType(bloomType); } if (compressAlgo != null) { - columnDesc.setCompressionType(compressAlgo); + columnDescBuilder.setCompressionType(compressAlgo); } if (dataBlockEncodingAlgo != null) { - columnDesc.setDataBlockEncoding(dataBlockEncodingAlgo); + columnDescBuilder.setDataBlockEncoding(dataBlockEncodingAlgo); } if (inMemoryCF) { - columnDesc.setInMemory(inMemoryCF); + columnDescBuilder.setInMemory(inMemoryCF); } if (cipher != null) { byte[] keyBytes = new byte[cipher.getKeyLength()]; new SecureRandom().nextBytes(keyBytes); - columnDesc.setEncryptionType(cipher.getName()); - columnDesc.setEncryptionKey( + columnDescBuilder.setEncryptionType(cipher.getName()); + columnDescBuilder.setEncryptionKey( EncryptionUtil.wrapKey(conf, User.getCurrent().getShortName(), new SecretKeySpec(keyBytes, cipher.getName(; } if (mobThreshold >= 0) { - columnDesc.setMobEnabled(true); - columnDesc.setMobThreshold(mobThreshold); + columnDescBuilder.setMobEnabled(true); + columnDescBuilder.setMobThreshold(mobThreshold); } if (isNewCf) { -
hbase git commit: HBASE-18832 Fixed LTT, removed references to deprecated HColumnDescriptor
Repository: hbase Updated Branches: refs/heads/master e10d7836e -> 34d648808 HBASE-18832 Fixed LTT, removed references to deprecated HColumnDescriptor Signed-off-by: Michael StackProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/34d64880 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/34d64880 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/34d64880 Branch: refs/heads/master Commit: 34d648808d262b48bd4986e99a712ceeb8252cfa Parents: e10d783 Author: Umesh Agashe Authored: Mon Sep 18 11:12:10 2017 -0700 Committer: Michael Stack Committed: Mon Sep 18 12:38:02 2017 -0700 -- .../apache/hadoop/hbase/util/LoadTestTool.java | 40 ++-- 1 file changed, 20 insertions(+), 20 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/34d64880/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java -- diff --git a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java index 0cbcb5f..56dc5c7 100644 --- a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java +++ b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/util/LoadTestTool.java @@ -24,7 +24,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Properties; -import java.util.Random; import java.util.concurrent.atomic.AtomicReference; import javax.crypto.spec.SecretKeySpec; @@ -36,9 +35,10 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseConfiguration; import org.apache.hadoop.hbase.HBaseInterfaceAudience; import org.apache.hadoop.hbase.HBaseTestingUtility; -import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.client.ColumnFamilyDescriptor; +import org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder; import org.apache.yetus.audience.InterfaceAudience; import org.apache.hadoop.hbase.client.Admin; import org.apache.hadoop.hbase.client.Connection; @@ -258,46 +258,46 @@ public class LoadTestTool extends AbstractHBaseTool { byte[][] columnFamilies) throws IOException { try (Connection conn = ConnectionFactory.createConnection(conf); Admin admin = conn.getAdmin()) { - TableDescriptor tableDesc = admin.getTableDescriptor(tableName); + TableDescriptor tableDesc = admin.getDescriptor(tableName); LOG.info("Disabling table " + tableName); admin.disableTable(tableName); for (byte[] cf : columnFamilies) { -HColumnDescriptor columnDesc = (HColumnDescriptor) tableDesc.getColumnFamily(cf); +ColumnFamilyDescriptor columnDesc = tableDesc.getColumnFamily(cf); boolean isNewCf = columnDesc == null; -if (isNewCf) { - columnDesc = new HColumnDescriptor(cf); -} +ColumnFamilyDescriptorBuilder columnDescBuilder = isNewCf ? +ColumnFamilyDescriptorBuilder.newBuilder(cf) : +ColumnFamilyDescriptorBuilder.newBuilder(columnDesc); if (bloomType != null) { - columnDesc.setBloomFilterType(bloomType); + columnDescBuilder.setBloomFilterType(bloomType); } if (compressAlgo != null) { - columnDesc.setCompressionType(compressAlgo); + columnDescBuilder.setCompressionType(compressAlgo); } if (dataBlockEncodingAlgo != null) { - columnDesc.setDataBlockEncoding(dataBlockEncodingAlgo); + columnDescBuilder.setDataBlockEncoding(dataBlockEncodingAlgo); } if (inMemoryCF) { - columnDesc.setInMemory(inMemoryCF); + columnDescBuilder.setInMemory(inMemoryCF); } if (cipher != null) { byte[] keyBytes = new byte[cipher.getKeyLength()]; new SecureRandom().nextBytes(keyBytes); - columnDesc.setEncryptionType(cipher.getName()); - columnDesc.setEncryptionKey( + columnDescBuilder.setEncryptionType(cipher.getName()); + columnDescBuilder.setEncryptionKey( EncryptionUtil.wrapKey(conf, User.getCurrent().getShortName(), new SecretKeySpec(keyBytes, cipher.getName(; } if (mobThreshold >= 0) { - columnDesc.setMobEnabled(true); - columnDesc.setMobThreshold(mobThreshold); + columnDescBuilder.setMobEnabled(true); + columnDescBuilder.setMobThreshold(mobThreshold); } if (isNewCf) { -
hbase git commit: HBASE-18803: Mapreduce job get failed caused by NoClassDefFoundError: org/apache/commons/lang3/ArrayUtils
Repository: hbase Updated Branches: refs/heads/branch-2 290393815 -> a66f9dcda HBASE-18803: Mapreduce job get failed caused by NoClassDefFoundError: org/apache/commons/lang3/ArrayUtils Signed-off-by: Michael StackProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a66f9dcd Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a66f9dcd Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a66f9dcd Branch: refs/heads/branch-2 Commit: a66f9dcda54f5fbf469f25af420cf2f19567621d Parents: 2903938 Author: Yi Liang Authored: Tue Sep 12 16:49:52 2017 -0700 Committer: Michael Stack Committed: Mon Sep 18 12:36:05 2017 -0700 -- .../org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/a66f9dcd/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java -- diff --git a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java index c3b001e..4dcd048 100644 --- a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java +++ b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java @@ -787,7 +787,7 @@ public class TableMapReduceUtil { org.apache.hadoop.hbase.ipc.RpcServer.class, // hbase-server org.apache.hadoop.hbase.CompatibilityFactory.class,// hbase-hadoop-compat org.apache.hadoop.hbase.mapreduce.JobUtil.class, // hbase-hadoop2-compat - org.apache.hadoop.hbase.mapreduce.TableMapper.class, // hbase-server + org.apache.hadoop.hbase.mapreduce.TableMapper.class, // hbase-mapreduce org.apache.hadoop.hbase.metrics.impl.FastLongHistogram.class, // hbase-metrics org.apache.hadoop.hbase.metrics.Snapshot.class,// hbase-metrics-api prefixTreeCodecClass, // hbase-prefix-tree (if null will be skipped) @@ -798,7 +798,8 @@ public class TableMapReduceUtil { org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations.class, org.apache.hadoop.hbase.shaded.com.google.common.collect.Lists.class, org.apache.htrace.Trace.class, - com.codahale.metrics.MetricRegistry.class); + com.codahale.metrics.MetricRegistry.class, + org.apache.commons.lang3.ArrayUtils.class); } /**
hbase git commit: HBASE-18803: Mapreduce job get failed caused by NoClassDefFoundError: org/apache/commons/lang3/ArrayUtils
Repository: hbase Updated Branches: refs/heads/master 9f0863ce5 -> e10d7836e HBASE-18803: Mapreduce job get failed caused by NoClassDefFoundError: org/apache/commons/lang3/ArrayUtils Signed-off-by: Michael StackProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e10d7836 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e10d7836 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e10d7836 Branch: refs/heads/master Commit: e10d7836ed420754fcf13e3ab7ea1c1c2f1c2098 Parents: 9f0863c Author: Yi Liang Authored: Tue Sep 12 16:49:52 2017 -0700 Committer: Michael Stack Committed: Mon Sep 18 12:34:55 2017 -0700 -- .../org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/e10d7836/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java -- diff --git a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java index c3b001e..4dcd048 100644 --- a/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java +++ b/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java @@ -787,7 +787,7 @@ public class TableMapReduceUtil { org.apache.hadoop.hbase.ipc.RpcServer.class, // hbase-server org.apache.hadoop.hbase.CompatibilityFactory.class,// hbase-hadoop-compat org.apache.hadoop.hbase.mapreduce.JobUtil.class, // hbase-hadoop2-compat - org.apache.hadoop.hbase.mapreduce.TableMapper.class, // hbase-server + org.apache.hadoop.hbase.mapreduce.TableMapper.class, // hbase-mapreduce org.apache.hadoop.hbase.metrics.impl.FastLongHistogram.class, // hbase-metrics org.apache.hadoop.hbase.metrics.Snapshot.class,// hbase-metrics-api prefixTreeCodecClass, // hbase-prefix-tree (if null will be skipped) @@ -798,7 +798,8 @@ public class TableMapReduceUtil { org.apache.hadoop.hbase.shaded.com.google.protobuf.UnsafeByteOperations.class, org.apache.hadoop.hbase.shaded.com.google.common.collect.Lists.class, org.apache.htrace.Trace.class, - com.codahale.metrics.MetricRegistry.class); + com.codahale.metrics.MetricRegistry.class, + org.apache.commons.lang3.ArrayUtils.class); } /**
svn commit: r21659 - in /release/hbase: 2.0.0-alpha-2/ 2.0.0-alpha-3/ hbase-2.0.0-alpha-3/
Author: stack Date: Mon Sep 18 18:34:47 2017 New Revision: 21659 Log: Add 2.0.0-alpha-3 and remove 2.0.0-alpha-2 Added: release/hbase/2.0.0-alpha-3/ - copied from r21658, release/hbase/hbase-2.0.0-alpha-3/ Removed: release/hbase/2.0.0-alpha-2/ release/hbase/hbase-2.0.0-alpha-3/
svn commit: r21658 - /dev/hbase/hbase-2.0.0-alpha-3RC0/ /release/hbase/hbase-2.0.0-alpha-3/
Author: stack Date: Mon Sep 18 18:28:00 2017 New Revision: 21658 Log: Release 2.0.0-alpha-3 Added: release/hbase/hbase-2.0.0-alpha-3/ - copied from r21657, dev/hbase/hbase-2.0.0-alpha-3RC0/ Removed: dev/hbase/hbase-2.0.0-alpha-3RC0/
[hbase] Git Push Summary
Repository: hbase Updated Tags: refs/tags/rel/2.0.0-alpha-3 [created] a0e61ebed
hbase git commit: HBASE-18808 Ineffective config check in BackupLogCleaner#getDeletableFiles()
Repository: hbase Updated Branches: refs/heads/branch-2 03eefa8aa -> 290393815 HBASE-18808 Ineffective config check in BackupLogCleaner#getDeletableFiles() Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/29039381 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/29039381 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/29039381 Branch: refs/heads/branch-2 Commit: 2903938153d381caf8eb7fb6c4a0ca402c12625d Parents: 03eefa8 Author: Reid Chan Authored: Mon Sep 18 14:51:09 2017 +0800 Committer: tedyu Committed: Mon Sep 18 10:17:00 2017 -0700 -- .../apache/hadoop/hbase/backup/master/BackupLogCleaner.java | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/29039381/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java -- diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java index 08a7eba..0f1722f 100644 --- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java +++ b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java @@ -76,8 +76,10 @@ public class BackupLogCleaner extends BaseLogCleanerDelegate { // all members of this class are null if backup is disabled, // so we cannot filter the files if (this.getConf() == null || !BackupManager.isBackupEnabled(getConf())) { - LOG.warn("Backup is not enabled. Check your " + BackupRestoreConstants.BACKUP_ENABLE_KEY - + " setting"); + if (LOG.isDebugEnabled()) { +LOG.debug("Backup is not enabled. Check your " ++ BackupRestoreConstants.BACKUP_ENABLE_KEY + " setting"); + } return files; } @@ -117,12 +119,11 @@ public class BackupLogCleaner extends BaseLogCleanerDelegate { @Override public void setConf(Configuration config) { // If backup is disabled, keep all members null +super.setConf(config); if (!config.getBoolean(BackupRestoreConstants.BACKUP_ENABLE_KEY, BackupRestoreConstants.BACKUP_ENABLE_DEFAULT)) { LOG.warn("Backup is disabled - allowing all wals to be deleted"); - return; } -super.setConf(config); } @Override
hbase git commit: HBASE-18808 Ineffective config check in BackupLogCleaner#getDeletableFiles()
Repository: hbase Updated Branches: refs/heads/master ff0c1d2fa -> 9f0863ce5 HBASE-18808 Ineffective config check in BackupLogCleaner#getDeletableFiles() Signed-off-by: tedyuProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9f0863ce Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9f0863ce Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9f0863ce Branch: refs/heads/master Commit: 9f0863ce5f25276e22ac0d3b2c03b4f6f2296578 Parents: ff0c1d2 Author: Reid Chan Authored: Mon Sep 18 14:51:09 2017 +0800 Committer: tedyu Committed: Mon Sep 18 10:16:14 2017 -0700 -- .../apache/hadoop/hbase/backup/master/BackupLogCleaner.java | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/9f0863ce/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java -- diff --git a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java index 08a7eba..0f1722f 100644 --- a/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java +++ b/hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/master/BackupLogCleaner.java @@ -76,8 +76,10 @@ public class BackupLogCleaner extends BaseLogCleanerDelegate { // all members of this class are null if backup is disabled, // so we cannot filter the files if (this.getConf() == null || !BackupManager.isBackupEnabled(getConf())) { - LOG.warn("Backup is not enabled. Check your " + BackupRestoreConstants.BACKUP_ENABLE_KEY - + " setting"); + if (LOG.isDebugEnabled()) { +LOG.debug("Backup is not enabled. Check your " ++ BackupRestoreConstants.BACKUP_ENABLE_KEY + " setting"); + } return files; } @@ -117,12 +119,11 @@ public class BackupLogCleaner extends BaseLogCleanerDelegate { @Override public void setConf(Configuration config) { // If backup is disabled, keep all members null +super.setConf(config); if (!config.getBoolean(BackupRestoreConstants.BACKUP_ENABLE_KEY, BackupRestoreConstants.BACKUP_ENABLE_DEFAULT)) { LOG.warn("Backup is disabled - allowing all wals to be deleted"); - return; } -super.setConf(config); } @Override
hbase git commit: HBASE-18142 Deletion of a cell deletes the previous versions too
Repository: hbase Updated Branches: refs/heads/branch-1.2 23a8027c7 -> 316dd45cc HBASE-18142 Deletion of a cell deletes the previous versions too Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/316dd45c Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/316dd45c Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/316dd45c Branch: refs/heads/branch-1.2 Commit: 316dd45cca4ec0c740627e5a49da535ca11fd4ce Parents: 23a8027 Author: Chun-Hao Tang Authored: Mon Sep 18 16:06:00 2017 +0800 Committer: Chia-Ping Tsai Committed: Tue Sep 19 00:28:15 2017 +0800 -- hbase-shell/src/main/ruby/hbase/table.rb| 15 --- .../src/main/ruby/shell/commands/delete.rb | 6 +-- .../src/main/ruby/shell/commands/deleteall.rb | 2 +- hbase-shell/src/test/ruby/hbase/table_test.rb | 46 4 files changed, 32 insertions(+), 37 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/316dd45c/hbase-shell/src/main/ruby/hbase/table.rb -- diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb index d1d8079..c86cab9 100644 --- a/hbase-shell/src/main/ruby/hbase/table.rb +++ b/hbase-shell/src/main/ruby/hbase/table.rb @@ -102,7 +102,7 @@ flush and drop just by typing: Note that after dropping a table, your reference to it becomes useless and further usage is undefined (and not recommended). EOF - end +end #- @@ -162,14 +162,16 @@ EOF #-- # Delete a cell def _delete_internal(row, column, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) - _deleteall_internal(row, column, timestamp, args) +timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, +args = {}, all_version = false) + _deleteall_internal(row, column, timestamp, args, all_version) end #-- # Delete a row def _deleteall_internal(row, column = nil, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) +timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, +args = {}, all_version = true) # delete operation doesn't need read permission. Retaining the read check for # meta table as a part of HBASE-5837. if is_meta_table? @@ -191,9 +193,12 @@ EOF visibility = args[VISIBILITY] set_cell_visibility(d, visibility) if visibility end - if column + if column && all_version family, qualifier = parse_column_name(column) d.deleteColumns(family, qualifier, timestamp) + elsif column && !all_version +family, qualifier = parse_column_name(column) +d.deleteColumn(family, qualifier, timestamp) end @table.delete(d) end http://git-wip-us.apache.org/repos/asf/hbase/blob/316dd45c/hbase-shell/src/main/ruby/shell/commands/delete.rb -- diff --git a/hbase-shell/src/main/ruby/shell/commands/delete.rb b/hbase-shell/src/main/ruby/shell/commands/delete.rb index dcb8341..79e38f0 100644 --- a/hbase-shell/src/main/ruby/shell/commands/delete.rb +++ b/hbase-shell/src/main/ruby/shell/commands/delete.rb @@ -40,15 +40,15 @@ t to table 't1', the corresponding command would be: EOF end - def command(table, row, column, + def command(table, row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) delete(table(table), row, column, timestamp, args) end - def delete(table, row, column, + def delete(table, row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) format_simple_command do - table._delete_internal(row, column, timestamp, args) + table._delete_internal(row, column, timestamp, args, false) end end end http://git-wip-us.apache.org/repos/asf/hbase/blob/316dd45c/hbase-shell/src/main/ruby/shell/commands/deleteall.rb -- diff --git a/hbase-shell/src/main/ruby/shell/commands/deleteall.rb b/hbase-shell/src/main/ruby/shell/commands/deleteall.rb index
hbase git commit: HBASE-18142 Deletion of a cell deletes the previous versions too
Repository: hbase Updated Branches: refs/heads/branch-1.3 b89f3b3ec -> 699b3e7b1 HBASE-18142 Deletion of a cell deletes the previous versions too Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/699b3e7b Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/699b3e7b Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/699b3e7b Branch: refs/heads/branch-1.3 Commit: 699b3e7b1e4d6033aa8d5f1511b77ab8dcf0f904 Parents: b89f3b3 Author: Chun-Hao Tang Authored: Mon Sep 18 16:06:00 2017 +0800 Committer: Chia-Ping Tsai Committed: Tue Sep 19 00:28:03 2017 +0800 -- hbase-shell/src/main/ruby/hbase/table.rb| 15 --- .../src/main/ruby/shell/commands/delete.rb | 6 +-- .../src/main/ruby/shell/commands/deleteall.rb | 2 +- hbase-shell/src/test/ruby/hbase/table_test.rb | 46 4 files changed, 32 insertions(+), 37 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/699b3e7b/hbase-shell/src/main/ruby/hbase/table.rb -- diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb index 9ebe9ad..eb49990 100644 --- a/hbase-shell/src/main/ruby/hbase/table.rb +++ b/hbase-shell/src/main/ruby/hbase/table.rb @@ -102,7 +102,7 @@ flush and drop just by typing: Note that after dropping a table, your reference to it becomes useless and further usage is undefined (and not recommended). EOF - end +end #- @@ -162,14 +162,16 @@ EOF #-- # Delete a cell def _delete_internal(row, column, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) - _deleteall_internal(row, column, timestamp, args) +timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, +args = {}, all_version = false) + _deleteall_internal(row, column, timestamp, args, all_version) end #-- # Delete a row def _deleteall_internal(row, column = nil, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) +timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, +args = {}, all_version = true) # delete operation doesn't need read permission. Retaining the read check for # meta table as a part of HBASE-5837. if is_meta_table? @@ -191,9 +193,12 @@ EOF visibility = args[VISIBILITY] set_cell_visibility(d, visibility) if visibility end - if column + if column && all_version family, qualifier = parse_column_name(column) d.deleteColumns(family, qualifier, timestamp) + elsif column && !all_version +family, qualifier = parse_column_name(column) +d.deleteColumn(family, qualifier, timestamp) end @table.delete(d) end http://git-wip-us.apache.org/repos/asf/hbase/blob/699b3e7b/hbase-shell/src/main/ruby/shell/commands/delete.rb -- diff --git a/hbase-shell/src/main/ruby/shell/commands/delete.rb b/hbase-shell/src/main/ruby/shell/commands/delete.rb index dcb8341..79e38f0 100644 --- a/hbase-shell/src/main/ruby/shell/commands/delete.rb +++ b/hbase-shell/src/main/ruby/shell/commands/delete.rb @@ -40,15 +40,15 @@ t to table 't1', the corresponding command would be: EOF end - def command(table, row, column, + def command(table, row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) delete(table(table), row, column, timestamp, args) end - def delete(table, row, column, + def delete(table, row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) format_simple_command do - table._delete_internal(row, column, timestamp, args) + table._delete_internal(row, column, timestamp, args, false) end end end http://git-wip-us.apache.org/repos/asf/hbase/blob/699b3e7b/hbase-shell/src/main/ruby/shell/commands/deleteall.rb -- diff --git a/hbase-shell/src/main/ruby/shell/commands/deleteall.rb b/hbase-shell/src/main/ruby/shell/commands/deleteall.rb index
hbase git commit: HBASE-18142 Deletion of a cell deletes the previous versions too
Repository: hbase Updated Branches: refs/heads/branch-1.4 901589558 -> b87a8d97c HBASE-18142 Deletion of a cell deletes the previous versions too Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b87a8d97 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b87a8d97 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b87a8d97 Branch: refs/heads/branch-1.4 Commit: b87a8d97caa6396e11ea0378972c6f1201c8fe52 Parents: 9015895 Author: Chun-Hao Tang Authored: Mon Sep 18 16:06:00 2017 +0800 Committer: Chia-Ping Tsai Committed: Tue Sep 19 00:27:49 2017 +0800 -- hbase-shell/src/main/ruby/hbase/table.rb| 15 --- .../src/main/ruby/shell/commands/delete.rb | 6 +-- .../src/main/ruby/shell/commands/deleteall.rb | 2 +- hbase-shell/src/test/ruby/hbase/table_test.rb | 46 4 files changed, 32 insertions(+), 37 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/b87a8d97/hbase-shell/src/main/ruby/hbase/table.rb -- diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb index 36c6509..37e4d63 100644 --- a/hbase-shell/src/main/ruby/hbase/table.rb +++ b/hbase-shell/src/main/ruby/hbase/table.rb @@ -102,7 +102,7 @@ flush and drop just by typing: Note that after dropping a table, your reference to it becomes useless and further usage is undefined (and not recommended). EOF - end +end #- @@ -162,14 +162,16 @@ EOF #-- # Delete a cell def _delete_internal(row, column, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) - _deleteall_internal(row, column, timestamp, args) +timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, +args = {}, all_version = false) + _deleteall_internal(row, column, timestamp, args, all_version) end #-- # Delete a row def _deleteall_internal(row, column = nil, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) +timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, +args = {}, all_version = true) # delete operation doesn't need read permission. Retaining the read check for # meta table as a part of HBASE-5837. if is_meta_table? @@ -191,9 +193,12 @@ EOF visibility = args[VISIBILITY] set_cell_visibility(d, visibility) if visibility end - if column + if column && all_version family, qualifier = parse_column_name(column) d.deleteColumns(family, qualifier, timestamp) + elsif column && !all_version +family, qualifier = parse_column_name(column) +d.deleteColumn(family, qualifier, timestamp) end @table.delete(d) end http://git-wip-us.apache.org/repos/asf/hbase/blob/b87a8d97/hbase-shell/src/main/ruby/shell/commands/delete.rb -- diff --git a/hbase-shell/src/main/ruby/shell/commands/delete.rb b/hbase-shell/src/main/ruby/shell/commands/delete.rb index dcb8341..79e38f0 100644 --- a/hbase-shell/src/main/ruby/shell/commands/delete.rb +++ b/hbase-shell/src/main/ruby/shell/commands/delete.rb @@ -40,15 +40,15 @@ t to table 't1', the corresponding command would be: EOF end - def command(table, row, column, + def command(table, row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) delete(table(table), row, column, timestamp, args) end - def delete(table, row, column, + def delete(table, row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) format_simple_command do - table._delete_internal(row, column, timestamp, args) + table._delete_internal(row, column, timestamp, args, false) end end end http://git-wip-us.apache.org/repos/asf/hbase/blob/b87a8d97/hbase-shell/src/main/ruby/shell/commands/deleteall.rb -- diff --git a/hbase-shell/src/main/ruby/shell/commands/deleteall.rb b/hbase-shell/src/main/ruby/shell/commands/deleteall.rb index
hbase git commit: HBASE-18142 Deletion of a cell deletes the previous versions too
Repository: hbase Updated Branches: refs/heads/branch-1 815673f7e -> bd0f6551f HBASE-18142 Deletion of a cell deletes the previous versions too Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/bd0f6551 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bd0f6551 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bd0f6551 Branch: refs/heads/branch-1 Commit: bd0f6551f540b165a8048b7bda5c17253979163d Parents: 815673f Author: Chun-Hao Tang Authored: Mon Sep 18 16:06:00 2017 +0800 Committer: Chia-Ping Tsai Committed: Tue Sep 19 00:27:31 2017 +0800 -- hbase-shell/src/main/ruby/hbase/table.rb| 15 --- .../src/main/ruby/shell/commands/delete.rb | 6 +-- .../src/main/ruby/shell/commands/deleteall.rb | 2 +- hbase-shell/src/test/ruby/hbase/table_test.rb | 46 4 files changed, 32 insertions(+), 37 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/bd0f6551/hbase-shell/src/main/ruby/hbase/table.rb -- diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb index 36c6509..37e4d63 100644 --- a/hbase-shell/src/main/ruby/hbase/table.rb +++ b/hbase-shell/src/main/ruby/hbase/table.rb @@ -102,7 +102,7 @@ flush and drop just by typing: Note that after dropping a table, your reference to it becomes useless and further usage is undefined (and not recommended). EOF - end +end #- @@ -162,14 +162,16 @@ EOF #-- # Delete a cell def _delete_internal(row, column, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) - _deleteall_internal(row, column, timestamp, args) +timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, +args = {}, all_version = false) + _deleteall_internal(row, column, timestamp, args, all_version) end #-- # Delete a row def _deleteall_internal(row, column = nil, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) +timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, +args = {}, all_version = true) # delete operation doesn't need read permission. Retaining the read check for # meta table as a part of HBASE-5837. if is_meta_table? @@ -191,9 +193,12 @@ EOF visibility = args[VISIBILITY] set_cell_visibility(d, visibility) if visibility end - if column + if column && all_version family, qualifier = parse_column_name(column) d.deleteColumns(family, qualifier, timestamp) + elsif column && !all_version +family, qualifier = parse_column_name(column) +d.deleteColumn(family, qualifier, timestamp) end @table.delete(d) end http://git-wip-us.apache.org/repos/asf/hbase/blob/bd0f6551/hbase-shell/src/main/ruby/shell/commands/delete.rb -- diff --git a/hbase-shell/src/main/ruby/shell/commands/delete.rb b/hbase-shell/src/main/ruby/shell/commands/delete.rb index dcb8341..79e38f0 100644 --- a/hbase-shell/src/main/ruby/shell/commands/delete.rb +++ b/hbase-shell/src/main/ruby/shell/commands/delete.rb @@ -40,15 +40,15 @@ t to table 't1', the corresponding command would be: EOF end - def command(table, row, column, + def command(table, row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) delete(table(table), row, column, timestamp, args) end - def delete(table, row, column, + def delete(table, row, column = nil, timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) format_simple_command do - table._delete_internal(row, column, timestamp, args) + table._delete_internal(row, column, timestamp, args, false) end end end http://git-wip-us.apache.org/repos/asf/hbase/blob/bd0f6551/hbase-shell/src/main/ruby/shell/commands/deleteall.rb -- diff --git a/hbase-shell/src/main/ruby/shell/commands/deleteall.rb b/hbase-shell/src/main/ruby/shell/commands/deleteall.rb index e6118c9..46f3bfa
hbase git commit: HBASE-18142 Deletion of a cell deletes the previous versions too
Repository: hbase Updated Branches: refs/heads/branch-2 83e9188d0 -> 03eefa8aa HBASE-18142 Deletion of a cell deletes the previous versions too Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/03eefa8a Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/03eefa8a Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/03eefa8a Branch: refs/heads/branch-2 Commit: 03eefa8aa5a98303ab9e2f42a25f9dec909b7094 Parents: 83e9188 Author: Chun-Hao Tang Authored: Fri Sep 15 02:13:12 2017 +0800 Committer: Chia-Ping Tsai Committed: Tue Sep 19 00:07:22 2017 +0800 -- hbase-shell/src/main/ruby/hbase/table.rb| 30 - .../src/main/ruby/shell/commands/delete.rb | 6 +-- .../src/main/ruby/shell/commands/deleteall.rb | 2 +- hbase-shell/src/test/ruby/hbase/table_test.rb | 47 4 files changed, 40 insertions(+), 45 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/03eefa8a/hbase-shell/src/main/ruby/hbase/table.rb -- diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb index b297f58..7eaf1b3 100644 --- a/hbase-shell/src/main/ruby/hbase/table.rb +++ b/hbase-shell/src/main/ruby/hbase/table.rb @@ -24,7 +24,6 @@ include Java module Hbase class Table include HBaseConstants - @@thread_pool = nil # Add the command 'name' to table s.t. the shell command also called via 'name' @@ -102,7 +101,7 @@ flush and drop just by typing: Note that after dropping a table, your reference to it becomes useless and further usage is undefined (and not recommended). EOF - end +end #- @@ -162,7 +161,8 @@ EOF #-- # Create a Delete mutation def _createdelete_internal(row, column = nil, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) + timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, + args = {}, all_version = true) temptimestamp = timestamp if temptimestamp.is_a?(Hash) timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP @@ -179,9 +179,12 @@ EOF visibility = args[VISIBILITY] set_cell_visibility(d, visibility) if visibility end - if column + if column && all_version family, qualifier = parse_column_name(column) d.addColumns(family, qualifier, timestamp) + elsif column && !all_version +family, qualifier = parse_column_name(column) +d.addColumn(family, qualifier, timestamp) end d end @@ -189,7 +192,8 @@ EOF #-- # Delete rows using prefix def _deleterows_internal(row, column = nil, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) + timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, + args = {}, all_version = true) cache = row['CACHE'] ? row['CACHE'] : 100 prefix = row['ROWPREFIXFILTER'] @@ -205,7 +209,7 @@ EOF while iter.hasNext row = iter.next key = org.apache.hadoop.hbase.util.Bytes.toStringBinary(row.getRow) -d = _createdelete_internal(key, column, timestamp, args) +d = _createdelete_internal(key, column, timestamp, args, all_version) list.add(d) if list.size >= cache @table.delete(list) @@ -218,23 +222,25 @@ EOF #-- # Delete a cell def _delete_internal(row, column, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) - _deleteall_internal(row, column, timestamp, args) + timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, + args = {}, all_version = false) + _deleteall_internal(row, column, timestamp, args, all_version) end #-- # Delete a row def _deleteall_internal(row, column = nil, -timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) +
hbase git commit: HBASE-18142 Deletion of a cell deletes the previous versions too
Repository: hbase Updated Branches: refs/heads/master 5264f04b6 -> ff0c1d2fa HBASE-18142 Deletion of a cell deletes the previous versions too Signed-off-by: Chia-Ping TsaiProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/ff0c1d2f Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/ff0c1d2f Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/ff0c1d2f Branch: refs/heads/master Commit: ff0c1d2fa3addf92ed36139bfc6e21024049cb4f Parents: 5264f04 Author: Chun-Hao Tang Authored: Fri Sep 15 02:13:12 2017 +0800 Committer: Chia-Ping Tsai Committed: Tue Sep 19 00:22:59 2017 +0800 -- hbase-shell/src/main/ruby/hbase/table.rb| 30 - .../src/main/ruby/shell/commands/delete.rb | 6 +-- .../src/main/ruby/shell/commands/deleteall.rb | 2 +- hbase-shell/src/test/ruby/hbase/table_test.rb | 47 4 files changed, 40 insertions(+), 45 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/ff0c1d2f/hbase-shell/src/main/ruby/hbase/table.rb -- diff --git a/hbase-shell/src/main/ruby/hbase/table.rb b/hbase-shell/src/main/ruby/hbase/table.rb index b297f58..7eaf1b3 100644 --- a/hbase-shell/src/main/ruby/hbase/table.rb +++ b/hbase-shell/src/main/ruby/hbase/table.rb @@ -24,7 +24,6 @@ include Java module Hbase class Table include HBaseConstants - @@thread_pool = nil # Add the command 'name' to table s.t. the shell command also called via 'name' @@ -102,7 +101,7 @@ flush and drop just by typing: Note that after dropping a table, your reference to it becomes useless and further usage is undefined (and not recommended). EOF - end +end #- @@ -162,7 +161,8 @@ EOF #-- # Create a Delete mutation def _createdelete_internal(row, column = nil, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) + timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, + args = {}, all_version = true) temptimestamp = timestamp if temptimestamp.is_a?(Hash) timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP @@ -179,9 +179,12 @@ EOF visibility = args[VISIBILITY] set_cell_visibility(d, visibility) if visibility end - if column + if column && all_version family, qualifier = parse_column_name(column) d.addColumns(family, qualifier, timestamp) + elsif column && !all_version +family, qualifier = parse_column_name(column) +d.addColumn(family, qualifier, timestamp) end d end @@ -189,7 +192,8 @@ EOF #-- # Delete rows using prefix def _deleterows_internal(row, column = nil, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) + timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, + args = {}, all_version = true) cache = row['CACHE'] ? row['CACHE'] : 100 prefix = row['ROWPREFIXFILTER'] @@ -205,7 +209,7 @@ EOF while iter.hasNext row = iter.next key = org.apache.hadoop.hbase.util.Bytes.toStringBinary(row.getRow) -d = _createdelete_internal(key, column, timestamp, args) +d = _createdelete_internal(key, column, timestamp, args, all_version) list.add(d) if list.size >= cache @table.delete(list) @@ -218,23 +222,25 @@ EOF #-- # Delete a cell def _delete_internal(row, column, - timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) - _deleteall_internal(row, column, timestamp, args) + timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, + args = {}, all_version = false) + _deleteall_internal(row, column, timestamp, args, all_version) end #-- # Delete a row def _deleteall_internal(row, column = nil, -timestamp = org.apache.hadoop.hbase.HConstants::LATEST_TIMESTAMP, args = {}) +
[17/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html index 36f4c8d..ec36d2e 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html @@ -38,395 +38,326 @@ 030import org.apache.hadoop.hbase.Coprocessor; 031import org.apache.hadoop.hbase.CoprocessorEnvironment; 032import org.apache.hadoop.hbase.HBaseInterfaceAudience; -033import org.apache.hadoop.hbase.MetaMutationAnnotation; -034import org.apache.yetus.audience.InterfaceAudience; -035import org.apache.yetus.audience.InterfaceStability; -036import org.apache.hadoop.hbase.client.Mutation; -037import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; -038import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; -039import org.apache.hadoop.hbase.coprocessor.ObserverContext; -040import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -041import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -042import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; -043import org.apache.hadoop.hbase.ipc.RpcServer; -044import org.apache.hadoop.hbase.metrics.MetricRegistry; -045import org.apache.hadoop.hbase.replication.ReplicationEndpoint; -046import org.apache.hadoop.hbase.security.User; -047import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; -048 -049@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) -050@InterfaceStability.Evolving -051public class RegionServerCoprocessorHost extends -052 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +033import org.apache.yetus.audience.InterfaceAudience; +034import org.apache.yetus.audience.InterfaceStability; +035import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; +036import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; +037import org.apache.hadoop.hbase.coprocessor.ObserverContext; +038import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; +039import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; +040import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; +041import org.apache.hadoop.hbase.ipc.RpcServer; +042import org.apache.hadoop.hbase.metrics.MetricRegistry; +043import org.apache.hadoop.hbase.replication.ReplicationEndpoint; +044import org.apache.hadoop.hbase.security.User; +045import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; +046 +047@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) +048@InterfaceStability.Evolving +049public class RegionServerCoprocessorHost extends +050 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +051 +052 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); 053 -054 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); +054 private RegionServerServices rsServices; 055 -056 private RegionServerServices rsServices; -057 -058 public RegionServerCoprocessorHost(RegionServerServices rsServices, -059 Configuration conf) { -060super(rsServices); -061this.rsServices = rsServices; -062this.conf = conf; -063// Log the state of coprocessor loading here; should appear only once or -064// twice in the daemon log, depending on HBase version, because there is -065// only one RegionServerCoprocessorHost instance in the RS process -066boolean coprocessorsEnabled = conf.getBoolean(COPROCESSORS_ENABLED_CONF_KEY, -067 DEFAULT_COPROCESSORS_ENABLED); -068boolean tableCoprocessorsEnabled = conf.getBoolean(USER_COPROCESSORS_ENABLED_CONF_KEY, -069 DEFAULT_USER_COPROCESSORS_ENABLED); -070LOG.info("System coprocessor loading is " + (coprocessorsEnabled ? "enabled" : "disabled")); -071LOG.info("Table coprocessor loading is " + -072 ((coprocessorsEnabled tableCoprocessorsEnabled) ? "enabled" : "disabled")); -073loadSystemCoprocessors(conf, REGIONSERVER_COPROCESSOR_CONF_KEY); -074 } -075 -076 @Override -077 public RegionServerEnvironment createEnvironment(Class? implClass, -078 Coprocessor instance, int priority, int sequence, Configuration conf) { -079return new RegionServerEnvironment(implClass, instance, priority, -080 sequence, conf, this.rsServices); -081 } -082 -083 public void preStop(String message, User user) throws IOException { -084// While stopping the region server all coprocessors method should be executed first then the -085// coprocessor should
[20/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessorOperation.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessorOperation.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessorOperation.html index 36f4c8d..ec36d2e 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessorOperation.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessorOperation.html @@ -38,395 +38,326 @@ 030import org.apache.hadoop.hbase.Coprocessor; 031import org.apache.hadoop.hbase.CoprocessorEnvironment; 032import org.apache.hadoop.hbase.HBaseInterfaceAudience; -033import org.apache.hadoop.hbase.MetaMutationAnnotation; -034import org.apache.yetus.audience.InterfaceAudience; -035import org.apache.yetus.audience.InterfaceStability; -036import org.apache.hadoop.hbase.client.Mutation; -037import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; -038import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; -039import org.apache.hadoop.hbase.coprocessor.ObserverContext; -040import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -041import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -042import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; -043import org.apache.hadoop.hbase.ipc.RpcServer; -044import org.apache.hadoop.hbase.metrics.MetricRegistry; -045import org.apache.hadoop.hbase.replication.ReplicationEndpoint; -046import org.apache.hadoop.hbase.security.User; -047import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; -048 -049@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) -050@InterfaceStability.Evolving -051public class RegionServerCoprocessorHost extends -052 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +033import org.apache.yetus.audience.InterfaceAudience; +034import org.apache.yetus.audience.InterfaceStability; +035import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; +036import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; +037import org.apache.hadoop.hbase.coprocessor.ObserverContext; +038import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; +039import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; +040import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; +041import org.apache.hadoop.hbase.ipc.RpcServer; +042import org.apache.hadoop.hbase.metrics.MetricRegistry; +043import org.apache.hadoop.hbase.replication.ReplicationEndpoint; +044import org.apache.hadoop.hbase.security.User; +045import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; +046 +047@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) +048@InterfaceStability.Evolving +049public class RegionServerCoprocessorHost extends +050 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +051 +052 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); 053 -054 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); +054 private RegionServerServices rsServices; 055 -056 private RegionServerServices rsServices; -057 -058 public RegionServerCoprocessorHost(RegionServerServices rsServices, -059 Configuration conf) { -060super(rsServices); -061this.rsServices = rsServices; -062this.conf = conf; -063// Log the state of coprocessor loading here; should appear only once or -064// twice in the daemon log, depending on HBase version, because there is -065// only one RegionServerCoprocessorHost instance in the RS process -066boolean coprocessorsEnabled = conf.getBoolean(COPROCESSORS_ENABLED_CONF_KEY, -067 DEFAULT_COPROCESSORS_ENABLED); -068boolean tableCoprocessorsEnabled = conf.getBoolean(USER_COPROCESSORS_ENABLED_CONF_KEY, -069 DEFAULT_USER_COPROCESSORS_ENABLED); -070LOG.info("System coprocessor loading is " + (coprocessorsEnabled ? "enabled" : "disabled")); -071LOG.info("Table coprocessor loading is " + -072 ((coprocessorsEnabled tableCoprocessorsEnabled) ? "enabled" : "disabled")); -073loadSystemCoprocessors(conf, REGIONSERVER_COPROCESSOR_CONF_KEY); -074 } -075 -076 @Override -077 public RegionServerEnvironment createEnvironment(Class? implClass, -078 Coprocessor instance, int priority, int sequence, Configuration conf) { -079return new RegionServerEnvironment(implClass, instance, priority, -080 sequence, conf, this.rsServices); -081 } -082 -083 public void preStop(String message, User user) throws IOException { -084// While stopping the
[04/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.PingCoprocessor.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.PingCoprocessor.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.PingCoprocessor.html index 6899321..da046b2 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.PingCoprocessor.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.PingCoprocessor.html @@ -865,2376 +865,2351 @@ 857 } 858 859 @Test (timeout=18) -860 public void testMergeRegions() throws Exception { -861final TableName tableName = TableName.valueOf(name.getMethodName()); -862createTestTable(tableName); -863try { -864 final ListHRegion regions = TEST_UTIL.getHBaseCluster().findRegionsForTable(tableName); -865 assertTrue("not enough regions: " + regions.size(), regions.size() = 2); -866 -867 AccessTestAction action = new AccessTestAction() { -868@Override -869public Object run() throws Exception { -870 ACCESS_CONTROLLER.preMerge(ObserverContext.createAndPrepare(RSCP_ENV, null), -871regions.get(0), regions.get(1)); -872 return null; -873} -874 }; -875 -876 verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_GROUP_ADMIN); -877 verifyDenied(action, USER_CREATE, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, -878USER_GROUP_WRITE, USER_GROUP_CREATE); -879} finally { -880 deleteTable(TEST_UTIL, tableName); -881} -882 } -883 -884 @Test (timeout=18) -885 public void testFlush() throws Exception { -886AccessTestAction action = new AccessTestAction() { -887 @Override -888 public Object run() throws Exception { -889 ACCESS_CONTROLLER.preFlush(ObserverContext.createAndPrepare(RCP_ENV, null)); -890return null; -891 } -892}; -893 -894verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_GROUP_CREATE, -895 USER_GROUP_ADMIN); -896verifyDenied(action, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, USER_GROUP_WRITE); -897 } -898 -899 @Test (timeout=18) -900 public void testCompact() throws Exception { -901AccessTestAction action = new AccessTestAction() { -902 @Override -903 public Object run() throws Exception { -904 ACCESS_CONTROLLER.preCompact(ObserverContext.createAndPrepare(RCP_ENV, null), null, null, -905 ScanType.COMPACT_RETAIN_DELETES, null); -906return null; -907 } -908}; -909 -910verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_GROUP_CREATE, -911 USER_GROUP_ADMIN); -912verifyDenied(action, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, USER_GROUP_WRITE); -913 } -914 -915 private void verifyRead(AccessTestAction action) throws Exception { -916verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_RW, USER_RO, -917 USER_GROUP_READ); -918verifyDenied(action, USER_NONE, USER_GROUP_CREATE, USER_GROUP_ADMIN, USER_GROUP_WRITE); -919 } -920 -921 private void verifyReadWrite(AccessTestAction action) throws Exception { -922verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_RW); -923verifyDenied(action, USER_NONE, USER_RO, USER_GROUP_ADMIN, USER_GROUP_CREATE, USER_GROUP_READ, -924USER_GROUP_WRITE); -925 } -926 -927 @Test (timeout=18) -928 public void testRead() throws Exception { -929// get action -930AccessTestAction getAction = new AccessTestAction() { -931 @Override -932 public Object run() throws Exception { -933Get g = new Get(TEST_ROW); -934g.addFamily(TEST_FAMILY); -935try(Connection conn = ConnectionFactory.createConnection(conf); -936Table t = conn.getTable(TEST_TABLE)) { -937 t.get(g); -938} -939return null; -940 } -941}; -942verifyRead(getAction); -943 -944// action for scanning -945AccessTestAction scanAction = new AccessTestAction() { -946 @Override -947 public Object run() throws Exception { -948Scan s = new Scan(); -949s.addFamily(TEST_FAMILY); -950try(Connection conn = ConnectionFactory.createConnection(conf); -951Table table = conn.getTable(TEST_TABLE)) { -952 ResultScanner scanner = table.getScanner(s); -953 try { -954for (Result r = scanner.next(); r != null; r = scanner.next()) { -955 // do nothing -956} -957 } finally { -958scanner.close(); -959 } -960} -961return null; -962 } -963}; -964
[28/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/checkstyle.rss -- diff --git a/checkstyle.rss b/checkstyle.rss index e5c5953..e93e00e 100644 --- a/checkstyle.rss +++ b/checkstyle.rss @@ -26,7 +26,7 @@ under the License. 2007 - 2017 The Apache Software Foundation File: 2042, - Errors: 14019, + Errors: 14017, Warnings: 0, Infos: 0 @@ -10919,7 +10919,7 @@ under the License. 0 - 6 + 5 @@ -15105,7 +15105,7 @@ under the License. 0 - 41 + 40 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/coc.html -- diff --git a/coc.html b/coc.html index 4cad23e..55aab73 100644 --- a/coc.html +++ b/coc.html @@ -7,7 +7,7 @@ - + Apache HBase Code of Conduct Policy @@ -380,7 +380,7 @@ email to mailto:priv...@hbase.apache.org;>the priv https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/cygwin.html -- diff --git a/cygwin.html b/cygwin.html index 6bd716d..f762af4 100644 --- a/cygwin.html +++ b/cygwin.html @@ -7,7 +7,7 @@ - + Apache HBase Installing Apache HBase (TM) on Windows using Cygwin @@ -679,7 +679,7 @@ Now your HBase server is running, start coding and build that next https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/dependencies.html -- diff --git a/dependencies.html b/dependencies.html index 5c7550b..fbdcd6f 100644 --- a/dependencies.html +++ b/dependencies.html @@ -7,7 +7,7 @@ - + Apache HBase Project Dependencies @@ -445,7 +445,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/dependency-convergence.html -- diff --git a/dependency-convergence.html b/dependency-convergence.html index da7eb3a..58a87af 100644 --- a/dependency-convergence.html +++ b/dependency-convergence.html @@ -7,7 +7,7 @@ - + Apache HBase Reactor Dependency Convergence @@ -820,7 +820,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/dependency-info.html -- diff --git a/dependency-info.html b/dependency-info.html index a4e7de0..b5247e2 100644 --- a/dependency-info.html +++ b/dependency-info.html @@ -7,7 +7,7 @@ - + Apache HBase Dependency Information @@ -318,7 +318,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/dependency-management.html -- diff --git a/dependency-management.html b/dependency-management.html index 997e61c..b4e72a8 100644 --- a/dependency-management.html +++ b/dependency-management.html @@ -7,7 +7,7 @@ - + Apache HBase Project Dependency Management @@ -942,7 +942,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved.
[07/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.MasterSyncObserver.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.MasterSyncObserver.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.MasterSyncObserver.html index 82eb9fd..8eb952a 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.MasterSyncObserver.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.MasterSyncObserver.html @@ -71,668 +71,655 @@ 063import org.apache.hadoop.hbase.coprocessor.ObserverContext; 064import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment; 065import org.apache.hadoop.hbase.coprocessor.RegionObserver; -066import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -067import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -068import org.apache.hadoop.hbase.master.HMaster; -069import org.apache.hadoop.hbase.master.MasterCoprocessorHost; -070import org.apache.hadoop.hbase.master.TableNamespaceManager; -071import org.apache.hadoop.hbase.quotas.MasterQuotaManager; -072import org.apache.hadoop.hbase.quotas.QuotaExceededException; -073import org.apache.hadoop.hbase.quotas.QuotaUtil; -074import org.apache.hadoop.hbase.regionserver.Region; -075import org.apache.hadoop.hbase.regionserver.Store; -076import org.apache.hadoop.hbase.regionserver.StoreFile; -077import org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker; -078import org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest; -079import org.apache.hadoop.hbase.snapshot.RestoreSnapshotException; -080import org.apache.hadoop.hbase.testclassification.MediumTests; -081import org.apache.hadoop.hbase.util.Bytes; -082import org.apache.hadoop.hbase.util.FSUtils; -083import org.apache.hadoop.hbase.util.Threads; -084import org.apache.zookeeper.KeeperException; -085import org.junit.After; -086import org.junit.AfterClass; -087import org.junit.BeforeClass; -088import org.junit.Rule; -089import org.junit.Test; -090import org.junit.experimental.categories.Category; -091import org.junit.rules.TestRule; -092 -093@Category(MediumTests.class) -094public class TestNamespaceAuditor { -095 @Rule public final TestRule timeout = CategoryBasedTimeout.builder(). -096 withTimeout(this.getClass()).withLookingForStuckThread(true).build(); -097 private static final Log LOG = LogFactory.getLog(TestNamespaceAuditor.class); -098 private static final HBaseTestingUtility UTIL = new HBaseTestingUtility(); -099 private static Admin ADMIN; -100 private String prefix = "TestNamespaceAuditor"; -101 -102 @BeforeClass -103 public static void before() throws Exception { -104Configuration conf = UTIL.getConfiguration(); -105 conf.set(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY, CustomObserver.class.getName()); -106conf.setStrings( -107 CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY, -108 MasterSyncObserver.class.getName(), CPMasterObserver.class.getName()); -109 conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 5); -110 conf.setBoolean(QuotaUtil.QUOTA_CONF_KEY, true); -111 conf.setClass("hbase.coprocessor.regionserver.classes", CPRegionServerObserver.class, -112 RegionServerObserver.class); -113UTIL.startMiniCluster(1, 1); -114waitForQuotaInitialize(UTIL); -115ADMIN = UTIL.getAdmin(); -116 } -117 -118 @AfterClass -119 public static void tearDown() throws Exception { -120UTIL.shutdownMiniCluster(); -121 } -122 -123 @After -124 public void cleanup() throws Exception, KeeperException { -125for (HTableDescriptor table : ADMIN.listTables()) { -126 ADMIN.disableTable(table.getTableName()); -127 deleteTable(table.getTableName()); -128} -129for (NamespaceDescriptor ns : ADMIN.listNamespaceDescriptors()) { -130 if (ns.getName().startsWith(prefix)) { -131 ADMIN.deleteNamespace(ns.getName()); -132 } -133} -134assertTrue("Quota manager not initialized", UTIL.getHBaseCluster().getMaster() -135 .getMasterQuotaManager().isQuotaInitialized()); -136 } -137 -138 @Test -139 public void testTableOperations() throws Exception { -140String nsp = prefix + "_np2"; -141NamespaceDescriptor nspDesc = -142 NamespaceDescriptor.create(nsp).addConfiguration(TableNamespaceManager.KEY_MAX_REGIONS, "5") -143 .addConfiguration(TableNamespaceManager.KEY_MAX_TABLES, "2").build(); -144ADMIN.createNamespace(nspDesc); -145assertNotNull("Namespace descriptor found null.", ADMIN.getNamespaceDescriptor(nsp)); -146 assertEquals(ADMIN.listNamespaceDescriptors().length, 3); -147HColumnDescriptor fam1 = new HColumnDescriptor("fam1"); -148 -149
[25/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/RegionServerCoprocessorEnvironment.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/RegionServerCoprocessorEnvironment.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/RegionServerCoprocessorEnvironment.html index cbc4043..eb5a24c 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/RegionServerCoprocessorEnvironment.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/RegionServerCoprocessorEnvironment.html @@ -131,24 +131,6 @@ default void -RegionServerObserver.postMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - RegionmergedRegion) -called after the regions merge. - - - -default void -RegionServerObserver.postMergeCommit(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - RegionmergedRegion) -This will be called after PONR step as part of regions merge transaction. - - - -default void RegionServerObserver.postReplicateLogEntries(ObserverContextRegionServerCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntryentries, CellScannercells) @@ -157,57 +139,24 @@ default void -RegionServerObserver.postRollBackMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB) -This will be called after the roll back of the regions merge. - - - -default void RegionServerObserver.postRollWALWriterRequest(ObserverContextRegionServerCoprocessorEnvironmentctx) This will be called after executing user request to roll a region server WAL. - + default void RegionServerObserver.preClearCompactionQueues(ObserverContextRegionServerCoprocessorEnvironmentctx) This will be called before clearing compaction queues - -default void -RegionServerObserver.preMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, -RegionregionA, -RegionregionB) -Called before the regions merge. - - default void -RegionServerObserver.preMergeCommit(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListMutationmetaEntries) -This will be called before PONR step as part of regions merge transaction. - - - -default void RegionServerObserver.preReplicateLogEntries(ObserverContextRegionServerCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntryentries, CellScannercells) This will be called before executing replication request to shipping log entries. - -default void -RegionServerObserver.preRollBackMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, -RegionregionA, -RegionregionB) -This will be called before the roll back of the regions merge. - - default void RegionServerObserver.preRollWALWriterRequest(ObserverContextRegionServerCoprocessorEnvironmentctx) @@ -276,63 +225,24 @@ void -AccessController.postMerge(ObserverContextRegionServerCoprocessorEnvironmentc, - RegionregionA, - RegionregionB, - RegionmergedRegion) - - -void -AccessController.postMergeCommit(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - RegionmergedRegion) - - -void AccessController.postReplicateLogEntries(ObserverContextRegionServerCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntryentries, CellScannercells) void -AccessController.postRollBackMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB) - - -void AccessController.postRollWALWriterRequest(ObserverContextRegionServerCoprocessorEnvironmentctx) - -void -AccessController.preClearCompactionQueues(ObserverContextRegionServerCoprocessorEnvironmentctx) - void -AccessController.preMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, -RegionregionA, -RegionregionB)
[15/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-annotations/integration.html -- diff --git a/hbase-annotations/integration.html b/hbase-annotations/integration.html index ee2a4ea..e9cdad1 100644 --- a/hbase-annotations/integration.html +++ b/hbase-annotations/integration.html @@ -7,7 +7,7 @@ - + Apache HBase - Annotations CI Management @@ -126,7 +126,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-annotations/issue-tracking.html -- diff --git a/hbase-annotations/issue-tracking.html b/hbase-annotations/issue-tracking.html index cc6788f..b7498ad 100644 --- a/hbase-annotations/issue-tracking.html +++ b/hbase-annotations/issue-tracking.html @@ -7,7 +7,7 @@ - + Apache HBase - Annotations Issue Management @@ -123,7 +123,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-annotations/license.html -- diff --git a/hbase-annotations/license.html b/hbase-annotations/license.html index bf60e96..c97e5fb 100644 --- a/hbase-annotations/license.html +++ b/hbase-annotations/license.html @@ -7,7 +7,7 @@ - + Apache HBase - Annotations Project Licenses @@ -326,7 +326,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-annotations/mail-lists.html -- diff --git a/hbase-annotations/mail-lists.html b/hbase-annotations/mail-lists.html index 3330e84..6bb481a 100644 --- a/hbase-annotations/mail-lists.html +++ b/hbase-annotations/mail-lists.html @@ -7,7 +7,7 @@ - + Apache HBase - Annotations Project Mailing Lists @@ -176,7 +176,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-annotations/plugin-management.html -- diff --git a/hbase-annotations/plugin-management.html b/hbase-annotations/plugin-management.html index 2409f30..8c765e6 100644 --- a/hbase-annotations/plugin-management.html +++ b/hbase-annotations/plugin-management.html @@ -7,7 +7,7 @@ - + Apache HBase - Annotations Project Plugin Management @@ -271,7 +271,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-annotations/plugins.html -- diff --git a/hbase-annotations/plugins.html b/hbase-annotations/plugins.html index 0bdecbb..7c17a82 100644 --- a/hbase-annotations/plugins.html +++ b/hbase-annotations/plugins.html @@ -7,7 +7,7 @@ - + Apache HBase - Annotations Project Plugins @@ -222,7 +222,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-annotations/project-info.html -- diff --git a/hbase-annotations/project-info.html b/hbase-annotations/project-info.html index dfb1494..2b1fd6c 100644 --- a/hbase-annotations/project-info.html +++ b/hbase-annotations/project-info.html @@ -7,7
hbase-site git commit: INFRA-10751 Empty commit
Repository: hbase-site Updated Branches: refs/heads/asf-site 2bb8bd01c -> 2b524c700 INFRA-10751 Empty commit Project: http://git-wip-us.apache.org/repos/asf/hbase-site/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase-site/commit/2b524c70 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/2b524c70 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/2b524c70 Branch: refs/heads/asf-site Commit: 2b524c70042ca8d9c894784fe560aa7f7e209936 Parents: 2bb8bd0 Author: jenkinsAuthored: Mon Sep 18 15:13:27 2017 + Committer: jenkins Committed: Mon Sep 18 15:13:27 2017 + -- --
[22/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/org/apache/hadoop/hbase/security/class-use/User.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/security/class-use/User.html b/devapidocs/org/apache/hadoop/hbase/security/class-use/User.html index d5b2d98..af3c56d 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/class-use/User.html +++ b/devapidocs/org/apache/hadoop/hbase/security/class-use/User.html @@ -997,26 +997,6 @@ -void -RegionServerCoprocessorHost.postMerge(HRegionregionA, - HRegionregionB, - HRegionmergedRegion, - Useruser) - - -void -RegionServerCoprocessorHost.postMergeCommit(HRegionregionA, - HRegionregionB, - HRegionmergedRegion, - Useruser) - - -void -RegionServerCoprocessorHost.postRollBackMerge(HRegionregionA, - HRegionregionB, - Useruser) - - InternalScanner RegionCoprocessorHost.preCompact(Storestore, InternalScannerscanner, @@ -1026,7 +1006,7 @@ Called prior to rewriting the store files selected for compaction - + InternalScanner RegionCoprocessorHost.preCompactScannerOpen(Storestore, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListStoreFileScannerscanners, @@ -1040,7 +1020,7 @@ InternalScanner, CompactionLifeCycleTracker, long) - + boolean RegionCoprocessorHost.preCompactSelection(Storestore, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListStoreFilecandidates, @@ -1050,25 +1030,6 @@ available candidates. - -boolean -RegionServerCoprocessorHost.preMerge(HRegionregionA, -HRegionregionB, -Useruser) - - -boolean -RegionServerCoprocessorHost.preMergeCommit(HRegionregionA, - HRegionregionB, - http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListMutationmetaEntries, - Useruser) - - -void -RegionServerCoprocessorHost.preRollBackMerge(HRegionregionA, -HRegionregionB, -Useruser) - void RegionServerCoprocessorHost.preStop(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage, http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/org/apache/hadoop/hbase/security/package-tree.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/security/package-tree.html b/devapidocs/org/apache/hadoop/hbase/security/package-tree.html index d776b93..bec1bbc 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/package-tree.html +++ b/devapidocs/org/apache/hadoop/hbase/security/package-tree.html @@ -191,9 +191,9 @@ java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable) +org.apache.hadoop.hbase.security.AuthMethod org.apache.hadoop.hbase.security.SaslUtil.QualityOfProtection org.apache.hadoop.hbase.security.SaslStatus -org.apache.hadoop.hbase.security.AuthMethod http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/org/apache/hadoop/hbase/security/visibility/VisibilityController.VisibilityReplication.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/security/visibility/VisibilityController.VisibilityReplication.html b/devapidocs/org/apache/hadoop/hbase/security/visibility/VisibilityController.VisibilityReplication.html index 9663e07..04702e7 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/visibility/VisibilityController.VisibilityReplication.html +++ b/devapidocs/org/apache/hadoop/hbase/security/visibility/VisibilityController.VisibilityReplication.html @@ -233,7 +233,7 @@ implements RegionServerObserver -postClearCompactionQueues, postMerge, postMergeCommit, postReplicateLogEntries, postRollBackMerge, postRollWALWriterRequest, preClearCompactionQueues, preMerge, preMergeCommit, preReplicateLogEntries, preRollBackMerge, preRollWALWriterRequest, preStopRegionServer +postClearCompactionQueues, postReplicateLogEntries, postRollWALWriterRequest, preClearCompactionQueues, preReplicateLogEntries, preRollWALWriterRequest, preStopRegionServer
[06/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.html index 82eb9fd..8eb952a 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.html @@ -71,668 +71,655 @@ 063import org.apache.hadoop.hbase.coprocessor.ObserverContext; 064import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment; 065import org.apache.hadoop.hbase.coprocessor.RegionObserver; -066import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -067import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -068import org.apache.hadoop.hbase.master.HMaster; -069import org.apache.hadoop.hbase.master.MasterCoprocessorHost; -070import org.apache.hadoop.hbase.master.TableNamespaceManager; -071import org.apache.hadoop.hbase.quotas.MasterQuotaManager; -072import org.apache.hadoop.hbase.quotas.QuotaExceededException; -073import org.apache.hadoop.hbase.quotas.QuotaUtil; -074import org.apache.hadoop.hbase.regionserver.Region; -075import org.apache.hadoop.hbase.regionserver.Store; -076import org.apache.hadoop.hbase.regionserver.StoreFile; -077import org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker; -078import org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest; -079import org.apache.hadoop.hbase.snapshot.RestoreSnapshotException; -080import org.apache.hadoop.hbase.testclassification.MediumTests; -081import org.apache.hadoop.hbase.util.Bytes; -082import org.apache.hadoop.hbase.util.FSUtils; -083import org.apache.hadoop.hbase.util.Threads; -084import org.apache.zookeeper.KeeperException; -085import org.junit.After; -086import org.junit.AfterClass; -087import org.junit.BeforeClass; -088import org.junit.Rule; -089import org.junit.Test; -090import org.junit.experimental.categories.Category; -091import org.junit.rules.TestRule; -092 -093@Category(MediumTests.class) -094public class TestNamespaceAuditor { -095 @Rule public final TestRule timeout = CategoryBasedTimeout.builder(). -096 withTimeout(this.getClass()).withLookingForStuckThread(true).build(); -097 private static final Log LOG = LogFactory.getLog(TestNamespaceAuditor.class); -098 private static final HBaseTestingUtility UTIL = new HBaseTestingUtility(); -099 private static Admin ADMIN; -100 private String prefix = "TestNamespaceAuditor"; -101 -102 @BeforeClass -103 public static void before() throws Exception { -104Configuration conf = UTIL.getConfiguration(); -105 conf.set(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY, CustomObserver.class.getName()); -106conf.setStrings( -107 CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY, -108 MasterSyncObserver.class.getName(), CPMasterObserver.class.getName()); -109 conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 5); -110 conf.setBoolean(QuotaUtil.QUOTA_CONF_KEY, true); -111 conf.setClass("hbase.coprocessor.regionserver.classes", CPRegionServerObserver.class, -112 RegionServerObserver.class); -113UTIL.startMiniCluster(1, 1); -114waitForQuotaInitialize(UTIL); -115ADMIN = UTIL.getAdmin(); -116 } -117 -118 @AfterClass -119 public static void tearDown() throws Exception { -120UTIL.shutdownMiniCluster(); -121 } -122 -123 @After -124 public void cleanup() throws Exception, KeeperException { -125for (HTableDescriptor table : ADMIN.listTables()) { -126 ADMIN.disableTable(table.getTableName()); -127 deleteTable(table.getTableName()); -128} -129for (NamespaceDescriptor ns : ADMIN.listNamespaceDescriptors()) { -130 if (ns.getName().startsWith(prefix)) { -131 ADMIN.deleteNamespace(ns.getName()); -132 } -133} -134assertTrue("Quota manager not initialized", UTIL.getHBaseCluster().getMaster() -135 .getMasterQuotaManager().isQuotaInitialized()); -136 } -137 -138 @Test -139 public void testTableOperations() throws Exception { -140String nsp = prefix + "_np2"; -141NamespaceDescriptor nspDesc = -142 NamespaceDescriptor.create(nsp).addConfiguration(TableNamespaceManager.KEY_MAX_REGIONS, "5") -143 .addConfiguration(TableNamespaceManager.KEY_MAX_TABLES, "2").build(); -144ADMIN.createNamespace(nspDesc); -145assertNotNull("Namespace descriptor found null.", ADMIN.getNamespaceDescriptor(nsp)); -146 assertEquals(ADMIN.listNamespaceDescriptors().length, 3); -147HColumnDescriptor fam1 = new HColumnDescriptor("fam1"); -148 -149HTableDescriptor tableDescOne = -150new HTableDescriptor(TableName.valueOf(nsp +
[10/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPMasterObserver.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPMasterObserver.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPMasterObserver.html index 82eb9fd..8eb952a 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPMasterObserver.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPMasterObserver.html @@ -71,668 +71,655 @@ 063import org.apache.hadoop.hbase.coprocessor.ObserverContext; 064import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment; 065import org.apache.hadoop.hbase.coprocessor.RegionObserver; -066import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -067import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -068import org.apache.hadoop.hbase.master.HMaster; -069import org.apache.hadoop.hbase.master.MasterCoprocessorHost; -070import org.apache.hadoop.hbase.master.TableNamespaceManager; -071import org.apache.hadoop.hbase.quotas.MasterQuotaManager; -072import org.apache.hadoop.hbase.quotas.QuotaExceededException; -073import org.apache.hadoop.hbase.quotas.QuotaUtil; -074import org.apache.hadoop.hbase.regionserver.Region; -075import org.apache.hadoop.hbase.regionserver.Store; -076import org.apache.hadoop.hbase.regionserver.StoreFile; -077import org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker; -078import org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest; -079import org.apache.hadoop.hbase.snapshot.RestoreSnapshotException; -080import org.apache.hadoop.hbase.testclassification.MediumTests; -081import org.apache.hadoop.hbase.util.Bytes; -082import org.apache.hadoop.hbase.util.FSUtils; -083import org.apache.hadoop.hbase.util.Threads; -084import org.apache.zookeeper.KeeperException; -085import org.junit.After; -086import org.junit.AfterClass; -087import org.junit.BeforeClass; -088import org.junit.Rule; -089import org.junit.Test; -090import org.junit.experimental.categories.Category; -091import org.junit.rules.TestRule; -092 -093@Category(MediumTests.class) -094public class TestNamespaceAuditor { -095 @Rule public final TestRule timeout = CategoryBasedTimeout.builder(). -096 withTimeout(this.getClass()).withLookingForStuckThread(true).build(); -097 private static final Log LOG = LogFactory.getLog(TestNamespaceAuditor.class); -098 private static final HBaseTestingUtility UTIL = new HBaseTestingUtility(); -099 private static Admin ADMIN; -100 private String prefix = "TestNamespaceAuditor"; -101 -102 @BeforeClass -103 public static void before() throws Exception { -104Configuration conf = UTIL.getConfiguration(); -105 conf.set(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY, CustomObserver.class.getName()); -106conf.setStrings( -107 CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY, -108 MasterSyncObserver.class.getName(), CPMasterObserver.class.getName()); -109 conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 5); -110 conf.setBoolean(QuotaUtil.QUOTA_CONF_KEY, true); -111 conf.setClass("hbase.coprocessor.regionserver.classes", CPRegionServerObserver.class, -112 RegionServerObserver.class); -113UTIL.startMiniCluster(1, 1); -114waitForQuotaInitialize(UTIL); -115ADMIN = UTIL.getAdmin(); -116 } -117 -118 @AfterClass -119 public static void tearDown() throws Exception { -120UTIL.shutdownMiniCluster(); -121 } -122 -123 @After -124 public void cleanup() throws Exception, KeeperException { -125for (HTableDescriptor table : ADMIN.listTables()) { -126 ADMIN.disableTable(table.getTableName()); -127 deleteTable(table.getTableName()); -128} -129for (NamespaceDescriptor ns : ADMIN.listNamespaceDescriptors()) { -130 if (ns.getName().startsWith(prefix)) { -131 ADMIN.deleteNamespace(ns.getName()); -132 } -133} -134assertTrue("Quota manager not initialized", UTIL.getHBaseCluster().getMaster() -135 .getMasterQuotaManager().isQuotaInitialized()); -136 } -137 -138 @Test -139 public void testTableOperations() throws Exception { -140String nsp = prefix + "_np2"; -141NamespaceDescriptor nspDesc = -142 NamespaceDescriptor.create(nsp).addConfiguration(TableNamespaceManager.KEY_MAX_REGIONS, "5") -143 .addConfiguration(TableNamespaceManager.KEY_MAX_TABLES, "2").build(); -144ADMIN.createNamespace(nspDesc); -145assertNotNull("Namespace descriptor found null.", ADMIN.getNamespaceDescriptor(nsp)); -146 assertEquals(ADMIN.listNamespaceDescriptors().length, 3); -147HColumnDescriptor fam1 = new HColumnDescriptor("fam1"); -148 -149
[18/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.RegionServerEnvironment.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.RegionServerEnvironment.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.RegionServerEnvironment.html index 36f4c8d..ec36d2e 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.RegionServerEnvironment.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.RegionServerEnvironment.html @@ -38,395 +38,326 @@ 030import org.apache.hadoop.hbase.Coprocessor; 031import org.apache.hadoop.hbase.CoprocessorEnvironment; 032import org.apache.hadoop.hbase.HBaseInterfaceAudience; -033import org.apache.hadoop.hbase.MetaMutationAnnotation; -034import org.apache.yetus.audience.InterfaceAudience; -035import org.apache.yetus.audience.InterfaceStability; -036import org.apache.hadoop.hbase.client.Mutation; -037import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; -038import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; -039import org.apache.hadoop.hbase.coprocessor.ObserverContext; -040import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -041import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -042import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; -043import org.apache.hadoop.hbase.ipc.RpcServer; -044import org.apache.hadoop.hbase.metrics.MetricRegistry; -045import org.apache.hadoop.hbase.replication.ReplicationEndpoint; -046import org.apache.hadoop.hbase.security.User; -047import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; -048 -049@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) -050@InterfaceStability.Evolving -051public class RegionServerCoprocessorHost extends -052 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +033import org.apache.yetus.audience.InterfaceAudience; +034import org.apache.yetus.audience.InterfaceStability; +035import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; +036import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; +037import org.apache.hadoop.hbase.coprocessor.ObserverContext; +038import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; +039import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; +040import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; +041import org.apache.hadoop.hbase.ipc.RpcServer; +042import org.apache.hadoop.hbase.metrics.MetricRegistry; +043import org.apache.hadoop.hbase.replication.ReplicationEndpoint; +044import org.apache.hadoop.hbase.security.User; +045import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; +046 +047@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) +048@InterfaceStability.Evolving +049public class RegionServerCoprocessorHost extends +050 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +051 +052 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); 053 -054 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); +054 private RegionServerServices rsServices; 055 -056 private RegionServerServices rsServices; -057 -058 public RegionServerCoprocessorHost(RegionServerServices rsServices, -059 Configuration conf) { -060super(rsServices); -061this.rsServices = rsServices; -062this.conf = conf; -063// Log the state of coprocessor loading here; should appear only once or -064// twice in the daemon log, depending on HBase version, because there is -065// only one RegionServerCoprocessorHost instance in the RS process -066boolean coprocessorsEnabled = conf.getBoolean(COPROCESSORS_ENABLED_CONF_KEY, -067 DEFAULT_COPROCESSORS_ENABLED); -068boolean tableCoprocessorsEnabled = conf.getBoolean(USER_COPROCESSORS_ENABLED_CONF_KEY, -069 DEFAULT_USER_COPROCESSORS_ENABLED); -070LOG.info("System coprocessor loading is " + (coprocessorsEnabled ? "enabled" : "disabled")); -071LOG.info("Table coprocessor loading is " + -072 ((coprocessorsEnabled tableCoprocessorsEnabled) ? "enabled" : "disabled")); -073loadSystemCoprocessors(conf, REGIONSERVER_COPROCESSOR_CONF_KEY); -074 } -075 -076 @Override -077 public RegionServerEnvironment createEnvironment(Class? implClass, -078 Coprocessor instance, int priority, int sequence, Configuration conf) { -079return new RegionServerEnvironment(implClass, instance, priority, -080 sequence, conf, this.rsServices); -081 } -082 -083 public void preStop(String message, User user) throws IOException { -084//
[16/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html b/devapidocs/src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html index d3c7efb..92c2266 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html @@ -2583,206 +2583,179 @@ 2575 } 2576 2577 @Override -2578 public void preMerge(ObserverContextRegionServerCoprocessorEnvironment ctx, Region regionA, -2579 Region regionB) throws IOException { -2580 requirePermission(getActiveUser(ctx), "mergeRegions", regionA.getTableDescriptor().getTableName(), -2581null, null, Action.ADMIN); -2582 } -2583 -2584 @Override -2585 public void postMerge(ObserverContextRegionServerCoprocessorEnvironment c, Region regionA, -2586 Region regionB, Region mergedRegion) throws IOException { } -2587 -2588 @Override -2589 public void preMergeCommit(ObserverContextRegionServerCoprocessorEnvironment ctx, -2590 Region regionA, Region regionB, ListMutation metaEntries) throws IOException { } -2591 -2592 @Override -2593 public void postMergeCommit(ObserverContextRegionServerCoprocessorEnvironment ctx, -2594 Region regionA, Region regionB, Region mergedRegion) throws IOException { } -2595 -2596 @Override -2597 public void preRollBackMerge(ObserverContextRegionServerCoprocessorEnvironment ctx, -2598 Region regionA, Region regionB) throws IOException { } -2599 -2600 @Override -2601 public void postRollBackMerge(ObserverContextRegionServerCoprocessorEnvironment ctx, -2602 Region regionA, Region regionB) throws IOException { } -2603 -2604 @Override -2605 public void preRollWALWriterRequest(ObserverContextRegionServerCoprocessorEnvironment ctx) -2606 throws IOException { -2607 requirePermission(getActiveUser(ctx), "preRollLogWriterRequest", Permission.Action.ADMIN); -2608 } -2609 -2610 @Override -2611 public void postRollWALWriterRequest(ObserverContextRegionServerCoprocessorEnvironment ctx) -2612 throws IOException { } -2613 -2614 @Override -2615 public void preSetUserQuota(final ObserverContextMasterCoprocessorEnvironment ctx, -2616 final String userName, final Quotas quotas) throws IOException { -2617 requirePermission(getActiveUser(ctx), "setUserQuota", Action.ADMIN); -2618 } -2619 -2620 @Override -2621 public void preSetUserQuota(final ObserverContextMasterCoprocessorEnvironment ctx, -2622 final String userName, final TableName tableName, final Quotas quotas) throws IOException { -2623 requirePermission(getActiveUser(ctx), "setUserTableQuota", tableName, null, null, Action.ADMIN); -2624 } -2625 -2626 @Override -2627 public void preSetUserQuota(final ObserverContextMasterCoprocessorEnvironment ctx, -2628 final String userName, final String namespace, final Quotas quotas) throws IOException { -2629 requirePermission(getActiveUser(ctx), "setUserNamespaceQuota", Action.ADMIN); -2630 } -2631 -2632 @Override -2633 public void preSetTableQuota(final ObserverContextMasterCoprocessorEnvironment ctx, -2634 final TableName tableName, final Quotas quotas) throws IOException { -2635 requirePermission(getActiveUser(ctx), "setTableQuota", tableName, null, null, Action.ADMIN); -2636 } -2637 -2638 @Override -2639 public void preSetNamespaceQuota(final ObserverContextMasterCoprocessorEnvironment ctx, -2640 final String namespace, final Quotas quotas) throws IOException { -2641 requirePermission(getActiveUser(ctx), "setNamespaceQuota", Action.ADMIN); -2642 } -2643 -2644 @Override -2645 public ReplicationEndpoint postCreateReplicationEndPoint( -2646 ObserverContextRegionServerCoprocessorEnvironment ctx, ReplicationEndpoint endpoint) { -2647return endpoint; -2648 } -2649 -2650 @Override -2651 public void preReplicateLogEntries(ObserverContextRegionServerCoprocessorEnvironment ctx, -2652 ListWALEntry entries, CellScanner cells) throws IOException { -2653 requirePermission(getActiveUser(ctx), "replicateLogEntries", Action.WRITE); -2654 } -2655 -2656 @Override -2657 public void postReplicateLogEntries(ObserverContextRegionServerCoprocessorEnvironment ctx, -2658 ListWALEntry entries, CellScanner cells) throws IOException { -2659 } -2660 -2661 @Override -2662 public void preClearCompactionQueues(ObserverContextRegionServerCoprocessorEnvironment ctx) -2663 throws IOException { -2664 requirePermission(getActiveUser(ctx), "preClearCompactionQueues", Permission.Action.ADMIN); -2665 } -2666 -2667 @Override -2668 public void
[14/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html -- diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html index 60246b7..a01f1ae 100644 --- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html +++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/plugins.html @@ -7,7 +7,7 @@ - + Apache HBase - Exemplar for hbase-shaded-client archetype Project Plugins @@ -226,7 +226,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html -- diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html index 1d21aa4..61340d5 100644 --- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html +++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-info.html @@ -7,7 +7,7 @@ - + Apache HBase - Exemplar for hbase-shaded-client archetype Project Information @@ -167,7 +167,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html -- diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html index 67ba257..473fbf4 100644 --- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html +++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-reports.html @@ -7,7 +7,7 @@ - + Apache HBase - Exemplar for hbase-shaded-client archetype Generated Reports @@ -128,7 +128,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html -- diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html index c998456..4967fa6 100644 --- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html +++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/project-summary.html @@ -7,7 +7,7 @@ - + Apache HBase - Exemplar for hbase-shaded-client archetype Project Summary @@ -166,7 +166,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html -- diff --git a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html index 4e0361a..e402a6f 100644 --- a/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html +++ b/hbase-build-configuration/hbase-archetypes/hbase-shaded-client-project/source-repository.html @@ -7,7 +7,7 @@
[21/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessOperationWithResult.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessOperationWithResult.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessOperationWithResult.html index 36f4c8d..ec36d2e 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessOperationWithResult.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.CoprocessOperationWithResult.html @@ -38,395 +38,326 @@ 030import org.apache.hadoop.hbase.Coprocessor; 031import org.apache.hadoop.hbase.CoprocessorEnvironment; 032import org.apache.hadoop.hbase.HBaseInterfaceAudience; -033import org.apache.hadoop.hbase.MetaMutationAnnotation; -034import org.apache.yetus.audience.InterfaceAudience; -035import org.apache.yetus.audience.InterfaceStability; -036import org.apache.hadoop.hbase.client.Mutation; -037import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; -038import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; -039import org.apache.hadoop.hbase.coprocessor.ObserverContext; -040import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -041import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -042import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; -043import org.apache.hadoop.hbase.ipc.RpcServer; -044import org.apache.hadoop.hbase.metrics.MetricRegistry; -045import org.apache.hadoop.hbase.replication.ReplicationEndpoint; -046import org.apache.hadoop.hbase.security.User; -047import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; -048 -049@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) -050@InterfaceStability.Evolving -051public class RegionServerCoprocessorHost extends -052 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +033import org.apache.yetus.audience.InterfaceAudience; +034import org.apache.yetus.audience.InterfaceStability; +035import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; +036import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; +037import org.apache.hadoop.hbase.coprocessor.ObserverContext; +038import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; +039import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; +040import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; +041import org.apache.hadoop.hbase.ipc.RpcServer; +042import org.apache.hadoop.hbase.metrics.MetricRegistry; +043import org.apache.hadoop.hbase.replication.ReplicationEndpoint; +044import org.apache.hadoop.hbase.security.User; +045import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; +046 +047@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) +048@InterfaceStability.Evolving +049public class RegionServerCoprocessorHost extends +050 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +051 +052 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); 053 -054 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); +054 private RegionServerServices rsServices; 055 -056 private RegionServerServices rsServices; -057 -058 public RegionServerCoprocessorHost(RegionServerServices rsServices, -059 Configuration conf) { -060super(rsServices); -061this.rsServices = rsServices; -062this.conf = conf; -063// Log the state of coprocessor loading here; should appear only once or -064// twice in the daemon log, depending on HBase version, because there is -065// only one RegionServerCoprocessorHost instance in the RS process -066boolean coprocessorsEnabled = conf.getBoolean(COPROCESSORS_ENABLED_CONF_KEY, -067 DEFAULT_COPROCESSORS_ENABLED); -068boolean tableCoprocessorsEnabled = conf.getBoolean(USER_COPROCESSORS_ENABLED_CONF_KEY, -069 DEFAULT_USER_COPROCESSORS_ENABLED); -070LOG.info("System coprocessor loading is " + (coprocessorsEnabled ? "enabled" : "disabled")); -071LOG.info("Table coprocessor loading is " + -072 ((coprocessorsEnabled tableCoprocessorsEnabled) ? "enabled" : "disabled")); -073loadSystemCoprocessors(conf, REGIONSERVER_COPROCESSOR_CONF_KEY); -074 } -075 -076 @Override -077 public RegionServerEnvironment createEnvironment(Class? implClass, -078 Coprocessor instance, int priority, int sequence, Configuration conf) { -079return new RegionServerEnvironment(implClass, instance, priority, -080 sequence, conf, this.rsServices); -081 } -082 -083 public void preStop(String message, User user) throws
[08/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CustomObserver.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CustomObserver.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CustomObserver.html index 82eb9fd..8eb952a 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CustomObserver.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CustomObserver.html @@ -71,668 +71,655 @@ 063import org.apache.hadoop.hbase.coprocessor.ObserverContext; 064import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment; 065import org.apache.hadoop.hbase.coprocessor.RegionObserver; -066import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -067import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -068import org.apache.hadoop.hbase.master.HMaster; -069import org.apache.hadoop.hbase.master.MasterCoprocessorHost; -070import org.apache.hadoop.hbase.master.TableNamespaceManager; -071import org.apache.hadoop.hbase.quotas.MasterQuotaManager; -072import org.apache.hadoop.hbase.quotas.QuotaExceededException; -073import org.apache.hadoop.hbase.quotas.QuotaUtil; -074import org.apache.hadoop.hbase.regionserver.Region; -075import org.apache.hadoop.hbase.regionserver.Store; -076import org.apache.hadoop.hbase.regionserver.StoreFile; -077import org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker; -078import org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest; -079import org.apache.hadoop.hbase.snapshot.RestoreSnapshotException; -080import org.apache.hadoop.hbase.testclassification.MediumTests; -081import org.apache.hadoop.hbase.util.Bytes; -082import org.apache.hadoop.hbase.util.FSUtils; -083import org.apache.hadoop.hbase.util.Threads; -084import org.apache.zookeeper.KeeperException; -085import org.junit.After; -086import org.junit.AfterClass; -087import org.junit.BeforeClass; -088import org.junit.Rule; -089import org.junit.Test; -090import org.junit.experimental.categories.Category; -091import org.junit.rules.TestRule; -092 -093@Category(MediumTests.class) -094public class TestNamespaceAuditor { -095 @Rule public final TestRule timeout = CategoryBasedTimeout.builder(). -096 withTimeout(this.getClass()).withLookingForStuckThread(true).build(); -097 private static final Log LOG = LogFactory.getLog(TestNamespaceAuditor.class); -098 private static final HBaseTestingUtility UTIL = new HBaseTestingUtility(); -099 private static Admin ADMIN; -100 private String prefix = "TestNamespaceAuditor"; -101 -102 @BeforeClass -103 public static void before() throws Exception { -104Configuration conf = UTIL.getConfiguration(); -105 conf.set(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY, CustomObserver.class.getName()); -106conf.setStrings( -107 CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY, -108 MasterSyncObserver.class.getName(), CPMasterObserver.class.getName()); -109 conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 5); -110 conf.setBoolean(QuotaUtil.QUOTA_CONF_KEY, true); -111 conf.setClass("hbase.coprocessor.regionserver.classes", CPRegionServerObserver.class, -112 RegionServerObserver.class); -113UTIL.startMiniCluster(1, 1); -114waitForQuotaInitialize(UTIL); -115ADMIN = UTIL.getAdmin(); -116 } -117 -118 @AfterClass -119 public static void tearDown() throws Exception { -120UTIL.shutdownMiniCluster(); -121 } -122 -123 @After -124 public void cleanup() throws Exception, KeeperException { -125for (HTableDescriptor table : ADMIN.listTables()) { -126 ADMIN.disableTable(table.getTableName()); -127 deleteTable(table.getTableName()); -128} -129for (NamespaceDescriptor ns : ADMIN.listNamespaceDescriptors()) { -130 if (ns.getName().startsWith(prefix)) { -131 ADMIN.deleteNamespace(ns.getName()); -132 } -133} -134assertTrue("Quota manager not initialized", UTIL.getHBaseCluster().getMaster() -135 .getMasterQuotaManager().isQuotaInitialized()); -136 } -137 -138 @Test -139 public void testTableOperations() throws Exception { -140String nsp = prefix + "_np2"; -141NamespaceDescriptor nspDesc = -142 NamespaceDescriptor.create(nsp).addConfiguration(TableNamespaceManager.KEY_MAX_REGIONS, "5") -143 .addConfiguration(TableNamespaceManager.KEY_MAX_TABLES, "2").build(); -144ADMIN.createNamespace(nspDesc); -145assertNotNull("Namespace descriptor found null.", ADMIN.getNamespaceDescriptor(nsp)); -146 assertEquals(ADMIN.listNamespaceDescriptors().length, 3); -147HColumnDescriptor fam1 = new HColumnDescriptor("fam1"); -148 -149HTableDescriptor
[26/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html index e160a22..8a5b494 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/class-use/ObserverContext.html @@ -743,24 +743,6 @@ default void -RegionServerObserver.postMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - RegionmergedRegion) -called after the regions merge. - - - -default void -RegionServerObserver.postMergeCommit(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - RegionmergedRegion) -This will be called after PONR step as part of regions merge transaction. - - - -default void MasterObserver.postMergeRegions(ObserverContextMasterCoprocessorEnvironmentc, HRegionInfo[]regionsToMerge) called after merge regions request. @@ -915,39 +897,31 @@ default void -RegionServerObserver.postRollBackMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB) -This will be called after the roll back of the regions merge. - - - -default void MasterObserver.postRollBackMergeRegionsAction(ObserverContextMasterCoprocessorEnvironmentctx, HRegionInfo[]regionsToMerge) This will be called after the roll back of the regions merge. - + default void MasterObserver.postRollBackSplitRegionAction(ObserverContextMasterCoprocessorEnvironmentctx) This will be called after the roll back of the split region is completed - + default void RegionServerObserver.postRollWALWriterRequest(ObserverContextRegionServerCoprocessorEnvironmentctx) This will be called after executing user request to roll a region server WAL. - + default void RegionObserver.postScannerClose(ObserverContextRegionCoprocessorEnvironmentctx, InternalScanners) Called after the client closes a scanner. - + default boolean RegionObserver.postScannerFilterRow(ObserverContextRegionCoprocessorEnvironmentc, InternalScanners, @@ -957,7 +931,7 @@ filter. - + default boolean RegionObserver.postScannerNext(ObserverContextRegionCoprocessorEnvironmentc, InternalScanners, @@ -967,7 +941,7 @@ Called after the client asks for the next row on a scanner. - + default RegionScanner RegionObserver.postScannerOpen(ObserverContextRegionCoprocessorEnvironmentc, Scanscan, @@ -975,7 +949,7 @@ Called after the client opens a new scanner. - + default void MasterObserver.postSetNamespaceQuota(ObserverContextMasterCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringnamespace, @@ -983,7 +957,7 @@ Called after the quota for the namespace is stored. - + default void MasterObserver.postSetSplitOrMergeEnabled(ObserverContextMasterCoprocessorEnvironmentctx, booleannewValue, @@ -991,7 +965,7 @@ Called after setting split / merge switch - + default void MasterObserver.postSetTableQuota(ObserverContextMasterCoprocessorEnvironmentctx, TableNametableName, @@ -999,7 +973,7 @@ Called after the quota for the table is stored. - + default void MasterObserver.postSetUserQuota(ObserverContextMasterCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringuserName, @@ -1007,7 +981,7 @@ Called after the quota for the user is stored. - + default void MasterObserver.postSetUserQuota(ObserverContextMasterCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringuserName, @@ -1016,7 +990,7 @@ Called after the quota for the user on the specified namespace is stored. - + default void MasterObserver.postSetUserQuota(ObserverContextMasterCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringuserName, @@ -1025,7 +999,7 @@ Called after the quota for the user on the specified table is stored. - + default void MasterObserver.postSnapshot(ObserverContextMasterCoprocessorEnvironmentctx, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescriptionsnapshot, @@ -1033,14
[27/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.html b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.html index 02dbe8f..b51998f 100644 --- a/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.html +++ b/devapidocs/org/apache/hadoop/hbase/coprocessor/RegionServerObserver.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18,"i8":18,"i9":18,"i10":18,"i11":18,"i12":18,"i13":18}; +var methods = {"i0":18,"i1":18,"i2":18,"i3":18,"i4":18,"i5":18,"i6":18,"i7":18}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],16:["t5","Default Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -111,7 +111,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving -public interface RegionServerObserver +public interface RegionServerObserver extends Coprocessor Defines coprocessor hooks for interacting with operations on the HRegionServer process. @@ -199,68 +199,25 @@ extends default void -postMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - RegionmergedRegion) -called after the regions merge. - - - -default void -postMergeCommit(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - RegionmergedRegion) -This will be called after PONR step as part of regions merge transaction. - - - -default void postReplicateLogEntries(ObserverContextRegionServerCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntryentries, CellScannercells) This will be called after executing replication request to shipping log entries. - -default void -postRollBackMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB) -This will be called after the roll back of the regions merge. - - - + default void postRollWALWriterRequest(ObserverContextRegionServerCoprocessorEnvironmentctx) This will be called after executing user request to roll a region server WAL. - + default void preClearCompactionQueues(ObserverContextRegionServerCoprocessorEnvironmentctx) This will be called before clearing compaction queues - -default void -preMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, -RegionregionA, -RegionregionB) -Called before the regions merge. - - - -default void -preMergeCommit(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListMutationmetaEntries) -This will be called before PONR step as part of regions merge transaction. - - - + default void preReplicateLogEntries(ObserverContextRegionServerCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntryentries, @@ -268,21 +225,13 @@ extends This will be called before executing replication request to shipping log entries. - -default void -preRollBackMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, -RegionregionA, -RegionregionB) -This will be called before the roll back of the regions merge. - - - + default void preRollWALWriterRequest(ObserverContextRegionServerCoprocessorEnvironmentctx) This will be called before executing user request to roll a region server WAL. - + default void preStopRegionServer(ObserverContextRegionServerCoprocessorEnvironmentctx) Called before stopping region server. @@ -316,7 +265,7 @@ extends preStopRegionServer -defaultvoidpreStopRegionServer(ObserverContextRegionServerCoprocessorEnvironmentctx) +defaultvoidpreStopRegionServer(ObserverContextRegionServerCoprocessorEnvironmentctx) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Called before stopping region server. @@ -327,147 +276,13 @@ extends - - - - - -preMerge -defaultvoidpreMerge(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB)
[19/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.EnvironmentPriorityComparator.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.EnvironmentPriorityComparator.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.EnvironmentPriorityComparator.html index 36f4c8d..ec36d2e 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.EnvironmentPriorityComparator.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.EnvironmentPriorityComparator.html @@ -38,395 +38,326 @@ 030import org.apache.hadoop.hbase.Coprocessor; 031import org.apache.hadoop.hbase.CoprocessorEnvironment; 032import org.apache.hadoop.hbase.HBaseInterfaceAudience; -033import org.apache.hadoop.hbase.MetaMutationAnnotation; -034import org.apache.yetus.audience.InterfaceAudience; -035import org.apache.yetus.audience.InterfaceStability; -036import org.apache.hadoop.hbase.client.Mutation; -037import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; -038import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; -039import org.apache.hadoop.hbase.coprocessor.ObserverContext; -040import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -041import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -042import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; -043import org.apache.hadoop.hbase.ipc.RpcServer; -044import org.apache.hadoop.hbase.metrics.MetricRegistry; -045import org.apache.hadoop.hbase.replication.ReplicationEndpoint; -046import org.apache.hadoop.hbase.security.User; -047import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; -048 -049@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) -050@InterfaceStability.Evolving -051public class RegionServerCoprocessorHost extends -052 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +033import org.apache.yetus.audience.InterfaceAudience; +034import org.apache.yetus.audience.InterfaceStability; +035import org.apache.hadoop.hbase.coprocessor.CoprocessorHost; +036import org.apache.hadoop.hbase.coprocessor.MetricsCoprocessor; +037import org.apache.hadoop.hbase.coprocessor.ObserverContext; +038import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; +039import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; +040import org.apache.hadoop.hbase.coprocessor.SingletonCoprocessorService; +041import org.apache.hadoop.hbase.ipc.RpcServer; +042import org.apache.hadoop.hbase.metrics.MetricRegistry; +043import org.apache.hadoop.hbase.replication.ReplicationEndpoint; +044import org.apache.hadoop.hbase.security.User; +045import org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry; +046 +047@InterfaceAudience.LimitedPrivate(HBaseInterfaceAudience.COPROC) +048@InterfaceStability.Evolving +049public class RegionServerCoprocessorHost extends +050 CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment { +051 +052 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); 053 -054 private static final Log LOG = LogFactory.getLog(RegionServerCoprocessorHost.class); +054 private RegionServerServices rsServices; 055 -056 private RegionServerServices rsServices; -057 -058 public RegionServerCoprocessorHost(RegionServerServices rsServices, -059 Configuration conf) { -060super(rsServices); -061this.rsServices = rsServices; -062this.conf = conf; -063// Log the state of coprocessor loading here; should appear only once or -064// twice in the daemon log, depending on HBase version, because there is -065// only one RegionServerCoprocessorHost instance in the RS process -066boolean coprocessorsEnabled = conf.getBoolean(COPROCESSORS_ENABLED_CONF_KEY, -067 DEFAULT_COPROCESSORS_ENABLED); -068boolean tableCoprocessorsEnabled = conf.getBoolean(USER_COPROCESSORS_ENABLED_CONF_KEY, -069 DEFAULT_USER_COPROCESSORS_ENABLED); -070LOG.info("System coprocessor loading is " + (coprocessorsEnabled ? "enabled" : "disabled")); -071LOG.info("Table coprocessor loading is " + -072 ((coprocessorsEnabled tableCoprocessorsEnabled) ? "enabled" : "disabled")); -073loadSystemCoprocessors(conf, REGIONSERVER_COPROCESSOR_CONF_KEY); -074 } -075 -076 @Override -077 public RegionServerEnvironment createEnvironment(Class? implClass, -078 Coprocessor instance, int priority, int sequence, Configuration conf) { -079return new RegionServerEnvironment(implClass, instance, priority, -080 sequence, conf, this.rsServices); -081 } -082 -083 public void preStop(String message, User user)
[29/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/checkstyle-aggregate.html -- diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html index aaa1ca1..c98024d 100644 --- a/checkstyle-aggregate.html +++ b/checkstyle-aggregate.html @@ -7,7 +7,7 @@ - + Apache HBase Checkstyle Results @@ -289,7 +289,7 @@ 2042 0 0 -14019 +14017 Files @@ -5372,7 +5372,7 @@ org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.java 0 0 -6 +5 org/apache/hadoop/hbase/regionserver/RegionServerServices.java 0 @@ -6792,7 +6792,7 @@ org/apache/hadoop/hbase/security/access/AccessController.java 0 0 -41 +40 org/apache/hadoop/hbase/security/access/AuthResult.java 0 @@ -8381,12 +8381,12 @@ http://checkstyle.sourceforge.net/config_javadoc.html#JavadocTagContinuationIndentation;>JavadocTagContinuationIndentation offset: 2 -773 +779 Error http://checkstyle.sourceforge.net/config_javadoc.html#NonEmptyAtclauseDescription;>NonEmptyAtclauseDescription -3291 +3285 Error misc @@ -8404,7 +8404,7 @@ max: 100 ignorePattern: ^package.*|^import.*|a href|href|http://|https://|ftp://|org.apache.thrift.|com.google.protobuf.|hbase.protobuf.generated -1086 +1084 Error @@ -14869,7 +14869,7 @@ Error javadoc -NonEmptyAtclauseDescription +JavadocTagContinuationIndentation Javadoc comment at column 43 has parse error. Missed HTML close tag 'TableName'. Sometimes it means that close tag missed for one of previous tags. 179 @@ -19408,7 +19408,7 @@ Error javadoc -NonEmptyAtclauseDescription +JavadocTagContinuationIndentation Javadoc comment at column 64 has parse error. Missed HTML close tag 'code'. Sometimes it means that close tag missed for one of previous tags. 2106 @@ -26452,7 +26452,7 @@ Error javadoc -NonEmptyAtclauseDescription +JavadocTagContinuationIndentation Javadoc comment at column 37 has parse error. Details: no viable alternative at input 'ColumnFamily,' while parsing HTML_ELEMENT 29 @@ -29492,14 +29492,14 @@ Error imports ImportOrder -Wrong order for 'org.apache.hadoop.hbase.client.Mutation' import. -30 +Wrong order for 'org.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntry' import. +29 Error imports ImportOrder -Wrong order for 'org.apache.hadoop.hbase.regionserver.Region' import. -32 +Wrong order for 'org.apache.hadoop.hbase.replication.ReplicationEndpoint' import. +30 org/apache/hadoop/hbase/coprocessor/SingletonCoprocessorService.java @@ -59791,7 +59791,7 @@ Error javadoc -NonEmptyAtclauseDescription +JavadocTagContinuationIndentation Javadoc comment at column 60 has parse error. Missed HTML close tag 'Comparable'. Sometimes it means that close tag missed for one of previous tags. 28 @@ -63217,7 +63217,7 @@ Error javadoc -NonEmptyAtclauseDescription +JavadocTagContinuationIndentation Javadoc comment at column 0 has parse error. Unrecognized error from ANTLR parser: null 74 @@ -72383,102 +72383,96 @@ Error imports ImportOrder -Wrong order for 'org.apache.hadoop.hbase.client.Mutation' import. -36 +Wrong order for 'org.apache.hadoop.hbase.coprocessor.CoprocessorHost' import. +35 Error -sizes -LineLength -Line is longer than 100 characters (found 109). -100 - -Error blocks NeedBraces 'if' construct must use '{}'s. -243 - +174 + Error blocks NeedBraces 'if' construct must use '{}'s. -280 - +211 + Error javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. -317 - +248 + Error blocks NeedBraces 'if' construct must use '{}'s. -320 +251 org/apache/hadoop/hbase/regionserver/RegionServerServices.java - + Severity Category Rule Message Line - + Error imports ImportOrder Wrong order for 'org.apache.hadoop.hbase.client.locking.EntityLock' import. 34 - + Error imports ImportOrder Wrong order for 'org.apache.hadoop.hbase.quotas.RegionServerRpcQuotaManager' import. 38 - + Error imports ImportOrder Wrong order for 'com.google.protobuf.Service' import. 44 - + Error javadoc JavadocTagContinuationIndentation Line continuation have incorrect indentation level, expected level should be 2. 58 - + Error javadoc JavadocTagContinuationIndentation Line continuation have incorrect indentation level, expected level should be 2. 62 - + Error javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 116 - + Error javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 117 - + Error javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 126 - + Error javadoc NonEmptyAtclauseDescription At-clause should have a non-empty description. 127 - + Error annotation MissingDeprecated @@ -72487,49 +72481,49 @@ org/apache/hadoop/hbase/regionserver/RegionServicesForStores.java - + Severity Category Rule Message Line - +
[01/30] hbase-site git commit: Published site at .
Repository: hbase-site Updated Branches: refs/heads/asf-site d0a296b6a -> 2bb8bd01c http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestWithDisabledAuthorization.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestWithDisabledAuthorization.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestWithDisabledAuthorization.html index 4869eb5..6d71e47 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestWithDisabledAuthorization.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestWithDisabledAuthorization.html @@ -844,243 +844,228 @@ 836 } 837}, SUPERUSER, USER_ADMIN, USER_RW, USER_RO, USER_OWNER, USER_CREATE, USER_QUAL, USER_NONE); 838 -839// preMerge +839// preRollWALWriterRequest 840verifyAllowed(new AccessTestAction() { 841 @Override 842 public Object run() throws Exception { -843HTableDescriptor htd = new HTableDescriptor(TEST_TABLE.getTableName()); -844Region region_a = mock(Region.class); -845 when(region_a.getTableDescriptor()).thenReturn(htd); -846Region region_b = mock(Region.class); -847 when(region_b.getTableDescriptor()).thenReturn(htd); -848 ACCESS_CONTROLLER.preMerge(ObserverContext.createAndPrepare(RSCP_ENV, null), region_a, -849 region_b); -850return null; -851 } -852}, SUPERUSER, USER_ADMIN, USER_RW, USER_RO, USER_OWNER, USER_CREATE, USER_QUAL, USER_NONE); -853 -854// preRollWALWriterRequest -855verifyAllowed(new AccessTestAction() { -856 @Override -857 public Object run() throws Exception { -858 ACCESS_CONTROLLER.preRollWALWriterRequest(ObserverContext.createAndPrepare(RSCP_ENV, -859 null)); +843 ACCESS_CONTROLLER.preRollWALWriterRequest(ObserverContext.createAndPrepare(RSCP_ENV, +844 null)); +845return null; +846 } +847}, SUPERUSER, USER_ADMIN, USER_RW, USER_RO, USER_OWNER, USER_CREATE, USER_QUAL, USER_NONE); +848 +849 } +850 +851 /** Test region observer */ +852 @Test +853 public void testPassiveRegionOperations() throws Exception { +854 +855// preOpen +856verifyAllowed(new AccessTestAction() { +857 @Override +858 public Object run() throws Exception { +859 ACCESS_CONTROLLER.preOpen(ObserverContext.createAndPrepare(RCP_ENV, null)); 860return null; 861 } 862}, SUPERUSER, USER_ADMIN, USER_RW, USER_RO, USER_OWNER, USER_CREATE, USER_QUAL, USER_NONE); 863 -864 } -865 -866 /** Test region observer */ -867 @Test -868 public void testPassiveRegionOperations() throws Exception { -869 -870// preOpen -871verifyAllowed(new AccessTestAction() { -872 @Override -873 public Object run() throws Exception { -874 ACCESS_CONTROLLER.preOpen(ObserverContext.createAndPrepare(RCP_ENV, null)); -875return null; -876 } -877}, SUPERUSER, USER_ADMIN, USER_RW, USER_RO, USER_OWNER, USER_CREATE, USER_QUAL, USER_NONE); -878 -879// preFlush -880verifyAllowed(new AccessTestAction() { -881 @Override -882 public Object run() throws Exception { -883 ACCESS_CONTROLLER.preFlush(ObserverContext.createAndPrepare(RCP_ENV, null)); -884return null; -885 } -886}, SUPERUSER, USER_ADMIN, USER_RW, USER_RO, USER_OWNER, USER_CREATE, USER_QUAL, USER_NONE); -887 -888// preGetOp -889verifyAllowed(new AccessTestAction() { -890 @Override -891 public Object run() throws Exception { -892ListCell cells = Lists.newArrayList(); -893 ACCESS_CONTROLLER.preGetOp(ObserverContext.createAndPrepare(RCP_ENV, null), -894 new Get(TEST_ROW), cells); -895return null; -896 } -897}, SUPERUSER, USER_ADMIN, USER_RW, USER_RO, USER_OWNER, USER_CREATE, USER_QUAL, USER_NONE); -898 -899// preExists -900verifyAllowed(new AccessTestAction() { -901 @Override -902 public Object run() throws Exception { -903 ACCESS_CONTROLLER.preExists(ObserverContext.createAndPrepare(RCP_ENV, null), -904 new Get(TEST_ROW), true); -905return null; -906 } -907}, SUPERUSER, USER_ADMIN, USER_RW, USER_RO, USER_OWNER, USER_CREATE, USER_QUAL, USER_NONE); -908 -909// prePut -910verifyAllowed(new AccessTestAction() { -911 @Override -912 public Object run() throws Exception { -913 ACCESS_CONTROLLER.prePut(ObserverContext.createAndPrepare(RCP_ENV, null), -914 new Put(TEST_ROW), new WALEdit(), Durability.USE_DEFAULT); -915return null; -916 } -917}, SUPERUSER, USER_ADMIN, USER_RW, USER_RO, USER_OWNER, USER_CREATE, USER_QUAL, USER_NONE); -918 -919// preDelete -920verifyAllowed(new AccessTestAction() { -921 @Override
[12/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/org/apache/hadoop/hbase/package-tree.html -- diff --git a/testdevapidocs/org/apache/hadoop/hbase/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/package-tree.html index 0bf5df1..45decb2 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/package-tree.html +++ b/testdevapidocs/org/apache/hadoop/hbase/package-tree.html @@ -567,15 +567,15 @@ java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT, java.io.http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true; title="class or interface in java.io">Serializable) -org.apache.hadoop.hbase.RESTApiClusterManager.Service +org.apache.hadoop.hbase.RESTApiClusterManager.RoleCommand +org.apache.hadoop.hbase.IntegrationTestRegionReplicaPerf.Stat +org.apache.hadoop.hbase.HBaseClusterManager.CommandProvider.Operation +org.apache.hadoop.hbase.PerformanceEvaluation.Counter org.apache.hadoop.hbase.IntegrationTestDDLMasterFailover.ACTION org.apache.hadoop.hbase.ScanPerformanceEvaluation.ScanCounter -org.apache.hadoop.hbase.PerformanceEvaluation.Counter +org.apache.hadoop.hbase.RESTApiClusterManager.Service org.apache.hadoop.hbase.ResourceChecker.Phase -org.apache.hadoop.hbase.IntegrationTestRegionReplicaPerf.Stat -org.apache.hadoop.hbase.HBaseClusterManager.CommandProvider.Operation org.apache.hadoop.hbase.ClusterManager.ServiceType -org.apache.hadoop.hbase.RESTApiClusterManager.RoleCommand http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html -- diff --git a/testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html index dec1fae..46c9672 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html +++ b/testdevapidocs/org/apache/hadoop/hbase/procedure/package-tree.html @@ -81,14 +81,14 @@ java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object -org.apache.hadoop.hbase.procedure2.ProcedureTEnvironment (implements java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT) +org.apache.hadoop.hbase.procedure.Procedure (implements java.util.concurrent.http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Callable.html?is-external=true; title="class or interface in java.util.concurrent">CallableV, org.apache.hadoop.hbase.errorhandling.ForeignExceptionListener) -org.apache.hadoop.hbase.procedure.TestProcedureDescriber.TestProcedure +org.apache.hadoop.hbase.procedure.TestProcedure.LatchedProcedure -org.apache.hadoop.hbase.procedure.Procedure (implements java.util.concurrent.http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Callable.html?is-external=true; title="class or interface in java.util.concurrent">CallableV, org.apache.hadoop.hbase.errorhandling.ForeignExceptionListener) +org.apache.hadoop.hbase.procedure2.ProcedureTEnvironment (implements java.lang.http://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true; title="class or interface in java.lang">ComparableT) -org.apache.hadoop.hbase.procedure.TestProcedure.LatchedProcedure +org.apache.hadoop.hbase.procedure.TestProcedureDescriber.TestProcedure org.apache.hadoop.hbase.procedure.ProcedureManager http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerAbort.StopBlockingRegionObserver.html -- diff --git a/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerAbort.StopBlockingRegionObserver.html b/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerAbort.StopBlockingRegionObserver.html index 1ea75ca..fe502b9 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerAbort.StopBlockingRegionObserver.html +++ b/testdevapidocs/org/apache/hadoop/hbase/regionserver/TestRegionServerAbort.StopBlockingRegionObserver.html @@ -239,7 +239,7 @@ implements org.apache.hadoop.hbase.coprocessor.RegionServerObserver, org.apache. Methods inherited from interfaceorg.apache.hadoop.hbase.coprocessor.RegionServerObserver -postClearCompactionQueues, postCreateReplicationEndPoint, postMerge, postMergeCommit, postReplicateLogEntries, postRollBackMerge, postRollWALWriterRequest, preClearCompactionQueues, preMerge, preMergeCommit,
[02/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.html index 6899321..da046b2 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.html @@ -865,2376 +865,2351 @@ 857 } 858 859 @Test (timeout=18) -860 public void testMergeRegions() throws Exception { -861final TableName tableName = TableName.valueOf(name.getMethodName()); -862createTestTable(tableName); -863try { -864 final ListHRegion regions = TEST_UTIL.getHBaseCluster().findRegionsForTable(tableName); -865 assertTrue("not enough regions: " + regions.size(), regions.size() = 2); -866 -867 AccessTestAction action = new AccessTestAction() { -868@Override -869public Object run() throws Exception { -870 ACCESS_CONTROLLER.preMerge(ObserverContext.createAndPrepare(RSCP_ENV, null), -871regions.get(0), regions.get(1)); -872 return null; -873} -874 }; -875 -876 verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_GROUP_ADMIN); -877 verifyDenied(action, USER_CREATE, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, -878USER_GROUP_WRITE, USER_GROUP_CREATE); -879} finally { -880 deleteTable(TEST_UTIL, tableName); -881} -882 } -883 -884 @Test (timeout=18) -885 public void testFlush() throws Exception { -886AccessTestAction action = new AccessTestAction() { -887 @Override -888 public Object run() throws Exception { -889 ACCESS_CONTROLLER.preFlush(ObserverContext.createAndPrepare(RCP_ENV, null)); -890return null; -891 } -892}; -893 -894verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_GROUP_CREATE, -895 USER_GROUP_ADMIN); -896verifyDenied(action, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, USER_GROUP_WRITE); -897 } -898 -899 @Test (timeout=18) -900 public void testCompact() throws Exception { -901AccessTestAction action = new AccessTestAction() { -902 @Override -903 public Object run() throws Exception { -904 ACCESS_CONTROLLER.preCompact(ObserverContext.createAndPrepare(RCP_ENV, null), null, null, -905 ScanType.COMPACT_RETAIN_DELETES, null); -906return null; -907 } -908}; -909 -910verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_GROUP_CREATE, -911 USER_GROUP_ADMIN); -912verifyDenied(action, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, USER_GROUP_WRITE); -913 } -914 -915 private void verifyRead(AccessTestAction action) throws Exception { -916verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_RW, USER_RO, -917 USER_GROUP_READ); -918verifyDenied(action, USER_NONE, USER_GROUP_CREATE, USER_GROUP_ADMIN, USER_GROUP_WRITE); -919 } -920 -921 private void verifyReadWrite(AccessTestAction action) throws Exception { -922verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_RW); -923verifyDenied(action, USER_NONE, USER_RO, USER_GROUP_ADMIN, USER_GROUP_CREATE, USER_GROUP_READ, -924USER_GROUP_WRITE); -925 } -926 -927 @Test (timeout=18) -928 public void testRead() throws Exception { -929// get action -930AccessTestAction getAction = new AccessTestAction() { -931 @Override -932 public Object run() throws Exception { -933Get g = new Get(TEST_ROW); -934g.addFamily(TEST_FAMILY); -935try(Connection conn = ConnectionFactory.createConnection(conf); -936Table t = conn.getTable(TEST_TABLE)) { -937 t.get(g); -938} -939return null; -940 } -941}; -942verifyRead(getAction); -943 -944// action for scanning -945AccessTestAction scanAction = new AccessTestAction() { -946 @Override -947 public Object run() throws Exception { -948Scan s = new Scan(); -949s.addFamily(TEST_FAMILY); -950try(Connection conn = ConnectionFactory.createConnection(conf); -951Table table = conn.getTable(TEST_TABLE)) { -952 ResultScanner scanner = table.getScanner(s); -953 try { -954for (Result r = scanner.next(); r != null; r = scanner.next()) { -955 // do nothing -956} -957 } finally { -958scanner.close(); -959 } -960} -961return null; -962 } -963}; -964verifyRead(scanAction); -965 } -966 -967 @Test (timeout=18) -968 // test put,
[09/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPRegionServerObserver.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPRegionServerObserver.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPRegionServerObserver.html index 82eb9fd..8eb952a 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPRegionServerObserver.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/namespace/TestNamespaceAuditor.CPRegionServerObserver.html @@ -71,668 +71,655 @@ 063import org.apache.hadoop.hbase.coprocessor.ObserverContext; 064import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment; 065import org.apache.hadoop.hbase.coprocessor.RegionObserver; -066import org.apache.hadoop.hbase.coprocessor.RegionServerCoprocessorEnvironment; -067import org.apache.hadoop.hbase.coprocessor.RegionServerObserver; -068import org.apache.hadoop.hbase.master.HMaster; -069import org.apache.hadoop.hbase.master.MasterCoprocessorHost; -070import org.apache.hadoop.hbase.master.TableNamespaceManager; -071import org.apache.hadoop.hbase.quotas.MasterQuotaManager; -072import org.apache.hadoop.hbase.quotas.QuotaExceededException; -073import org.apache.hadoop.hbase.quotas.QuotaUtil; -074import org.apache.hadoop.hbase.regionserver.Region; -075import org.apache.hadoop.hbase.regionserver.Store; -076import org.apache.hadoop.hbase.regionserver.StoreFile; -077import org.apache.hadoop.hbase.regionserver.compactions.CompactionLifeCycleTracker; -078import org.apache.hadoop.hbase.regionserver.compactions.CompactionRequest; -079import org.apache.hadoop.hbase.snapshot.RestoreSnapshotException; -080import org.apache.hadoop.hbase.testclassification.MediumTests; -081import org.apache.hadoop.hbase.util.Bytes; -082import org.apache.hadoop.hbase.util.FSUtils; -083import org.apache.hadoop.hbase.util.Threads; -084import org.apache.zookeeper.KeeperException; -085import org.junit.After; -086import org.junit.AfterClass; -087import org.junit.BeforeClass; -088import org.junit.Rule; -089import org.junit.Test; -090import org.junit.experimental.categories.Category; -091import org.junit.rules.TestRule; -092 -093@Category(MediumTests.class) -094public class TestNamespaceAuditor { -095 @Rule public final TestRule timeout = CategoryBasedTimeout.builder(). -096 withTimeout(this.getClass()).withLookingForStuckThread(true).build(); -097 private static final Log LOG = LogFactory.getLog(TestNamespaceAuditor.class); -098 private static final HBaseTestingUtility UTIL = new HBaseTestingUtility(); -099 private static Admin ADMIN; -100 private String prefix = "TestNamespaceAuditor"; -101 -102 @BeforeClass -103 public static void before() throws Exception { -104Configuration conf = UTIL.getConfiguration(); -105 conf.set(CoprocessorHost.REGION_COPROCESSOR_CONF_KEY, CustomObserver.class.getName()); -106conf.setStrings( -107 CoprocessorHost.MASTER_COPROCESSOR_CONF_KEY, -108 MasterSyncObserver.class.getName(), CPMasterObserver.class.getName()); -109 conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 5); -110 conf.setBoolean(QuotaUtil.QUOTA_CONF_KEY, true); -111 conf.setClass("hbase.coprocessor.regionserver.classes", CPRegionServerObserver.class, -112 RegionServerObserver.class); -113UTIL.startMiniCluster(1, 1); -114waitForQuotaInitialize(UTIL); -115ADMIN = UTIL.getAdmin(); -116 } -117 -118 @AfterClass -119 public static void tearDown() throws Exception { -120UTIL.shutdownMiniCluster(); -121 } -122 -123 @After -124 public void cleanup() throws Exception, KeeperException { -125for (HTableDescriptor table : ADMIN.listTables()) { -126 ADMIN.disableTable(table.getTableName()); -127 deleteTable(table.getTableName()); -128} -129for (NamespaceDescriptor ns : ADMIN.listNamespaceDescriptors()) { -130 if (ns.getName().startsWith(prefix)) { -131 ADMIN.deleteNamespace(ns.getName()); -132 } -133} -134assertTrue("Quota manager not initialized", UTIL.getHBaseCluster().getMaster() -135 .getMasterQuotaManager().isQuotaInitialized()); -136 } -137 -138 @Test -139 public void testTableOperations() throws Exception { -140String nsp = prefix + "_np2"; -141NamespaceDescriptor nspDesc = -142 NamespaceDescriptor.create(nsp).addConfiguration(TableNamespaceManager.KEY_MAX_REGIONS, "5") -143 .addConfiguration(TableNamespaceManager.KEY_MAX_TABLES, "2").build(); -144ADMIN.createNamespace(nspDesc); -145assertNotNull("Namespace descriptor found null.", ADMIN.getNamespaceDescriptor(nsp)); -146 assertEquals(ADMIN.listNamespaceDescriptors().length, 3); -147HColumnDescriptor fam1 = new
[24/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html b/devapidocs/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html index e1a45bb..660aa07 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/RegionServerCoprocessorHost.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -116,7 +116,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving -public class RegionServerCoprocessorHost +public class RegionServerCoprocessorHost extends CoprocessorHostRegionServerCoprocessorHost.RegionServerEnvironment @@ -263,66 +263,27 @@ extends void -postMerge(HRegionregionA, - HRegionregionB, - HRegionmergedRegion, - Useruser) - - -void -postMergeCommit(HRegionregionA, - HRegionregionB, - HRegionmergedRegion, - Useruser) - - -void postReplicateLogEntries(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntryentries, CellScannercells) - -void -postRollBackMerge(HRegionregionA, - HRegionregionB, - Useruser) - - + void postRollWALWriterRequest() - + void preClearCompactionQueues() - -boolean -preMerge(HRegionregionA, -HRegionregionB, -Useruser) - - -boolean -preMergeCommit(HRegionregionA, - HRegionregionB, - http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListMutationmetaEntries, - Useruser) - - + void preReplicateLogEntries(http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listorg.apache.hadoop.hbase.shaded.protobuf.generated.AdminProtos.WALEntryentries, CellScannercells) - -void -preRollBackMerge(HRegionregionA, -HRegionregionB, -Useruser) - - + void preRollWALWriterRequest() - + void preStop(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage, Useruser) @@ -362,7 +323,7 @@ extends LOG -private static finalorg.apache.commons.logging.Log LOG +private static finalorg.apache.commons.logging.Log LOG @@ -371,7 +332,7 @@ extends rsServices -privateRegionServerServices rsServices +privateRegionServerServices rsServices @@ -388,7 +349,7 @@ extends RegionServerCoprocessorHost -publicRegionServerCoprocessorHost(RegionServerServicesrsServices, +publicRegionServerCoprocessorHost(RegionServerServicesrsServices, org.apache.hadoop.conf.Configurationconf) @@ -406,7 +367,7 @@ extends createEnvironment -publicRegionServerCoprocessorHost.RegionServerEnvironmentcreateEnvironment(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class?implClass, +publicRegionServerCoprocessorHost.RegionServerEnvironmentcreateEnvironment(http://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true; title="class or interface in java.lang">Class?implClass, Coprocessorinstance, intpriority, intsequence, @@ -425,7 +386,7 @@ extends preStop -publicvoidpreStop(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage, +publicvoidpreStop(http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringmessage, Useruser) throws http://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException @@ -434,113 +395,13 @@ extends - -
[30/30] hbase-site git commit: Published site at .
Published site at . Project: http://git-wip-us.apache.org/repos/asf/hbase-site/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase-site/commit/2bb8bd01 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/2bb8bd01 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/2bb8bd01 Branch: refs/heads/asf-site Commit: 2bb8bd01caf5746f5a92dba9d5b133005d3c3769 Parents: d0a296b Author: jenkinsAuthored: Mon Sep 18 15:12:52 2017 + Committer: jenkins Committed: Mon Sep 18 15:12:52 2017 + -- acid-semantics.html |4 +- apache_hbase_reference_guide.pdf|6 +- book.html |2 +- bulk-loads.html |4 +- checkstyle-aggregate.html | 4134 checkstyle.rss |6 +- coc.html|4 +- cygwin.html |4 +- dependencies.html |4 +- dependency-convergence.html |4 +- dependency-info.html|4 +- dependency-management.html |4 +- devapidocs/constant-values.html |6 +- devapidocs/index-all.html | 48 - .../hadoop/hbase/backup/package-tree.html |4 +- .../hbase/class-use/MetaMutationAnnotation.html | 34 - .../hadoop/hbase/client/class-use/Mutation.html | 27 +- .../hadoop/hbase/client/package-tree.html | 24 +- .../hbase/coprocessor/RegionServerObserver.html | 215 +- .../coprocessor/class-use/ObserverContext.html | 446 +- .../RegionServerCoprocessorEnvironment.html | 94 +- .../hadoop/hbase/executor/package-tree.html |2 +- .../hadoop/hbase/filter/package-tree.html | 10 +- .../hadoop/hbase/io/hfile/package-tree.html |8 +- .../apache/hadoop/hbase/ipc/package-tree.html |4 +- .../hadoop/hbase/mapreduce/package-tree.html|2 +- .../hadoop/hbase/master/package-tree.html |6 +- .../hadoop/hbase/monitoring/package-tree.html |2 +- .../org/apache/hadoop/hbase/package-tree.html | 16 +- .../org/apache/hadoop/hbase/package-use.html| 26 +- .../hadoop/hbase/procedure2/package-tree.html |6 +- .../hadoop/hbase/quotas/package-tree.html |6 +- ...cessorHost.CoprocessOperationWithResult.html | 10 +- ...verCoprocessorHost.CoprocessorOperation.html | 10 +- ...essorHost.EnvironmentPriorityComparator.html |6 +- ...CoprocessorHost.RegionServerEnvironment.html | 14 +- .../RegionServerCoprocessorHost.html| 183 +- .../hbase/regionserver/class-use/HRegion.html | 47 +- .../hbase/regionserver/class-use/Region.html| 90 - .../hadoop/hbase/regionserver/package-tree.html | 14 +- .../replication/regionserver/package-tree.html |2 +- .../hbase/security/access/AccessController.html | 472 +- .../hadoop/hbase/security/class-use/User.html | 43 +- .../hadoop/hbase/security/package-tree.html |2 +- ...ibilityController.VisibilityReplication.html |2 +- .../hadoop/hbase/thrift/package-tree.html |2 +- .../apache/hadoop/hbase/util/package-tree.html |8 +- .../org/apache/hadoop/hbase/Version.html|6 +- .../hbase/coprocessor/RegionServerObserver.html | 264 +- ...cessorHost.CoprocessOperationWithResult.html | 695 ++- ...verCoprocessorHost.CoprocessorOperation.html | 695 ++- ...essorHost.EnvironmentPriorityComparator.html | 695 ++- ...CoprocessorHost.RegionServerEnvironment.html | 695 ++- .../RegionServerCoprocessorHost.html| 695 ++- .../access/AccessController.OpType.html | 373 +- .../hbase/security/access/AccessController.html | 373 +- export_control.html |4 +- hbase-annotations/dependencies.html |4 +- hbase-annotations/dependency-convergence.html |4 +- hbase-annotations/dependency-info.html |4 +- hbase-annotations/dependency-management.html|4 +- hbase-annotations/index.html|4 +- hbase-annotations/integration.html |4 +- hbase-annotations/issue-tracking.html |4 +- hbase-annotations/license.html |4 +- hbase-annotations/mail-lists.html |4 +- hbase-annotations/plugin-management.html|4 +- hbase-annotations/plugins.html |4 +- hbase-annotations/project-info.html |4 +- hbase-annotations/project-summary.html |4 +- hbase-annotations/source-repository.html|4 +- hbase-annotations/team-list.html|4 +- hbase-build-configuration/dependencies.html |4 +- .../dependency-convergence.html |
[23/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.html b/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.html index be0f559..b256835 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.html +++ b/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":9,"i19":9,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109 ":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10}; +var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":9,"i19":9,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109 ":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -577,31 +577,13 @@ implements void -postMerge(ObserverContextRegionServerCoprocessorEnvironmentc, - RegionregionA, - RegionregionB, - RegionmergedRegion) -called after the regions merge. - - - -void -postMergeCommit(ObserverContextRegionServerCoprocessorEnvironmentctx, - RegionregionA, - RegionregionB, - RegionmergedRegion) -This will be called after PONR step as part of regions merge transaction. - - - -void postModifyTable(ObserverContextMasterCoprocessorEnvironmentc, TableNametableName, TableDescriptorhtd) Called after the modifyTable operation has been requested. - + Cell postMutationBeforeWAL(ObserverContextRegionCoprocessorEnvironmentctx, RegionObserver.MutationTypeopType, @@ -612,13 +594,13 @@ implements + void postOpen(ObserverContextRegionCoprocessorEnvironmentc) Called after the region is reported as open to the master. - + void postPut(ObserverContextRegionCoprocessorEnvironmentc, Putput, @@ -627,7 +609,7 @@ implements Called after the client stores a value. - + void postReplicateLogEntries(ObserverContextRegionServerCoprocessorEnvironmentctx, http://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in
[03/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.TestTableDDLProcedure.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.TestTableDDLProcedure.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.TestTableDDLProcedure.html index 6899321..da046b2 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.TestTableDDLProcedure.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.TestTableDDLProcedure.html @@ -865,2376 +865,2351 @@ 857 } 858 859 @Test (timeout=18) -860 public void testMergeRegions() throws Exception { -861final TableName tableName = TableName.valueOf(name.getMethodName()); -862createTestTable(tableName); -863try { -864 final ListHRegion regions = TEST_UTIL.getHBaseCluster().findRegionsForTable(tableName); -865 assertTrue("not enough regions: " + regions.size(), regions.size() = 2); -866 -867 AccessTestAction action = new AccessTestAction() { -868@Override -869public Object run() throws Exception { -870 ACCESS_CONTROLLER.preMerge(ObserverContext.createAndPrepare(RSCP_ENV, null), -871regions.get(0), regions.get(1)); -872 return null; -873} -874 }; -875 -876 verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_GROUP_ADMIN); -877 verifyDenied(action, USER_CREATE, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, -878USER_GROUP_WRITE, USER_GROUP_CREATE); -879} finally { -880 deleteTable(TEST_UTIL, tableName); -881} -882 } -883 -884 @Test (timeout=18) -885 public void testFlush() throws Exception { -886AccessTestAction action = new AccessTestAction() { -887 @Override -888 public Object run() throws Exception { -889 ACCESS_CONTROLLER.preFlush(ObserverContext.createAndPrepare(RCP_ENV, null)); -890return null; -891 } -892}; -893 -894verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_GROUP_CREATE, -895 USER_GROUP_ADMIN); -896verifyDenied(action, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, USER_GROUP_WRITE); -897 } -898 -899 @Test (timeout=18) -900 public void testCompact() throws Exception { -901AccessTestAction action = new AccessTestAction() { -902 @Override -903 public Object run() throws Exception { -904 ACCESS_CONTROLLER.preCompact(ObserverContext.createAndPrepare(RCP_ENV, null), null, null, -905 ScanType.COMPACT_RETAIN_DELETES, null); -906return null; -907 } -908}; -909 -910verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_GROUP_CREATE, -911 USER_GROUP_ADMIN); -912verifyDenied(action, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, USER_GROUP_WRITE); -913 } -914 -915 private void verifyRead(AccessTestAction action) throws Exception { -916verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_RW, USER_RO, -917 USER_GROUP_READ); -918verifyDenied(action, USER_NONE, USER_GROUP_CREATE, USER_GROUP_ADMIN, USER_GROUP_WRITE); -919 } -920 -921 private void verifyReadWrite(AccessTestAction action) throws Exception { -922verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_RW); -923verifyDenied(action, USER_NONE, USER_RO, USER_GROUP_ADMIN, USER_GROUP_CREATE, USER_GROUP_READ, -924USER_GROUP_WRITE); -925 } -926 -927 @Test (timeout=18) -928 public void testRead() throws Exception { -929// get action -930AccessTestAction getAction = new AccessTestAction() { -931 @Override -932 public Object run() throws Exception { -933Get g = new Get(TEST_ROW); -934g.addFamily(TEST_FAMILY); -935try(Connection conn = ConnectionFactory.createConnection(conf); -936Table t = conn.getTable(TEST_TABLE)) { -937 t.get(g); -938} -939return null; -940 } -941}; -942verifyRead(getAction); -943 -944// action for scanning -945AccessTestAction scanAction = new AccessTestAction() { -946 @Override -947 public Object run() throws Exception { -948Scan s = new Scan(); -949s.addFamily(TEST_FAMILY); -950try(Connection conn = ConnectionFactory.createConnection(conf); -951Table table = conn.getTable(TEST_TABLE)) { -952 ResultScanner scanner = table.getScanner(s); -953 try { -954for (Result r = scanner.next(); r != null; r = scanner.next()) { -955 // do nothing -956} -957 } finally { -958scanner.close(); -959 } -960} -961return null; -962
[05/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.BulkLoadHelper.html -- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.BulkLoadHelper.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.BulkLoadHelper.html index 6899321..da046b2 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.BulkLoadHelper.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/security/access/TestAccessController.BulkLoadHelper.html @@ -865,2376 +865,2351 @@ 857 } 858 859 @Test (timeout=18) -860 public void testMergeRegions() throws Exception { -861final TableName tableName = TableName.valueOf(name.getMethodName()); -862createTestTable(tableName); -863try { -864 final ListHRegion regions = TEST_UTIL.getHBaseCluster().findRegionsForTable(tableName); -865 assertTrue("not enough regions: " + regions.size(), regions.size() = 2); -866 -867 AccessTestAction action = new AccessTestAction() { -868@Override -869public Object run() throws Exception { -870 ACCESS_CONTROLLER.preMerge(ObserverContext.createAndPrepare(RSCP_ENV, null), -871regions.get(0), regions.get(1)); -872 return null; -873} -874 }; -875 -876 verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_GROUP_ADMIN); -877 verifyDenied(action, USER_CREATE, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, -878USER_GROUP_WRITE, USER_GROUP_CREATE); -879} finally { -880 deleteTable(TEST_UTIL, tableName); -881} -882 } -883 -884 @Test (timeout=18) -885 public void testFlush() throws Exception { -886AccessTestAction action = new AccessTestAction() { -887 @Override -888 public Object run() throws Exception { -889 ACCESS_CONTROLLER.preFlush(ObserverContext.createAndPrepare(RCP_ENV, null)); -890return null; -891 } -892}; -893 -894verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_GROUP_CREATE, -895 USER_GROUP_ADMIN); -896verifyDenied(action, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, USER_GROUP_WRITE); -897 } -898 -899 @Test (timeout=18) -900 public void testCompact() throws Exception { -901AccessTestAction action = new AccessTestAction() { -902 @Override -903 public Object run() throws Exception { -904 ACCESS_CONTROLLER.preCompact(ObserverContext.createAndPrepare(RCP_ENV, null), null, null, -905 ScanType.COMPACT_RETAIN_DELETES, null); -906return null; -907 } -908}; -909 -910verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_GROUP_CREATE, -911 USER_GROUP_ADMIN); -912verifyDenied(action, USER_RW, USER_RO, USER_NONE, USER_GROUP_READ, USER_GROUP_WRITE); -913 } -914 -915 private void verifyRead(AccessTestAction action) throws Exception { -916verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_RW, USER_RO, -917 USER_GROUP_READ); -918verifyDenied(action, USER_NONE, USER_GROUP_CREATE, USER_GROUP_ADMIN, USER_GROUP_WRITE); -919 } -920 -921 private void verifyReadWrite(AccessTestAction action) throws Exception { -922verifyAllowed(action, SUPERUSER, USER_ADMIN, USER_OWNER, USER_CREATE, USER_RW); -923verifyDenied(action, USER_NONE, USER_RO, USER_GROUP_ADMIN, USER_GROUP_CREATE, USER_GROUP_READ, -924USER_GROUP_WRITE); -925 } -926 -927 @Test (timeout=18) -928 public void testRead() throws Exception { -929// get action -930AccessTestAction getAction = new AccessTestAction() { -931 @Override -932 public Object run() throws Exception { -933Get g = new Get(TEST_ROW); -934g.addFamily(TEST_FAMILY); -935try(Connection conn = ConnectionFactory.createConnection(conf); -936Table t = conn.getTable(TEST_TABLE)) { -937 t.get(g); -938} -939return null; -940 } -941}; -942verifyRead(getAction); -943 -944// action for scanning -945AccessTestAction scanAction = new AccessTestAction() { -946 @Override -947 public Object run() throws Exception { -948Scan s = new Scan(); -949s.addFamily(TEST_FAMILY); -950try(Connection conn = ConnectionFactory.createConnection(conf); -951Table table = conn.getTable(TEST_TABLE)) { -952 ResultScanner scanner = table.getScanner(s); -953 try { -954for (Result r = scanner.next(); r != null; r = scanner.next()) { -955 // do nothing -956} -957 } finally { -958scanner.close(); -959 } -960} -961return null; -962 } -963}; -964
[13/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-shaded-check-invariants/project-info.html -- diff --git a/hbase-shaded-check-invariants/project-info.html b/hbase-shaded-check-invariants/project-info.html index 5d62bb8..52b228a 100644 --- a/hbase-shaded-check-invariants/project-info.html +++ b/hbase-shaded-check-invariants/project-info.html @@ -7,7 +7,7 @@ - + Apache HBase Shaded Packaging Invariants Project Information @@ -170,7 +170,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-shaded-check-invariants/project-reports.html -- diff --git a/hbase-shaded-check-invariants/project-reports.html b/hbase-shaded-check-invariants/project-reports.html index 2a31fdb..d3b03c4 100644 --- a/hbase-shaded-check-invariants/project-reports.html +++ b/hbase-shaded-check-invariants/project-reports.html @@ -7,7 +7,7 @@ - + Apache HBase Shaded Packaging Invariants Generated Reports @@ -128,7 +128,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-shaded-check-invariants/project-summary.html -- diff --git a/hbase-shaded-check-invariants/project-summary.html b/hbase-shaded-check-invariants/project-summary.html index 0b5983f..d85e115 100644 --- a/hbase-shaded-check-invariants/project-summary.html +++ b/hbase-shaded-check-invariants/project-summary.html @@ -7,7 +7,7 @@ - + Apache HBase Shaded Packaging Invariants Project Summary @@ -166,7 +166,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-shaded-check-invariants/source-repository.html -- diff --git a/hbase-shaded-check-invariants/source-repository.html b/hbase-shaded-check-invariants/source-repository.html index d8d54ae..4727119 100644 --- a/hbase-shaded-check-invariants/source-repository.html +++ b/hbase-shaded-check-invariants/source-repository.html @@ -7,7 +7,7 @@ - + Apache HBase Shaded Packaging Invariants Source Code Management @@ -134,7 +134,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/hbase-shaded-check-invariants/team-list.html -- diff --git a/hbase-shaded-check-invariants/team-list.html b/hbase-shaded-check-invariants/team-list.html index 6e9ec98..3c7104f 100644 --- a/hbase-shaded-check-invariants/team-list.html +++ b/hbase-shaded-check-invariants/team-list.html @@ -7,7 +7,7 @@ - + Apache HBase Shaded Packaging Invariants Project Team @@ -529,7 +529,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/index.html -- diff --git a/index.html b/index.html index db8330b..dd230ad 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ - + Apache HBase Apache HBase⢠Home @@ -438,7 +438,7 @@ Apache HBase is an open-source, distributed, versioned, non-relational database https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2017-09-17 + Last Published: 2017-09-18
[11/30] hbase-site git commit: Published site at .
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/2bb8bd01/testdevapidocs/org/apache/hadoop/hbase/security/access/TestAccessController.html -- diff --git a/testdevapidocs/org/apache/hadoop/hbase/security/access/TestAccessController.html b/testdevapidocs/org/apache/hadoop/hbase/security/access/TestAccessController.html index b1d65f3..28f6fcd 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/security/access/TestAccessController.html +++ b/testdevapidocs/org/apache/hadoop/hbase/security/access/TestAccessController.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":9,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10}; +var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":9,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -501,195 +501,191 @@ extends void -testMergeRegions() - - -void testModifyColumn() - + void testMove() - + void testMoveServers() - + void testMoveTables() - + void testNamespaceUserGrant() - + void testOpenRegion() - + void testPermissionList() - + void testPostGrantRevoke() - + void testPostGrantRevokeAtQualifierLevel() - + void testPrepareAndCleanBulkLoad() - + void testRead() - + void testReadWrite() - + void testRegionOffline() - + void testRemoteLocks() - + void testRemoveGroup() - + void testRemoveReplicationPeer() - + void testReplicateLogEntries() - + void testRollWALWriterRequest() - + void testSecurityCapabilities() - + void testSetQuota() - + void testSetSplitOrMergeEnabled() - + void testShutdown() - + void testSnapshot() - + void testSnapshotWithOwner() - + void testSplitWithSplitRow() - + void testStopMaster() - + void testStopRegionServer() - + void testTableCreate() - + void testTableDelete() - + void testTableDeletion() - + void testTableDescriptorsEnumeration() - + void testTableDisable() - + void testTableEnable() - + void testTableModify() - + void testTableNameEnumeration() - + void testTableTruncate() - + void testTruncatePerms() - + void testUnassign() - + void testUnauthorizedShutdown() - + void testUnauthorizedStopMaster() - + void testUpdateReplicationPeerConfig() - + void testWrite() - + private void verifyAnyCreate(SecureTestUtil.AccessTestActionaction) - + private void verifyGlobal(SecureTestUtil.AccessTestActionaction) global operations - + private void verifyRead(SecureTestUtil.AccessTestActionaction) - + private void verifyReadWrite(SecureTestUtil.AccessTestActionaction) - + private void verifyWrite(SecureTestUtil.AccessTestActionaction) @@ -1456,27 +1452,13 @@ extends - - - - -testMergeRegions -publicvoidtestMergeRegions() - throws http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">Exception - -Throws: -http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">Exception - - - testFlush -publicvoidtestFlush() +publicvoidtestFlush() throws http://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true; title="class or interface in java.lang">Exception Throws: @@
hbase git commit: HBASE-18836 Note need for explicit javax.el and exclude from shaded artifacts
Repository: hbase Updated Branches: refs/heads/branch-2 f380676d4 -> 83e9188d0 HBASE-18836 Note need for explicit javax.el and exclude from shaded artifacts Signed-off-by: Huaxiang SunProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/83e9188d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/83e9188d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/83e9188d Branch: refs/heads/branch-2 Commit: 83e9188d0cb0736ef643a39c5edcb9eb2930b31e Parents: f380676 Author: Sean Busbey Authored: Mon Sep 18 08:47:22 2017 -0500 Committer: Sean Busbey Committed: Mon Sep 18 09:53:55 2017 -0500 -- hbase-rest/pom.xml | 3 +++ hbase-server/pom.xml| 3 +++ hbase-shaded/hbase-shaded-mapreduce/pom.xml | 4 hbase-thrift/pom.xml| 3 +++ 4 files changed, 13 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/83e9188d/hbase-rest/pom.xml -- diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index f479e89..0e8cc24 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -308,6 +308,9 @@ org.glassfish.web javax.servlet.jsp + org.glassfish javax.el http://git-wip-us.apache.org/repos/asf/hbase/blob/83e9188d/hbase-server/pom.xml -- diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index 77b992d..82154aa 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -495,6 +495,9 @@ org.glassfish.web javax.servlet.jsp + org.glassfish javax.el http://git-wip-us.apache.org/repos/asf/hbase/blob/83e9188d/hbase-shaded/hbase-shaded-mapreduce/pom.xml -- diff --git a/hbase-shaded/hbase-shaded-mapreduce/pom.xml b/hbase-shaded/hbase-shaded-mapreduce/pom.xml index 2dbc473..5bc1d1b 100644 --- a/hbase-shaded/hbase-shaded-mapreduce/pom.xml +++ b/hbase-shaded/hbase-shaded-mapreduce/pom.xml @@ -130,6 +130,10 @@ jetty-jsp +org.glassfish +javax.el + + org.eclipse.jetty jetty-webapp http://git-wip-us.apache.org/repos/asf/hbase/blob/83e9188d/hbase-thrift/pom.xml -- diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 3242550..fd7a0ed 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -299,6 +299,9 @@ org.glassfish.web javax.servlet.jsp + org.glassfish javax.el
hbase git commit: HBASE-18836 Note need for explicit javax.el and exclude from shaded artifacts
Repository: hbase Updated Branches: refs/heads/master fc13cf7d7 -> 5264f04b6 HBASE-18836 Note need for explicit javax.el and exclude from shaded artifacts Signed-off-by: Huaxiang SunProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5264f04b Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5264f04b Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5264f04b Branch: refs/heads/master Commit: 5264f04b6dd0c62dbde1a3af93b17f468dfc3998 Parents: fc13cf7 Author: Sean Busbey Authored: Mon Sep 18 08:47:22 2017 -0500 Committer: Sean Busbey Committed: Mon Sep 18 09:52:10 2017 -0500 -- hbase-rest/pom.xml | 3 +++ hbase-server/pom.xml| 3 +++ hbase-shaded/hbase-shaded-mapreduce/pom.xml | 4 hbase-thrift/pom.xml| 3 +++ 4 files changed, 13 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/5264f04b/hbase-rest/pom.xml -- diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 4553293..0b18809 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -308,6 +308,9 @@ org.glassfish.web javax.servlet.jsp + org.glassfish javax.el http://git-wip-us.apache.org/repos/asf/hbase/blob/5264f04b/hbase-server/pom.xml -- diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index 03891a1..ad080f1 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -495,6 +495,9 @@ org.glassfish.web javax.servlet.jsp + org.glassfish javax.el http://git-wip-us.apache.org/repos/asf/hbase/blob/5264f04b/hbase-shaded/hbase-shaded-mapreduce/pom.xml -- diff --git a/hbase-shaded/hbase-shaded-mapreduce/pom.xml b/hbase-shaded/hbase-shaded-mapreduce/pom.xml index d42735a..2afa3c2 100644 --- a/hbase-shaded/hbase-shaded-mapreduce/pom.xml +++ b/hbase-shaded/hbase-shaded-mapreduce/pom.xml @@ -130,6 +130,10 @@ jetty-jsp +org.glassfish +javax.el + + org.eclipse.jetty jetty-webapp http://git-wip-us.apache.org/repos/asf/hbase/blob/5264f04b/hbase-thrift/pom.xml -- diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 36c992d..0dc0dde 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -299,6 +299,9 @@ org.glassfish.web javax.servlet.jsp + org.glassfish javax.el
hbase git commit: HBASE-18835 The return type of ExtendedCell#deepClone should be ExtendedCell rather than Cell
Repository: hbase Updated Branches: refs/heads/branch-2 5ed2f899e -> f380676d4 HBASE-18835 The return type of ExtendedCell#deepClone should be ExtendedCell rather than Cell Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f380676d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f380676d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f380676d Branch: refs/heads/branch-2 Commit: f380676d4958933da7be75da6c042071dcb77160 Parents: 5ed2f89 Author: Chia-Ping TsaiAuthored: Mon Sep 18 18:22:55 2017 +0800 Committer: Chia-Ping Tsai Committed: Mon Sep 18 22:38:42 2017 +0800 -- .../java/org/apache/hadoop/hbase/ByteBufferKeyValue.java | 2 +- .../src/main/java/org/apache/hadoop/hbase/CellUtil.java | 8 .../src/main/java/org/apache/hadoop/hbase/ExtendedCell.java | 2 +- .../org/apache/hadoop/hbase/IndividualBytesFieldCell.java| 2 +- .../src/main/java/org/apache/hadoop/hbase/KeyValue.java | 2 +- .../org/apache/hadoop/hbase/NoTagsByteBufferKeyValue.java| 2 +- .../main/java/org/apache/hadoop/hbase/NoTagsKeyValue.java| 2 +- .../hadoop/hbase/io/encoding/BufferedDataBlockEncoder.java | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f380676d/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java -- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java index f906681..c59b947 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java @@ -302,7 +302,7 @@ public class ByteBufferKeyValue extends ByteBufferCell implements ExtendedCell { } @Override - public Cell deepClone() { + public ExtendedCell deepClone() { byte[] copy = new byte[this.length]; ByteBufferUtils.copyFromBufferToArray(copy, this.buf, this.offset, 0, this.length); KeyValue kv = new KeyValue(copy, 0, copy.length); http://git-wip-us.apache.org/repos/asf/hbase/blob/f380676d/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java -- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java index 825d9b1..a3029f8 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java @@ -657,7 +657,7 @@ public final class CellUtil { } @Override -public Cell deepClone() { +public ExtendedCell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); return new TagRewriteCell(clonedBaseCell, this.tags); } @@ -838,7 +838,7 @@ public final class CellUtil { } @Override -public Cell deepClone() { +public ExtendedCell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); if (clonedBaseCell instanceof ByteBufferCell) { return new TagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.tags); @@ -981,7 +981,7 @@ public final class CellUtil { } @Override -public Cell deepClone() { +public ExtendedCell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); return new ValueAndTagRewriteCell(clonedBaseCell, this.value, this.tags); } @@ -1047,7 +1047,7 @@ public final class CellUtil { } @Override -public Cell deepClone() { +public ExtendedCell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); if (clonedBaseCell instanceof ByteBufferCell) { return new ValueAndTagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.value, http://git-wip-us.apache.org/repos/asf/hbase/blob/f380676d/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java -- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java index 7ed4dc0..4d16fca 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java @@ -73,7 +73,7 @@ public interface ExtendedCell extends Cell, SettableSequenceId, SettableTimestam * Does a deep copy of the contents to a new memory area and returns it as a new cell. * @return The deep cloned cell */ -
hbase git commit: HBASE-18835 The return type of ExtendedCell#deepClone should be ExtendedCell rather than Cell
Repository: hbase Updated Branches: refs/heads/master efb95a179 -> fc13cf7d7 HBASE-18835 The return type of ExtendedCell#deepClone should be ExtendedCell rather than Cell Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/fc13cf7d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/fc13cf7d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/fc13cf7d Branch: refs/heads/master Commit: fc13cf7d7843029d807878869e3c64cace5640dd Parents: efb95a1 Author: Chia-Ping TsaiAuthored: Mon Sep 18 18:22:55 2017 +0800 Committer: Chia-Ping Tsai Committed: Mon Sep 18 22:31:32 2017 +0800 -- .../java/org/apache/hadoop/hbase/ByteBufferKeyValue.java | 2 +- .../src/main/java/org/apache/hadoop/hbase/CellUtil.java | 8 .../src/main/java/org/apache/hadoop/hbase/ExtendedCell.java | 2 +- .../org/apache/hadoop/hbase/IndividualBytesFieldCell.java| 2 +- .../src/main/java/org/apache/hadoop/hbase/KeyValue.java | 2 +- .../org/apache/hadoop/hbase/NoTagsByteBufferKeyValue.java| 2 +- .../main/java/org/apache/hadoop/hbase/NoTagsKeyValue.java| 2 +- .../hadoop/hbase/io/encoding/BufferedDataBlockEncoder.java | 4 ++-- 8 files changed, 12 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/fc13cf7d/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java -- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java index f906681..c59b947 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java @@ -302,7 +302,7 @@ public class ByteBufferKeyValue extends ByteBufferCell implements ExtendedCell { } @Override - public Cell deepClone() { + public ExtendedCell deepClone() { byte[] copy = new byte[this.length]; ByteBufferUtils.copyFromBufferToArray(copy, this.buf, this.offset, 0, this.length); KeyValue kv = new KeyValue(copy, 0, copy.length); http://git-wip-us.apache.org/repos/asf/hbase/blob/fc13cf7d/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java -- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java index 825d9b1..a3029f8 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java @@ -657,7 +657,7 @@ public final class CellUtil { } @Override -public Cell deepClone() { +public ExtendedCell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); return new TagRewriteCell(clonedBaseCell, this.tags); } @@ -838,7 +838,7 @@ public final class CellUtil { } @Override -public Cell deepClone() { +public ExtendedCell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); if (clonedBaseCell instanceof ByteBufferCell) { return new TagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.tags); @@ -981,7 +981,7 @@ public final class CellUtil { } @Override -public Cell deepClone() { +public ExtendedCell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); return new ValueAndTagRewriteCell(clonedBaseCell, this.value, this.tags); } @@ -1047,7 +1047,7 @@ public final class CellUtil { } @Override -public Cell deepClone() { +public ExtendedCell deepClone() { Cell clonedBaseCell = ((ExtendedCell) this.cell).deepClone(); if (clonedBaseCell instanceof ByteBufferCell) { return new ValueAndTagRewriteByteBufferCell((ByteBufferCell) clonedBaseCell, this.value, http://git-wip-us.apache.org/repos/asf/hbase/blob/fc13cf7d/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java -- diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java index 7ed4dc0..4d16fca 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/ExtendedCell.java @@ -73,7 +73,7 @@ public interface ExtendedCell extends Cell, SettableSequenceId, SettableTimestam * Does a deep copy of the contents to a new memory area and returns it as a new cell. * @return The deep cloned cell */ - Cell
hbase git commit: HBASE-18834 fix shellcheck warning on hbase personality
Repository: hbase Updated Branches: refs/heads/branch-2 2aa10cb65 -> 5ed2f899e HBASE-18834 fix shellcheck warning on hbase personality Signed-off-by: Dima SpivakProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5ed2f899 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5ed2f899 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5ed2f899 Branch: refs/heads/branch-2 Commit: 5ed2f899e17d838ad8c790b3f99269d76e01cf9b Parents: 2aa10cb Author: Sean Busbey Authored: Sun Sep 17 23:54:37 2017 -0500 Committer: Sean Busbey Committed: Mon Sep 18 08:55:30 2017 -0500 -- dev-support/hbase-personality.sh | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/5ed2f899/dev-support/hbase-personality.sh -- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index 37a4144..6745595 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -117,8 +117,7 @@ function personality_modules if [[ ${testtype} = unit ]]; then extra="${extra} -PrunAllTests" if [[ -n "$EXCLUDE_TESTS_URL" ]]; then -wget "$EXCLUDE_TESTS_URL" -O "excludes" -if [[ $? -eq 0 ]]; then +if wget "$EXCLUDE_TESTS_URL" -O "excludes"; then excludes=$(cat excludes) if [[ -n "${excludes}" ]]; then extra="${extra} -Dtest.exclude.pattern=${excludes}" @@ -129,8 +128,7 @@ function personality_modules "${EXCLUDE_TESTS_URL}. Ignoring and proceeding." fi elif [[ -n "$INCLUDE_TESTS_URL" ]]; then -wget "$INCLUDE_TESTS_URL" -O "includes" -if [[ $? -eq 0 ]]; then +if wget "$INCLUDE_TESTS_URL" -O "includes"; then includes=$(cat includes) if [[ -n "${includes}" ]]; then extra="${extra} -Dtest=${includes}"
hbase git commit: HBASE-18834 fix shellcheck warning on hbase personality
Repository: hbase Updated Branches: refs/heads/master 2a8fb7a9a -> efb95a179 HBASE-18834 fix shellcheck warning on hbase personality Signed-off-by: Dima SpivakProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/efb95a17 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/efb95a17 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/efb95a17 Branch: refs/heads/master Commit: efb95a17945cc91aa639396f6f6c528b52c71fcb Parents: 2a8fb7a Author: Sean Busbey Authored: Sun Sep 17 23:54:37 2017 -0500 Committer: Sean Busbey Committed: Mon Sep 18 08:54:37 2017 -0500 -- dev-support/hbase-personality.sh | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/efb95a17/dev-support/hbase-personality.sh -- diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh index cf7c6b9..b7a2f97 100755 --- a/dev-support/hbase-personality.sh +++ b/dev-support/hbase-personality.sh @@ -119,8 +119,7 @@ function personality_modules yetus_debug "EXCLUDE_TESTS_URL = ${EXCLUDE_TESTS_URL}" yetus_debug "INCLUDE_TESTS_URL = ${INCLUDE_TESTS_URL}" if [[ -n "$EXCLUDE_TESTS_URL" ]]; then -wget "$EXCLUDE_TESTS_URL" -O "excludes" -if [[ $? -eq 0 ]]; then +if wget "$EXCLUDE_TESTS_URL" -O "excludes"; then excludes=$(cat excludes) yetus_debug "excludes=${excludes}" if [[ -n "${excludes}" ]]; then @@ -132,8 +131,7 @@ function personality_modules "${EXCLUDE_TESTS_URL}. Ignoring and proceeding." fi elif [[ -n "$INCLUDE_TESTS_URL" ]]; then -wget "$INCLUDE_TESTS_URL" -O "includes" -if [[ $? -eq 0 ]]; then +if wget "$INCLUDE_TESTS_URL" -O "includes"; then includes=$(cat includes) yetus_debug "includes=${includes}" if [[ -n "${includes}" ]]; then
hbase git commit: Revert "HBASE-18836 Note need for explicit javax.el and exclude from shaded artifacts"
Repository: hbase Updated Branches: refs/heads/master de32b11fe -> 2a8fb7a9a Revert "HBASE-18836 Note need for explicit javax.el and exclude from shaded artifacts" This reverts commit de32b11fe4536d07ac4ffee7c59152cebe4f150e. Mistaken push of wrong branch. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2a8fb7a9 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2a8fb7a9 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2a8fb7a9 Branch: refs/heads/master Commit: 2a8fb7a9ae6ad88f6b134422b3ba481815e4edde Parents: de32b11 Author: Sean BusbeyAuthored: Mon Sep 18 08:53:42 2017 -0500 Committer: Sean Busbey Committed: Mon Sep 18 08:53:42 2017 -0500 -- hbase-rest/pom.xml | 3 --- hbase-server/pom.xml| 3 --- hbase-shaded/hbase-shaded-mapreduce/pom.xml | 4 hbase-thrift/pom.xml| 3 --- 4 files changed, 13 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/2a8fb7a9/hbase-rest/pom.xml -- diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 0b18809..4553293 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -308,9 +308,6 @@ org.glassfish.web javax.servlet.jsp - org.glassfish javax.el http://git-wip-us.apache.org/repos/asf/hbase/blob/2a8fb7a9/hbase-server/pom.xml -- diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index ad080f1..03891a1 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -495,9 +495,6 @@ org.glassfish.web javax.servlet.jsp - org.glassfish javax.el http://git-wip-us.apache.org/repos/asf/hbase/blob/2a8fb7a9/hbase-shaded/hbase-shaded-mapreduce/pom.xml -- diff --git a/hbase-shaded/hbase-shaded-mapreduce/pom.xml b/hbase-shaded/hbase-shaded-mapreduce/pom.xml index 2afa3c2..d42735a 100644 --- a/hbase-shaded/hbase-shaded-mapreduce/pom.xml +++ b/hbase-shaded/hbase-shaded-mapreduce/pom.xml @@ -130,10 +130,6 @@ jetty-jsp -org.glassfish -javax.el - - org.eclipse.jetty jetty-webapp http://git-wip-us.apache.org/repos/asf/hbase/blob/2a8fb7a9/hbase-thrift/pom.xml -- diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 0dc0dde..36c992d 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -299,9 +299,6 @@ org.glassfish.web javax.servlet.jsp - org.glassfish javax.el
hbase git commit: HBASE-18836 Note need for explicit javax.el and exclude from shaded artifacts
Repository: hbase Updated Branches: refs/heads/master 190a660d1 -> de32b11fe HBASE-18836 Note need for explicit javax.el and exclude from shaded artifacts Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/de32b11f Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/de32b11f Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/de32b11f Branch: refs/heads/master Commit: de32b11fe4536d07ac4ffee7c59152cebe4f150e Parents: 190a660 Author: Sean BusbeyAuthored: Mon Sep 18 08:47:22 2017 -0500 Committer: Sean Busbey Committed: Mon Sep 18 08:47:46 2017 -0500 -- hbase-rest/pom.xml | 3 +++ hbase-server/pom.xml| 3 +++ hbase-shaded/hbase-shaded-mapreduce/pom.xml | 4 hbase-thrift/pom.xml| 3 +++ 4 files changed, 13 insertions(+) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/de32b11f/hbase-rest/pom.xml -- diff --git a/hbase-rest/pom.xml b/hbase-rest/pom.xml index 4553293..0b18809 100644 --- a/hbase-rest/pom.xml +++ b/hbase-rest/pom.xml @@ -308,6 +308,9 @@ org.glassfish.web javax.servlet.jsp + org.glassfish javax.el http://git-wip-us.apache.org/repos/asf/hbase/blob/de32b11f/hbase-server/pom.xml -- diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index 03891a1..ad080f1 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -495,6 +495,9 @@ org.glassfish.web javax.servlet.jsp + org.glassfish javax.el http://git-wip-us.apache.org/repos/asf/hbase/blob/de32b11f/hbase-shaded/hbase-shaded-mapreduce/pom.xml -- diff --git a/hbase-shaded/hbase-shaded-mapreduce/pom.xml b/hbase-shaded/hbase-shaded-mapreduce/pom.xml index d42735a..2afa3c2 100644 --- a/hbase-shaded/hbase-shaded-mapreduce/pom.xml +++ b/hbase-shaded/hbase-shaded-mapreduce/pom.xml @@ -130,6 +130,10 @@ jetty-jsp +org.glassfish +javax.el + + org.eclipse.jetty jetty-webapp http://git-wip-us.apache.org/repos/asf/hbase/blob/de32b11f/hbase-thrift/pom.xml -- diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index 36c992d..0dc0dde 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -299,6 +299,9 @@ org.glassfish.web javax.servlet.jsp + org.glassfish javax.el