[1/3] hbase-site git commit: Published site at 9ea1a7d422080fab2e7621ad5629322dc01de1f7.
Repository: hbase-site Updated Branches: refs/heads/asf-site ef2e4176e -> ab35b5dee http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ab35b5de/book.html -- diff --git a/book.html b/book.html index f799af7..1946fb0 100644 --- a/book.html +++ b/book.html @@ -1418,18 +1418,41 @@ For most configurations, a restart is needed for servers to pick up changes. Dyn This section lists required services and some required system configuration. - -Table 2. Java + +Java +The following table summarizes the recommendation of the HBase community wrt deploying on various Java versions. An entry of "yes" is meant to indicate a base level of testing and willingness to help diagnose and address issues you might run into. Similarly, an entry of "no" or "Not Supported" generally means that should you run into an issue the community is likely to ask you to change the Java environment before proceeding to help. In some cases, specific guidance on limitations (e.g. wether compiling / unit tests work, specific operational issues, etc) will also be noted. + + + + + + + + +Long Term Support JDKs are recommended + +HBase recommends downstream users rely on JDK releases that are marked as Long Term Supported (LTS) either from the OpenJDK project or vendors. As of March 2018 that means Java 8 is the only applicable version and that the next likely version to see testing will be Java 11 near Q3 2018. + + + + + + +Table 2. Java support by release line - - - + + + + + HBase Version JDK 7 JDK 8 +JDK 9 +JDK 10 @@ -1437,16 +1460,22 @@ For most configurations, a restart is needed for servers to pick up changes. Dyn 2.0 http://search-hadoop.com/m/YGbbsPxZ723m3as;>Not Supported yes +https://issues.apache.org/jira/browse/HBASE-20264;>Not Supported +https://issues.apache.org/jira/browse/HBASE-20264;>Not Supported 1.3 yes yes +https://issues.apache.org/jira/browse/HBASE-20264;>Not Supported +https://issues.apache.org/jira/browse/HBASE-20264;>Not Supported 1.2 yes yes +https://issues.apache.org/jira/browse/HBASE-20264;>Not Supported +https://issues.apache.org/jira/browse/HBASE-20264;>Not Supported @@ -37608,7 +37637,7 @@ The server will return cellblocks compressed using this same compressor as long Version 3.0.0-SNAPSHOT -Last updated 2018-03-24 19:20:03 UTC +Last updated 2018-03-24 23:44:57 UTC http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ab35b5de/checkstyle-aggregate.html -- diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html index 839b865..632761d 100644 --- a/checkstyle-aggregate.html +++ b/checkstyle-aggregate.html @@ -7,7 +7,7 @@ - + Apache HBase Checkstyle Results @@ -123734,7 +123734,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2018-03-24 + Last Published: 2018-03-25 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ab35b5de/devapidocs/constant-values.html -- diff --git a/devapidocs/constant-values.html b/devapidocs/constant-values.html index 630ddc5..43eec65 100644 --- a/devapidocs/constant-values.html +++ b/devapidocs/constant-values.html @@ -3740,14 +3740,14 @@ publicstaticfinalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String date -"Sat Mar 24 19:31:54 UTC 2018" +"Sat Mar 24 23:56:32 UTC 2018" publicstaticfinalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String revision -"ce702df41ba32a466887aee10949bdc963e9c404" +"9ea1a7d422080fab2e7621ad5629322dc01de1f7" http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ab35b5de/devapidocs/src-html/org/apache/hadoop/hbase/Version.html -- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html index 12eecfe..b8d6580 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/Version.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/Version.html @@ -16,9 +16,9 @@ 008@InterfaceAudience.Private 009public class Version { 010 public static final String version = "3.0.0-SNAPSHOT"; -011 public static final String revision = "ce702df41ba32a466887aee10949bdc963e9c404"; +011 public static final String revision = "9ea1a7d422080fab2e7621ad5629322dc01de1f7"; 012 public static final String user = "jenkins"; -013 public static final String date = "Sat Mar 24 19:31:54 UTC 2018"; +013 public static final String date = "Sat Mar 24
[2/3] hbase-site git commit: Published site at 9ea1a7d422080fab2e7621ad5629322dc01de1f7.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ab35b5de/apache_hbase_reference_guide.pdf -- diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf index 268a5cc..498ecfa 100644 --- a/apache_hbase_reference_guide.pdf +++ b/apache_hbase_reference_guide.pdf @@ -5,16 +5,16 @@ /Author (Apache HBase Team) /Creator (Asciidoctor PDF 1.5.0.alpha.15, based on Prawn 2.2.2) /Producer (Apache HBase Team) -/ModDate (D:20180324193658+00'00') -/CreationDate (D:20180324193658+00'00') +/ModDate (D:20180325000127+00'00') +/CreationDate (D:20180325000127+00'00') >> endobj 2 0 obj << /Type /Catalog /Pages 3 0 R /Names 26 0 R -/Outlines 4617 0 R -/PageLabels 4842 0 R +/Outlines 4625 0 R +/PageLabels 4850 0 R /PageMode /UseOutlines /OpenAction [7 0 R /FitH 842.89] /ViewerPreferences << /DisplayDocTitle true @@ -23,8 +23,8 @@ endobj endobj 3 0 obj << /Type /Pages -/Count 715 -/Kids [7 0 R 12 0 R 14 0 R 16 0 R 18 0 R 20 0 R 22 0 R 24 0 R 44 0 R 47 0 R 50 0 R 54 0 R 63 0 R 66 0 R 69 0 R 71 0 R 76 0 R 80 0 R 83 0 R 89 0 R 91 0 R 94 0 R 96 0 R 103 0 R 109 0 R 114 0 R 116 0 R 130 0 R 133 0 R 142 0 R 151 0 R 161 0 R 170 0 R 181 0 R 185 0 R 187 0 R 191 0 R 200 0 R 209 0 R 218 0 R 226 0 R 231 0 R 240 0 R 248 0 R 257 0 R 270 0 R 277 0 R 287 0 R 295 0 R 303 0 R 310 0 R 318 0 R 324 0 R 330 0 R 337 0 R 345 0 R 355 0 R 364 0 R 376 0 R 385 0 R 393 0 R 400 0 R 408 0 R 416 0 R 427 0 R 435 0 R 442 0 R 450 0 R 461 0 R 471 0 R 478 0 R 486 0 R 494 0 R 503 0 R 511 0 R 516 0 R 520 0 R 525 0 R 529 0 R 545 0 R 556 0 R 560 0 R 574 0 R 580 0 R 585 0 R 587 0 R 589 0 R 592 0 R 594 0 R 596 0 R 604 0 R 610 0 R 615 0 R 620 0 R 631 0 R 642 0 R 647 0 R 655 0 R 659 0 R 663 0 R 665 0 R 676 0 R 685 0 R 697 0 R 706 0 R 717 0 R 724 0 R 736 0 R 754 0 R 760 0 R 762 0 R 764 0 R 773 0 R 785 0 R 795 0 R 803 0 R 809 0 R 812 0 R 816 0 R 820 0 R 823 0 R 826 0 R 828 0 R 831 0 R 835 0 R 837 0 R 842 0 R 846 0 R 852 0 R 856 0 R 859 0 R 866 0 R 868 0 R 872 0 R 881 0 R 883 0 R 886 0 R 890 0 R 893 0 R 896 0 R 910 0 R 917 0 R 926 0 R 937 0 R 943 0 R 953 0 R 964 0 R 967 0 R 971 0 R 974 0 R 979 0 R 988 0 R 996 0 R 1000 0 R 1004 0 R 1009 0 R 1013 0 R 1015 0 R 1031 0 R 1042 0 R 1047 0 R 1053 0 R 1056 0 R 1065 0 R 1073 0 R 1077 0 R 1082 0 R 1087 0 R 1089 0 R 1091 0 R 1093 0 R 1103 0 R 0 R 1115 0 R 1122 0 R 1129 0 R 1137 0 R 1142 0 R 1147 0 R 1152 0 R 1160 0 R 1164 0 R 1169 0 R 1171 0 R 1179 0 R 1185 0 R 1187 0 R 1194 0 R 1204 0 R 1208 0 R 1210 0 R 1212 0 R 1216 0 R 1219 0 R 1224 0 R 1227 0 R 1239 0 R 1243 0 R 1249 0 R 1257 0 R 1262 0 R 1266 0 R 1270 0 R 1272 0 R 1275 0 R 1278 0 R 1281 0 R 1285 0 R 1289 0 R 1293 0 R 1298 0 R 1302 0 R 1305 0 R 1307 0 R 1318 0 R 1321 0 R 1329 0 R 1338 0 R 1344 0 R 1348 0 R 1350 0 R 1361 0 R 1364 0 R 1370 0 R 1379 0 R 1382 0 R 1389 0 R 1397 0 R 1399 0 R 1401 0 R 1410 0 R 1412 0 R 1414 0 R 1417 0 R 1419 0 R 1421 0 R 1423 0 R 1425 0 R 1428 0 R 1432 0 R 1437 0 R 1439 0 R 1441 0 R 1443 0 R 1448 0 R 1456 0 R 1461 0 R 1464 0 R 1466 0 R 1469 0 R 1473 0 R 1477 0 R 1480 0 R 1482 0 R 1484 0 R 1487 0 R 1493 0 R 1498 0 R 1506 0 R 1520 0 R 1535 0 R 1539 0 R 1543 0 R 1556 0 R 1561 0 R 1576 0 R 1584 0 R 1588 0 R 1596 0 R 1611 0 R 1625 0 R 1637 0 R 1642 0 R 1649 0 R 1658 0 R 1664 0 R 1669 0 R 1677 0 R 1680 0 R 1689 0 R 1695 0 R 1698 0 R 1711 0 R 1713 0 R 1719 0 R 1724 0 R 1726 0 R 1734 0 R 1742 0 R 1746 0 R 1748 0 R 1750 0 R 1762 0 R 1768 0 R 1776 0 R 1782 0 R 1796 0 R 1801 0 R 1810 0 R 1818 0 R 1824 0 R 1831 0 R 1836 0 R 1839 0 R 1841 0 R 1847 0 R 1851 0 R 1857 0 R 1861 0 R 1869 0 R 1875 0 R 1880 0 R 1885 0 R 1887 0 R 1895 0 R 1902 0 R 1908 0 R 1913 0 R 1917 0 R 1920 0 R 1926 0 R 1931 0 R 1938 0 R 1940 0 R 1942 0 R 1945 0 R 1953 0 R 1956 0 R 1963 0 R 1972 0 R 1975 0 R 1980 0 R 1982 0 R 1985 0 R 1988 0 R 1992 0 R 2002 0 R 2007 0 R 2014 0 R 2016 0 R 2023 0 R 2031 0 R 2038 0 R 2044 0 R 2050 0 R 2052 0 R 2060 0 R 2069 0 R 2080 0 R 2086 0 R 2093 0 R 20 95 0 R 2100 0 R 2102 0 R 2104 0 R 2107 0 R 2110 0 R 2113 0 R 2118 0 R 2122 0 R 2133 0 R 2136 0 R 2141 0 R 2144 0 R 2146 0 R 2151 0 R 2161 0 R 2163 0 R 2165 0 R 2167 0 R 2169 0 R 2172 0 R 2174 0 R 2176 0 R 2179 0 R 2181 0 R 2183 0 R 2187 0 R 2192 0 R 2201 0 R 2203 0 R 2205 0 R 2212 0 R 2214 0 R 2219 0 R 2221 0 R 2223 0 R 2230 0 R 2235 0 R 2239 0 R 2243 0 R 2247 0 R 2249 0 R 2251 0 R 2255 0 R 2258 0 R 2260 0 R 2262 0 R 2266 0 R 2268 0 R 2271 0 R 2273 0 R 2275 0 R 2277 0 R 2284 0 R 2287 0 R 2292 0 R 2294 0 R 2296 0 R 2298 0 R 2300 0 R 2308 0 R 2319 0 R 2333 0 R 2344 0 R 2349 0 R 2354 0 R 2358 0 R 2361 0 R 2366 0 R 2371 0 R 2373 0 R 2377 0 R 2379 0 R 2381 0 R 2383 0 R 2387 0 R 2389 0 R 2402 0 R 2405 0 R 2413 0 R 2419 0 R 2431 0 R 2445 0 R 2458 0 R 2475 0 R 2479 0 R 2481 0 R 2485 0 R 2503 0 R 2509 0 R 2521 0 R 2525 0 R 2529 0 R 2538 0 R 2548 0 R 2553 0 R 2565 0 R 2578 0 R 2597 0 R 2606 0 R 2609 0 R 2618 0 R 2636 0 R 2643 0 R 2646 0 R 2651 0 R 2655 0 R 2658 0 R
hbase-site git commit: INFRA-10751 Empty commit
Repository: hbase-site Updated Branches: refs/heads/asf-site ab35b5dee -> e035de3e9 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/e035de3e Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/e035de3e Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/e035de3e Branch: refs/heads/asf-site Commit: e035de3e90717dfc087f50da60af6c3d4a7e530f Parents: ab35b5d Author: jenkinsAuthored: Sun Mar 25 00:03:51 2018 + Committer: jenkins Committed: Sun Mar 25 00:03:51 2018 + -- --
[3/3] hbase-site git commit: Published site at 9ea1a7d422080fab2e7621ad5629322dc01de1f7.
Published site at 9ea1a7d422080fab2e7621ad5629322dc01de1f7. Project: http://git-wip-us.apache.org/repos/asf/hbase-site/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase-site/commit/ab35b5de Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/ab35b5de Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/ab35b5de Branch: refs/heads/asf-site Commit: ab35b5dee361f42dd8c34bb4c18456a23aa2a8c0 Parents: ef2e417 Author: jenkinsAuthored: Sun Mar 25 00:03:40 2018 + Committer: jenkins Committed: Sun Mar 25 00:03:40 2018 + -- apache_hbase_reference_guide.pdf| 38666 + book.html |41 +- checkstyle-aggregate.html | 4 +- devapidocs/constant-values.html | 4 +- .../org/apache/hadoop/hbase/Version.html| 4 +- project-info.html | 4 +- project-reports.html| 4 +- 7 files changed, 19709 insertions(+), 19018 deletions(-) --
hbase git commit: HBASE-20264 add Javas 9 and 10 to the prerequisites table and add a note about using LTS releases.
Repository: hbase Updated Branches: refs/heads/master ce702df41 -> 9ea1a7d42 HBASE-20264 add Javas 9 and 10 to the prerequisites table and add a note about using LTS releases. * Make the #java anchor point at a section instead of directly at a table * Add a note to the intro of that section about LTS JDKs * Add columns for JDK9 and JDK10 that say unsupported and point to HBASE-20264 Signed-off-by: Zach YorkProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9ea1a7d4 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9ea1a7d4 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9ea1a7d4 Branch: refs/heads/master Commit: 9ea1a7d422080fab2e7621ad5629322dc01de1f7 Parents: ce702df Author: Sean Busbey Authored: Fri Mar 23 08:48:28 2018 -0500 Committer: Sean Busbey Committed: Sat Mar 24 18:36:51 2018 -0500 -- src/main/asciidoc/_chapters/configuration.adoc | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/9ea1a7d4/src/main/asciidoc/_chapters/configuration.adoc -- diff --git a/src/main/asciidoc/_chapters/configuration.adoc b/src/main/asciidoc/_chapters/configuration.adoc index 25a52b9..8005b50 100644 --- a/src/main/asciidoc/_chapters/configuration.adoc +++ b/src/main/asciidoc/_chapters/configuration.adoc @@ -92,24 +92,42 @@ This section lists required services and some required system configuration. [[java]] .Java -[cols="1,1,4", options="header"] + +The following table summarizes the recommendation of the HBase community wrt deploying on various Java versions. An entry of "yes" is meant to indicate a base level of testing and willingness to help diagnose and address issues you might run into. Similarly, an entry of "no" or "Not Supported" generally means that should you run into an issue the community is likely to ask you to change the Java environment before proceeding to help. In some cases, specific guidance on limitations (e.g. wether compiling / unit tests work, specific operational issues, etc) will also be noted. + +.Long Term Support JDKs are recommended +[TIP] + +HBase recommends downstream users rely on JDK releases that are marked as Long Term Supported (LTS) either from the OpenJDK project or vendors. As of March 2018 that means Java 8 is the only applicable version and that the next likely version to see testing will be Java 11 near Q3 2018. + + +.Java support by release line +[cols="1,1,1,1,1", options="header"] |=== |HBase Version |JDK 7 |JDK 8 +|JDK 9 +|JDK 10 |2.0 |link:http://search-hadoop.com/m/YGbbsPxZ723m3as[Not Supported] |yes +|link:https://issues.apache.org/jira/browse/HBASE-20264[Not Supported] +|link:https://issues.apache.org/jira/browse/HBASE-20264[Not Supported] |1.3 |yes |yes +|link:https://issues.apache.org/jira/browse/HBASE-20264[Not Supported] +|link:https://issues.apache.org/jira/browse/HBASE-20264[Not Supported] |1.2 |yes |yes +|link:https://issues.apache.org/jira/browse/HBASE-20264[Not Supported] +|link:https://issues.apache.org/jira/browse/HBASE-20264[Not Supported] |===
[2/2] hbase git commit: HBASE-20272 TestAsyncTable#testCheckAndMutateWithTimeRange fails due to TableExistsException
HBASE-20272 TestAsyncTable#testCheckAndMutateWithTimeRange fails due to TableExistsException Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/de7aa4c4 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/de7aa4c4 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/de7aa4c4 Branch: refs/heads/branch-2.0 Commit: de7aa4c43e246306fa4f8aa72c8886a0039ba5e8 Parents: e4bfce1 Author: tedyuAuthored: Sat Mar 24 06:27:20 2018 -0700 Committer: Michael Stack Committed: Sat Mar 24 12:44:11 2018 -0700 -- .../test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java| 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/de7aa4c4/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java index 576c0a7..d119f1c 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java @@ -342,7 +342,6 @@ public class TestAsyncTable { @Test public void testCheckAndMutateWithTimeRange() throws Exception { - TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange"), FAMILY); AsyncTable table = getTable.get(); final long ts = System.currentTimeMillis() / 2; Put put = new Put(row);
[1/2] hbase git commit: Revert "HBASE-19504 Add TimeRange support into checkAndMutate; ADDENDUM to fix failing unit test" Revert in favor of HBASE-20272
Repository: hbase Updated Branches: refs/heads/branch-2.0 f06bcc7df -> de7aa4c43 Revert "HBASE-19504 Add TimeRange support into checkAndMutate; ADDENDUM to fix failing unit test" Revert in favor of HBASE-20272 This reverts commit f06bcc7df17c7a53f6fb52ecf4329054362cb3e0. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e4bfce13 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e4bfce13 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e4bfce13 Branch: refs/heads/branch-2.0 Commit: e4bfce1367f11fbc71816f9cde08819a2eaf7ff6 Parents: f06bcc7 Author: Michael StackAuthored: Sat Mar 24 12:43:51 2018 -0700 Committer: Michael Stack Committed: Sat Mar 24 12:43:51 2018 -0700 -- .../test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/e4bfce13/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java index e11c869..576c0a7 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java @@ -342,8 +342,7 @@ public class TestAsyncTable { @Test public void testCheckAndMutateWithTimeRange() throws Exception { -TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange" + -System.currentTimeMillis()), FAMILY); + TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange"), FAMILY); AsyncTable table = getTable.get(); final long ts = System.currentTimeMillis() / 2; Put put = new Put(row);
[1/2] hbase git commit: Revert "HBASE-19504 Add TimeRange support into checkAndMutate; ADDENDUM to fix failing unit test" Reverting an addendum in favor of patch at HBASE-20272.
Repository: hbase Updated Branches: refs/heads/branch-2 5da92ce35 -> c8c670b56 Revert "HBASE-19504 Add TimeRange support into checkAndMutate; ADDENDUM to fix failing unit test" Reverting an addendum in favor of patch at HBASE-20272. This reverts commit 5da92ce35297821d13757d67994d040173847413. Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/a6debe48 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a6debe48 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a6debe48 Branch: refs/heads/branch-2 Commit: a6debe4845fe26089ae5743ab255e6647a055efe Parents: 5da92ce Author: Michael StackAuthored: Sat Mar 24 12:41:26 2018 -0700 Committer: Michael Stack Committed: Sat Mar 24 12:41:26 2018 -0700 -- .../test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/a6debe48/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java index e11c869..576c0a7 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java @@ -342,8 +342,7 @@ public class TestAsyncTable { @Test public void testCheckAndMutateWithTimeRange() throws Exception { -TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange" + -System.currentTimeMillis()), FAMILY); + TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange"), FAMILY); AsyncTable table = getTable.get(); final long ts = System.currentTimeMillis() / 2; Put put = new Put(row);
[2/2] hbase git commit: HBASE-20272 TestAsyncTable#testCheckAndMutateWithTimeRange fails due to TableExistsException
HBASE-20272 TestAsyncTable#testCheckAndMutateWithTimeRange fails due to TableExistsException Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c8c670b5 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c8c670b5 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c8c670b5 Branch: refs/heads/branch-2 Commit: c8c670b561f931e7d8cc6b0006bf749a045a57ee Parents: a6debe4 Author: tedyuAuthored: Sat Mar 24 06:27:20 2018 -0700 Committer: Michael Stack Committed: Sat Mar 24 12:42:49 2018 -0700 -- .../test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java| 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/c8c670b5/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java index 576c0a7..d119f1c 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java @@ -342,7 +342,6 @@ public class TestAsyncTable { @Test public void testCheckAndMutateWithTimeRange() throws Exception { - TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange"), FAMILY); AsyncTable table = getTable.get(); final long ts = System.currentTimeMillis() / 2; Put put = new Put(row);
hbase-site git commit: INFRA-10751 Empty commit
Repository: hbase-site Updated Branches: refs/heads/asf-site 92d12755f -> ef2e4176e 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/ef2e4176 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/ef2e4176 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/ef2e4176 Branch: refs/heads/asf-site Commit: ef2e4176efd1d7f84e811a40cc6850ba2fa3298b Parents: 92d1275 Author: jenkinsAuthored: Sat Mar 24 19:39:11 2018 + Committer: jenkins Committed: Sat Mar 24 19:39:11 2018 + -- --
[3/3] hbase-site git commit: Published site at ce702df41ba32a466887aee10949bdc963e9c404.
Published site at ce702df41ba32a466887aee10949bdc963e9c404. Project: http://git-wip-us.apache.org/repos/asf/hbase-site/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase-site/commit/92d12755 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/92d12755 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/92d12755 Branch: refs/heads/asf-site Commit: 92d12755fd5f98f244ebdfc0b2938a9cf3b3016a Parents: c0d3a59 Author: jenkinsAuthored: Sat Mar 24 19:39:01 2018 + Committer: jenkins Committed: Sat Mar 24 19:39:01 2018 + -- apache_hbase_reference_guide.pdf| 36055 + book.html | 321 +- devapidocs/constant-values.html | 4 +- .../org/apache/hadoop/hbase/Version.html| 4 +- index.html | 2 + 5 files changed, 20392 insertions(+), 15994 deletions(-) --
[1/3] hbase-site git commit: Published site at ce702df41ba32a466887aee10949bdc963e9c404.
Repository: hbase-site Updated Branches: refs/heads/asf-site c0d3a592d -> 92d12755f http://git-wip-us.apache.org/repos/asf/hbase-site/blob/92d12755/book.html -- diff --git a/book.html b/book.html index 558ecaa..f799af7 100644 --- a/book.html +++ b/book.html @@ -6601,9 +6601,286 @@ Quitting... 13. Upgrade Paths -13.1. Upgrading to 1.4+ +13.1. Upgrading from 1.x to 2.x + +In this section we will first call out significant changes compared to the prior stable HBase release and then go over the upgrade process. Be sure to read the former with care so you avoid suprises. + + +13.1.1. Changes of Note! + +First well cover deployment / operational changes that you might hit when upgrading to HBase 2.0+. After that well call out changes for downstream applications. Please note that Coprocessors are covered in the operational section. Also note that this section is not meant to convey information about new features that may be of interest to you. For a complete summary of changes, please see the CHANGES.txt file in the source release artifact for the version you are planning to upgrade to. + + +Update to basic prerequisite minimums in HBase 2.0+ +As noted in the section , HBase 2.0+ requires a minimum of Java 8 and Hadoop 2.6. The HBase community recommends ensuring you have already completed any needed upgrades in prerequisites prior to upgrading your HBase version. + + +HBCK must match HBase server version +You must not use an HBase 1.x version of HBCK against an HBase 2.0+ cluster. HBCK is strongly tied to the HBase server version. Using the HBCK tool from an earlier release against an HBase 2.0+ cluster will destructively alter said cluster in unrecoverable ways. + + +As of HBase 2.0, HBCK is a read-only tool that can report the status of some non-public system internals. You should not rely on the format nor content of these internals to remain consistent across HBase releases. + + +Configuration settings no longer in HBase 2.0+ +The following configuration settings are no longer applicable or available. For details, please see the detailed release notes. + + + + +hbase.config.read.zookeeper.config (see for migration details) + + +hbase.zookeeper.useMulti (HBase now always uses ZKs multi functionality) + + +hbase.rpc.client.threads.max + + +hbase.rpc.client.nativetransport + + +hbase.fs.tmp.dir + + +hbase.bucketcache.combinedcache.enabled + + +hbase.bucketcache.ioengine no longer supports the 'heap' value. + + +hbase.bulkload.staging.dir + + +hbase.balancer.tablesOnMaster wasnt removed, strictly speaking, but its meaning has fundamentally changed and users should not set it. See the section for details. + + + + +Configuration settings with different defaults in HBase 2.0+ +The following configuration settings changed their default value. Where applicable, the value to set to restore the behavior of HBase 1.2 is given. + + + + +hbase.security.authorization now defaults to false. set to true to restore same behavior as previous default. + + +hbase.client.retries.number is now set to 10. Previously it was 35. Downstream users are advised to use client timeouts as described in section instead. + + +hbase.client.serverside.retries.multiplier is now set to 3. Previously it was 10. Downstream users are advised to use client timesout as describe in section instead. + + +hbase.master.fileSplitTimeout is now set to 10 minutes. Previously it was 30 seconds. + + +hbase.regionserver.logroll.multiplier is now set to 0.5. Previously it was 0.95. + + +hbase.regionserver.hlog.blocksize defaults to 2x the HDFS default block size for the WAL dir. Previously it was equal to the HDFS default block size for the WAL dir. + + +hbase.client.start.log.errors.counter changed to 5. Previously it was 9. + + +hbase.ipc.server.callqueue.type changed to 'fifo'. In HBase versions 1.0 - 1.2 it was 'deadline'. In prior and later 1.x versions it already defaults to 'fifo'. + + +hbase.hregion.memstore.chunkpool.maxsize is 1.0 by default. Previously it was 0.0. Effectively, this means previously we would not use a chunk pool when our memstore is onheap and now we will. See the section for more infromation about the MSLAB chunk pool. + + + + +"Master hosting regions" feature broken and unsupported +The feature "Master acts as region server" and associated follow-on work available in HBase 1.y is non-functional in HBase 2.y and should not be used in a production setting due to deadlock on Master initialization. Downstream users are advised to treat related configuration settings as experimental and the feature as inappropriate for production settings. + + +A brief summary of related changes: + + + + +Master no longer carries regions by default + + +hbase.balancer.tablesOnMaster is a boolean, default false (if it holds an HBase 1.x list of tables, will default to false) + + +hbase.balancer.tablesOnMaster.systemTablesOnly is
[2/3] hbase-site git commit: Published site at ce702df41ba32a466887aee10949bdc963e9c404.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/92d12755/apache_hbase_reference_guide.pdf -- diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf index ead1d81..268a5cc 100644 --- a/apache_hbase_reference_guide.pdf +++ b/apache_hbase_reference_guide.pdf @@ -5,16 +5,16 @@ /Author (Apache HBase Team) /Creator (Asciidoctor PDF 1.5.0.alpha.15, based on Prawn 2.2.2) /Producer (Apache HBase Team) -/ModDate (D:20180324151038+00'00') -/CreationDate (D:20180324151038+00'00') +/ModDate (D:20180324193658+00'00') +/CreationDate (D:20180324193658+00'00') >> endobj 2 0 obj << /Type /Catalog /Pages 3 0 R /Names 26 0 R -/Outlines 4564 0 R -/PageLabels 4789 0 R +/Outlines 4617 0 R +/PageLabels 4842 0 R /PageMode /UseOutlines /OpenAction [7 0 R /FitH 842.89] /ViewerPreferences << /DisplayDocTitle true @@ -23,8 +23,8 @@ endobj endobj 3 0 obj << /Type /Pages -/Count 710 -/Kids [7 0 R 12 0 R 14 0 R 16 0 R 18 0 R 20 0 R 22 0 R 24 0 R 44 0 R 47 0 R 50 0 R 54 0 R 63 0 R 66 0 R 69 0 R 71 0 R 76 0 R 80 0 R 83 0 R 89 0 R 91 0 R 94 0 R 96 0 R 103 0 R 109 0 R 114 0 R 116 0 R 130 0 R 133 0 R 142 0 R 151 0 R 161 0 R 170 0 R 181 0 R 185 0 R 187 0 R 191 0 R 200 0 R 209 0 R 218 0 R 226 0 R 231 0 R 240 0 R 248 0 R 257 0 R 270 0 R 277 0 R 287 0 R 295 0 R 303 0 R 310 0 R 318 0 R 324 0 R 330 0 R 337 0 R 345 0 R 355 0 R 364 0 R 376 0 R 385 0 R 393 0 R 400 0 R 408 0 R 416 0 R 427 0 R 435 0 R 442 0 R 450 0 R 461 0 R 471 0 R 478 0 R 486 0 R 494 0 R 503 0 R 511 0 R 516 0 R 520 0 R 525 0 R 529 0 R 545 0 R 556 0 R 560 0 R 574 0 R 580 0 R 585 0 R 587 0 R 589 0 R 592 0 R 594 0 R 596 0 R 604 0 R 610 0 R 615 0 R 620 0 R 631 0 R 642 0 R 647 0 R 655 0 R 659 0 R 663 0 R 665 0 R 675 0 R 685 0 R 702 0 R 708 0 R 710 0 R 712 0 R 721 0 R 733 0 R 743 0 R 751 0 R 757 0 R 760 0 R 764 0 R 768 0 R 771 0 R 774 0 R 776 0 R 779 0 R 783 0 R 785 0 R 790 0 R 794 0 R 800 0 R 805 0 R 808 0 R 814 0 R 816 0 R 820 0 R 829 0 R 831 0 R 834 0 R 837 0 R 840 0 R 843 0 R 857 0 R 864 0 R 872 0 R 883 0 R 889 0 R 899 0 R 910 0 R 913 0 R 917 0 R 920 0 R 925 0 R 934 0 R 942 0 R 946 0 R 950 0 R 955 0 R 959 0 R 961 0 R 977 0 R 988 0 R 993 0 R 1000 0 R 1003 0 R 1012 0 R 1020 0 R 1024 0 R 1029 0 R 1034 0 R 1036 0 R 1038 0 R 1040 0 R 1050 0 R 1058 0 R 1062 0 R 1069 0 R 1076 0 R 1084 0 R 1088 0 R 1094 0 R 1099 0 R 1108 0 R 1112 0 R 1117 0 R 1119 0 R 1125 0 R 1131 0 R 1133 0 R 1140 0 R 1150 0 R 1154 0 R 1156 0 R 1158 0 R 1162 0 R 1165 0 R 1170 0 R 1173 0 R 1185 0 R 1189 0 R 1195 0 R 1202 0 R 1207 0 R 1211 0 R 1215 0 R 1217 0 R 1220 0 R 1223 0 R 1226 0 R 1230 0 R 1234 0 R 1238 0 R 1243 0 R 1247 0 R 1250 0 R 1252 0 R 1264 0 R 1267 0 R 1275 0 R 1285 0 R 1291 0 R 1295 0 R 1297 0 R 1308 0 R 1311 0 R 1317 0 R 1325 0 R 1328 0 R 1335 0 R 1343 0 R 1345 0 R 1347 0 R 1356 0 R 1358 0 R 1360 0 R 1363 0 R 1365 0 R 1367 0 R 1369 0 R 1371 0 R 1374 0 R 1378 0 R 1383 0 R 1385 0 R 1387 0 R 1389 0 R 1394 0 R 1401 0 R 1407 0 R 1410 0 R 1412 0 R 1415 0 R 1419 0 R 1423 0 R 1426 0 R 1428 0 R 1430 0 R 1433 0 R 1438 0 R 1444 0 R 1452 0 R 1466 0 R 1480 0 R 1483 0 R 1488 0 R 1501 0 R 1506 0 R 1521 0 R 1529 0 R 1533 0 R 1542 0 R 1557 0 R 1571 0 R 1583 0 R 1588 0 R 1594 0 R 1604 0 R 1610 0 R 1615 0 R 1623 0 R 1626 0 R 1635 0 R 1642 0 R 1645 0 R 1658 0 R 1660 0 R 1666 0 R 1670 0 R 1672 0 R 1680 0 R 1688 0 R 1692 0 R 1694 0 R 1696 0 R 1709 0 R 1715 0 R 1723 0 R 1729 0 R 1743 0 R 1748 0 R 1757 0 R 1765 0 R 1771 0 R 1778 0 R 1782 0 R 1785 0 R 1787 0 R 1794 0 R 1798 0 R 1804 0 R 1808 0 R 1816 0 R 1822 0 R 1827 0 R 1832 0 R 1834 0 R 1844 0 R 1851 0 R 1857 0 R 1862 0 R 1866 0 R 1870 0 R 1875 0 R 1880 0 R 1887 0 R 1889 0 R 1891 0 R 1894 0 R 1902 0 R 1905 0 R 1912 0 R 1921 0 R 1924 0 R 1929 0 R 1931 0 R 1934 0 R 1937 0 R 1940 0 R 1950 0 R 1955 0 R 1961 0 R 1963 0 R 1971 0 R 1978 0 R 1985 0 R 1991 0 R 1996 0 R 1998 0 R 2007 0 R 2017 0 R 2027 0 R 2033 0 R 2042 0 R 2044 0 R 2049 0 R 2051 0 R 2053 0 R 2056 0 R 2059 0 R 2062 0 R 2067 0 R 2071 0 R 2082 0 R 2085 0 R 2090 0 R 2093 0 R 2095 0 R 2100 0 R 2110 0 R 2112 0 R 2114 0 R 2116 0 R 2118 0 R 2121 0 R 2123 0 R 2125 0 R 2128 0 R 2130 0 R 2132 0 R 2136 0 R 2141 0 R 2150 0 R 2152 0 R 2154 0 R 2160 0 R 2162 0 R 2167 0 R 2169 0 R 2171 0 R 2178 0 R 2183 0 R 2187 0 R 2191 0 R 2195 0 R 2197 0 R 2199 0 R 2203 0 R 2206 0 R 2208 0 R 2210 0 R 2214 0 R 2216 0 R 2219 0 R 2221 0 R 2223 0 R 2225 0 R 2233 0 R 2236 0 R 2241 0 R 2243 0 R 2245 0 R 2247 0 R 2249 0 R 2257 0 R 2268 0 R 2282 0 R 2293 0 R 2297 0 R 2303 0 R 2307 0 R 2310 0 R 2315 0 R 2321 0 R 2323 0 R 2326 0 R 2328 0 R 2330 0 R 2332 0 R 2336 0 R 2338 0 R 2351 0 R 2354 0 R 2363 0 R 2369 0 R 2381 0 R 2395 0 R 2408 0 R 2425 0 R 2429 0 R 2431 0 R 2435 0 R 2453 0 R 2459 0 R 2471 0 R 2475 0 R 2479 0 R 2488 0 R 2498 0 R 2503 0 R 2514 0 R 2527 0 R 2545 0 R 2554 0 R 2557 0 R 2566 0 R 2584 0 R 2591 0 R 2594 0 R 2599 0 R 2603 0 R 2606 0 R 2615 0 R 2624 0 R 2627 0 R 2629 0 R 2633 0 R 2648
hbase git commit: HBASE-19504 Add TimeRange support into checkAndMutate; ADDENDUM to fix failing unit test
Repository: hbase Updated Branches: refs/heads/branch-2.0 a15918070 -> f06bcc7df HBASE-19504 Add TimeRange support into checkAndMutate; ADDENDUM to fix failing unit test Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f06bcc7d Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f06bcc7d Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f06bcc7d Branch: refs/heads/branch-2.0 Commit: f06bcc7df17c7a53f6fb52ecf4329054362cb3e0 Parents: a159180 Author: Michael StackAuthored: Sat Mar 24 12:29:45 2018 -0700 Committer: Michael Stack Committed: Sat Mar 24 12:31:29 2018 -0700 -- .../test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/f06bcc7d/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java index 576c0a7..e11c869 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java @@ -342,7 +342,8 @@ public class TestAsyncTable { @Test public void testCheckAndMutateWithTimeRange() throws Exception { - TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange"), FAMILY); +TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange" + +System.currentTimeMillis()), FAMILY); AsyncTable table = getTable.get(); final long ts = System.currentTimeMillis() / 2; Put put = new Put(row);
hbase git commit: HBASE-19504 Add TimeRange support into checkAndMutate; ADDENDUM to fix failing unit test
Repository: hbase Updated Branches: refs/heads/branch-2 52014b942 -> 5da92ce35 HBASE-19504 Add TimeRange support into checkAndMutate; ADDENDUM to fix failing unit test Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/5da92ce3 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5da92ce3 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5da92ce3 Branch: refs/heads/branch-2 Commit: 5da92ce35297821d13757d67994d040173847413 Parents: 52014b9 Author: Michael StackAuthored: Sat Mar 24 12:29:45 2018 -0700 Committer: Michael Stack Committed: Sat Mar 24 12:29:45 2018 -0700 -- .../test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/5da92ce3/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java index 576c0a7..e11c869 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java @@ -342,7 +342,8 @@ public class TestAsyncTable { @Test public void testCheckAndMutateWithTimeRange() throws Exception { - TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange"), FAMILY); +TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange" + +System.currentTimeMillis()), FAMILY); AsyncTable table = getTable.get(); final long ts = System.currentTimeMillis() / 2; Put put = new Put(row);
hbase git commit: Add HBaseCon 2018 to front-page
Repository: hbase Updated Branches: refs/heads/master 4c203a9be -> ce702df41 Add HBaseCon 2018 to front-page Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/ce702df4 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/ce702df4 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/ce702df4 Branch: refs/heads/master Commit: ce702df41ba32a466887aee10949bdc963e9c404 Parents: 4c203a9 Author: Josh ElserAuthored: Sat Mar 24 15:16:06 2018 -0400 Committer: Josh Elser Committed: Sat Mar 24 15:16:06 2018 -0400 -- src/site/xdoc/index.xml | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/ce702df4/src/site/xdoc/index.xml -- diff --git a/src/site/xdoc/index.xml b/src/site/xdoc/index.xml index 1848d40..6d0b05c 100644 --- a/src/site/xdoc/index.xml +++ b/src/site/xdoc/index.xml @@ -83,6 +83,7 @@ Apache HBase is an open-source, distributed, versioned, non-relational database + June 18th, 2018 https://hbase.apache.org/hbasecon-2018;>HBaseCon 2018 @ San Jose Convention Center, San Jose, CA, USA August 4th, 2017 https://easychair.org/cfp/HBaseConAsia2017;>HBaseCon Asia 2017 @ the Huawei Campus in Shenzhen, China June 12th, 2017 https://easychair.org/cfp/hbasecon2017;>HBaseCon2017 at the Crittenden Buildings on the Google Mountain View Campus April 25th, 2017 https://www.meetup.com/hbaseusergroup/events/239291716/;>Meetup @ Visa in Palo Alto
hbase git commit: HBASE-19158 First pass at a 1.2 -> 2.0 upgrade section.
Repository: hbase Updated Branches: refs/heads/master e468b4022 -> 4c203a9be HBASE-19158 First pass at a 1.2 -> 2.0 upgrade section. Signed-off-by: Michael StackSigned-off-by: Mike Drob Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/4c203a9b Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/4c203a9b Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/4c203a9b Branch: refs/heads/master Commit: 4c203a9be038e8110737509439666f5af6e90c2c Parents: e468b40 Author: Sean Busbey Authored: Thu Mar 22 15:20:12 2018 -0500 Committer: Sean Busbey Committed: Sat Mar 24 11:01:14 2018 -0500 -- src/main/asciidoc/_chapters/upgrading.adoc | 212 +++- 1 file changed, 211 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/4c203a9b/src/main/asciidoc/_chapters/upgrading.adoc -- diff --git a/src/main/asciidoc/_chapters/upgrading.adoc b/src/main/asciidoc/_chapters/upgrading.adoc index 0747ffb..f5343c7 100644 --- a/src/main/asciidoc/_chapters/upgrading.adoc +++ b/src/main/asciidoc/_chapters/upgrading.adoc @@ -324,9 +324,214 @@ Quitting... == Upgrade Paths +[[upgrade2.0]] +=== Upgrading from 1.x to 2.x + +In this section we will first call out significant changes compared to the prior stable HBase release and then go over the upgrade process. Be sure to read the former with care so you avoid suprises. + + Changes of Note! + +First we'll cover deployment / operational changes that you might hit when upgrading to HBase 2.0+. After that we'll call out changes for downstream applications. Please note that Coprocessors are covered in the operational section. Also note that this section is not meant to convey information about new features that may be of interest to you. For a complete summary of changes, please see the CHANGES.txt file in the source release artifact for the version you are planning to upgrade to. + +[[upgrade2.0.basic.requirements]] +.Update to basic prerequisite minimums in HBase 2.0+ +As noted in the section [[basic.prerequisites]], HBase 2.0+ requires a minimum of Java 8 and Hadoop 2.6. The HBase community recommends ensuring you have already completed any needed upgrades in prerequisites prior to upgrading your HBase version. + +[[upgrade2.0.hbck]] +.HBCK must match HBase server version +You *must not* use an HBase 1.x version of HBCK against an HBase 2.0+ cluster. HBCK is strongly tied to the HBase server version. Using the HBCK tool from an earlier release against an HBase 2.0+ cluster will destructively alter said cluster in unrecoverable ways. + +As of HBase 2.0, HBCK is a read-only tool that can report the status of some non-public system internals. You should not rely on the format nor content of these internals to remain consistent across HBase releases. + + +Link to a ref guide section on HBCK in 2.0 that explains use and calls out the inability of clients and server sides to detect version of each other. + + +[[upgrade2.0.removed.configs]] +.Configuration settings no longer in HBase 2.0+ + +The following configuration settings are no longer applicable or available. For details, please see the detailed release notes. + +* hbase.config.read.zookeeper.config (see [[upgrade2.0.zkconfig]] for migration details) +* hbase.zookeeper.useMulti (HBase now always uses ZK's multi functionality) +* hbase.rpc.client.threads.max +* hbase.rpc.client.nativetransport +* hbase.fs.tmp.dir +// These next two seem worth a call out section? +* hbase.bucketcache.combinedcache.enabled +* hbase.bucketcache.ioengine no longer supports the 'heap' value. +* hbase.bulkload.staging.dir +* hbase.balancer.tablesOnMaster wasn't removed, strictly speaking, but its meaning has fundamentally changed and users should not set it. See the section [[upgrade2.0.regions.on.master]] for details. + +[[upgrade2.0.changed.defaults]] +.Configuration settings with different defaults in HBase 2.0+ + +The following configuration settings changed their default value. Where applicable, the value to set to restore the behavior of HBase 1.2 is given. + +* hbase.security.authorization now defaults to false. set to true to restore same behavior as previous default. +* hbase.client.retries.number is now set to 10. Previously it was 35. Downstream users are advised to use client timeouts as described in section [[config_timeouts]] instead. +* hbase.client.serverside.retries.multiplier is now set to 3. Previously it was 10. Downstream users are advised to use client timesout as describe in section [[config_timeouts]] instead. +* hbase.master.fileSplitTimeout is now set to 10 minutes. Previously it was 30
hbase-site git commit: INFRA-10751 Empty commit
Repository: hbase-site Updated Branches: refs/heads/asf-site 165414687 -> c0d3a592d 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/c0d3a592 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/c0d3a592 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/c0d3a592 Branch: refs/heads/asf-site Commit: c0d3a592ded95fb520129da5e227619574826116 Parents: 1654146 Author: jenkinsAuthored: Sat Mar 24 15:13:24 2018 + Committer: jenkins Committed: Sat Mar 24 15:13:24 2018 + -- --
[36/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/filter/class-use/Filter.html -- diff --git a/apidocs/org/apache/hadoop/hbase/filter/class-use/Filter.html b/apidocs/org/apache/hadoop/hbase/filter/class-use/Filter.html index 0db07c5..afed815 100644 --- a/apidocs/org/apache/hadoop/hbase/filter/class-use/Filter.html +++ b/apidocs/org/apache/hadoop/hbase/filter/class-use/Filter.html @@ -156,15 +156,15 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -Get -Get.setFilter(Filterfilter) - - Query Query.setFilter(Filterfilter) Apply the specified server-side filter when performing the Query. + +Get +Get.setFilter(Filterfilter) + Scan Scan.setFilter(Filterfilter) @@ -401,39 +401,39 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. static Filter -PageFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +DependentColumnFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) static Filter -MultipleColumnPrefixFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +PageFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) static Filter -InclusiveStopFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +FirstKeyOnlyFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) static Filter -KeyOnlyFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +ColumnPrefixFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) static Filter -RowFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +KeyOnlyFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) static Filter -ColumnRangeFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +ColumnCountGetFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) static Filter -FamilyFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +PrefixFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) static Filter -DependentColumnFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +InclusiveStopFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) static Filter -ColumnPaginationFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) +RowFilter.createFilterFromArguments(https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true; title="class or interface in java.util">ArrayListbyte[]filterArguments) static Filter @@ -441,49 +441,49 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. static Filter
[21/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/deprecated-list.html -- diff --git a/devapidocs/deprecated-list.html b/devapidocs/deprecated-list.html index 3876dcf..92ff3b6 100644 --- a/devapidocs/deprecated-list.html +++ b/devapidocs/deprecated-list.html @@ -743,19 +743,19 @@ -org.apache.hadoop.hbase.client.Mutation.compareTo(Row) +org.apache.hadoop.hbase.client.Row.compareTo(Row) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Row.COMPARATOR instead -org.apache.hadoop.hbase.client.RowMutations.compareTo(Row) +org.apache.hadoop.hbase.client.Mutation.compareTo(Row) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Row.COMPARATOR instead -org.apache.hadoop.hbase.client.Row.compareTo(Row) +org.apache.hadoop.hbase.client.RowMutations.compareTo(Row) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Row.COMPARATOR instead @@ -794,13 +794,13 @@ org.apache.hadoop.hbase.mapreduce.CellCreator.create(byte[], int, int, byte[], int, int, byte[], int, int, long, byte[], int, int, String) -org.apache.hadoop.hbase.regionserver.RpcSchedulerFactory.create(Configuration, PriorityFunction) +org.apache.hadoop.hbase.regionserver.FifoRpcSchedulerFactory.create(Configuration, PriorityFunction) org.apache.hadoop.hbase.regionserver.SimpleRpcSchedulerFactory.create(Configuration, PriorityFunction) -org.apache.hadoop.hbase.regionserver.FifoRpcSchedulerFactory.create(Configuration, PriorityFunction) +org.apache.hadoop.hbase.regionserver.RpcSchedulerFactory.create(Configuration, PriorityFunction) org.apache.hadoop.hbase.coprocessor.ObserverContextImpl.createAndPrepare(E) @@ -1027,15 +1027,15 @@ org.apache.hadoop.hbase.KeyValueUtil.ensureKeyValues(ListCell) -org.apache.hadoop.hbase.client.RowMutations.equals(Object) +org.apache.hadoop.hbase.client.Increment.equals(Object) As of release 2.0.0, this will be removed in HBase 3.0.0. - No replacement + Use Row.COMPARATOR instead -org.apache.hadoop.hbase.client.Increment.equals(Object) +org.apache.hadoop.hbase.client.RowMutations.equals(Object) As of release 2.0.0, this will be removed in HBase 3.0.0. - Use Row.COMPARATOR instead + No replacement @@ -1096,82 +1096,82 @@ -org.apache.hadoop.hbase.filter.ValueFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.DependentColumnFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.SkipFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.WhileMatchFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.FamilyFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.QualifierFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.ColumnPrefixFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.PrefixFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.PageFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.MultiRowRangeFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.RowFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.FamilyFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.ColumnRangeFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.SingleColumnValueFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.ColumnCountGetFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.Filter.filterKeyValue(Cell) +As of release 2.0.0, this will be removed in HBase 3.0.0. + Instead use filterCell(Cell) + -org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.TimestampsFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.ColumnPaginationFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.FuzzyRowFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.DependentColumnFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.FilterList.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.InclusiveStopFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.ValueFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.KeyOnlyFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.RowFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.MultiRowRangeFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.InclusiveStopFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.Filter.filterKeyValue(Cell) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Instead use filterCell(Cell) - +org.apache.hadoop.hbase.filter.ColumnPaginationFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.SkipFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.WhileMatchFilter.filterKeyValue(Cell)
[34/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/util/class-use/Order.html -- diff --git a/apidocs/org/apache/hadoop/hbase/util/class-use/Order.html b/apidocs/org/apache/hadoop/hbase/util/class-use/Order.html index 5ade176..1142667 100644 --- a/apidocs/org/apache/hadoop/hbase/util/class-use/Order.html +++ b/apidocs/org/apache/hadoop/hbase/util/class-use/Order.html @@ -133,38 +133,35 @@ Order -RawByte.getOrder() +TerminatedWrapper.getOrder() Order -FixedLengthWrapper.getOrder() +RawDouble.getOrder() Order -RawFloat.getOrder() +PBType.getOrder() Order -PBType.getOrder() +RawInteger.getOrder() Order -RawInteger.getOrder() +RawLong.getOrder() Order -DataType.getOrder() -Retrieve the sort Order imposed by this data type, or null when - natural ordering is not preserved. - +FixedLengthWrapper.getOrder() Order -RawLong.getOrder() +Union4.getOrder() Order -RawShort.getOrder() +Union3.getOrder() Order @@ -172,27 +169,30 @@ Order -RawBytes.getOrder() +RawByte.getOrder() Order -Struct.getOrder() +DataType.getOrder() +Retrieve the sort Order imposed by this data type, or null when + natural ordering is not preserved. + Order -Union3.getOrder() +RawBytes.getOrder() Order -RawDouble.getOrder() +Union2.getOrder() Order -Union2.getOrder() +Struct.getOrder() Order -Union4.getOrder() +RawFloat.getOrder() Order @@ -200,7 +200,7 @@ Order -TerminatedWrapper.getOrder() +RawShort.getOrder() http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/util/class-use/PositionedByteRange.html -- diff --git a/apidocs/org/apache/hadoop/hbase/util/class-use/PositionedByteRange.html b/apidocs/org/apache/hadoop/hbase/util/class-use/PositionedByteRange.html index af38a25..8e5ba12 100644 --- a/apidocs/org/apache/hadoop/hbase/util/class-use/PositionedByteRange.html +++ b/apidocs/org/apache/hadoop/hbase/util/class-use/PositionedByteRange.html @@ -124,54 +124,70 @@ -byte[] -OrderedBlobVar.decode(PositionedByteRangesrc) +T +TerminatedWrapper.decode(PositionedByteRangesrc) -https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html?is-external=true; title="class or interface in java.lang">Number -OrderedNumeric.decode(PositionedByteRangesrc) +https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true; title="class or interface in java.lang">Double +RawDouble.decode(PositionedByteRangesrc) -https://docs.oracle.com/javase/8/docs/api/java/lang/Byte.html?is-external=true; title="class or interface in java.lang">Byte -RawByte.decode(PositionedByteRangesrc) +https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true; title="class or interface in java.lang">Integer +RawInteger.decode(PositionedByteRangesrc) + + +https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long +OrderedInt64.decode(PositionedByteRangesrc) + + +https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long +RawLong.decode(PositionedByteRangesrc) https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true; title="class or interface in java.lang">Integer OrderedInt32.decode(PositionedByteRangesrc) +https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true; title="class or interface in java.lang">Float +OrderedFloat32.decode(PositionedByteRangesrc) + + +byte[] +OrderedBlobVar.decode(PositionedByteRangesrc) + + T FixedLengthWrapper.decode(PositionedByteRangesrc) -https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String -OrderedString.decode(PositionedByteRangesrc) +https://docs.oracle.com/javase/8/docs/api/java/lang/Short.html?is-external=true; title="class or interface in java.lang">Short +OrderedInt16.decode(PositionedByteRangesrc) -https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true; title="class or interface in java.lang">Float -RawFloat.decode(PositionedByteRangesrc) +https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String +RawString.decode(PositionedByteRangesrc) -https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true; title="class or interface in java.lang">Integer -RawInteger.decode(PositionedByteRangesrc) +https://docs.oracle.com/javase/8/docs/api/java/lang/Byte.html?is-external=true; title="class or interface in java.lang">Byte +OrderedInt8.decode(PositionedByteRangesrc) -T -DataType.decode(PositionedByteRangesrc) -Read an instance of T from the buffer src. -
[49/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/deprecated-list.html -- diff --git a/apidocs/deprecated-list.html b/apidocs/deprecated-list.html index fb294b7..d72d340 100644 --- a/apidocs/deprecated-list.html +++ b/apidocs/deprecated-list.html @@ -510,19 +510,19 @@ -org.apache.hadoop.hbase.client.Mutation.compareTo(Row) +org.apache.hadoop.hbase.client.RowMutations.compareTo(Row) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Row.COMPARATOR instead -org.apache.hadoop.hbase.client.RowMutations.compareTo(Row) +org.apache.hadoop.hbase.client.Row.compareTo(Row) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Row.COMPARATOR instead -org.apache.hadoop.hbase.client.Row.compareTo(Row) +org.apache.hadoop.hbase.client.Mutation.compareTo(Row) As of release 2.0.0, this will be removed in HBase 3.0.0. Use Row.COMPARATOR instead @@ -763,15 +763,15 @@ -org.apache.hadoop.hbase.client.Increment.equals(Object) +org.apache.hadoop.hbase.client.RowMutations.equals(Object) As of release 2.0.0, this will be removed in HBase 3.0.0. - Use Row.COMPARATOR instead + No replacement -org.apache.hadoop.hbase.client.RowMutations.equals(Object) +org.apache.hadoop.hbase.client.Increment.equals(Object) As of release 2.0.0, this will be removed in HBase 3.0.0. - No replacement + Use Row.COMPARATOR instead @@ -832,82 +832,82 @@ -org.apache.hadoop.hbase.filter.FilterList.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.DependentColumnFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.WhileMatchFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.SkipFilter.filterKeyValue(Cell) org.apache.hadoop.hbase.filter.PageFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.WhileMatchFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.InclusiveStopFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.KeyOnlyFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.ColumnPrefixFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.RowFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.FuzzyRowFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.ColumnRangeFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.KeyOnlyFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.FamilyFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.FilterList.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.RandomRowFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.ColumnCountGetFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.FirstKeyValueMatchingQualifiersFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.RandomRowFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.SkipFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.PrefixFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.DependentColumnFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.InclusiveStopFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.Filter.filterKeyValue(Cell) -As of release 2.0.0, this will be removed in HBase 3.0.0. - Instead use filterCell(Cell) - +org.apache.hadoop.hbase.filter.RowFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.ColumnPaginationFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.ValueFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.ValueFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.FamilyFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.ColumnCountGetFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.MultipleColumnPrefixFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.QualifierFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.FirstKeyValueMatchingQualifiersFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.PrefixFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.SingleColumnValueFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.FuzzyRowFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.TimestampsFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.TimestampsFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.MultiRowRangeFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.ColumnPrefixFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.ColumnRangeFilter.filterKeyValue(Cell) -org.apache.hadoop.hbase.filter.MultiRowRangeFilter.filterKeyValue(Cell) +org.apache.hadoop.hbase.filter.QualifierFilter.filterKeyValue(Cell)
[08/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/Get.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/Get.html b/devapidocs/org/apache/hadoop/hbase/client/Get.html index a142212..de5dfd4 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/Get.html +++ b/devapidocs/org/apache/hadoop/hbase/client/Get.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":42,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":42,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":42,"i35":42,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":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,"i12":10,"i13":10,"i14":10,"i15":10,"i16":42,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":42,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":42,"i35":42,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":42,"i42":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -147,7 +147,7 @@ implements setTimeRange. To only retrieve columns with a specific timestamp, execute - setTimestamp. + setTimestamp. To limit the number of versions of each column to be returned, execute setMaxVersions. @@ -530,11 +530,20 @@ implements Get -setTimeStamp(longtimestamp) +setTimestamp(longtimestamp) Get versions of columns with the specified timestamp. +Get +setTimeStamp(longtimestamp) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use setTimestamp(long) instead + + + + https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object toMap(intmaxCols) Compile the details beyond the scope of getFingerprint (row, columns, @@ -862,8 +871,11 @@ public setTimeStamp -publicGetsetTimeStamp(longtimestamp) - throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +publicGetsetTimeStamp(longtimestamp) + throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0. + Use setTimestamp(long) instead Get versions of columns with the specified timestamp. Parameters: @@ -875,13 +887,29 @@ public + + + + + +setTimestamp +publicGetsetTimestamp(longtimestamp) +Get versions of columns with the specified timestamp. + +Parameters: +timestamp - version timestamp +Returns: +this for invocation chaining + + + setColumnFamilyTimeRange -publicGetsetColumnFamilyTimeRange(byte[]cf, +publicGetsetColumnFamilyTimeRange(byte[]cf, longminStamp, longmaxStamp) Description copied from class:Query @@ -909,7 +937,7 @@ public setMaxVersions https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicGetsetMaxVersions() +publicGetsetMaxVersions() Deprecated.It is easy to misunderstand with column family's max versions, so use readAllVersions() instead. Get all available versions. @@ -926,7 +954,7 @@ public setMaxVersions https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicGetsetMaxVersions(intmaxVersions) +publicGetsetMaxVersions(intmaxVersions) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Deprecated.It is easy to misunderstand with column family's max versions, so use readVersions(int) instead. @@ -947,7 +975,7 @@ public readAllVersions -publicGetreadAllVersions() +publicGetreadAllVersions() Get all available versions. Returns: @@ -961,7 +989,7 @@ public readVersions -publicGetreadVersions(intversions)
[25/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html b/apidocs/src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html index 239768b..81dd9f9 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/rest/client/RemoteHTable.html @@ -209,7 +209,7 @@ 201 202 protected CellSetModel buildModelFromPut(Put put) { 203RowModel row = new RowModel(put.getRow()); -204long ts = put.getTimeStamp(); +204long ts = put.getTimestamp(); 205for (ListCell cells: put.getFamilyCellMap().values()) { 206 for (Cell cell: cells) { 207row.addCell(new CellModel(CellUtil.cloneFamily(cell), CellUtil.cloneQualifier(cell), @@ -476,7 +476,7 @@ 468 @Override 469 public void delete(Delete delete) throws IOException { 470String spec = buildRowSpec(delete.getRow(), delete.getFamilyCellMap(), -471 delete.getTimeStamp(), delete.getTimeStamp(), 1); +471 delete.getTimestamp(), delete.getTimestamp(), 1); 472for (int i = 0; i maxRetries; i++) { 473 Response response = client.delete(spec); 474 int code = response.getCode(); @@ -984,44 +984,49 @@ 976} 977 978@Override -979public CheckAndMutateBuilder ifNotExists() { -980 throw new UnsupportedOperationException("CheckAndMutate for non-equal comparison " -981 + "not implemented"); -982} -983 -984@Override -985public CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value) { -986 if (compareOp == CompareOperator.EQUAL) { -987this.value = Preconditions.checkNotNull(value, "value is null"); -988return this; -989 } else { -990throw new UnsupportedOperationException("CheckAndMutate for non-equal comparison " + -991"not implemented"); -992 } -993} -994 -995@Override -996public CheckAndMutateBuilder ifEquals(byte[] value) { -997 this.value = Preconditions.checkNotNull(value, "value is null"); -998 return this; -999} -1000 -1001@Override -1002public boolean thenPut(Put put) throws IOException { -1003 return doCheckAndPut(row, family, qualifier, value, put); +979public CheckAndMutateBuilder timeRange(TimeRange timeRange) { +980 throw new UnsupportedOperationException("timeRange not implemented"); +981} +982 +983@Override +984public CheckAndMutateBuilder ifNotExists() { +985 throw new UnsupportedOperationException("CheckAndMutate for non-equal comparison " +986 + "not implemented"); +987} +988 +989@Override +990public CheckAndMutateBuilder ifMatches(CompareOperator compareOp, byte[] value) { +991 if (compareOp == CompareOperator.EQUAL) { +992this.value = Preconditions.checkNotNull(value, "value is null"); +993return this; +994 } else { +995throw new UnsupportedOperationException("CheckAndMutate for non-equal comparison " + +996"not implemented"); +997 } +998} +999 +1000@Override +1001public CheckAndMutateBuilder ifEquals(byte[] value) { +1002 this.value = Preconditions.checkNotNull(value, "value is null"); +1003 return this; 1004} 1005 1006@Override -1007public boolean thenDelete(Delete delete) throws IOException { -1008 return doCheckAndDelete(row, family, qualifier, value, delete); +1007public boolean thenPut(Put put) throws IOException { +1008 return doCheckAndPut(row, family, qualifier, value, put); 1009} 1010 1011@Override -1012public boolean thenMutate(RowMutations mutation) throws IOException { -1013 throw new UnsupportedOperationException("thenMutate not implemented"); +1012public boolean thenDelete(Delete delete) throws IOException { +1013 return doCheckAndDelete(row, family, qualifier, value, delete); 1014} -1015 } -1016} +1015 +1016@Override +1017public boolean thenMutate(RowMutations mutation) throws IOException { +1018 throw new UnsupportedOperationException("thenMutate not implemented"); +1019} +1020 } +1021} http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/book.html -- diff --git a/book.html b/book.html index 80bdf26..558ecaa 100644 --- a/book.html +++ b/book.html @@ -1682,13 +1682,19 @@ earlier versions of Hadoop. See the table below for requirements specific to dif S -Hadoop-2.8.0 +Hadoop-2.8.[0-1] X X X -Hadoop-2.8.1 +Hadoop-2.8.2+ +NT +NT +NT + + +Hadoop-2.9.0 X X X @@ -1744,24 +1750,9 @@ data loss. This patch is present in Apache Hadoop releases 2.6.1+. -Hadoop 2.7.x - -Hadoop version 2.7.0 is not tested or
[32/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.html b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.html index 9bf7a7c..8103475 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.html @@ -30,601 +30,605 @@ 022import static org.apache.hadoop.hbase.client.ConnectionUtils.toCheckExistenceOnly; 023 024import com.google.protobuf.RpcChannel; -025 -026import java.util.List; -027import java.util.concurrent.CompletableFuture; -028import java.util.concurrent.TimeUnit; -029import java.util.function.Function; -030 -031import org.apache.hadoop.conf.Configuration; -032import org.apache.hadoop.hbase.CompareOperator; -033import org.apache.hadoop.hbase.TableName; -034import org.apache.hadoop.hbase.util.Bytes; -035import org.apache.yetus.audience.InterfaceAudience; -036 -037import org.apache.hbase.thirdparty.com.google.common.base.Preconditions; -038 -039/** -040 * The interface for asynchronous version of Table. Obtain an instance from a -041 * {@link AsyncConnection}. -042 * p -043 * The implementation is required to be thread safe. -044 * p -045 * Usually the implementation will not throw any exception directly. You need to get the exception -046 * from the returned {@link CompletableFuture}. -047 * @since 2.0.0 -048 */ -049@InterfaceAudience.Public -050public interface AsyncTableC extends ScanResultConsumerBase { -051 -052 /** -053 * Gets the fully qualified table name instance of this table. -054 */ -055 TableName getName(); -056 -057 /** -058 * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance. -059 * p -060 * The reference returned is not a copy, so any change made to it will affect this instance. -061 */ -062 Configuration getConfiguration(); -063 -064 /** -065 * Get timeout of each rpc request in this Table instance. It will be overridden by a more -066 * specific rpc timeout config such as readRpcTimeout or writeRpcTimeout. -067 * @see #getReadRpcTimeout(TimeUnit) -068 * @see #getWriteRpcTimeout(TimeUnit) -069 * @param unit the unit of time the timeout to be represented in -070 * @return rpc timeout in the specified time unit -071 */ -072 long getRpcTimeout(TimeUnit unit); -073 -074 /** -075 * Get timeout of each rpc read request in this Table instance. -076 * @param unit the unit of time the timeout to be represented in -077 * @return read rpc timeout in the specified time unit -078 */ -079 long getReadRpcTimeout(TimeUnit unit); -080 -081 /** -082 * Get timeout of each rpc write request in this Table instance. -083 * @param unit the unit of time the timeout to be represented in -084 * @return write rpc timeout in the specified time unit -085 */ -086 long getWriteRpcTimeout(TimeUnit unit); -087 -088 /** -089 * Get timeout of each operation in Table instance. -090 * @param unit the unit of time the timeout to be represented in -091 * @return operation rpc timeout in the specified time unit -092 */ -093 long getOperationTimeout(TimeUnit unit); -094 -095 /** -096 * Get the timeout of a single operation in a scan. It works like operation timeout for other -097 * operations. -098 * @param unit the unit of time the timeout to be represented in -099 * @return scan rpc timeout in the specified time unit -100 */ -101 long getScanTimeout(TimeUnit unit); -102 -103 /** -104 * Test for the existence of columns in the table, as specified by the Get. -105 * p -106 * This will return true if the Get matches one or more keys, false if not. -107 * p -108 * This is a server-side call so it prevents any data from being transfered to the client. -109 * @return true if the specified Get matches one or more keys, false if not. The return value will -110 * be wrapped by a {@link CompletableFuture}. -111 */ -112 default CompletableFutureBoolean exists(Get get) { -113return get(toCheckExistenceOnly(get)).thenApply(r - r.getExists()); -114 } -115 -116 /** -117 * Extracts certain cells from a given row. -118 * @param get The object that specifies what data to fetch and from which row. -119 * @return The data coming from the specified row, if it exists. If the row specified doesn't -120 * exist, the {@link Result} instance returned won't contain any -121 * {@link org.apache.hadoop.hbase.KeyValue}, as indicated by {@link Result#isEmpty()}. The -122 * return value will be wrapped by a {@link CompletableFuture}. -123 */ -124 CompletableFutureResult get(Get get); -125 -126 /** -127 * Puts some data to the table. -128 * @param put The data to put. -129 * @return A {@link
[11/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/TableNotDisabledException.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/TableNotDisabledException.html b/devapidocs/org/apache/hadoop/hbase/class-use/TableNotDisabledException.html index 1d50582..7eb7661 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/TableNotDisabledException.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/TableNotDisabledException.html @@ -104,14 +104,14 @@ void -HMaster.checkTableModifiable(TableNametableName) - - -void MasterServices.checkTableModifiable(TableNametableName) Check table is modifiable; i.e. + +void +HMaster.checkTableModifiable(TableNametableName) + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/TableNotFoundException.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/TableNotFoundException.html b/devapidocs/org/apache/hadoop/hbase/class-use/TableNotFoundException.html index 6194cbc..25d874c 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/TableNotFoundException.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/TableNotFoundException.html @@ -170,14 +170,14 @@ void -HMaster.checkTableModifiable(TableNametableName) - - -void MasterServices.checkTableModifiable(TableNametableName) Check table is modifiable; i.e. + +void +HMaster.checkTableModifiable(TableNametableName) + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/Tag.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/Tag.html b/devapidocs/org/apache/hadoop/hbase/class-use/Tag.html index 067aa54..1b9fa6a 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/Tag.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/Tag.html @@ -415,17 +415,17 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -RawCellBuilder -RawCellBuilder.setTags(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListTagtags) - - ExtendedCellBuilder ExtendedCellBuilder.setTags(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListTagtags) - + ExtendedCellBuilder ExtendedCellBuilderImpl.setTags(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListTagtags) + +RawCellBuilder +RawCellBuilder.setTags(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListTagtags) + http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/ZooKeeperConnectionException.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/ZooKeeperConnectionException.html b/devapidocs/org/apache/hadoop/hbase/class-use/ZooKeeperConnectionException.html index 9ebf945..0478aee 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/ZooKeeperConnectionException.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/ZooKeeperConnectionException.html @@ -164,7 +164,7 @@ boolean -ConnectionImplementation.isMasterRunning() +ClusterConnection.isMasterRunning() Deprecated. this has been deprecated without a replacement @@ -172,7 +172,7 @@ boolean -ClusterConnection.isMasterRunning() +ConnectionImplementation.isMasterRunning() Deprecated. this has been deprecated without a replacement http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/Append.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/Append.html b/devapidocs/org/apache/hadoop/hbase/client/Append.html index 8f79084..72170e4 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/Append.html +++ b/devapidocs/org/apache/hadoop/hbase/client/Append.html @@ -367,7 +367,7 @@ extends Methods inherited from classorg.apache.hadoop.hbase.client.Mutation -cellScanner, checkRow, checkRow, checkRow, compareTo, createPutKeyValue, createPutKeyValue, createPutKeyValue, get, getACL, getCellList, getCellVisibility, getClusterIds, getDurability, getFamilyCellMap, getFingerprint, getRow, getTimeStamp, getTTL, has, has, has, has, has, heapSize, isEmpty, numFamilies, size, toCellVisibility, toMap +cellScanner, checkRow, checkRow, checkRow, compareTo, createPutKeyValue, createPutKeyValue, createPutKeyValue, get, getACL, getCellList, getCellVisibility,
[15/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html b/devapidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html index 41e5ed9..646ab55 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html @@ -185,9 +185,7 @@ https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Mapbyte[],RegionMetrics -ServerLoad.getRegionMetrics() -Deprecated. - +ServerMetricsBuilder.ServerMetricsImpl.getRegionMetrics() https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Mapbyte[],RegionMetrics @@ -195,7 +193,9 @@ https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Mapbyte[],RegionMetrics -ServerMetricsBuilder.ServerMetricsImpl.getRegionMetrics() +ServerLoad.getRegionMetrics() +Deprecated. + static https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics @@ -282,54 +282,54 @@ ServerNameserverName) -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics -AsyncHBaseAdmin.getRegionMetrics(ServerNameserverName) - - default https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics Admin.getRegionMetrics(ServerNameserverName) Get RegionMetrics of all regions hosted on a regionserver. - -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics -AsyncAdmin.getRegionMetrics(ServerNameserverName) -Get a list of RegionMetrics of all regions hosted on a region seerver. - - https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics RawAsyncHBaseAdmin.getRegionMetrics(ServerNameserverName) https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics -AsyncHBaseAdmin.getRegionMetrics(ServerNameserverName, -TableNametableName) +AsyncHBaseAdmin.getRegionMetrics(ServerNameserverName) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics +AsyncAdmin.getRegionMetrics(ServerNameserverName) +Get a list of RegionMetrics of all regions hosted on a region seerver. + + + https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics Admin.getRegionMetrics(ServerNameserverName, TableNametableName) Get RegionMetrics of all regions hosted on a regionserver for a table. + +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics +RawAsyncHBaseAdmin.getRegionMetrics(ServerNameserverName, +TableNametableName) + +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics +AsyncHBaseAdmin.getRegionMetrics(ServerNameserverName, +TableNametableName) + + https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true;
[01/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
Repository: hbase-site Updated Branches: refs/heads/asf-site 82f99e1b9 -> 165414687 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/class-use/Append.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/class-use/Append.html b/devapidocs/org/apache/hadoop/hbase/client/class-use/Append.html index 73bfce7..cd91eb9 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/class-use/Append.html +++ b/devapidocs/org/apache/hadoop/hbase/client/class-use/Append.html @@ -238,9 +238,7 @@ service. https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureResult -AsyncTable.append(Appendappend) -Appends values to one or more columns within a single row. - +AsyncTableImpl.append(Appendappend) Result @@ -249,16 +247,18 @@ service. -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureResult -AsyncTableImpl.append(Appendappend) +Result +HTable.append(Appendappend) https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureResult -RawAsyncTableImpl.append(Appendappend) +AsyncTable.append(Appendappend) +Appends values to one or more columns within a single row. + -Result -HTable.append(Appendappend) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureResult +RawAsyncTableImpl.append(Appendappend) @@ -325,13 +325,13 @@ service. Result -Region.append(Appendappend) -Perform one or more append operations on a row. - +HRegion.append(Appendappend) Result -HRegion.append(Appendappend) +Region.append(Appendappend) +Perform one or more append operations on a row. + Result
[48/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/index-all.html -- diff --git a/apidocs/index-all.html b/apidocs/index-all.html index b26517b..d06338b 100644 --- a/apidocs/index-all.html +++ b/apidocs/index-all.html @@ -481,6 +481,8 @@ Define for 'return-all-versions'. +allTime() - Static method in class org.apache.hadoop.hbase.io.TimeRange + AND - Static variable in class org.apache.hadoop.hbase.filter.ParseConstants AND Byte Array @@ -635,6 +637,8 @@ The asynchronous version of RegionLocator. +at(long) - Static method in class org.apache.hadoop.hbase.io.TimeRange + ATTRIBUTE_SEPERATOR_CONF_KEY - Static variable in class org.apache.hadoop.hbase.mapreduce.ImportTsv Attributes - Interface in org.apache.hadoop.hbase.client @@ -8925,13 +8929,32 @@ getTimeStamp() - Method in class org.apache.hadoop.hbase.client.Mutation -Method for retrieving the timestamp +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use Mutation.getTimestamp() instead + + +getTimestamp() - Method in class org.apache.hadoop.hbase.client.Mutation + +Method for retrieving the timestamp. getTimeStampOfLastShippedOp() - Method in class org.apache.hadoop.hbase.replication.ReplicationLoadSource + +Deprecated. +Since 2.0.0. Will be removed in 3.0.0. + + +getTimestampOfLastShippedOp() - Method in class org.apache.hadoop.hbase.replication.ReplicationLoadSource getTimestamps() - Method in class org.apache.hadoop.hbase.filter.TimestampsFilter getTimeStampsOfLastAppliedOp() - Method in class org.apache.hadoop.hbase.replication.ReplicationLoadSink + +Deprecated. +Since hbase-2.0.0. Will be removed in 3.0.0. + + +getTimestampsOfLastAppliedOp() - Method in class org.apache.hadoop.hbase.replication.ReplicationLoadSink getTimeToLive() - Method in interface org.apache.hadoop.hbase.client.ColumnFamilyDescriptor @@ -17050,6 +17073,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. setTimeStamp(long) - Method in class org.apache.hadoop.hbase.client.Get +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use Get.setTimestamp(long) instead + + +setTimestamp(long) - Method in class org.apache.hadoop.hbase.client.Get + Get versions of columns with the specified timestamp. setTimestamp(long) - Method in class org.apache.hadoop.hbase.client.Increment @@ -17062,6 +17092,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. setTimeStamp(long) - Method in class org.apache.hadoop.hbase.client.Scan +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use Scan.setTimestamp(long) instead + + +setTimestamp(long) - Method in class org.apache.hadoop.hbase.client.Scan + Get versions of columns with the specified timestamp. setTimeToLive(int) - Method in class org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder @@ -19721,7 +19758,10 @@ the order they are declared. withinTimeRange(byte[], int) - Method in class org.apache.hadoop.hbase.io.TimeRange -Check if the specified timestamp is within this TimeRange. +Deprecated. +This is made @InterfaceAudience.Private in the 2.0 line and above and may be + changed to private or removed in 3.0. Use TimeRange.withinTimeRange(long) instead + withinTimeRange(long) - Method in class org.apache.hadoop.hbase.io.TimeRange http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/CompareOperator.html -- diff --git a/apidocs/org/apache/hadoop/hbase/CompareOperator.html b/apidocs/org/apache/hadoop/hbase/CompareOperator.html index 888cc0c..a79d066 100644 --- a/apidocs/org/apache/hadoop/hbase/CompareOperator.html +++ b/apidocs/org/apache/hadoop/hbase/CompareOperator.html @@ -319,7 +319,7 @@ the order they are declared. values -public staticCompareOperator[]values() +public staticCompareOperator[]values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: @@ -339,7 +339,7 @@ for (CompareOperator c : CompareOperator.values()) valueOf -public staticCompareOperatorvalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) +public staticCompareOperatorvalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are
[10/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/AsyncTable.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/AsyncTable.html b/devapidocs/org/apache/hadoop/hbase/client/AsyncTable.html index a7f86c2..589dbb3 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/AsyncTable.html +++ b/devapidocs/org/apache/hadoop/hbase/client/AsyncTable.html @@ -106,7 +106,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public interface AsyncTableC extends ScanResultConsumerBase +public interface AsyncTableC extends ScanResultConsumerBase The interface for asynchronous version of Table. Obtain an instance from a AsyncConnection. @@ -409,7 +409,7 @@ public interface getName -TableNamegetName() +TableNamegetName() Gets the fully qualified table name instance of this table. @@ -419,7 +419,7 @@ public interface getConfiguration -org.apache.hadoop.conf.ConfigurationgetConfiguration() +org.apache.hadoop.conf.ConfigurationgetConfiguration() Returns the Configuration object used by this instance. The reference returned is not a copy, so any change made to it will affect this instance. @@ -431,7 +431,7 @@ public interface getRpcTimeout -longgetRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +longgetRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Get timeout of each rpc request in this Table instance. It will be overridden by a more specific rpc timeout config such as readRpcTimeout or writeRpcTimeout. @@ -451,7 +451,7 @@ public interface getReadRpcTimeout -longgetReadRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +longgetReadRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Get timeout of each rpc read request in this Table instance. Parameters: @@ -467,7 +467,7 @@ public interface getWriteRpcTimeout -longgetWriteRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +longgetWriteRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Get timeout of each rpc write request in this Table instance. Parameters: @@ -483,7 +483,7 @@ public interface getOperationTimeout -longgetOperationTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +longgetOperationTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Get timeout of each operation in Table instance. Parameters: @@ -499,7 +499,7 @@ public interface getScanTimeout -longgetScanTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +longgetScanTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Get the timeout of a single operation in a scan. It works like operation timeout for other operations. @@ -516,7 +516,7 @@ public interface exists -defaulthttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Booleanexists(Getget) +defaulthttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Booleanexists(Getget) Test for the existence of columns in the table, as specified by the Get. This will return true if the Get matches one or more keys, false if not. @@ -535,7 +535,7 @@ public interface get -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureResultget(Getget)
[41/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/Scan.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/Scan.html b/apidocs/org/apache/hadoop/hbase/client/Scan.html index 1ca681e..b93a975 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Scan.html +++ b/apidocs/org/apache/hadoop/hbase/client/Scan.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":9,"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":42,"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":42,"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":42,"i55":42,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":42,"i67":42,"i68":42,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10}; +var methods = {"i0":10,"i1":10,"i2":9,"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":42,"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":42,"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":42,"i55":42,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":42,"i67":42,"i68":42,"i69":10,"i70":10,"i71":42,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -147,7 +147,7 @@ extends setTimeRange. - To only retrieve columns with a specific timestamp, call setTimestamp + To only retrieve columns with a specific timestamp, call setTimestamp . To limit the number of versions of each column to be returned, call setMaxVersions. @@ -723,37 +723,46 @@ extends Scan -setTimeStamp(longtimestamp) +setTimestamp(longtimestamp) Get versions of columns with the specified timestamp. +Scan +setTimeStamp(longtimestamp) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use setTimestamp(long) instead + + + + https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object toMap(intmaxCols) Compile the details beyond the scope of getFingerprint (row, columns, timestamps, etc.) into a Map along with the fingerprinted information. - + Scan withStartRow(byte[]startRow) Set the start row of the scan. - + Scan withStartRow(byte[]startRow, booleaninclusive) Set the start row of the scan. - + Scan withStopRow(byte[]stopRow) Set the stop row of the scan. - + Scan withStopRow(byte[]stopRow, booleaninclusive) @@ -1064,8 +1073,11 @@ public setTimeStamp -publicScansetTimeStamp(longtimestamp) - throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +publicScansetTimeStamp(longtimestamp) + throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0. + Use setTimestamp(long) instead Get versions of columns with the specified timestamp. Note, default maximum versions to return is 1. If your time range spans more than one version and you want all versions returned, up the number of versions beyond the @@ -1083,13 +1095,35 @@ public + + + + +setTimestamp +publicScansetTimestamp(longtimestamp) +Get versions of columns with the specified timestamp. Note, default maximum + versions to return is 1. If your time range spans more than one version + and you want all versions returned, up the number of versions beyond the + defaut. + +Parameters: +timestamp - version timestamp +Returns: +this +See Also: +setMaxVersions(), +setMaxVersions(int) + + +
[13/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/Size.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/Size.html b/devapidocs/org/apache/hadoop/hbase/class-use/Size.html index 3f1b032..837378b 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/Size.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/Size.html @@ -189,17 +189,25 @@ Size +RegionMetrics.getBloomFilterSize() + + +Size +RegionMetricsBuilder.RegionMetricsImpl.getBloomFilterSize() + + +Size RegionLoad.getBloomFilterSize() Deprecated. Size -RegionMetrics.getBloomFilterSize() +ServerMetricsBuilder.ServerMetricsImpl.getMaxHeapSize() Size -RegionMetricsBuilder.RegionMetricsImpl.getBloomFilterSize() +ServerMetrics.getMaxHeapSize() Size @@ -209,11 +217,11 @@ Size -ServerMetrics.getMaxHeapSize() +RegionMetrics.getMemStoreSize() Size -ServerMetricsBuilder.ServerMetricsImpl.getMaxHeapSize() +RegionMetricsBuilder.RegionMetricsImpl.getMemStoreSize() Size @@ -223,11 +231,15 @@ Size -RegionMetrics.getMemStoreSize() +RegionMetrics.getStoreFileIndexSize() +TODO: why we pass the same value to different counters? Currently, the value from + getStoreFileIndexSize() is same with getStoreFileRootLevelIndexSize() + see HRegionServer#createRegionLoad. + Size -RegionMetricsBuilder.RegionMetricsImpl.getMemStoreSize() +RegionMetricsBuilder.RegionMetricsImpl.getStoreFileIndexSize() Size @@ -237,15 +249,11 @@ Size -RegionMetrics.getStoreFileIndexSize() -TODO: why we pass the same value to different counters? Currently, the value from - getStoreFileIndexSize() is same with getStoreFileRootLevelIndexSize() - see HRegionServer#createRegionLoad. - +RegionMetrics.getStoreFileRootLevelIndexSize() Size -RegionMetricsBuilder.RegionMetricsImpl.getStoreFileIndexSize() +RegionMetricsBuilder.RegionMetricsImpl.getStoreFileRootLevelIndexSize() Size @@ -255,11 +263,11 @@ Size -RegionMetrics.getStoreFileRootLevelIndexSize() +RegionMetrics.getStoreFileSize() Size -RegionMetricsBuilder.RegionMetricsImpl.getStoreFileRootLevelIndexSize() +RegionMetricsBuilder.RegionMetricsImpl.getStoreFileSize() Size @@ -269,11 +277,11 @@ Size -RegionMetrics.getStoreFileSize() +RegionMetrics.getStoreFileUncompressedDataIndexSize() Size -RegionMetricsBuilder.RegionMetricsImpl.getStoreFileSize() +RegionMetricsBuilder.RegionMetricsImpl.getStoreFileUncompressedDataIndexSize() Size @@ -283,11 +291,11 @@ Size -RegionMetrics.getStoreFileUncompressedDataIndexSize() +RegionMetrics.getUncompressedStoreFileSize() Size -RegionMetricsBuilder.RegionMetricsImpl.getStoreFileUncompressedDataIndexSize() +RegionMetricsBuilder.RegionMetricsImpl.getUncompressedStoreFileSize() Size @@ -297,11 +305,11 @@ Size -RegionMetrics.getUncompressedStoreFileSize() +ServerMetricsBuilder.ServerMetricsImpl.getUsedHeapSize() Size -RegionMetricsBuilder.RegionMetricsImpl.getUncompressedStoreFileSize() +ServerMetrics.getUsedHeapSize() Size @@ -309,14 +317,6 @@ Deprecated. - -Size -ServerMetrics.getUsedHeapSize() - - -Size -ServerMetricsBuilder.ServerMetricsImpl.getUsedHeapSize() - http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/TableDescriptors.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/TableDescriptors.html b/devapidocs/org/apache/hadoop/hbase/class-use/TableDescriptors.html index 63833f7..72d579d 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/TableDescriptors.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/TableDescriptors.html @@ -122,11 +122,11 @@ TableDescriptors -HMaster.getTableDescriptors() +MasterServices.getTableDescriptors() TableDescriptors -MasterServices.getTableDescriptors() +HMaster.getTableDescriptors()
[02/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/Table.CheckAndMutateBuilder.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/Table.CheckAndMutateBuilder.html b/devapidocs/org/apache/hadoop/hbase/client/Table.CheckAndMutateBuilder.html index c06af6d..2add328 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/Table.CheckAndMutateBuilder.html +++ b/devapidocs/org/apache/hadoop/hbase/client/Table.CheckAndMutateBuilder.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":18,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6}; +var methods = {"i0":18,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab"; -public static interface Table.CheckAndMutateBuilder +public static interface Table.CheckAndMutateBuilder A helper class for sending checkAndMutate request. @@ -162,6 +162,10 @@ var activeTableTab = "activeTableTab"; boolean thenPut(Putput) + +Table.CheckAndMutateBuilder +timeRange(TimeRangetimeRange) + @@ -183,20 +187,33 @@ var activeTableTab = "activeTableTab"; qualifier -Table.CheckAndMutateBuilderqualifier(byte[]qualifier) +Table.CheckAndMutateBuilderqualifier(byte[]qualifier) Parameters: qualifier - column qualifier to check. + + + + + +timeRange +Table.CheckAndMutateBuildertimeRange(TimeRangetimeRange) + +Parameters: +timeRange - timeRange to check + + + ifNotExists -Table.CheckAndMutateBuilderifNotExists() +Table.CheckAndMutateBuilderifNotExists() Check for lack of column. @@ -206,7 +223,7 @@ var activeTableTab = "activeTableTab"; ifEquals -defaultTable.CheckAndMutateBuilderifEquals(byte[]value) +defaultTable.CheckAndMutateBuilderifEquals(byte[]value) Check for equality. Parameters: @@ -220,7 +237,7 @@ var activeTableTab = "activeTableTab"; ifMatches -Table.CheckAndMutateBuilderifMatches(CompareOperatorcompareOp, +Table.CheckAndMutateBuilderifMatches(CompareOperatorcompareOp, byte[]value) Parameters: @@ -235,7 +252,7 @@ var activeTableTab = "activeTableTab"; thenPut -booleanthenPut(Putput) +booleanthenPut(Putput) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Parameters: @@ -253,7 +270,7 @@ var activeTableTab = "activeTableTab"; thenDelete -booleanthenDelete(Deletedelete) +booleanthenDelete(Deletedelete) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Parameters: @@ -271,7 +288,7 @@ var activeTableTab = "activeTableTab"; thenMutate -booleanthenMutate(RowMutationsmutation) +booleanthenMutate(RowMutationsmutation) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Parameters: http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/Table.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/Table.html b/devapidocs/org/apache/hadoop/hbase/client/Table.html index 08ae259..8d85670 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/Table.html +++ b/devapidocs/org/apache/hadoop/hbase/client/Table.html @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public interface Table +public interface Table extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true; title="class or interface in java.io">Closeable Used to communicate with a single HBase table. Obtain an instance from a Connection and call close() afterwards. @@ -605,7 +605,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm getName -TableNamegetName() +TableNamegetName() Gets the fully qualified table name instance of this table. @@ -615,7 +615,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm getConfiguration -org.apache.hadoop.conf.ConfigurationgetConfiguration() +org.apache.hadoop.conf.ConfigurationgetConfiguration() Returns the Configuration object used by this instance. The reference returned is not a copy, so any change made to it will @@ -629,7 +629,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm getTableDescriptor https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -HTableDescriptorgetTableDescriptor()
[27/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/src-html/org/apache/hadoop/hbase/client/Table.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Table.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Table.html index dbb2f3e..c887b35 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Table.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Table.html @@ -36,843 +36,849 @@ 028import org.apache.hadoop.hbase.CompareOperator; 029import org.apache.hadoop.hbase.HTableDescriptor; 030import org.apache.hadoop.hbase.TableName; -031import org.apache.yetus.audience.InterfaceAudience; -032import org.apache.hadoop.hbase.client.coprocessor.Batch; -033import org.apache.hadoop.hbase.filter.CompareFilter; -034import org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel; -035 -036import com.google.protobuf.Descriptors; -037import com.google.protobuf.Message; -038import com.google.protobuf.Service; -039import com.google.protobuf.ServiceException; -040 -041/** -042 * Used to communicate with a single HBase table. -043 * Obtain an instance from a {@link Connection} and call {@link #close()} afterwards. -044 * -045 * pTable can be used to get, put, delete or scan data from a table. -046 * @see ConnectionFactory -047 * @see Connection -048 * @see Admin -049 * @see RegionLocator -050 * @since 0.99.0 -051 */ -052@InterfaceAudience.Public -053public interface Table extends Closeable { -054 /** -055 * Gets the fully qualified table name instance of this table. -056 */ -057 TableName getName(); -058 -059 /** -060 * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance. -061 * p -062 * The reference returned is not a copy, so any change made to it will -063 * affect this instance. -064 */ -065 Configuration getConfiguration(); -066 -067 /** -068 * Gets the {@link org.apache.hadoop.hbase.HTableDescriptor table descriptor} for this table. -069 * @throws java.io.IOException if a remote or network exception occurs. -070 * @deprecated since 2.0 version and will be removed in 3.0 version. -071 * use {@link #getDescriptor()} -072 */ -073 @Deprecated -074 HTableDescriptor getTableDescriptor() throws IOException; -075 -076 /** -077 * Gets the {@link org.apache.hadoop.hbase.client.TableDescriptor table descriptor} for this table. -078 * @throws java.io.IOException if a remote or network exception occurs. -079 */ -080 TableDescriptor getDescriptor() throws IOException; -081 -082 /** -083 * Test for the existence of columns in the table, as specified by the Get. -084 * p -085 * -086 * This will return true if the Get matches one or more keys, false if not. -087 * p -088 * -089 * This is a server-side call so it prevents any data from being transfered to -090 * the client. -091 * -092 * @param get the Get -093 * @return true if the specified Get matches one or more keys, false if not -094 * @throws IOException e -095 */ -096 boolean exists(Get get) throws IOException; -097 -098 /** -099 * Test for the existence of columns in the table, as specified by the Gets. -100 * p -101 * -102 * This will return an array of booleans. Each value will be true if the related Get matches -103 * one or more keys, false if not. -104 * p -105 * -106 * This is a server-side call so it prevents any data from being transferred to -107 * the client. -108 * -109 * @param gets the Gets -110 * @return Array of boolean. True if the specified Get matches one or more keys, false if not. -111 * @throws IOException e -112 */ -113 boolean[] exists(ListGet gets) throws IOException; -114 -115 /** -116 * Test for the existence of columns in the table, as specified by the Gets. -117 * This will return an array of booleans. Each value will be true if the related Get matches -118 * one or more keys, false if not. -119 * This is a server-side call so it prevents any data from being transferred to -120 * the client. -121 * -122 * @param gets the Gets -123 * @return Array of boolean. True if the specified Get matches one or more keys, false if not. -124 * @throws IOException e -125 * @deprecated since 2.0 version and will be removed in 3.0 version. -126 * use {@link #exists(List)} -127 */ -128 @Deprecated -129 default boolean[] existsAll(ListGet gets) throws IOException { -130return exists(gets); -131 } -132 -133 /** -134 * Method that does a batch call on Deletes, Gets, Puts, Increments, Appends, RowMutations. -135 * The ordering of execution of the actions is not defined. Meaning if you do a Put and a -136 * Get in the same {@link #batch} call, you will not necessarily be -137 * guaranteed that the Get returns what the Put had put. -138 * -139 * @param actions list of Get, Put, Delete, Increment, Append,
[50/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apache_hbase_reference_guide.pdf -- diff --git a/apache_hbase_reference_guide.pdf b/apache_hbase_reference_guide.pdf index 54e6057..ead1d81 100644 --- a/apache_hbase_reference_guide.pdf +++ b/apache_hbase_reference_guide.pdf @@ -5,8 +5,8 @@ /Author (Apache HBase Team) /Creator (Asciidoctor PDF 1.5.0.alpha.15, based on Prawn 2.2.2) /Producer (Apache HBase Team) -/ModDate (D:20180323144654+00'00') -/CreationDate (D:20180323144654+00'00') +/ModDate (D:20180324151038+00'00') +/CreationDate (D:20180324151038+00'00') >> endobj 2 0 obj @@ -27896,7 +27896,7 @@ endobj endobj 136 0 obj << /Limits [(__anchor-top) (adding.new.node)] -/Names [(__anchor-top) 25 0 R (__indexterm-7414230) 3476 0 R (__indexterm-7416634) 3478 0 R (__indexterm-7418174) 3480 0 R (__indexterm-7420358) 3481 0 R (acid) 921 0 R (acl) 3292 0 R (add-metric-name-and-function-to-hadoop-compat-interface) 3579 0 R (add-the-implementation-to-both-hadoop-1-and-hadoop-2-compat-modules) 3581 0 R (add.metrics) 3577 0 R (adding-a-new-chapter-to-the-hbase-reference-guide) 3820 0 R (adding.new.node) 3041 0 R] +/Names [(__anchor-top) 25 0 R (__indexterm-7416216) 3476 0 R (__indexterm-7418620) 3478 0 R (__indexterm-7420160) 3480 0 R (__indexterm-7422344) 3481 0 R (acid) 921 0 R (acl) 3292 0 R (add-metric-name-and-function-to-hadoop-compat-interface) 3579 0 R (add-the-implementation-to-both-hadoop-1-and-hadoop-2-compat-modules) 3581 0 R (add.metrics) 3577 0 R (adding-a-new-chapter-to-the-hbase-reference-guide) 3820 0 R (adding.new.node) 3041 0 R] >> endobj 137 0 obj @@ -27938,7 +27938,7 @@ endobj >> endobj 141 0 obj -<< /Length 33173 +<< /Length 35418 >> stream q @@ -28220,6 +28220,22 @@ f 422.34 472.41 124.7 20.28 re f 0.0 0.0 0.0 scn +0.9765 0.9765 0.9765 scn +48.24 452.13 124.7 20.28 re +f +0.0 0.0 0.0 scn +0.9765 0.9765 0.9765 scn +172.94 452.13 124.7 20.28 re +f +0.0 0.0 0.0 scn +0.9765 0.9765 0.9765 scn +297.64 452.13 124.7 20.28 re +f +0.0 0.0 0.0 scn +0.9765 0.9765 0.9765 scn +422.34 452.13 124.7 20.28 re +f +0.0 0.0 0.0 scn 0.5 w 0.8667 0.8667 0.8667 SCN 48.24 756.33 m @@ -29784,7 +29800,7 @@ S BT 51.24 519.036 Td /F1.0 10.5 Tf -<4861646f6f702d322e382e30> Tj +<4861646f6f702d322e382e5b302d315d> Tj ET 0.0 0.0 0.0 scn @@ -29924,7 +29940,7 @@ S BT 51.24 498.756 Td /F1.0 10.5 Tf -<4861646f6f702d322e382e31> Tj +<4861646f6f702d322e382e322b> Tj ET 0.0 0.0 0.0 scn @@ -29959,7 +29975,7 @@ S BT 175.94 498.756 Td /F1.0 10.5 Tf -<58> Tj +<4e54> Tj ET 0.0 0.0 0.0 scn @@ -29994,7 +30010,7 @@ S BT 300.64 498.756 Td /F1.0 10.5 Tf -<58> Tj +<4e54> Tj ET 0.0 0.0 0.0 scn @@ -30029,7 +30045,7 @@ S BT 425.34 498.756 Td /F1.0 10.5 Tf -<58> Tj +<4e54> Tj ET 0.0 0.0 0.0 scn @@ -30064,7 +30080,7 @@ S BT 51.24 478.476 Td /F1.0 10.5 Tf -<4861646f6f702d332e302e30> Tj +<4861646f6f702d322e392e30> Tj ET 0.0 0.0 0.0 scn @@ -30099,7 +30115,7 @@ S BT 175.94 478.476 Td /F1.0 10.5 Tf -<4e54> Tj +<58> Tj ET 0.0 0.0 0.0 scn @@ -30134,7 +30150,7 @@ S BT 300.64 478.476 Td /F1.0 10.5 Tf -<4e54> Tj +<58> Tj ET 0.0 0.0 0.0 scn @@ -30169,6 +30185,146 @@ S BT 425.34 478.476 Td /F1.0 10.5 Tf +<58> Tj +ET + +0.0 0.0 0.0 scn +0.5 w +0.8667 0.8667 0.8667 SCN +48.24 472.41 m +172.94 472.41 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +48.24 452.13 m +172.94 452.13 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +48.24 472.66 m +48.24 451.88 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +172.94 472.66 m +172.94 451.88 l +S +[] 0 d +1 w +0.0 0.0 0.0 SCN +0.2 0.2 0.2 scn + +BT +51.24 458.196 Td +/F1.0 10.5 Tf +<4861646f6f702d332e302e30> Tj +ET + +0.0 0.0 0.0 scn +0.5 w +0.8667 0.8667 0.8667 SCN +172.94 472.41 m +297.64 472.41 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +172.94 452.13 m +297.64 452.13 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +172.94 472.66 m +172.94 451.88 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +297.64 472.66 m +297.64 451.88 l +S +[] 0 d +1 w +0.0 0.0 0.0 SCN +0.2 0.2 0.2 scn + +BT +175.94 458.196 Td +/F1.0 10.5 Tf +<4e54> Tj +ET + +0.0 0.0 0.0 scn +0.5 w +0.8667 0.8667 0.8667 SCN +297.64 472.41 m +422.34 472.41 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +297.64 452.13 m +422.34 452.13 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +297.64 472.66 m +297.64 451.88 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +422.34 472.66 m +422.34 451.88 l +S +[] 0 d +1 w +0.0 0.0 0.0 SCN +0.2 0.2 0.2 scn + +BT +300.64 458.196 Td +/F1.0 10.5 Tf +<4e54> Tj +ET + +0.0 0.0 0.0 scn +0.5 w +0.8667 0.8667 0.8667 SCN +422.34 472.41 m +547.04 472.41 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +422.34 452.13 m +547.04 452.13 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +422.34 472.66 m +422.34 451.88 l +S +[] 0 d +0.5 w +0.8667 0.8667 0.8667 SCN +547.04 472.66 m +547.04 451.88 l +S +[] 0 d +1 w +0.0 0.0 0.0 SCN +0.2 0.2 0.2 scn + +BT +425.34 458.196 Td +/F1.0 10.5 Tf
[19/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html b/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html index 22280e4..cf0947e 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/Cell.html @@ -778,13 +778,6 @@ service. int -CellComparator.compare(CellleftCell, - CellrightCell) -Lexographically compares two cells. - - - -int KeyValue.MetaComparator.compare(Cellleft, Cellright) Deprecated. @@ -792,7 +785,7 @@ service. table. - + int KeyValue.KVComparator.compare(Cellleft, Cellright) @@ -801,6 +794,13 @@ service. rowkey, colfam/qual, timestamp, type, mvcc + +int +CellComparator.compare(CellleftCell, + CellrightCell) +Lexographically compares two cells. + + int CellComparatorImpl.compare(Cella, @@ -1032,18 +1032,18 @@ service. int -CellComparator.compareRows(CellleftCell, - CellrightCell) -Lexographically compares the rows of two cells. - - - -int KeyValue.KVComparator.compareRows(Cellleft, Cellright) Deprecated. + +int +CellComparator.compareRows(CellleftCell, + CellrightCell) +Lexographically compares the rows of two cells. + + int CellComparatorImpl.compareRows(Cellleft, @@ -1058,18 +1058,18 @@ service. int -CellComparator.compareTimestamps(CellleftCell, - CellrightCell) -Compares cell's timestamps in DESCENDING order. - - - -int KeyValue.KVComparator.compareTimestamps(Cellleft, Cellright) Deprecated. + +int +CellComparator.compareTimestamps(CellleftCell, + CellrightCell) +Compares cell's timestamps in DESCENDING order. + + int CellComparatorImpl.compareTimestamps(Cellleft, @@ -2417,11 +2417,11 @@ service. private Cell -AllowPartialScanResultCache.lastCell +BatchScanResultCache.lastCell private Cell -BatchScanResultCache.lastCell +AllowPartialScanResultCache.lastCell @@ -2529,25 +2529,25 @@ service. -Append -Append.add(Cellcell) -Add column and value to this Append operation. +Increment +Increment.add(Cellcell) +Add the specified KeyValue to this operation. -(package private) Mutation -Mutation.add(Cellcell) - - Delete Delete.add(Cellcell) Add an existing delete marker to this Delete object. + +(package private) Mutation +Mutation.add(Cellcell) + -Increment -Increment.add(Cellcell) -Add the specified KeyValue to this operation. +Append +Append.add(Cellcell) +Add column and value to this Append operation. @@ -2645,38 +2645,38 @@ service. booleanmayHaveMoreCellsInRow) -Append -Append.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) +Increment +Increment.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. - Use Append.Append(byte[], long, NavigableMap) instead + Use Increment.Increment(byte[], long, NavigableMap) instead -Mutation -Mutation.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) +Delete +Delete.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. - Use Mutation.Mutation(byte[], long, NavigableMap) instead + Use Delete.Delete(byte[], long, NavigableMap) instead -Delete -Delete.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) +Mutation +Mutation.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in
[24/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/checkstyle-aggregate.html -- diff --git a/checkstyle-aggregate.html b/checkstyle-aggregate.html index c2f3d6b..839b865 100644 --- a/checkstyle-aggregate.html +++ b/checkstyle-aggregate.html @@ -7,7 +7,7 @@ - + Apache HBase Checkstyle Results @@ -274,10 +274,10 @@ Warnings Errors -3592 +3593 0 0 -16020 +15918 Files @@ -425,7 +425,7 @@ org/apache/hadoop/hbase/HBaseTestCase.java 0 0 -35 +19 org/apache/hadoop/hbase/HBaseTestingUtility.java 0 @@ -1345,7 +1345,7 @@ org/apache/hadoop/hbase/client/HTable.java 0 0 -46 +44 org/apache/hadoop/hbase/client/HTableMultiplexer.java 0 @@ -3000,7 +3000,7 @@ org/apache/hadoop/hbase/filter/TimestampsFilter.java 0 0 -8 +7 org/apache/hadoop/hbase/filter/ValueFilter.java 0 @@ -4062,290 +4062,290 @@ 0 7 -org/apache/hadoop/hbase/mapred/RowCounter_Counters.properties -0 -0 -1 - org/apache/hadoop/hbase/mapred/TableInputFormat.java 0 0 1 - + org/apache/hadoop/hbase/mapred/TableInputFormatBase.java 0 0 6 - + org/apache/hadoop/hbase/mapred/TableMap.java 0 0 2 - + org/apache/hadoop/hbase/mapred/TableMapReduceUtil.java 0 0 15 - + org/apache/hadoop/hbase/mapred/TableOutputFormat.java 0 0 3 - + org/apache/hadoop/hbase/mapred/TableRecordReader.java 0 0 6 - + org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java 0 0 7 - + org/apache/hadoop/hbase/mapred/TableReduce.java 0 0 2 - + org/apache/hadoop/hbase/mapred/TableSnapshotInputFormat.java 0 0 10 - + org/apache/hadoop/hbase/mapred/TableSplit.java 0 0 17 - + org/apache/hadoop/hbase/mapred/TestGroupingTableMap.java 0 0 4 - + org/apache/hadoop/hbase/mapred/TestIdentityTableMap.java 0 0 2 - + org/apache/hadoop/hbase/mapred/TestRowCounter.java 0 0 12 - + org/apache/hadoop/hbase/mapred/TestSplitTable.java 0 0 1 - + org/apache/hadoop/hbase/mapred/TestTableInputFormat.java 0 0 25 - + org/apache/hadoop/hbase/mapred/TestTableMapReduce.java 0 0 1 - + org/apache/hadoop/hbase/mapred/TestTableMapReduceUtil.java 0 0 3 - + org/apache/hadoop/hbase/mapred/TestTableSnapshotInputFormat.java 0 0 1 - + org/apache/hadoop/hbase/mapreduce/CellCounter.java 0 0 9 - + org/apache/hadoop/hbase/mapreduce/CellCreator.java 0 0 6 - + org/apache/hadoop/hbase/mapreduce/CellSerialization.java 0 0 2 - + org/apache/hadoop/hbase/mapreduce/CellSortReducer.java 0 0 1 - + org/apache/hadoop/hbase/mapreduce/CopyTable.java 0 0 13 - + org/apache/hadoop/hbase/mapreduce/DefaultVisibilityExpressionResolver.java 0 0 3 - + org/apache/hadoop/hbase/mapreduce/Driver.java 0 0 4 - + org/apache/hadoop/hbase/mapreduce/Export.java 0 0 2 - + org/apache/hadoop/hbase/mapreduce/ExportUtils.java 0 0 8 - + org/apache/hadoop/hbase/mapreduce/GroupingTableMapper.java 0 0 3 - + org/apache/hadoop/hbase/mapreduce/HFileInputFormat.java 0 0 1 - + org/apache/hadoop/hbase/mapreduce/HFileOutputFormat2.java 0 0 18 - + org/apache/hadoop/hbase/mapreduce/HRegionPartitioner.java 0 0 4 - + org/apache/hadoop/hbase/mapreduce/HashTable.java 0 0 1 - + org/apache/hadoop/hbase/mapreduce/IdentityTableMapper.java 0 0 2 - + org/apache/hadoop/hbase/mapreduce/IdentityTableReducer.java 0 0 2 - + org/apache/hadoop/hbase/mapreduce/Import.java 0 0 10 - + org/apache/hadoop/hbase/mapreduce/ImportTsv.java 0 0 21 - + org/apache/hadoop/hbase/mapreduce/IndexBuilder.java 0 0 1 - + org/apache/hadoop/hbase/mapreduce/IntegrationTestBulkLoad.java 0 0 10 - + org/apache/hadoop/hbase/mapreduce/IntegrationTestImportTsv.java 0 0 5 - + org/apache/hadoop/hbase/mapreduce/IntegrationTestTableSnapshotInputFormat.java 0 0 2 - + org/apache/hadoop/hbase/mapreduce/JobUtil.java 0 0 4 - + org/apache/hadoop/hbase/mapreduce/MapreduceTestingShim.java 0 0 1 - + org/apache/hadoop/hbase/mapreduce/MultiTableHFileOutputFormat.java 0 0 3 - + org/apache/hadoop/hbase/mapreduce/MultiTableInputFormat.java 0 0 1 - + org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatBase.java 0 0 4 - + org/apache/hadoop/hbase/mapreduce/MultiTableInputFormatTestBase.java 0 0 4 - + org/apache/hadoop/hbase/mapreduce/MultiTableOutputFormat.java 0 0 3 - + org/apache/hadoop/hbase/mapreduce/MultiTableSnapshotInputFormat.java 0 0 3 - + org/apache/hadoop/hbase/mapreduce/MultiTableSnapshotInputFormatImpl.java 0 0 11 - + org/apache/hadoop/hbase/mapreduce/MultithreadedTableMapper.java 0 0 7 - + org/apache/hadoop/hbase/mapreduce/MutationSerialization.java 0 0 2 - + org/apache/hadoop/hbase/mapreduce/NMapInputFormat.java 0 0 1 - + org/apache/hadoop/hbase/mapreduce/PutCombiner.java 0 0 3 - + org/apache/hadoop/hbase/mapreduce/PutSortReducer.java 0 0 3 - + org/apache/hadoop/hbase/mapreduce/ResultSerialization.java 0 0 3 - + org/apache/hadoop/hbase/mapreduce/RowCounter.java 0 0 5
[43/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/Get.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/Get.html b/apidocs/org/apache/hadoop/hbase/client/Get.html index 44167fa..b3f7fcf 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Get.html +++ b/apidocs/org/apache/hadoop/hbase/client/Get.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":42,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":42,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":42,"i35":42,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":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,"i12":10,"i13":10,"i14":10,"i15":10,"i16":42,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":42,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":42,"i35":42,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":42,"i42":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -147,7 +147,7 @@ implements setTimeRange. To only retrieve columns with a specific timestamp, execute - setTimestamp. + setTimestamp. To limit the number of versions of each column to be returned, execute setMaxVersions. @@ -483,11 +483,20 @@ implements Get -setTimeStamp(longtimestamp) +setTimestamp(longtimestamp) Get versions of columns with the specified timestamp. +Get +setTimeStamp(longtimestamp) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use setTimestamp(long) instead + + + + https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object toMap(intmaxCols) Compile the details beyond the scope of getFingerprint (row, columns, @@ -717,8 +726,11 @@ public setTimeStamp -publicGetsetTimeStamp(longtimestamp) - throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +publicGetsetTimeStamp(longtimestamp) + throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0. + Use setTimestamp(long) instead Get versions of columns with the specified timestamp. Parameters: @@ -730,13 +742,29 @@ public + + + + + +setTimestamp +publicGetsetTimestamp(longtimestamp) +Get versions of columns with the specified timestamp. + +Parameters: +timestamp - version timestamp +Returns: +this for invocation chaining + + + setColumnFamilyTimeRange -publicGetsetColumnFamilyTimeRange(byte[]cf, +publicGetsetColumnFamilyTimeRange(byte[]cf, longminStamp, longmaxStamp) Description copied from class:Query @@ -764,7 +792,7 @@ public setMaxVersions https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicGetsetMaxVersions() +publicGetsetMaxVersions() Deprecated.It is easy to misunderstand with column family's max versions, so use readAllVersions() instead. Get all available versions. @@ -781,7 +809,7 @@ public setMaxVersions https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicGetsetMaxVersions(intmaxVersions) +publicGetsetMaxVersions(intmaxVersions) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Deprecated.It is easy to misunderstand with column family's max versions, so use readVersions(int) instead. @@ -802,7 +830,7 @@ public readAllVersions -publicGetreadAllVersions() +publicGetreadAllVersions() Get all available versions. Returns: @@ -816,7 +844,7 @@ public readVersions -publicGetreadVersions(intversions) +publicGetreadVersions(intversions)
[46/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/class-use/CellScanner.html -- diff --git a/apidocs/org/apache/hadoop/hbase/class-use/CellScanner.html b/apidocs/org/apache/hadoop/hbase/class-use/CellScanner.html index d554bcd..6b2e30c 100644 --- a/apidocs/org/apache/hadoop/hbase/class-use/CellScanner.html +++ b/apidocs/org/apache/hadoop/hbase/class-use/CellScanner.html @@ -165,11 +165,11 @@ CellScanner -Result.cellScanner() +Mutation.cellScanner() CellScanner -Mutation.cellScanner() +Result.cellScanner() http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html -- diff --git a/apidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html b/apidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html index dc7059c..acb284d 100644 --- a/apidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html +++ b/apidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html @@ -201,11 +201,11 @@ the order they are declared. protected CompareOperator -CompareFilter.op +SingleColumnValueFilter.op protected CompareOperator -SingleColumnValueFilter.op +CompareFilter.op @@ -224,15 +224,15 @@ the order they are declared. CompareOperator -CompareFilter.getCompareOperator() +SingleColumnValueFilter.getCompareOperator() CompareOperator -ColumnValueFilter.getCompareOperator() +CompareFilter.getCompareOperator() CompareOperator -SingleColumnValueFilter.getCompareOperator() +ColumnValueFilter.getCompareOperator() http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/class-use/NamespaceDescriptor.html -- diff --git a/apidocs/org/apache/hadoop/hbase/class-use/NamespaceDescriptor.html b/apidocs/org/apache/hadoop/hbase/class-use/NamespaceDescriptor.html index 93f23b3..23c7ab8 100644 --- a/apidocs/org/apache/hadoop/hbase/class-use/NamespaceDescriptor.html +++ b/apidocs/org/apache/hadoop/hbase/class-use/NamespaceDescriptor.html @@ -212,14 +212,14 @@ -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void -AsyncAdmin.createNamespace(NamespaceDescriptordescriptor) +void +Admin.createNamespace(NamespaceDescriptordescriptor) Create a new namespace. -void -Admin.createNamespace(NamespaceDescriptordescriptor) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +AsyncAdmin.createNamespace(NamespaceDescriptordescriptor) Create a new namespace. @@ -230,14 +230,14 @@ -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void -AsyncAdmin.modifyNamespace(NamespaceDescriptordescriptor) +void +Admin.modifyNamespace(NamespaceDescriptordescriptor) Modify an existing namespace. -void -Admin.modifyNamespace(NamespaceDescriptordescriptor) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +AsyncAdmin.modifyNamespace(NamespaceDescriptordescriptor) Modify an existing namespace. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html -- diff --git a/apidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html b/apidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html index 0fb924e..42482fb 100644 --- a/apidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html +++ b/apidocs/org/apache/hadoop/hbase/class-use/RegionMetrics.html @@ -151,31 +151,31 @@ -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListRegionMetrics
[30/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html index 2f412f5..96c070a 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Mutation.html @@ -121,7 +121,7 @@ 113 protected Mutation(Mutation clone) { 114super(clone); 115this.row = clone.getRow(); -116this.ts = clone.getTimeStamp(); +116this.ts = clone.getTimestamp(); 117this.familyMap = clone.getFamilyCellMap().entrySet().stream() 118 .collect(Collectors.toMap(e - e.getKey(), e - new ArrayList(e.getValue()), 119(k, v) - { @@ -352,617 +352,629 @@ 344 /** 345 * Method for retrieving the timestamp 346 * @return timestamp -347 */ -348 public long getTimeStamp() { -349return this.ts; -350 } -351 -352 /** -353 * Marks that the clusters with the given clusterIds have consumed the mutation -354 * @param clusterIds of the clusters that have consumed the mutation -355 */ -356 public Mutation setClusterIds(ListUUID clusterIds) { -357ByteArrayDataOutput out = ByteStreams.newDataOutput(); -358out.writeInt(clusterIds.size()); -359for (UUID clusterId : clusterIds) { -360 out.writeLong(clusterId.getMostSignificantBits()); -361 out.writeLong(clusterId.getLeastSignificantBits()); -362} -363setAttribute(CONSUMED_CLUSTER_IDS, out.toByteArray()); -364return this; -365 } -366 -367 /** -368 * @return the set of clusterIds that have consumed the mutation -369 */ -370 public ListUUID getClusterIds() { -371ListUUID clusterIds = new ArrayList(); -372byte[] bytes = getAttribute(CONSUMED_CLUSTER_IDS); -373if(bytes != null) { -374 ByteArrayDataInput in = ByteStreams.newDataInput(bytes); -375 int numClusters = in.readInt(); -376 for(int i=0; inumClusters; i++){ -377clusterIds.add(new UUID(in.readLong(), in.readLong())); -378 } -379} -380return clusterIds; -381 } -382 -383 /** -384 * Sets the visibility expression associated with cells in this Mutation. -385 * @param expression -386 */ -387 public Mutation setCellVisibility(CellVisibility expression) { -388 this.setAttribute(VisibilityConstants.VISIBILITY_LABELS_ATTR_KEY, -389 toCellVisibility(expression).toByteArray()); -390return this; -391 } -392 -393 /** -394 * @return CellVisibility associated with cells in this Mutation. -395 * @throws DeserializationException -396 */ -397 public CellVisibility getCellVisibility() throws DeserializationException { -398byte[] cellVisibilityBytes = this.getAttribute(VisibilityConstants.VISIBILITY_LABELS_ATTR_KEY); -399if (cellVisibilityBytes == null) return null; -400return toCellVisibility(cellVisibilityBytes); -401 } -402 -403 /** -404 * Create a protocol buffer CellVisibility based on a client CellVisibility. -405 * -406 * @param cellVisibility -407 * @return a protocol buffer CellVisibility +347 * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0. +348 * Use {@link #getTimestamp()} instead +349 */ +350 @Deprecated +351 public long getTimeStamp() { +352return this.getTimestamp(); +353 } +354 +355 /** +356 * Method for retrieving the timestamp. +357 * +358 * @return timestamp +359 */ +360 public long getTimestamp() { +361return this.ts; +362 } +363 +364 /** +365 * Marks that the clusters with the given clusterIds have consumed the mutation +366 * @param clusterIds of the clusters that have consumed the mutation +367 */ +368 public Mutation setClusterIds(ListUUID clusterIds) { +369ByteArrayDataOutput out = ByteStreams.newDataOutput(); +370out.writeInt(clusterIds.size()); +371for (UUID clusterId : clusterIds) { +372 out.writeLong(clusterId.getMostSignificantBits()); +373 out.writeLong(clusterId.getLeastSignificantBits()); +374} +375setAttribute(CONSUMED_CLUSTER_IDS, out.toByteArray()); +376return this; +377 } +378 +379 /** +380 * @return the set of clusterIds that have consumed the mutation +381 */ +382 public ListUUID getClusterIds() { +383ListUUID clusterIds = new ArrayList(); +384byte[] bytes = getAttribute(CONSUMED_CLUSTER_IDS); +385if(bytes != null) { +386 ByteArrayDataInput in = ByteStreams.newDataInput(bytes); +387 int numClusters = in.readInt(); +388 for(int i=0; inumClusters; i++){ +389clusterIds.add(new UUID(in.readLong(), in.readLong())); +390 } +391} +392return clusterIds; +393 } +394 +395 /** +396 * Sets the visibility expression associated with cells in this Mutation. +397 * @param expression +398 */ +399 public
[38/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/class-use/Row.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/class-use/Row.html b/apidocs/org/apache/hadoop/hbase/client/class-use/Row.html index d7189fd..a30f78b 100644 --- a/apidocs/org/apache/hadoop/hbase/client/class-use/Row.html +++ b/apidocs/org/apache/hadoop/hbase/client/class-use/Row.html @@ -192,29 +192,29 @@ int -Get.compareTo(Rowother) - - -int -Mutation.compareTo(Rowd) +RowMutations.compareTo(Rowi) Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. Use COMPARATOR instead - + int -RowMutations.compareTo(Rowi) +Row.compareTo(Rowvar1) Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. Use COMPARATOR instead + +int +Get.compareTo(Rowother) + int -Row.compareTo(Rowvar1) +Mutation.compareTo(Rowd) Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. Use COMPARATOR instead http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/class-use/RowMutations.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/class-use/RowMutations.html b/apidocs/org/apache/hadoop/hbase/client/class-use/RowMutations.html index fda7098..0d96574 100644 --- a/apidocs/org/apache/hadoop/hbase/client/class-use/RowMutations.html +++ b/apidocs/org/apache/hadoop/hbase/client/class-use/RowMutations.html @@ -162,14 +162,14 @@ -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void -AsyncTable.mutateRow(RowMutationsmutation) +void +Table.mutateRow(RowMutationsrm) Performs multiple mutations atomically on a single row. -void -Table.mutateRow(RowMutationsrm) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +AsyncTable.mutateRow(RowMutationsmutation) Performs multiple mutations atomically on a single row. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/class-use/Scan.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/class-use/Scan.html b/apidocs/org/apache/hadoop/hbase/client/class-use/Scan.html index d99d738..14f5be1 100644 --- a/apidocs/org/apache/hadoop/hbase/client/class-use/Scan.html +++ b/apidocs/org/apache/hadoop/hbase/client/class-use/Scan.html @@ -365,30 +365,39 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. Scan -Scan.setTimeStamp(longtimestamp) +Scan.setTimestamp(longtimestamp) Get versions of columns with the specified timestamp. Scan +Scan.setTimeStamp(longtimestamp) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use setTimestamp(long) instead + + + + +Scan Scan.withStartRow(byte[]startRow) Set the start row of the scan. - + Scan Scan.withStartRow(byte[]startRow, booleaninclusive) Set the start row of the scan. - + Scan Scan.withStopRow(byte[]stopRow) Set the stop row of the scan. - + Scan Scan.withStopRow(byte[]stopRow, booleaninclusive) @@ -406,15 +415,15 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. ResultScanner -AsyncTable.getScanner(Scanscan) -Returns a scanner on the current table as specified by the Scan object. +Table.getScanner(Scanscan) +Returns a scanner on the current table as specified by the Scan + object. ResultScanner -Table.getScanner(Scanscan) -Returns a scanner on the current table as specified by the Scan - object. +AsyncTable.getScanner(Scanscan) +Returns a scanner on the current table as specified by the Scan object. @@ -508,14 +517,14 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. Scan -TableSplit.getScan() -Returns a Scan object from the stored string representation. +TableInputFormatBase.getScan() +Gets the scan defining the actual details like columns etc. Scan -TableInputFormatBase.getScan() -Gets the scan defining the actual details like columns etc. +TableSplit.getScan() +Returns a Scan object from the stored string representation. @@ -701,13 +710,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. void -TableRecordReader.setScan(Scanscan)
[22/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/coc.html -- diff --git a/coc.html b/coc.html index aaf03f7..52a3905 100644 --- a/coc.html +++ b/coc.html @@ -7,7 +7,7 @@ - + Apache HBase Code of Conduct Policy @@ -368,7 +368,7 @@ email to mailto:priv...@hbase.apache.org;>the priv https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2018-03-23 + Last Published: 2018-03-24 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/cygwin.html -- diff --git a/cygwin.html b/cygwin.html index b5d7f9e..e574437 100644 --- a/cygwin.html +++ b/cygwin.html @@ -7,7 +7,7 @@ - + Apache HBase Installing Apache HBase (TM) on Windows using Cygwin @@ -667,7 +667,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: 2018-03-23 + Last Published: 2018-03-24 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/dependencies.html -- diff --git a/dependencies.html b/dependencies.html index 8ab035e..732793a 100644 --- a/dependencies.html +++ b/dependencies.html @@ -7,7 +7,7 @@ - + Apache HBase Project Dependencies @@ -433,7 +433,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2018-03-23 + Last Published: 2018-03-24 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/dependency-convergence.html -- diff --git a/dependency-convergence.html b/dependency-convergence.html index 5aceb48..b546d2b 100644 --- a/dependency-convergence.html +++ b/dependency-convergence.html @@ -7,7 +7,7 @@ - + Apache HBase Reactor Dependency Convergence @@ -1098,7 +1098,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2018-03-23 + Last Published: 2018-03-24 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/dependency-info.html -- diff --git a/dependency-info.html b/dependency-info.html index cb25d48..4ab2659 100644 --- a/dependency-info.html +++ b/dependency-info.html @@ -7,7 +7,7 @@ - + Apache HBase Dependency Information @@ -306,7 +306,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2018-03-23 + Last Published: 2018-03-24 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/dependency-management.html -- diff --git a/dependency-management.html b/dependency-management.html index 65eb514..07dd936 100644 --- a/dependency-management.html +++ b/dependency-management.html @@ -7,7 +7,7 @@ - + Apache HBase Project Dependency Management @@ -974,7 +974,7 @@ https://www.apache.org/;>The Apache Software Foundation. All rights reserved. - Last Published: 2018-03-23 + Last Published: 2018-03-24 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/constant-values.html -- diff --git a/devapidocs/constant-values.html b/devapidocs/constant-values.html index 60d91aa..8a3e7f5 100644 --- a/devapidocs/constant-values.html +++ b/devapidocs/constant-values.html @@ -3740,28 +3740,28 @@ publicstaticfinalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String date -"Fri Mar 23 14:41:35 UTC 2018" +"Sat Mar 24 15:05:23 UTC 2018" publicstaticfinalhttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String
[42/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/Put.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/Put.html b/apidocs/org/apache/hadoop/hbase/client/Put.html index 94715b4..b5880eb 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Put.html +++ b/apidocs/org/apache/hadoop/hbase/client/Put.html @@ -392,7 +392,7 @@ implements org.apache.hadoop.hbase.io.HeapSize Methods inherited from classorg.apache.hadoop.hbase.client.Mutation -cellScanner, compareTo, extraHeapSize, get, getACL, getCellVisibility, getClusterIds, getDurability, getFamilyCellMap, getFingerprint, getRow, getTimeStamp, getTTL, has, has, has, has, has, heapSize, isEmpty, numFamilies, size, toMap +cellScanner, compareTo, extraHeapSize, get, getACL, getCellVisibility, getClusterIds, getDurability, getFamilyCellMap, getFingerprint, getRow, getTimestamp, getTimeStamp, getTTL, has, has, has, has, has, heapSize, isEmpty, numFamilies, size, toMap http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/RequestController.ReturnCode.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/RequestController.ReturnCode.html b/apidocs/org/apache/hadoop/hbase/client/RequestController.ReturnCode.html index 5b91331..b6f11c0 100644 --- a/apidocs/org/apache/hadoop/hbase/client/RequestController.ReturnCode.html +++ b/apidocs/org/apache/hadoop/hbase/client/RequestController.ReturnCode.html @@ -258,7 +258,7 @@ the order they are declared. values -public staticRequestController.ReturnCode[]values() +public staticRequestController.ReturnCode[]values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: @@ -278,7 +278,7 @@ for (RequestController.ReturnCode c : RequestController.ReturnCode.values()) valueOf -public staticRequestController.ReturnCodevalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) +public staticRequestController.ReturnCodevalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/Scan.ReadType.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/Scan.ReadType.html b/apidocs/org/apache/hadoop/hbase/client/Scan.ReadType.html index 9135740..37e3cb0 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Scan.ReadType.html +++ b/apidocs/org/apache/hadoop/hbase/client/Scan.ReadType.html @@ -123,7 +123,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public static enum Scan.ReadType +public static enum Scan.ReadType extends https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumScan.ReadType @@ -214,7 +214,7 @@ the order they are declared. DEFAULT -public static finalScan.ReadType DEFAULT +public static finalScan.ReadType DEFAULT @@ -223,7 +223,7 @@ the order they are declared. STREAM -public static finalScan.ReadType STREAM +public static finalScan.ReadType STREAM @@ -232,7 +232,7 @@ the order they are declared. PREAD -public static finalScan.ReadType PREAD +public static finalScan.ReadType PREAD @@ -249,7 +249,7 @@ the order they are declared. values -public staticScan.ReadType[]values() +public staticScan.ReadType[]values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: @@ -269,7 +269,7 @@ for (Scan.ReadType c : Scan.ReadType.values()) valueOf -public staticScan.ReadTypevalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) +public staticScan.ReadTypevalueOf(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">Stringname) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are
[03/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/Scan.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/Scan.html b/devapidocs/org/apache/hadoop/hbase/client/Scan.html index c1f1d24..55bfe4f 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/Scan.html +++ b/devapidocs/org/apache/hadoop/hbase/client/Scan.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"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":10,"i19":42,"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":42,"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":42,"i58":42,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":42,"i71":42,"i72":42,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"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":10,"i19":42,"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":42,"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":42,"i58":42,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":42,"i71":42,"i72":42,"i73":10,"i74":10,"i75":42,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -151,7 +151,7 @@ extends setTimeRange. - To only retrieve columns with a specific timestamp, call setTimestamp + To only retrieve columns with a specific timestamp, call setTimestamp . To limit the number of versions of each column to be returned, call setMaxVersions. @@ -861,37 +861,46 @@ extends Scan -setTimeStamp(longtimestamp) +setTimestamp(longtimestamp) Get versions of columns with the specified timestamp. +Scan +setTimeStamp(longtimestamp) +Deprecated. +As of release 2.0.0, this will be removed in HBase 3.0.0. + Use setTimestamp(long) instead + + + + https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">Maphttps://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">String,https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object toMap(intmaxCols) Compile the details beyond the scope of getFingerprint (row, columns, timestamps, etc.) into a Map along with the fingerprinted information. - + Scan withStartRow(byte[]startRow) Set the start row of the scan. - + Scan withStartRow(byte[]startRow, booleaninclusive) Set the start row of the scan. - + Scan withStopRow(byte[]stopRow) Set the stop row of the scan. - + Scan withStopRow(byte[]stopRow, booleaninclusive) @@ -1436,8 +1445,11 @@ public setTimeStamp -publicScansetTimeStamp(longtimestamp) - throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated +publicScansetTimeStamp(longtimestamp) + throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException +Deprecated.As of release 2.0.0, this will be removed in HBase 3.0.0. + Use setTimestamp(long) instead Get versions of columns with the specified timestamp. Note, default maximum versions to return is 1. If your time range spans more than one version and you want all versions returned, up the number of versions beyond the @@ -1455,13 +1467,35 @@ public + + + + +setTimestamp +publicScansetTimestamp(longtimestamp) +Get versions of columns with the specified timestamp. Note, default maximum + versions to return is 1. If your time range spans more than one version + and you want all versions returned, up the number of versions beyond the + defaut. + +Parameters: +timestamp - version timestamp +Returns: +this
[26/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html b/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html index ecc21f4..54d784d 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/filter/TimestampsFilter.html @@ -45,207 +45,208 @@ 037 * p 038 * Note: Use of this filter overrides any time range/time stamp 039 * options specified using {@link org.apache.hadoop.hbase.client.Get#setTimeRange(long, long)}, -040 * {@link org.apache.hadoop.hbase.client.Scan#setTimeRange(long, long)}, {@link org.apache.hadoop.hbase.client.Get#setTimeStamp(long)}, -041 * or {@link org.apache.hadoop.hbase.client.Scan#setTimeStamp(long)}. -042 */ -043@InterfaceAudience.Public -044public class TimestampsFilter extends FilterBase { -045 -046 private final boolean canHint; -047 TreeSetLong timestamps; -048 private static final int MAX_LOG_TIMESTAMPS = 5; -049 -050 // Used during scans to hint the scan to stop early -051 // once the timestamps fall below the minTimeStamp. -052 long minTimeStamp = Long.MAX_VALUE; -053 -054 /** -055 * Constructor for filter that retains only the specified timestamps in the list. -056 * @param timestamps -057 */ -058 public TimestampsFilter(ListLong timestamps) { -059this(timestamps, false); -060 } -061 -062 /** -063 * Constructor for filter that retains only those -064 * cells whose timestamp (version) is in the specified -065 * list of timestamps. -066 * -067 * @param timestamps list of timestamps that are wanted. -068 * @param canHint should the filter provide a seek hint? This can skip -069 *past delete tombstones, so it should only be used when that -070 *is not an issue ( no deletes, or don't care if data -071 *becomes visible) -072 */ -073 public TimestampsFilter(ListLong timestamps, boolean canHint) { -074for (Long timestamp : timestamps) { -075 Preconditions.checkArgument(timestamp = 0, "must be positive %s", timestamp); -076} -077this.canHint = canHint; -078this.timestamps = new TreeSet(timestamps); -079init(); -080 } -081 -082 /** -083 * @return the list of timestamps -084 */ -085 public ListLong getTimestamps() { -086ListLong list = new ArrayList(timestamps.size()); -087list.addAll(timestamps); -088return list; -089 } -090 -091 private void init() { -092if (this.timestamps.size() 0) { -093 minTimeStamp = this.timestamps.first(); -094} -095 } -096 -097 /** -098 * Gets the minimum timestamp requested by filter. -099 * @return minimum timestamp requested by filter. -100 */ -101 public long getMin() { -102return minTimeStamp; -103 } -104 -105 @Override -106 public boolean filterRowKey(Cell cell) throws IOException { -107// Impl in FilterBase might do unnecessary copy for Off heap backed Cells. -108return false; -109 } -110 -111 @Deprecated -112 @Override -113 public ReturnCode filterKeyValue(final Cell c) { -114return filterCell(c); -115 } -116 -117 @Override -118 public ReturnCode filterCell(final Cell c) { -119if (this.timestamps.contains(c.getTimestamp())) { -120 return ReturnCode.INCLUDE; -121} else if (c.getTimestamp() minTimeStamp) { -122 // The remaining versions of this column are guaranteed -123 // to be lesser than all of the other values. -124 return ReturnCode.NEXT_COL; -125} -126return canHint ? ReturnCode.SEEK_NEXT_USING_HINT : ReturnCode.SKIP; -127 } -128 +040 * {@link org.apache.hadoop.hbase.client.Scan#setTimeRange(long, long)}, +041 * {@link org.apache.hadoop.hbase.client.Get#setTimestamp(long)}, +042 * or {@link org.apache.hadoop.hbase.client.Scan#setTimestamp(long)}. +043 */ +044@InterfaceAudience.Public +045public class TimestampsFilter extends FilterBase { +046 +047 private final boolean canHint; +048 TreeSetLong timestamps; +049 private static final int MAX_LOG_TIMESTAMPS = 5; +050 +051 // Used during scans to hint the scan to stop early +052 // once the timestamps fall below the minTimestamp. +053 long minTimestamp = Long.MAX_VALUE; +054 +055 /** +056 * Constructor for filter that retains only the specified timestamps in the list. +057 * @param timestamps +058 */ +059 public TimestampsFilter(ListLong timestamps) { +060this(timestamps, false); +061 } +062 +063 /** +064 * Constructor for filter that retains only those +065 * cells whose timestamp (version) is in the specified +066 * list of timestamps. +067 * +068 * @param timestamps list of timestamps that are wanted. +069 * @param canHint should the filter provide a seek hint? This can skip +070
[35/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaFilter.html -- diff --git a/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaFilter.html b/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaFilter.html index 0354123..58b5421 100644 --- a/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaFilter.html +++ b/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaFilter.html @@ -109,14 +109,14 @@ -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListQuotaSettings -AsyncAdmin.getQuota(QuotaFilterfilter) +https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListQuotaSettings +Admin.getQuota(QuotaFilterfilter) List the quotas based on the filter. -https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListQuotaSettings -Admin.getQuota(QuotaFilterfilter) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListQuotaSettings +AsyncAdmin.getQuota(QuotaFilterfilter) List the quotas based on the filter. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaSettings.html -- diff --git a/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaSettings.html b/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaSettings.html index 2c5cc56..b0b3924 100644 --- a/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaSettings.html +++ b/apidocs/org/apache/hadoop/hbase/quotas/class-use/QuotaSettings.html @@ -109,14 +109,14 @@ -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListQuotaSettings -AsyncAdmin.getQuota(QuotaFilterfilter) +https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListQuotaSettings +Admin.getQuota(QuotaFilterfilter) List the quotas based on the filter. -https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListQuotaSettings -Admin.getQuota(QuotaFilterfilter) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListQuotaSettings +AsyncAdmin.getQuota(QuotaFilterfilter) List the quotas based on the filter. @@ -130,14 +130,14 @@ -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void -AsyncAdmin.setQuota(QuotaSettingsquota) +void +Admin.setQuota(QuotaSettingsquota) Apply the new quota settings. -void -Admin.setQuota(QuotaSettingsquota) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +AsyncAdmin.setQuota(QuotaSettingsquota) Apply the new quota settings. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/quotas/package-tree.html -- diff --git a/apidocs/org/apache/hadoop/hbase/quotas/package-tree.html b/apidocs/org/apache/hadoop/hbase/quotas/package-tree.html index d10aaf1..57a5a25 100644 --- a/apidocs/org/apache/hadoop/hbase/quotas/package-tree.html +++ b/apidocs/org/apache/hadoop/hbase/quotas/package-tree.html @@ -121,9 +121,9 @@ java.lang.https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true; title="class or interface in java.lang">EnumE (implements
[05/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.CheckAndMutateBuilderImpl.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.CheckAndMutateBuilderImpl.html b/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.CheckAndMutateBuilderImpl.html index 3adb320..9f01018 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.CheckAndMutateBuilderImpl.html +++ b/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.CheckAndMutateBuilderImpl.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; -private final class RawAsyncTableImpl.CheckAndMutateBuilderImpl +private final class RawAsyncTableImpl.CheckAndMutateBuilderImpl extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements AsyncTable.CheckAndMutateBuilder @@ -155,6 +155,10 @@ implements row +private TimeRange +timeRange + + private byte[] value @@ -222,6 +226,10 @@ implements https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">Boolean thenPut(Putput) + +AsyncTable.CheckAndMutateBuilder +timeRange(TimeRangetimeRange) + @@ -257,7 +265,7 @@ implements row -private finalbyte[] row +private finalbyte[] row @@ -266,7 +274,7 @@ implements family -private finalbyte[] family +private finalbyte[] family @@ -275,7 +283,16 @@ implements qualifier -privatebyte[] qualifier +privatebyte[] qualifier + + + + + + + +timeRange +privateTimeRange timeRange @@ -284,7 +301,7 @@ implements op -privateCompareOperator op +privateCompareOperator op @@ -293,7 +310,7 @@ implements value -privatebyte[] value +privatebyte[] value @@ -310,7 +327,7 @@ implements CheckAndMutateBuilderImpl -publicCheckAndMutateBuilderImpl(byte[]row, +publicCheckAndMutateBuilderImpl(byte[]row, byte[]family) @@ -328,7 +345,7 @@ implements qualifier -publicAsyncTable.CheckAndMutateBuilderqualifier(byte[]qualifier) +publicAsyncTable.CheckAndMutateBuilderqualifier(byte[]qualifier) Specified by: qualifierin interfaceAsyncTable.CheckAndMutateBuilder @@ -337,13 +354,28 @@ implements + + + + +timeRange +publicAsyncTable.CheckAndMutateBuildertimeRange(TimeRangetimeRange) + +Specified by: +timeRangein interfaceAsyncTable.CheckAndMutateBuilder +Parameters: +timeRange - time range to check. + + + ifNotExists -publicAsyncTable.CheckAndMutateBuilderifNotExists() +publicAsyncTable.CheckAndMutateBuilderifNotExists() Description copied from interface:AsyncTable.CheckAndMutateBuilder Check for lack of column. @@ -358,7 +390,7 @@ implements ifMatches -publicAsyncTable.CheckAndMutateBuilderifMatches(CompareOperatorcompareOp, +publicAsyncTable.CheckAndMutateBuilderifMatches(CompareOperatorcompareOp, byte[]value) Specified by: @@ -375,7 +407,7 @@ implements preCheck -privatevoidpreCheck() +privatevoidpreCheck() @@ -384,7 +416,7 @@ implements thenPut -publichttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">BooleanthenPut(Putput) +publichttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">BooleanthenPut(Putput) Specified by: thenPutin interfaceAsyncTable.CheckAndMutateBuilder @@ -402,7 +434,7 @@ implements thenDelete -publichttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true; title="class or interface in java.lang">BooleanthenDelete(Deletedelete)
[28/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.html index 935839d..64dfea4 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.html @@ -67,7 +67,7 @@ 059 * To only retrieve columns within a specific range of version timestamps, call 060 * {@link #setTimeRange(long, long) setTimeRange}. 061 * p -062 * To only retrieve columns with a specific timestamp, call {@link #setTimeStamp(long) setTimestamp} +062 * To only retrieve columns with a specific timestamp, call {@link #setTimestamp(long) setTimestamp} 063 * . 064 * p 065 * To limit the number of versions of each column to be returned, call {@link #setMaxVersions(int) @@ -149,7 +149,7 @@ 141 private long maxResultSize = -1; 142 private boolean cacheBlocks = true; 143 private boolean reversed = false; -144 private TimeRange tr = new TimeRange(); +144 private TimeRange tr = TimeRange.allTime(); 145 private Mapbyte [], NavigableSetbyte [] familyMap = 146new TreeMapbyte [], NavigableSetbyte [](Bytes.BYTES_COMPARATOR); 147 private Boolean asyncPrefetch = null; @@ -384,869 +384,887 @@ 376 * @see #setMaxVersions() 377 * @see #setMaxVersions(int) 378 * @return this -379 */ -380 public Scan setTimeStamp(long timestamp) -381 throws IOException { -382try { -383 tr = new TimeRange(timestamp, timestamp+1); -384} catch(Exception e) { -385 // This should never happen, unless integer overflow or something extremely wrong... -386 LOG.error("TimeRange failed, likely caused by integer overflow. ", e); -387 throw e; -388} -389return this; -390 } -391 -392 @Override public Scan setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) { -393return (Scan) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp); -394 } -395 -396 /** -397 * Set the start row of the scan. -398 * p -399 * If the specified row does not exist, the Scanner will start from the next closest row after the -400 * specified row. -401 * @param startRow row to start scanner at or after -402 * @return this -403 * @throws IllegalArgumentException if startRow does not meet criteria for a row key (when length -404 * exceeds {@link HConstants#MAX_ROW_LENGTH}) -405 * @deprecated use {@link #withStartRow(byte[])} instead. This method may change the inclusive of -406 * the stop row to keep compatible with the old behavior. -407 */ -408 @Deprecated -409 public Scan setStartRow(byte[] startRow) { -410withStartRow(startRow); -411if (ClientUtil.areScanStartRowAndStopRowEqual(this.startRow, this.stopRow)) { -412 // for keeping the old behavior that a scan with the same start and stop row is a get scan. -413 this.includeStopRow = true; -414} -415return this; -416 } -417 -418 /** -419 * Set the start row of the scan. -420 * p -421 * If the specified row does not exist, the Scanner will start from the next closest row after the -422 * specified row. -423 * @param startRow row to start scanner at or after -424 * @return this -425 * @throws IllegalArgumentException if startRow does not meet criteria for a row key (when length -426 * exceeds {@link HConstants#MAX_ROW_LENGTH}) -427 */ -428 public Scan withStartRow(byte[] startRow) { -429return withStartRow(startRow, true); -430 } -431 -432 /** -433 * Set the start row of the scan. -434 * p -435 * If the specified row does not exist, or the {@code inclusive} is {@code false}, the Scanner -436 * will start from the next closest row after the specified row. -437 * @param startRow row to start scanner at or after -438 * @param inclusive whether we should include the start row when scan -439 * @return this -440 * @throws IllegalArgumentException if startRow does not meet criteria for a row key (when length -441 * exceeds {@link HConstants#MAX_ROW_LENGTH}) -442 */ -443 public Scan withStartRow(byte[] startRow, boolean inclusive) { -444if (Bytes.len(startRow) HConstants.MAX_ROW_LENGTH) { -445 throw new IllegalArgumentException("startRow's length must be less than or equal to " -446 + HConstants.MAX_ROW_LENGTH + " to meet the criteria" + " for a row key."); -447} -448this.startRow = startRow; -449this.includeStartRow = inclusive; -450return this; -451 } -452 -453 /** -454 * Set the stop row of the scan. -455 * p -456 * The scan will include rows that are lexicographically less than the provided stopRow. -457 * p -458 * bNote:/b When doing a filter for a rowKey uPrefix/u use -459 * {@link #setRowPrefixFilter(byte[])}. The 'trailing
[04/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.html b/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.html index a74a6ca..48004c8 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.html +++ b/devapidocs/org/apache/hadoop/hbase/client/RawAsyncTableImpl.html @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -class RawAsyncTableImpl +class RawAsyncTableImpl extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements AsyncTableAdvancedScanResultConsumer The implementation of RawAsyncTable. @@ -552,7 +552,7 @@ implements conn -private finalAsyncConnectionImpl conn +private finalAsyncConnectionImpl conn @@ -561,7 +561,7 @@ implements tableName -private finalTableName tableName +private finalTableName tableName @@ -570,7 +570,7 @@ implements defaultScannerCaching -private finalint defaultScannerCaching +private finalint defaultScannerCaching @@ -579,7 +579,7 @@ implements defaultScannerMaxResultSize -private finallong defaultScannerMaxResultSize +private finallong defaultScannerMaxResultSize @@ -588,7 +588,7 @@ implements rpcTimeoutNs -private finallong rpcTimeoutNs +private finallong rpcTimeoutNs @@ -597,7 +597,7 @@ implements readRpcTimeoutNs -private finallong readRpcTimeoutNs +private finallong readRpcTimeoutNs @@ -606,7 +606,7 @@ implements writeRpcTimeoutNs -private finallong writeRpcTimeoutNs +private finallong writeRpcTimeoutNs @@ -615,7 +615,7 @@ implements operationTimeoutNs -private finallong operationTimeoutNs +private finallong operationTimeoutNs @@ -624,7 +624,7 @@ implements scanTimeoutNs -private finallong scanTimeoutNs +private finallong scanTimeoutNs @@ -633,7 +633,7 @@ implements pauseNs -private finallong pauseNs +private finallong pauseNs @@ -642,7 +642,7 @@ implements maxAttempts -private finalint maxAttempts +private finalint maxAttempts @@ -651,7 +651,7 @@ implements startLogErrorsCnt -private finalint startLogErrorsCnt +private finalint startLogErrorsCnt @@ -668,7 +668,7 @@ implements RawAsyncTableImpl -RawAsyncTableImpl(AsyncConnectionImplconn, +RawAsyncTableImpl(AsyncConnectionImplconn, AsyncTableBuilderBase?builder) @@ -686,7 +686,7 @@ implements getName -publicTableNamegetName() +publicTableNamegetName() Description copied from interface:AsyncTable Gets the fully qualified table name instance of this table. @@ -701,7 +701,7 @@ implements getConfiguration -publicorg.apache.hadoop.conf.ConfigurationgetConfiguration() +publicorg.apache.hadoop.conf.ConfigurationgetConfiguration() Description copied from interface:AsyncTable Returns the Configuration object used by this instance. @@ -720,7 +720,7 @@ implements call -private staticREQ,PREQ,PRESP,RESPhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureRESPcall(HBaseRpcControllercontroller, +private staticREQ,PREQ,PRESP,RESPhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureRESPcall(HBaseRpcControllercontroller, HRegionLocationloc, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interfacestub, REQreq, @@ -737,7 +737,7 @@ implements mutate -private staticREQ,RESPhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureRESPmutate(HBaseRpcControllercontroller, +private staticREQ,RESPhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureRESPmutate(HBaseRpcControllercontroller, HRegionLocationloc, org.apache.hadoop.hbase.shaded.protobuf.generated.ClientProtos.ClientService.Interfacestub, REQreq, @@ -753,7 +753,7 @@ implements voidMutate -private staticREQhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in
[12/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html b/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html index d4296e6..d91cb65 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/TableName.html @@ -363,14 +363,14 @@ service. private TableName -MetaTableAccessor.TableVisitorBase.tableName - - -private TableName HRegionInfo.tableName Deprecated. + +private TableName +MetaTableAccessor.TableVisitorBase.tableName + @@ -2065,59 +2065,51 @@ service. private TableName -HRegionLocator.tableName +AsyncClientScanner.tableName -private TableName -ScannerCallableWithReplicas.tableName - - protected TableName -ClientScanner.tableName - - -private TableName -AsyncClientScanner.tableName +RpcRetryingCallerWithReadReplicas.tableName private TableName -AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder.tableName +AsyncProcessTask.tableName private TableName -AsyncRpcRetryingCallerFactory.BatchCallerBuilder.tableName +AsyncProcessTask.Builder.tableName private TableName -RegionInfoBuilder.tableName +RegionServerCallable.tableName private TableName -RegionInfoBuilder.MutableRegionInfo.tableName +AsyncSingleRequestRpcRetryingCaller.tableName -private TableName -RawAsyncTableImpl.tableName +protected TableName +RawAsyncHBaseAdmin.TableProcedureBiConsumer.tableName private TableName -RegionCoprocessorRpcChannelImpl.tableName +TableState.tableName -private TableName -AsyncTableRegionLocatorImpl.tableName +protected TableName +TableBuilderBase.tableName protected TableName -RegionAdminServiceCallable.tableName +ClientScanner.tableName -private TableName -HTable.tableName +protected TableName +RegionAdminServiceCallable.tableName private TableName -BufferedMutatorImpl.tableName +HTable.tableName private TableName @@ -2129,47 +2121,55 @@ service. private TableName -HBaseAdmin.TableFuture.tableName +AsyncTableRegionLocatorImpl.tableName private TableName -AsyncRequestFutureImpl.tableName +HRegionLocator.tableName private TableName -AsyncProcessTask.tableName +BufferedMutatorImpl.tableName private TableName -AsyncProcessTask.Builder.tableName +RawAsyncTableImpl.tableName protected TableName -RawAsyncHBaseAdmin.TableProcedureBiConsumer.tableName +AsyncTableBuilderBase.tableName private TableName -RegionServerCallable.tableName +RegionCoprocessorRpcChannelImpl.tableName private TableName -AsyncSingleRequestRpcRetryingCaller.tableName +ScannerCallableWithReplicas.tableName -protected TableName -TableBuilderBase.tableName +private TableName +HBaseAdmin.TableFuture.tableName -protected TableName -RpcRetryingCallerWithReadReplicas.tableName +private TableName +AsyncRpcRetryingCallerFactory.SingleRequestCallerBuilder.tableName -protected TableName -AsyncTableBuilderBase.tableName +private TableName +AsyncRpcRetryingCallerFactory.BatchCallerBuilder.tableName private TableName -TableState.tableName +RegionInfoBuilder.tableName + + +private TableName +RegionInfoBuilder.MutableRegionInfo.tableName + + +private TableName +AsyncRequestFutureImpl.tableName @@ -2211,9 +2211,7 @@ service. TableName -AsyncTable.getName() -Gets the fully qualified table name instance of this table. - +AsyncTableImpl.getName() TableName @@ -2223,21 +2221,26 @@ service. TableName -HRegionLocator.getName() +BufferedMutator.getName() +Gets the fully qualified table name instance of the table that this BufferedMutator writes to. + TableName -AsyncTableRegionLocator.getName() -Gets the fully qualified table name instance of the table whose region we want to locate. +AsyncBufferedMutator.getName() +Gets the fully qualified table name instance of the table that this + AsyncBufferedMutator writes to. TableName -AsyncTableImpl.getName() +HTable.getName() TableName -RawAsyncTableImpl.getName() +AsyncTable.getName() +Gets the fully qualified table name instance of this table. + TableName @@ -2245,34 +2248,31 @@ service. TableName -BufferedMutator.getName() -Gets the fully qualified table name instance of the table that this BufferedMutator writes to. - +HRegionLocator.getName() TableName -RegionLocator.getName() -Gets the fully qualified table name instance of this table. - +BufferedMutatorImpl.getName() TableName -AsyncBufferedMutatorImpl.getName() +RawAsyncTableImpl.getName() TableName -HTable.getName() +RegionLocator.getName() +Gets the fully qualified table name instance of this table. + TableName -BufferedMutatorImpl.getName() +AsyncTableRegionLocator.getName() +Gets the fully qualified table name instance of the table whose region we want to locate. + TableName
[33/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html index 9bf7a7c..8103475 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html @@ -30,601 +30,605 @@ 022import static org.apache.hadoop.hbase.client.ConnectionUtils.toCheckExistenceOnly; 023 024import com.google.protobuf.RpcChannel; -025 -026import java.util.List; -027import java.util.concurrent.CompletableFuture; -028import java.util.concurrent.TimeUnit; -029import java.util.function.Function; -030 -031import org.apache.hadoop.conf.Configuration; -032import org.apache.hadoop.hbase.CompareOperator; -033import org.apache.hadoop.hbase.TableName; -034import org.apache.hadoop.hbase.util.Bytes; -035import org.apache.yetus.audience.InterfaceAudience; -036 -037import org.apache.hbase.thirdparty.com.google.common.base.Preconditions; -038 -039/** -040 * The interface for asynchronous version of Table. Obtain an instance from a -041 * {@link AsyncConnection}. -042 * p -043 * The implementation is required to be thread safe. -044 * p -045 * Usually the implementation will not throw any exception directly. You need to get the exception -046 * from the returned {@link CompletableFuture}. -047 * @since 2.0.0 -048 */ -049@InterfaceAudience.Public -050public interface AsyncTableC extends ScanResultConsumerBase { -051 -052 /** -053 * Gets the fully qualified table name instance of this table. -054 */ -055 TableName getName(); -056 -057 /** -058 * Returns the {@link org.apache.hadoop.conf.Configuration} object used by this instance. -059 * p -060 * The reference returned is not a copy, so any change made to it will affect this instance. -061 */ -062 Configuration getConfiguration(); -063 -064 /** -065 * Get timeout of each rpc request in this Table instance. It will be overridden by a more -066 * specific rpc timeout config such as readRpcTimeout or writeRpcTimeout. -067 * @see #getReadRpcTimeout(TimeUnit) -068 * @see #getWriteRpcTimeout(TimeUnit) -069 * @param unit the unit of time the timeout to be represented in -070 * @return rpc timeout in the specified time unit -071 */ -072 long getRpcTimeout(TimeUnit unit); -073 -074 /** -075 * Get timeout of each rpc read request in this Table instance. -076 * @param unit the unit of time the timeout to be represented in -077 * @return read rpc timeout in the specified time unit -078 */ -079 long getReadRpcTimeout(TimeUnit unit); -080 -081 /** -082 * Get timeout of each rpc write request in this Table instance. -083 * @param unit the unit of time the timeout to be represented in -084 * @return write rpc timeout in the specified time unit -085 */ -086 long getWriteRpcTimeout(TimeUnit unit); -087 -088 /** -089 * Get timeout of each operation in Table instance. -090 * @param unit the unit of time the timeout to be represented in -091 * @return operation rpc timeout in the specified time unit -092 */ -093 long getOperationTimeout(TimeUnit unit); -094 -095 /** -096 * Get the timeout of a single operation in a scan. It works like operation timeout for other -097 * operations. -098 * @param unit the unit of time the timeout to be represented in -099 * @return scan rpc timeout in the specified time unit -100 */ -101 long getScanTimeout(TimeUnit unit); -102 -103 /** -104 * Test for the existence of columns in the table, as specified by the Get. -105 * p -106 * This will return true if the Get matches one or more keys, false if not. -107 * p -108 * This is a server-side call so it prevents any data from being transfered to the client. -109 * @return true if the specified Get matches one or more keys, false if not. The return value will -110 * be wrapped by a {@link CompletableFuture}. -111 */ -112 default CompletableFutureBoolean exists(Get get) { -113return get(toCheckExistenceOnly(get)).thenApply(r - r.getExists()); -114 } -115 -116 /** -117 * Extracts certain cells from a given row. -118 * @param get The object that specifies what data to fetch and from which row. -119 * @return The data coming from the specified row, if it exists. If the row specified doesn't -120 * exist, the {@link Result} instance returned won't contain any -121 * {@link org.apache.hadoop.hbase.KeyValue}, as indicated by {@link Result#isEmpty()}. The -122 * return value will be wrapped by a {@link CompletableFuture}. -123 */ -124 CompletableFutureResult get(Get get); -125 -126 /** -127 * Puts
[09/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/AsyncTableImpl.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/AsyncTableImpl.html b/devapidocs/org/apache/hadoop/hbase/client/AsyncTableImpl.html index 1643124..a0f8712 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/AsyncTableImpl.html +++ b/devapidocs/org/apache/hadoop/hbase/client/AsyncTableImpl.html @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private -class AsyncTableImpl +class AsyncTableImpl extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements AsyncTableScanResultConsumer Just a wrapper of RawAsyncTableImpl. The difference is that users need to provide a @@ -384,7 +384,7 @@ implements rawTable -private finalAsyncTableAdvancedScanResultConsumer rawTable +private finalAsyncTableAdvancedScanResultConsumer rawTable @@ -393,7 +393,7 @@ implements pool -private finalhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true; title="class or interface in java.util.concurrent">ExecutorService pool +private finalhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true; title="class or interface in java.util.concurrent">ExecutorService pool @@ -410,7 +410,7 @@ implements AsyncTableImpl -AsyncTableImpl(AsyncConnectionImplconn, +AsyncTableImpl(AsyncConnectionImplconn, AsyncTableAdvancedScanResultConsumerrawTable, https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true; title="class or interface in java.util.concurrent">ExecutorServicepool) @@ -429,7 +429,7 @@ implements getName -publicTableNamegetName() +publicTableNamegetName() Description copied from interface:AsyncTable Gets the fully qualified table name instance of this table. @@ -444,7 +444,7 @@ implements getConfiguration -publicorg.apache.hadoop.conf.ConfigurationgetConfiguration() +publicorg.apache.hadoop.conf.ConfigurationgetConfiguration() Description copied from interface:AsyncTable Returns the Configuration object used by this instance. @@ -461,7 +461,7 @@ implements getRpcTimeout -publiclonggetRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +publiclonggetRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Description copied from interface:AsyncTable Get timeout of each rpc request in this Table instance. It will be overridden by a more specific rpc timeout config such as readRpcTimeout or writeRpcTimeout. @@ -484,7 +484,7 @@ implements getReadRpcTimeout -publiclonggetReadRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +publiclonggetReadRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Description copied from interface:AsyncTable Get timeout of each rpc read request in this Table instance. @@ -503,7 +503,7 @@ implements getWriteRpcTimeout -publiclonggetWriteRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +publiclonggetWriteRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Description copied from interface:AsyncTable Get timeout of each rpc write request in this Table instance. @@ -522,7 +522,7 @@ implements getOperationTimeout -publiclonggetOperationTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +publiclonggetOperationTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Description copied from interface:AsyncTable Get timeout of each operation in Table instance. @@ -541,7 +541,7 @@ implements getScanTimeout -publiclonggetScanTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit)
[40/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/Table.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/Table.html b/apidocs/org/apache/hadoop/hbase/client/Table.html index db20dae..e2986bd 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Table.html +++ b/apidocs/org/apache/hadoop/hbase/client/Table.html @@ -110,7 +110,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public interface Table +public interface Table extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html?is-external=true; title="class or interface in java.io">Closeable Used to communicate with a single HBase table. Obtain an instance from a Connection and call close() afterwards. @@ -584,7 +584,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm getName -TableNamegetName() +TableNamegetName() Gets the fully qualified table name instance of this table. @@ -594,7 +594,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm getConfiguration -org.apache.hadoop.conf.ConfigurationgetConfiguration() +org.apache.hadoop.conf.ConfigurationgetConfiguration() Returns the Configuration object used by this instance. The reference returned is not a copy, so any change made to it will @@ -608,7 +608,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm getTableDescriptor https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -HTableDescriptorgetTableDescriptor() +HTableDescriptorgetTableDescriptor() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Deprecated.since 2.0 version and will be removed in 3.0 version. use getDescriptor() @@ -625,7 +625,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm getDescriptor -TableDescriptorgetDescriptor() +TableDescriptorgetDescriptor() throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Gets the table descriptor for this table. @@ -640,7 +640,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm exists -booleanexists(Getget) +booleanexists(Getget) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Test for the existence of columns in the table, as specified by the Get. @@ -666,7 +666,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm exists -boolean[]exists(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListGetgets) +boolean[]exists(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListGetgets) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Test for the existence of columns in the table, as specified by the Gets. @@ -694,7 +694,7 @@ extends https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.htm existsAll https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -defaultboolean[]existsAll(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListGetgets) +defaultboolean[]existsAll(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListGetgets) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Deprecated.since 2.0 version and will be removed in 3.0 version. use exists(List) @@ -719,7 +719,7 @@ defaultboolean[] batch -voidbatch(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">List? extends Rowactions, +voidbatch(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">List? extends Rowactions, https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object[]results) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException,
[06/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/Mutation.CellWrapper.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/Mutation.CellWrapper.html b/devapidocs/org/apache/hadoop/hbase/client/Mutation.CellWrapper.html index 4b5ac40..5cac61b 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/Mutation.CellWrapper.html +++ b/devapidocs/org/apache/hadoop/hbase/client/Mutation.CellWrapper.html @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; -private static final class Mutation.CellWrapper +private static final class Mutation.CellWrapper extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements ExtendedCell @@ -395,7 +395,7 @@ implements FIXED_OVERHEAD -private static finallong FIXED_OVERHEAD +private static finallong FIXED_OVERHEAD @@ -404,7 +404,7 @@ implements cell -private finalCell cell +private finalCell cell @@ -413,7 +413,7 @@ implements sequenceId -privatelong sequenceId +privatelong sequenceId @@ -422,7 +422,7 @@ implements timestamp -privatelong timestamp +privatelong timestamp @@ -439,7 +439,7 @@ implements CellWrapper -CellWrapper(Cellcell) +CellWrapper(Cellcell) @@ -456,7 +456,7 @@ implements setSequenceId -publicvoidsetSequenceId(longseqId) +publicvoidsetSequenceId(longseqId) Description copied from interface:ExtendedCell Sets with the given seqId. @@ -473,7 +473,7 @@ implements setTimestamp -publicvoidsetTimestamp(longts) +publicvoidsetTimestamp(longts) Description copied from interface:ExtendedCell Sets with the given timestamp. @@ -490,7 +490,7 @@ implements setTimestamp -publicvoidsetTimestamp(byte[]ts) +publicvoidsetTimestamp(byte[]ts) Description copied from interface:ExtendedCell Sets with the given timestamp. @@ -507,7 +507,7 @@ implements getSequenceId -publiclonggetSequenceId() +publiclonggetSequenceId() Description copied from interface:ExtendedCell A region-specific unique monotonically increasing sequence ID given to each Cell. It always exists for cells in the memstore but is not retained forever. It will be kept for @@ -529,7 +529,7 @@ implements getValueArray -publicbyte[]getValueArray() +publicbyte[]getValueArray() Description copied from interface:Cell Contiguous raw bytes that may start at any index in the containing array. Max length is Integer.MAX_VALUE which is 2,147,483,647 bytes. @@ -547,7 +547,7 @@ implements getValueOffset -publicintgetValueOffset() +publicintgetValueOffset() Specified by: getValueOffsetin interfaceCell @@ -562,7 +562,7 @@ implements getValueLength -publicintgetValueLength() +publicintgetValueLength() Specified by: getValueLengthin interfaceCell @@ -577,7 +577,7 @@ implements getTagsArray -publicbyte[]getTagsArray() +publicbyte[]getTagsArray() Description copied from interface:ExtendedCell Contiguous raw bytes representing tags that may start at any index in the containing array. @@ -596,7 +596,7 @@ implements getTagsOffset -publicintgetTagsOffset() +publicintgetTagsOffset() Specified by: getTagsOffsetin interfaceCell @@ -613,7 +613,7 @@ implements getTagsLength -publicintgetTagsLength() +publicintgetTagsLength() Description copied from interface:ExtendedCell HBase internally uses 2 bytes to store tags length in Cell. As the tags length is always a non-negative number, to make good use of the sign bit, the max of tags length is defined 2 * @@ -636,7 +636,7 @@ implements getRowArray -publicbyte[]getRowArray() +publicbyte[]getRowArray() Description copied from interface:Cell Contiguous raw bytes that may start at any index in the containing array. Max length is Short.MAX_VALUE which is 32,767 bytes. @@ -654,7 +654,7 @@ implements getRowOffset -publicintgetRowOffset() +publicintgetRowOffset() Specified by: getRowOffsetin interfaceCell @@ -669,7 +669,7 @@ implements getRowLength -publicshortgetRowLength() +publicshortgetRowLength() Specified by: getRowLengthin interfaceCell @@ -684,7 +684,7 @@ implements getFamilyArray -publicbyte[]getFamilyArray() +publicbyte[]getFamilyArray() Description copied from interface:Cell Contiguous bytes composed of legal HDFS filename characters which may start at any index in the containing array. Max length is Byte.MAX_VALUE, which is 127 bytes. @@ -702,7 +702,7 @@ implements getFamilyOffset -publicintgetFamilyOffset() +publicintgetFamilyOffset() Specified by: getFamilyOffsetin interfaceCell @@ -717,7 +717,7 @@ implements getFamilyLength -publicbytegetFamilyLength() +publicbytegetFamilyLength() Specified by: getFamilyLengthin interfaceCell @@ -732,7 +732,7 @@ implements getQualifierArray -publicbyte[]getQualifierArray() +publicbyte[]getQualifierArray() Description copied
[44/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/Append.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/Append.html b/apidocs/org/apache/hadoop/hbase/client/Append.html index b655827..54caa75 100644 --- a/apidocs/org/apache/hadoop/hbase/client/Append.html +++ b/apidocs/org/apache/hadoop/hbase/client/Append.html @@ -348,7 +348,7 @@ extends Methods inherited from classorg.apache.hadoop.hbase.client.Mutation -cellScanner, compareTo, get, getACL, getCellVisibility, getClusterIds, getDurability, getFamilyCellMap, getFingerprint, getRow, getTimeStamp, getTTL, has, has, has, has, has, heapSize, isEmpty, numFamilies, size, toMap +cellScanner, compareTo, get, getACL, getCellVisibility, getClusterIds, getDurability, getFamilyCellMap, getFingerprint, getRow, getTimestamp, getTimeStamp, getTTL, has, has, has, has, has, heapSize, < a href="../../../../../org/apache/hadoop/hbase/client/Mutation.html#isEmpty--">isEmpty, numFamilies, size, toMap http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html index 1fa1367..6c3961f 100644 --- a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html +++ b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.CoprocessorCallback.html @@ -106,7 +106,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public static interface AsyncTable.CoprocessorCallbackR +public static interface AsyncTable.CoprocessorCallbackR The callback when we want to execute a coprocessor call on a range of regions. As the locating itself also takes some time, the implementation may want to send rpc calls on @@ -214,7 +214,7 @@ public static interface onRegionComplete -voidonRegionComplete(RegionInforegion, +voidonRegionComplete(RegionInforegion, Rresp) Parameters: @@ -229,7 +229,7 @@ public static interface onRegionError -voidonRegionError(RegionInforegion, +voidonRegionError(RegionInforegion, https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwableerror) Parameters: @@ -244,7 +244,7 @@ public static interface onComplete -voidonComplete() +voidonComplete() Indicate that all responses of the regions have been notified by calling onRegionComplete(RegionInfo, Object) or onRegionError(RegionInfo, Throwable). @@ -256,7 +256,7 @@ public static interface onError -voidonError(https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwableerror) +voidonError(https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true; title="class or interface in java.lang">Throwableerror) Indicate that we got an error which does not belong to any regions. Usually a locating error. http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html index a4bedb1..16cf953 100644 --- a/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html +++ b/apidocs/org/apache/hadoop/hbase/client/AsyncTable.html @@ -102,7 +102,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public interface AsyncTableC extends ScanResultConsumerBase +public interface AsyncTableC extends ScanResultConsumerBase The interface for asynchronous version of Table. Obtain an instance from a AsyncConnection. @@ -392,7 +392,7 @@ public interface getName -TableNamegetName() +TableNamegetName() Gets the fully qualified table name instance of this table. @@ -402,7 +402,7 @@ public interface getConfiguration -org.apache.hadoop.conf.ConfigurationgetConfiguration() +org.apache.hadoop.conf.ConfigurationgetConfiguration() Returns the Configuration object used by this instance. The reference returned is not a copy, so any change made to it will affect this instance. @@ -414,7 +414,7 @@ public interface getRpcTimeout -longgetRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) +longgetRpcTimeout(https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true; title="class or interface in java.util.concurrent">TimeUnitunit) Get
[18/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html index 8fcef9c..9db8fac 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/CellComparator.html @@ -275,16 +275,16 @@ DataBlockEncoder.EncodedSeeker +DiffKeyDeltaEncoder.createSeeker(CellComparatorcomparator, +HFileBlockDecodingContextdecodingCtx) + + +DataBlockEncoder.EncodedSeeker DataBlockEncoder.createSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) Create a HFileBlock seeker which find KeyValues within a block. - -DataBlockEncoder.EncodedSeeker -CopyKeyDataBlockEncoder.createSeeker(CellComparatorcomparator, -HFileBlockDecodingContextdecodingCtx) - DataBlockEncoder.EncodedSeeker PrefixKeyDeltaEncoder.createSeeker(CellComparatorcomparator, @@ -292,17 +292,17 @@ DataBlockEncoder.EncodedSeeker -FastDiffDeltaEncoder.createSeeker(CellComparatorcomparator, +RowIndexCodecV1.createSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) DataBlockEncoder.EncodedSeeker -DiffKeyDeltaEncoder.createSeeker(CellComparatorcomparator, +FastDiffDeltaEncoder.createSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) DataBlockEncoder.EncodedSeeker -RowIndexCodecV1.createSeeker(CellComparatorcomparator, +CopyKeyDataBlockEncoder.createSeeker(CellComparatorcomparator, HFileBlockDecodingContextdecodingCtx) @@ -341,30 +341,30 @@ private CellComparator -HFileBlockIndex.CellBasedKeyBlockIndexReader.comparator -Needed doing lookup on blocks. +HFileReaderImpl.comparator +Key comparator protected CellComparator -HFile.WriterFactory.comparator - - -protected CellComparator CompoundBloomFilterBase.comparator Comparator used to compare Bloom filter keys - + protected CellComparator HFileWriterImpl.comparator Key comparator. + +protected CellComparator +HFile.WriterFactory.comparator + private CellComparator -HFileReaderImpl.comparator -Key comparator +HFileBlockIndex.CellBasedKeyBlockIndexReader.comparator +Needed doing lookup on blocks. @@ -386,11 +386,11 @@ CellComparator -HFile.Reader.getComparator() +HFileReaderImpl.getComparator() CellComparator -HFileReaderImpl.getComparator() +HFile.Reader.getComparator() @@ -547,19 +547,19 @@ private CellComparator -StoreFileWriter.Builder.comparator +AbstractMemStore.comparator protected CellComparator StripeStoreFlusher.StripeFlushRequest.comparator -private CellComparator -StoreScanner.comparator +protected CellComparator +StripeMultiFileWriter.comparator -private CellComparator -AbstractMemStore.comparator +protected CellComparator +HRegion.RegionScannerImpl.comparator private CellComparator @@ -567,23 +567,23 @@ private CellComparator -Segment.comparator +ScanInfo.comparator -protected CellComparator -HRegion.RegionScannerImpl.comparator +private CellComparator +StoreScanner.comparator protected CellComparator -StripeMultiFileWriter.comparator +HStore.comparator private CellComparator -ScanInfo.comparator +Segment.comparator -protected CellComparator -HStore.comparator +private CellComparator +StoreFileWriter.Builder.comparator protected CellComparator @@ -600,39 +600,37 @@ CellComparator -Region.getCellComparator() -The comparator to be used with the region - +HRegion.getCellComparator() CellComparator -HRegion.getCellComparator() +Region.getCellComparator() +The comparator to be used with the region + -(package private) CellComparator -StoreFileScanner.getComparator() - - protected CellComparator AbstractMemStore.getComparator() + +CellComparator +KeyValueHeap.KVScannerComparator.getComparator() + CellComparator StoreFileReader.getComparator() CellComparator -StoreFile.getComparator() -Get the comparator for comparing two cells. - +HStoreFile.getComparator() CellComparator -KeyValueHeap.KVScannerComparator.getComparator() +ScanInfo.getComparator() CellComparator -HStoreFile.getComparator() +HStore.getComparator() protected CellComparator @@ -641,16 +639,18 @@ -CellComparator -ScanInfo.getComparator() +(package private) CellComparator +StoreFileScanner.getComparator() CellComparator -Store.getComparator() +StoreFile.getComparator() +Get the comparator for comparing two cells. + CellComparator -HStore.getComparator() +Store.getComparator() @@ -699,13 +699,13 @@ protected void -DateTieredStoreEngine.createComponents(org.apache.hadoop.conf.Configurationconf, +DefaultStoreEngine.createComponents(org.apache.hadoop.conf.Configurationconf,
[51/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
Published site at e468b4022f76688851b3e0c34722f01a56bd624f. Project: http://git-wip-us.apache.org/repos/asf/hbase-site/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase-site/commit/16541468 Tree: http://git-wip-us.apache.org/repos/asf/hbase-site/tree/16541468 Diff: http://git-wip-us.apache.org/repos/asf/hbase-site/diff/16541468 Branch: refs/heads/asf-site Commit: 1654146878d78c4abe1c0f41eb2032e2c8c793fc Parents: 82f99e1 Author: jenkinsAuthored: Sat Mar 24 15:12:38 2018 + Committer: jenkins Committed: Sat Mar 24 15:12:38 2018 + -- acid-semantics.html | 4 +- apache_hbase_reference_guide.pdf| 9774 +- apidocs/deprecated-list.html| 508 +- apidocs/index-all.html |44 +- .../apache/hadoop/hbase/CompareOperator.html| 4 +- .../apache/hadoop/hbase/KeepDeletedCells.html | 4 +- .../hadoop/hbase/MemoryCompactionPolicy.html| 4 +- .../org/apache/hadoop/hbase/class-use/Cell.html | 300 +- .../hadoop/hbase/class-use/CellScanner.html | 4 +- .../hadoop/hbase/class-use/CompareOperator.html |10 +- .../hbase/class-use/NamespaceDescriptor.html|16 +- .../hadoop/hbase/class-use/RegionMetrics.html |22 +- .../hadoop/hbase/class-use/ServerName.html | 166 +- .../org/apache/hadoop/hbase/class-use/Size.html |50 +- .../hadoop/hbase/class-use/TableName.html | 346 +- .../org/apache/hadoop/hbase/client/Append.html | 2 +- .../client/AsyncTable.CoprocessorCallback.html |10 +- .../apache/hadoop/hbase/client/AsyncTable.html |70 +- .../apache/hadoop/hbase/client/Consistency.html | 4 +- .../org/apache/hadoop/hbase/client/Delete.html | 2 +- .../apache/hadoop/hbase/client/Durability.html | 4 +- apidocs/org/apache/hadoop/hbase/client/Get.html | 106 +- .../apache/hadoop/hbase/client/Increment.html | 2 +- .../hadoop/hbase/client/IsolationLevel.html | 4 +- .../hadoop/hbase/client/MasterSwitchType.html | 4 +- .../hbase/client/MobCompactPartitionPolicy.html | 4 +- .../apache/hadoop/hbase/client/Mutation.html| 110 +- apidocs/org/apache/hadoop/hbase/client/Put.html | 2 +- .../client/RequestController.ReturnCode.html| 4 +- .../hadoop/hbase/client/Scan.ReadType.html |12 +- .../org/apache/hadoop/hbase/client/Scan.html| 194 +- .../org/apache/hadoop/hbase/client/Table.html | 102 +- .../hadoop/hbase/client/class-use/Append.html | 8 +- .../class-use/ColumnFamilyDescriptor.html |16 +- .../hbase/client/class-use/CompactType.html |40 +- .../hbase/client/class-use/Consistency.html | 8 +- .../hadoop/hbase/client/class-use/Delete.html |20 +- .../hbase/client/class-use/Durability.html |30 +- .../hadoop/hbase/client/class-use/Get.html |57 +- .../hbase/client/class-use/Increment.html | 8 +- .../hbase/client/class-use/IsolationLevel.html | 8 +- .../hadoop/hbase/client/class-use/Mutation.html |24 +- .../hadoop/hbase/client/class-use/Put.html |24 +- .../hbase/client/class-use/RegionInfo.html |16 +- .../hadoop/hbase/client/class-use/Result.html |36 +- .../hbase/client/class-use/ResultScanner.html |26 +- .../hadoop/hbase/client/class-use/Row.html |16 +- .../hbase/client/class-use/RowMutations.html| 8 +- .../hadoop/hbase/client/class-use/Scan.html |39 +- .../client/class-use/SnapshotDescription.html |44 +- .../hbase/client/class-use/SnapshotType.html| 8 +- .../hbase/client/class-use/TableDescriptor.html |48 +- .../hadoop/hbase/client/package-tree.html |10 +- .../client/replication/class-use/TableCFs.html | 8 +- .../client/security/SecurityCapability.html | 4 +- .../security/class-use/SecurityCapability.html | 8 +- .../hbase/filter/CompareFilter.CompareOp.html | 4 +- .../hadoop/hbase/filter/Filter.ReturnCode.html | 4 +- .../hadoop/hbase/filter/TimestampsFilter.html |33 +- .../filter/class-use/ByteArrayComparable.html |10 +- .../class-use/CompareFilter.CompareOp.html | 8 +- .../filter/class-use/Filter.ReturnCode.html | 120 +- .../hadoop/hbase/filter/class-use/Filter.html |60 +- .../hadoop/hbase/filter/package-tree.html | 4 +- .../org/apache/hadoop/hbase/io/TimeRange.html |86 +- .../io/class-use/ImmutableBytesWritable.html|36 +- .../hadoop/hbase/io/class-use/TimeRange.html|25 +- .../hbase/io/crypto/class-use/Cipher.html | 8 +- .../hbase/io/encoding/DataBlockEncoding.html| 4 +- .../mapreduce/class-use/TableRecordReader.html | 4 +- .../org/apache/hadoop/hbase/package-tree.html | 2 +- .../hbase/quotas/SpaceViolationPolicy.html | 4 +-
[23/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/checkstyle.rss -- diff --git a/checkstyle.rss b/checkstyle.rss index 52f3dab..213814f 100644 --- a/checkstyle.rss +++ b/checkstyle.rss @@ -25,8 +25,8 @@ under the License. en-us 2007 - 2018 The Apache Software Foundation - File: 3592, - Errors: 16020, + File: 3593, + Errors: 15918, Warnings: 0, Infos: 0 @@ -1656,7 +1656,7 @@ under the License. - http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter.java;>org/apache/hadoop/hbase/filter/TestMultiRowRangeFilter.java + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.client.TestResult.java;>org/apache/hadoop/hbase/client/TestResult.java 0 @@ -1665,12 +1665,12 @@ under the License. 0 - 2 + 3 - http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.client.TestResult.java;>org/apache/hadoop/hbase/client/TestResult.java + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter.java;>org/apache/hadoop/hbase/filter/TestMultiRowRangeFilter.java 0 @@ -1679,7 +1679,7 @@ under the License. 0 - 3 + 2 @@ -1894,7 +1894,7 @@ under the License. - http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.mob.MobUtils.java;>org/apache/hadoop/hbase/mob/MobUtils.java + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.regionserver.DateTieredStoreEngine.java;>org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.java 0 @@ -1903,12 +1903,12 @@ under the License. 0 - 15 + 1 - http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.regionserver.DateTieredStoreEngine.java;>org/apache/hadoop/hbase/regionserver/DateTieredStoreEngine.java + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.mob.MobUtils.java;>org/apache/hadoop/hbase/mob/MobUtils.java 0 @@ -1917,7 +1917,7 @@ under the License. 0 - 1 + 15 @@ -2286,7 +2286,7 @@ under the License. - http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.java;>org/apache/hadoop/hbase/coprocessor/TestCoprocessorMetrics.java + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks.java;>org/apache/hadoop/hbase/io/hfile/TestForceCacheImportantBlocks.java 0 @@ -2295,12 +2295,12 @@ under the License. 0 - 1 + 3 - http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks.java;>org/apache/hadoop/hbase/io/hfile/TestForceCacheImportantBlocks.java + http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.coprocessor.TestCoprocessorMetrics.java;>org/apache/hadoop/hbase/coprocessor/TestCoprocessorMetrics.java 0 @@ -2309,7 +2309,7 @@ under the License. 0 - 3 + 1 @@ -3686,7 +3686,7 @@ under the License. - http://hbase.apache.org/checkstyle.html#org.apache.hadoop.hbase.regionserver.RegionServerRunningException.java;>org/apache/hadoop/hbase/regionserver/RegionServerRunningException.java +
[17/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/ClusterMetrics.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/ClusterMetrics.html b/devapidocs/org/apache/hadoop/hbase/class-use/ClusterMetrics.html index 1621237..4c9e7b7 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/ClusterMetrics.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/ClusterMetrics.html @@ -242,27 +242,27 @@ https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureClusterMetrics -AsyncHBaseAdmin.getClusterMetrics() +RawAsyncHBaseAdmin.getClusterMetrics() https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureClusterMetrics -AsyncAdmin.getClusterMetrics() +AsyncHBaseAdmin.getClusterMetrics() https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureClusterMetrics -RawAsyncHBaseAdmin.getClusterMetrics() +AsyncAdmin.getClusterMetrics() https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureClusterMetrics -AsyncHBaseAdmin.getClusterMetrics(https://docs.oracle.com/javase/8/docs/api/java/util/EnumSet.html?is-external=true; title="class or interface in java.util">EnumSetClusterMetrics.Optionoptions) +RawAsyncHBaseAdmin.getClusterMetrics(https://docs.oracle.com/javase/8/docs/api/java/util/EnumSet.html?is-external=true; title="class or interface in java.util">EnumSetClusterMetrics.Optionoptions) https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureClusterMetrics -AsyncAdmin.getClusterMetrics(https://docs.oracle.com/javase/8/docs/api/java/util/EnumSet.html?is-external=true; title="class or interface in java.util">EnumSetClusterMetrics.Optionoptions) +AsyncHBaseAdmin.getClusterMetrics(https://docs.oracle.com/javase/8/docs/api/java/util/EnumSet.html?is-external=true; title="class or interface in java.util">EnumSetClusterMetrics.Optionoptions) https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureClusterMetrics -RawAsyncHBaseAdmin.getClusterMetrics(https://docs.oracle.com/javase/8/docs/api/java/util/EnumSet.html?is-external=true; title="class or interface in java.util">EnumSetClusterMetrics.Optionoptions) +AsyncAdmin.getClusterMetrics(https://docs.oracle.com/javase/8/docs/api/java/util/EnumSet.html?is-external=true; title="class or interface in java.util">EnumSetClusterMetrics.Optionoptions) @@ -408,11 +408,11 @@ void -BaseLoadBalancer.setClusterMetrics(ClusterMetricsst) +RegionLocationFinder.setClusterMetrics(ClusterMetricsstatus) void -RegionLocationFinder.setClusterMetrics(ClusterMetricsstatus) +BaseLoadBalancer.setClusterMetrics(ClusterMetricsst) http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html b/devapidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html index 804b5df..21d4377 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/CompareOperator.html @@ -169,11 +169,11 @@ the order they are declared. private CompareOperator -RawAsyncTableImpl.CheckAndMutateBuilderImpl.op +HTable.CheckAndMutateBuilderImpl.op private CompareOperator -HTable.CheckAndMutateBuilderImpl.op +RawAsyncTableImpl.CheckAndMutateBuilderImpl.op @@ -257,23 +257,23 @@ the order they are declared. -AsyncTable.CheckAndMutateBuilder -AsyncTable.CheckAndMutateBuilder.ifMatches(CompareOperatorcompareOp, +Table.CheckAndMutateBuilder +Table.CheckAndMutateBuilder.ifMatches(CompareOperatorcompareOp, byte[]value) Table.CheckAndMutateBuilder -Table.CheckAndMutateBuilder.ifMatches(CompareOperatorcompareOp, +HTable.CheckAndMutateBuilderImpl.ifMatches(CompareOperatorcompareOp, byte[]value) AsyncTable.CheckAndMutateBuilder -RawAsyncTableImpl.CheckAndMutateBuilderImpl.ifMatches(CompareOperatorcompareOp, +AsyncTable.CheckAndMutateBuilder.ifMatches(CompareOperatorcompareOp, byte[]value) -Table.CheckAndMutateBuilder -HTable.CheckAndMutateBuilderImpl.ifMatches(CompareOperatorcompareOp,
[37/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/filter/TimestampsFilter.html -- diff --git a/apidocs/org/apache/hadoop/hbase/filter/TimestampsFilter.html b/apidocs/org/apache/hadoop/hbase/filter/TimestampsFilter.html index 4afeeff..eaeb725 100644 --- a/apidocs/org/apache/hadoop/hbase/filter/TimestampsFilter.html +++ b/apidocs/org/apache/hadoop/hbase/filter/TimestampsFilter.html @@ -120,15 +120,16 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Public -public class TimestampsFilter +public class TimestampsFilter extends org.apache.hadoop.hbase.filter.FilterBase Filter that returns only cells whose timestamp (version) is in the specified list of timestamps (versions). Note: Use of this filter overrides any time range/time stamp options specified using Get.setTimeRange(long, long), - Scan.setTimeRange(long, long), Get.setTimeStamp(long), - or Scan.setTimeStamp(long). + Scan.setTimeRange(long, long), + Get.setTimestamp(long), + or Scan.setTimestamp(long). @@ -304,7 +305,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase TimestampsFilter -publicTimestampsFilter(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listhttps://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Longtimestamps) +publicTimestampsFilter(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listhttps://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Longtimestamps) Constructor for filter that retains only the specified timestamps in the list. Parameters: @@ -318,7 +319,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase TimestampsFilter -publicTimestampsFilter(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listhttps://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Longtimestamps, +publicTimestampsFilter(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listhttps://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Longtimestamps, booleancanHint) Constructor for filter that retains only those cells whose timestamp (version) is in the specified @@ -347,7 +348,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase getTimestamps -publichttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listhttps://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">LonggetTimestamps() +publichttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listhttps://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">LonggetTimestamps() Returns: the list of timestamps @@ -360,7 +361,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase getMin -publiclonggetMin() +publiclonggetMin() Gets the minimum timestamp requested by filter. Returns: @@ -374,7 +375,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase filterRowKey -publicbooleanfilterRowKey(Cellcell) +publicbooleanfilterRowKey(Cellcell) throws https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true; title="class or interface in java.io">IOException Description copied from class:Filter Filters a row based on the row key. If this returns true, the entire row will be excluded. If @@ -403,7 +404,7 @@ extends org.apache.hadoop.hbase.filter.FilterBase filterKeyValue https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true; title="class or interface in java.lang">@Deprecated -publicFilter.ReturnCodefilterKeyValue(Cellc) +publicFilter.ReturnCodefilterKeyValue(Cellc) Deprecated. Description copied from class:Filter A way to filter based on the column family, column qualifier and/or the column value. Return @@ -438,7 +439,7 @@ public filterCell -publicFilter.ReturnCodefilterCell(Cellc) +publicFilter.ReturnCodefilterCell(Cellc) Description copied from class:Filter A way to filter based on the column family, column qualifier and/or the column value. Return code is described below. This allows filters to filter only certain number of columns, then @@ -472,7 +473,7 @@ public getNextCellHint -publicCellgetNextCellHint(CellcurrentCell) +publicCellgetNextCellHint(CellcurrentCell) throws
[47/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/class-use/Cell.html -- diff --git a/apidocs/org/apache/hadoop/hbase/class-use/Cell.html b/apidocs/org/apache/hadoop/hbase/class-use/Cell.html index 531711f..b755439 100644 --- a/apidocs/org/apache/hadoop/hbase/class-use/Cell.html +++ b/apidocs/org/apache/hadoop/hbase/class-use/Cell.html @@ -1105,23 +1105,23 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -Append -Append.add(Cellcell) -Add column and value to this Append operation. - - - Increment Increment.add(Cellcell) Add the specified KeyValue to this operation. - + Put Put.add(Cellcell) Add the specified KeyValue to this Put operation. + +Append +Append.add(Cellcell) +Add column and value to this Append operation. + + Delete Delete.add(Cellcell) @@ -1208,47 +1208,47 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. booleanmayHaveMoreCellsInRow) -Append -Append.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) +Increment +Increment.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. - Use Append.Append(byte[], long, NavigableMap) instead + Use Increment.Increment(byte[], long, NavigableMap) instead -Increment -Increment.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) +Put +Put.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. - Use Increment.Increment(byte[], long, NavigableMap) instead + Use Put.Put(byte[], long, NavigableMap) instead -Mutation -Mutation.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) +Append +Append.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. - Use Mutation.Mutation(byte[], long, NavigableMap) instead + Use Append.Append(byte[], long, NavigableMap) instead -Put -Put.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) +Delete +Delete.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) Deprecated. As of release 2.0.0, this will be removed in HBase 3.0.0. - Use Put.Put(byte[], long, NavigableMap) instead + Use Delete.Delete(byte[], long, NavigableMap) instead -Delete -Delete.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in java.util">NavigableMapbyte[],https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListCellmap) +Mutation +Mutation.setFamilyCellMap(https://docs.oracle.com/javase/8/docs/api/java/util/NavigableMap.html?is-external=true; title="class or interface in
[31/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html index b3689ed..bfec785 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Get.html @@ -64,7 +64,7 @@ 056 * execute {@link #setTimeRange(long, long) setTimeRange}. 057 * p 058 * To only retrieve columns with a specific timestamp, execute -059 * {@link #setTimeStamp(long) setTimestamp}. +059 * {@link #setTimestamp(long) setTimestamp}. 060 * p 061 * To limit the number of versions of each column to be returned, execute 062 * {@link #setMaxVersions(int) setMaxVersions}. @@ -80,7 +80,7 @@ 072 private boolean cacheBlocks = true; 073 private int storeLimit = -1; 074 private int storeOffset = 0; -075 private TimeRange tr = new TimeRange(); +075 private TimeRange tr = TimeRange.allTime(); 076 private boolean checkExistenceOnly = false; 077 private boolean closestRowBefore = false; 078 private Mapbyte [], NavigableSetbyte [] familyMap = new TreeMap(Bytes.BYTES_COMPARATOR); @@ -239,350 +239,362 @@ 231 * Get versions of columns with the specified timestamp. 232 * @param timestamp version timestamp 233 * @return this for invocation chaining -234 */ -235 public Get setTimeStamp(long timestamp) -236 throws IOException { -237try { -238 tr = new TimeRange(timestamp, timestamp+1); -239} catch(Exception e) { -240 // This should never happen, unless integer overflow or something extremely wrong... -241 LOG.error("TimeRange failed, likely caused by integer overflow. ", e); -242 throw e; -243} -244return this; -245 } -246 -247 @Override public Get setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) { -248return (Get) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp); -249 } -250 -251 /** -252 * Get all available versions. -253 * @return this for invocation chaining -254 * @deprecated It is easy to misunderstand with column family's max versions, so use -255 * {@link #readAllVersions()} instead. -256 */ -257 @Deprecated -258 public Get setMaxVersions() { -259return readAllVersions(); -260 } -261 -262 /** -263 * Get up to the specified number of versions of each column. -264 * @param maxVersions maximum versions for each column -265 * @throws IOException if invalid number of versions -266 * @return this for invocation chaining -267 * @deprecated It is easy to misunderstand with column family's max versions, so use -268 * {@link #readVersions(int)} instead. -269 */ -270 @Deprecated -271 public Get setMaxVersions(int maxVersions) throws IOException { -272return readVersions(maxVersions); -273 } -274 -275 /** -276 * Get all available versions. -277 * @return this for invocation chaining -278 */ -279 public Get readAllVersions() { -280this.maxVersions = Integer.MAX_VALUE; -281return this; -282 } -283 -284 /** -285 * Get up to the specified number of versions of each column. -286 * @param versions specified number of versions for each column -287 * @throws IOException if invalid number of versions -288 * @return this for invocation chaining -289 */ -290 public Get readVersions(int versions) throws IOException { -291if (versions = 0) { -292 throw new IOException("versions must be positive"); -293} -294this.maxVersions = versions; -295return this; -296 } -297 -298 @Override -299 public Get setLoadColumnFamiliesOnDemand(boolean value) { -300return (Get) super.setLoadColumnFamiliesOnDemand(value); -301 } -302 -303 /** -304 * Set the maximum number of values to return per row per Column Family -305 * @param limit the maximum number of values returned / row / CF -306 * @return this for invocation chaining -307 */ -308 public Get setMaxResultsPerColumnFamily(int limit) { -309this.storeLimit = limit; -310return this; -311 } -312 -313 /** -314 * Set offset for the row per Column Family. This offset is only within a particular row/CF -315 * combination. It gets reset back to zero when we move to the next row or CF. -316 * @param offset is the number of kvs that will be skipped. -317 * @return this for invocation chaining -318 */ -319 public Get setRowOffsetPerColumnFamily(int offset) { -320this.storeOffset = offset; -321return this; -322 } -323 -324 @Override -325 public Get setFilter(Filter filter) { -326super.setFilter(filter); -327return this; -328 } -329 -330 /* Accessors */ -331 -332 /** -333 * Set whether blocks should be cached for this Get. -334 * p -335 * This is true by default. When true, default settings of the table and
[45/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/class-use/TableName.html -- diff --git a/apidocs/org/apache/hadoop/hbase/class-use/TableName.html b/apidocs/org/apache/hadoop/hbase/class-use/TableName.html index e88b1fa..b4ccfa8 100644 --- a/apidocs/org/apache/hadoop/hbase/class-use/TableName.html +++ b/apidocs/org/apache/hadoop/hbase/class-use/TableName.html @@ -427,13 +427,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. TableName -BufferedMutator.getName() -Gets the fully qualified table name instance of the table that this BufferedMutator writes to. +AsyncTableRegionLocator.getName() +Gets the fully qualified table name instance of the table whose region we want to locate. TableName -RegionLocator.getName() +Table.getName() Gets the fully qualified table name instance of this table. @@ -452,14 +452,14 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. TableName -AsyncTableRegionLocator.getName() -Gets the fully qualified table name instance of the table whose region we want to locate. +RegionLocator.getName() +Gets the fully qualified table name instance of this table. TableName -Table.getName() -Gets the fully qualified table name instance of this table. +BufferedMutator.getName() +Gets the fully qualified table name instance of the table that this BufferedMutator writes to. @@ -474,14 +474,14 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. TableName -SnapshotDescription.getTableName() - - -TableName TableDescriptor.getTableName() Get the name of the table + +TableName +SnapshotDescription.getTableName() + TableName BufferedMutatorParams.getTableName() @@ -585,15 +585,15 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void -AsyncAdmin.addColumnFamily(TableNametableName, +void +Admin.addColumnFamily(TableNametableName, ColumnFamilyDescriptorcolumnFamily) Add a column family to an existing table. -void -Admin.addColumnFamily(TableNametableName, +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +AsyncAdmin.addColumnFamily(TableNametableName, ColumnFamilyDescriptorcolumnFamily) Add a column family to an existing table. @@ -606,14 +606,14 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureCacheEvictionStats -AsyncAdmin.clearBlockCache(TableNametableName) +CacheEvictionStats +Admin.clearBlockCache(TableNametableName) Clear all the blocks corresponding to this table from BlockCache. -CacheEvictionStats -Admin.clearBlockCache(TableNametableName) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureCacheEvictionStats +AsyncAdmin.clearBlockCache(TableNametableName) Clear all the blocks corresponding to this table from BlockCache. @@ -625,15 +625,15 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void -AsyncAdmin.cloneSnapshot(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringsnapshotName, +void +Admin.cloneSnapshot(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringsnapshotName, TableNametableName) Create a new table by cloning the snapshot content. -void -Admin.cloneSnapshot(https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringsnapshotName, +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in
[14/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html b/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html index c36dd6e..314ab37 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/ServerName.html @@ -239,15 +239,15 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. private ServerName -ServerMetricsBuilder.serverName +HRegionLocation.serverName private ServerName -ServerMetricsBuilder.ServerMetricsImpl.serverName +ServerMetricsBuilder.serverName private ServerName -HRegionLocation.serverName +ServerMetricsBuilder.ServerMetricsImpl.serverName @@ -310,33 +310,33 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. ServerName -ClusterStatus.getMasterName() -Deprecated. - - - -ServerName ClusterMetrics.getMasterName() Returns detailed information about the current master ServerName. - + ServerName -ServerLoad.getServerName() +ClusterStatus.getMasterName() Deprecated. + +ServerName +HRegionLocation.getServerName() + ServerName -ServerMetrics.getServerName() +ServerMetricsBuilder.ServerMetricsImpl.getServerName() ServerName -ServerMetricsBuilder.ServerMetricsImpl.getServerName() +ServerMetrics.getServerName() ServerName -HRegionLocation.getServerName() +ServerLoad.getServerName() +Deprecated. + ServerName @@ -409,13 +409,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListServerName -ClusterStatus.getBackupMasterNames() -Deprecated. - +ClusterMetrics.getBackupMasterNames() https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListServerName -ClusterMetrics.getBackupMasterNames() +ClusterStatus.getBackupMasterNames() +Deprecated. + https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListServerName @@ -432,13 +432,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListServerName -ClusterStatus.getDeadServerNames() -Deprecated. - +ClusterMetrics.getDeadServerNames() https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListServerName -ClusterMetrics.getDeadServerNames() +ClusterStatus.getDeadServerNames() +Deprecated. + private https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapServerName,ServerLoad @@ -452,13 +452,13 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapServerName,ServerMetrics -ClusterStatus.getLiveServerMetrics() -Deprecated. - +ClusterMetrics.getLiveServerMetrics() https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true; title="class or interface in java.util">MapServerName,ServerMetrics -ClusterMetrics.getLiveServerMetrics() +ClusterStatus.getLiveServerMetrics() +Deprecated. + static PairRegionInfo,ServerName @@ -865,11 +865,11 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. private ServerName -AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder.serverName +AsyncServerRequestRpcRetryingCaller.serverName private ServerName -AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder.serverName +ConnectionUtils.ShortCircuitingClusterConnection.serverName private ServerName @@ -877,11 +877,11 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. private ServerName -AsyncServerRequestRpcRetryingCaller.serverName +AsyncRpcRetryingCallerFactory.AdminRequestCallerBuilder.serverName private ServerName -ConnectionUtils.ShortCircuitingClusterConnection.serverName +AsyncRpcRetryingCallerFactory.ServerRequestCallerBuilder.serverName @@ -967,29 +967,29 @@ Input/OutputFormats, a table indexing MapReduce job, and utility methods. -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListServerName
[16/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html b/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html index 2d8d219..6e574eb 100644 --- a/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html +++ b/devapidocs/org/apache/hadoop/hbase/class-use/HRegionLocation.html @@ -162,7 +162,7 @@ service. private static HRegionLocation -AsyncMetaTableAccessor.getRegionLocation(Resultr, +MetaTableAccessor.getRegionLocation(Resultr, RegionInforegionInfo, intreplicaId) Returns the HRegionLocation parsed from the given meta row Result @@ -171,7 +171,7 @@ service. private static HRegionLocation -MetaTableAccessor.getRegionLocation(Resultr, +AsyncMetaTableAccessor.getRegionLocation(Resultr, RegionInforegionInfo, intreplicaId) Returns the HRegionLocation parsed from the given meta row Result @@ -309,26 +309,26 @@ service. private HRegionLocation -AsyncRpcRetryingCallerFactory.ScanSingleRegionCallerBuilder.loc - - -private HRegionLocation AsyncScanSingleRegionRpcRetryingCaller.loc - + HRegionLocation AsyncBatchRpcRetryingCaller.RegionRequest.loc - -protected HRegionLocation -RegionAdminServiceCallable.location - +private HRegionLocation +AsyncRpcRetryingCallerFactory.ScanSingleRegionCallerBuilder.loc + + protected HRegionLocation RegionServerCallable.location Some subclasses want to set their own location. + +protected HRegionLocation +RegionAdminServiceCallable.location + @@ -409,18 +409,18 @@ service. HRegionLocation -ConnectionImplementation.getRegionLocation(TableNametableName, - byte[]row, - booleanreload) - - -HRegionLocation ClusterConnection.getRegionLocation(TableNametableName, byte[]row, booleanreload) Find region location hosting passed row + +HRegionLocation +ConnectionImplementation.getRegionLocation(TableNametableName, + byte[]row, + booleanreload) + private HRegionLocation AsyncRequestFutureImpl.getReplicaLocationOrFail(Actionaction) @@ -434,20 +434,15 @@ service. HRegionLocation -ConnectionImplementation.locateRegion(byte[]regionName) - - -HRegionLocation ClusterConnection.locateRegion(byte[]regionName) Gets the location of the region of regionName. - + HRegionLocation -ConnectionImplementation.locateRegion(TableNametableName, -byte[]row) +ConnectionImplementation.locateRegion(byte[]regionName) - + HRegionLocation ClusterConnection.locateRegion(TableNametableName, byte[]row) @@ -455,6 +450,11 @@ service. lives in. + +HRegionLocation +ConnectionImplementation.locateRegion(TableNametableName, +byte[]row) + private HRegionLocation AsyncNonMetaRegionLocator.locateRowBeforeInCache(AsyncNonMetaRegionLocator.TableCachetableCache, @@ -469,17 +469,17 @@ service. HRegionLocation -ConnectionImplementation.relocateRegion(TableNametableName, - byte[]row) - - -HRegionLocation ClusterConnection.relocateRegion(TableNametableName, byte[]row) Find the location of the region of tableName that row lives in, ignoring any value that might be in the cache. + +HRegionLocation +ConnectionImplementation.relocateRegion(TableNametableName, + byte[]row) + @@ -523,29 +523,29 @@ service. AsyncMetaRegionLocator.getRegionLocation(booleanreload) -default https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureHRegionLocation -AsyncTableRegionLocator.getRegionLocation(byte[]row) -Finds the region on which the given row is being served. - - - (package private) https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureHRegionLocation RawAsyncHBaseAdmin.getRegionLocation(byte[]regionNameOrEncodedRegionName) Get the region location for the passed region name. - -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureHRegionLocation -AsyncTableRegionLocator.getRegionLocation(byte[]row, - booleanreload) + +default https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFutureHRegionLocation +AsyncTableRegionLocator.getRegionLocation(byte[]row) Finds the region on which the given row is being served. - +
[29/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.ReadType.html -- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.ReadType.html b/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.ReadType.html index 935839d..64dfea4 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.ReadType.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/client/Scan.ReadType.html @@ -67,7 +67,7 @@ 059 * To only retrieve columns within a specific range of version timestamps, call 060 * {@link #setTimeRange(long, long) setTimeRange}. 061 * p -062 * To only retrieve columns with a specific timestamp, call {@link #setTimeStamp(long) setTimestamp} +062 * To only retrieve columns with a specific timestamp, call {@link #setTimestamp(long) setTimestamp} 063 * . 064 * p 065 * To limit the number of versions of each column to be returned, call {@link #setMaxVersions(int) @@ -149,7 +149,7 @@ 141 private long maxResultSize = -1; 142 private boolean cacheBlocks = true; 143 private boolean reversed = false; -144 private TimeRange tr = new TimeRange(); +144 private TimeRange tr = TimeRange.allTime(); 145 private Mapbyte [], NavigableSetbyte [] familyMap = 146new TreeMapbyte [], NavigableSetbyte [](Bytes.BYTES_COMPARATOR); 147 private Boolean asyncPrefetch = null; @@ -384,869 +384,887 @@ 376 * @see #setMaxVersions() 377 * @see #setMaxVersions(int) 378 * @return this -379 */ -380 public Scan setTimeStamp(long timestamp) -381 throws IOException { -382try { -383 tr = new TimeRange(timestamp, timestamp+1); -384} catch(Exception e) { -385 // This should never happen, unless integer overflow or something extremely wrong... -386 LOG.error("TimeRange failed, likely caused by integer overflow. ", e); -387 throw e; -388} -389return this; -390 } -391 -392 @Override public Scan setColumnFamilyTimeRange(byte[] cf, long minStamp, long maxStamp) { -393return (Scan) super.setColumnFamilyTimeRange(cf, minStamp, maxStamp); -394 } -395 -396 /** -397 * Set the start row of the scan. -398 * p -399 * If the specified row does not exist, the Scanner will start from the next closest row after the -400 * specified row. -401 * @param startRow row to start scanner at or after -402 * @return this -403 * @throws IllegalArgumentException if startRow does not meet criteria for a row key (when length -404 * exceeds {@link HConstants#MAX_ROW_LENGTH}) -405 * @deprecated use {@link #withStartRow(byte[])} instead. This method may change the inclusive of -406 * the stop row to keep compatible with the old behavior. -407 */ -408 @Deprecated -409 public Scan setStartRow(byte[] startRow) { -410withStartRow(startRow); -411if (ClientUtil.areScanStartRowAndStopRowEqual(this.startRow, this.stopRow)) { -412 // for keeping the old behavior that a scan with the same start and stop row is a get scan. -413 this.includeStopRow = true; -414} -415return this; -416 } -417 -418 /** -419 * Set the start row of the scan. -420 * p -421 * If the specified row does not exist, the Scanner will start from the next closest row after the -422 * specified row. -423 * @param startRow row to start scanner at or after -424 * @return this -425 * @throws IllegalArgumentException if startRow does not meet criteria for a row key (when length -426 * exceeds {@link HConstants#MAX_ROW_LENGTH}) -427 */ -428 public Scan withStartRow(byte[] startRow) { -429return withStartRow(startRow, true); -430 } -431 -432 /** -433 * Set the start row of the scan. -434 * p -435 * If the specified row does not exist, or the {@code inclusive} is {@code false}, the Scanner -436 * will start from the next closest row after the specified row. -437 * @param startRow row to start scanner at or after -438 * @param inclusive whether we should include the start row when scan -439 * @return this -440 * @throws IllegalArgumentException if startRow does not meet criteria for a row key (when length -441 * exceeds {@link HConstants#MAX_ROW_LENGTH}) -442 */ -443 public Scan withStartRow(byte[] startRow, boolean inclusive) { -444if (Bytes.len(startRow) HConstants.MAX_ROW_LENGTH) { -445 throw new IllegalArgumentException("startRow's length must be less than or equal to " -446 + HConstants.MAX_ROW_LENGTH + " to meet the criteria" + " for a row key."); -447} -448this.startRow = startRow; -449this.includeStartRow = inclusive; -450return this; -451 } -452 -453 /** -454 * Set the stop row of the scan. -455 * p -456 * The scan will include rows that are lexicographically less than the provided stopRow. -457 * p -458 * bNote:/b When doing a filter for a rowKey uPrefix/u use -459 * {@link
[20/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/index-all.html -- diff --git a/devapidocs/index-all.html b/devapidocs/index-all.html index 99ed6af..d15182d 100644 --- a/devapidocs/index-all.html +++ b/devapidocs/index-all.html @@ -2826,6 +2826,8 @@ ALL_FLAG_BITS - Static variable in class org.apache.hadoop.hbase.regionserver.ServerNonceManager.OperationContext +ALL_TIME - Static variable in class org.apache.hadoop.hbase.io.TimeRange + ALL_VERSIONS - Static variable in class org.apache.hadoop.hbase.HConstants Define for 'return-all-versions'. @@ -2948,6 +2950,8 @@ allTime - Variable in class org.apache.hadoop.hbase.io.TimeRange +allTime() - Static method in class org.apache.hadoop.hbase.io.TimeRange + alreadyRunning - Variable in class org.apache.hadoop.hbase.master.CatalogJanitor alternateBufferedMutatorClassName - Variable in class org.apache.hadoop.hbase.client.ConnectionImplementation @@ -4210,6 +4214,8 @@ AsyncTableResultScanner(AsyncTableAdvancedScanResultConsumer, Scan, long) - Constructor for class org.apache.hadoop.hbase.client.AsyncTableResultScanner +at(long) - Static method in class org.apache.hadoop.hbase.io.TimeRange + atCapacity() - Method in class org.apache.hadoop.hbase.util.compaction.ClusterCompactionQueues atHeadOfRingBufferEventHandlerAppend() - Method in class org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL @@ -10050,9 +10056,14 @@ Since 2.0.0. Will be removed in 3.0.0. Use Table.checkAndMutate(byte[], byte[]) -checkAndMutate(byte[], byte[], byte[], CompareOperator, ByteArrayComparable, Mutation, boolean) - Method in class org.apache.hadoop.hbase.regionserver.HRegion +checkAndMutate(byte[], byte[], byte[], CompareOperator, ByteArrayComparable, TimeRange, Mutation) - Method in class org.apache.hadoop.hbase.regionserver.HRegion -checkAndMutate(byte[], byte[], byte[], CompareOperator, ByteArrayComparable, Mutation, boolean) - Method in interface org.apache.hadoop.hbase.regionserver.Region +checkAndMutate(byte[], byte[], byte[], CompareOperator, ByteArrayComparable, Mutation) - Method in interface org.apache.hadoop.hbase.regionserver.Region + +Atomically checks if a row/family/qualifier value matches the expected value and if it does, + it performs the mutation. + +checkAndMutate(byte[], byte[], byte[], CompareOperator, ByteArrayComparable, TimeRange, Mutation) - Method in interface org.apache.hadoop.hbase.regionserver.Region Atomically checks if a row/family/qualifier value matches the expected value and if it does, it performs the mutation. @@ -10166,14 +10177,19 @@ Check is a server of same host and port already exists, if not, or the existed one got a smaller start code, record it. -checkAndRowMutate(byte[], byte[], byte[], CompareOperator, ByteArrayComparable, RowMutations) - Method in class org.apache.hadoop.hbase.regionserver.HRegion +checkAndRowMutate(byte[], byte[], byte[], CompareOperator, ByteArrayComparable, TimeRange, RowMutations) - Method in class org.apache.hadoop.hbase.regionserver.HRegion checkAndRowMutate(byte[], byte[], byte[], CompareOperator, ByteArrayComparable, RowMutations) - Method in interface org.apache.hadoop.hbase.regionserver.Region Atomically checks if a row/family/qualifier value matches the expected values and if it does, it performs the row mutations. -checkAndRowMutate(HRegion, ListClientProtos.Action, CellScanner, byte[], byte[], byte[], CompareOperator, ByteArrayComparable, ClientProtos.RegionActionResult.Builder, ActivePolicyEnforcement) - Method in class org.apache.hadoop.hbase.regionserver.RSRpcServices +checkAndRowMutate(byte[], byte[], byte[], CompareOperator, ByteArrayComparable, TimeRange, RowMutations) - Method in interface org.apache.hadoop.hbase.regionserver.Region + +Atomically checks if a row/family/qualifier value matches the expected values and if it does, + it performs the row mutations. + +checkAndRowMutate(HRegion, ListClientProtos.Action, CellScanner, byte[], byte[], byte[], CompareOperator, ByteArrayComparable, TimeRange, ClientProtos.RegionActionResult.Builder, ActivePolicyEnforcement) - Method in class org.apache.hadoop.hbase.regionserver.RSRpcServices Mutate a list of rows atomically. @@ -2,17 +25571,17 @@ doCall() - Method in class org.apache.hadoop.hbase.client.AsyncSingleRequestRpcRetryingCaller -doCheckAndDelete(byte[], byte[], byte[], String, byte[], Delete) - Method in class org.apache.hadoop.hbase.client.HTable +doCheckAndDelete(byte[], byte[], byte[], String, byte[], TimeRange, Delete) - Method in class org.apache.hadoop.hbase.client.HTable doCheckAndDelete(byte[], byte[], byte[], byte[], Delete) - Method in class org.apache.hadoop.hbase.rest.client.RemoteHTable -doCheckAndMutate(byte[], byte[], byte[], String, byte[], RowMutations) - Method in class org.apache.hadoop.hbase.client.HTable
[39/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/class-use/Delete.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/class-use/Delete.html b/apidocs/org/apache/hadoop/hbase/client/class-use/Delete.html index 346abe2..1f17bb0 100644 --- a/apidocs/org/apache/hadoop/hbase/client/class-use/Delete.html +++ b/apidocs/org/apache/hadoop/hbase/client/class-use/Delete.html @@ -284,14 +284,14 @@ -https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void -AsyncTable.delete(Deletedelete) +void +Table.delete(Deletedelete) Deletes the specified cells/row. -void -Table.delete(Deletedelete) +https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +AsyncTable.delete(Deletedelete) Deletes the specified cells/row. @@ -305,17 +305,17 @@ -https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void -AsyncTable.delete(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListDeletedeletes) -Deletes the specified cells/rows in bulk. - - - void Table.delete(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListDeletedeletes) Batch Deletes the specified cells/rows from the table. + +https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">Listhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void +AsyncTable.delete(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListDeletedeletes) +Deletes the specified cells/rows in bulk. + + default https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Void.html?is-external=true; title="class or interface in java.lang">Void AsyncTable.deleteAll(https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true; title="class or interface in java.util">ListDeletedeletes) http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/apidocs/org/apache/hadoop/hbase/client/class-use/Durability.html -- diff --git a/apidocs/org/apache/hadoop/hbase/client/class-use/Durability.html b/apidocs/org/apache/hadoop/hbase/client/class-use/Durability.html index d0aa766..15fa447 100644 --- a/apidocs/org/apache/hadoop/hbase/client/class-use/Durability.html +++ b/apidocs/org/apache/hadoop/hbase/client/class-use/Durability.html @@ -197,8 +197,8 @@ the order they are declared. -default https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long -AsyncTable.incrementColumnValue(byte[]row, +long +Table.incrementColumnValue(byte[]row, byte[]family, byte[]qualifier, longamount, @@ -207,8 +207,8 @@ the order they are declared. -long -Table.incrementColumnValue(byte[]row, +default https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html?is-external=true; title="class or interface in java.util.concurrent">CompletableFuturehttps://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true; title="class or interface in java.lang">Long +AsyncTable.incrementColumnValue(byte[]row, byte[]family, byte[]qualifier, longamount, @@ -217,31 +217,31 @@ the order they
[07/51] [partial] hbase-site git commit: Published site at e468b4022f76688851b3e0c34722f01a56bd624f.
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/16541468/devapidocs/org/apache/hadoop/hbase/client/HTable.html -- diff --git a/devapidocs/org/apache/hadoop/hbase/client/HTable.html b/devapidocs/org/apache/hadoop/hbase/client/HTable.html index 44fcf94..dd6854b 100644 --- a/devapidocs/org/apache/hadoop/hbase/client/HTable.html +++ b/devapidocs/org/apache/hadoop/hbase/client/HTable.html @@ -115,7 +115,7 @@ var activeTableTab = "activeTableTab"; @InterfaceAudience.Private @InterfaceStability.Stable -public class HTable +public class HTable extends https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true; title="class or interface in java.lang">Object implements Table An implementation of Table. Used to communicate with a single HBase table. @@ -515,29 +515,32 @@ implements private boolean -doCheckAndDelete(byte[]row, +doCheckAndDelete(byte[]row, byte[]family, byte[]qualifier, https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringopName, byte[]value, +TimeRangetimeRange, Deletedelete) private boolean -doCheckAndMutate(byte[]row, +doCheckAndMutate(byte[]row, byte[]family, byte[]qualifier, https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringopName, byte[]value, +TimeRangetimeRange, RowMutationsrm) private boolean -doCheckAndPut(byte[]row, +doCheckAndPut(byte[]row, byte[]family, byte[]qualifier, https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true; title="class or interface in java.lang">StringopName, byte[]value, + TimeRangetimeRange, Putput) @@ -832,7 +835,7 @@ implements LOG -private static finalorg.slf4j.Logger LOG +private static finalorg.slf4j.Logger LOG @@ -841,7 +844,7 @@ implements DEFAULT_CONSISTENCY -private static finalConsistency DEFAULT_CONSISTENCY +private static finalConsistency DEFAULT_CONSISTENCY @@ -850,7 +853,7 @@ implements connection -private finalClusterConnection connection +private finalClusterConnection connection @@ -859,7 +862,7 @@ implements tableName -private finalTableName tableName +private finalTableName tableName @@ -868,7 +871,7 @@ implements configuration -private finalorg.apache.hadoop.conf.Configuration configuration +private finalorg.apache.hadoop.conf.Configuration configuration @@ -877,7 +880,7 @@ implements connConfiguration -private finalConnectionConfiguration connConfiguration +private finalConnectionConfiguration connConfiguration @@ -886,7 +889,7 @@ implements closed -privateboolean closed +privateboolean closed @@ -895,7 +898,7 @@ implements scannerCaching -private finalint scannerCaching +private finalint scannerCaching @@ -904,7 +907,7 @@ implements scannerMaxResultSize -private finallong scannerMaxResultSize +private finallong scannerMaxResultSize @@ -913,7 +916,7 @@ implements pool -private finalhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true; title="class or interface in java.util.concurrent">ExecutorService pool +private finalhttps://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true; title="class or interface in java.util.concurrent">ExecutorService pool @@ -922,7 +925,7 @@ implements operationTimeoutMs -privateint operationTimeoutMs +privateint operationTimeoutMs @@ -931,7 +934,7 @@ implements rpcTimeoutMs -private finalint rpcTimeoutMs +private finalint rpcTimeoutMs @@ -940,7 +943,7 @@ implements readRpcTimeoutMs -privateint readRpcTimeoutMs +privateint readRpcTimeoutMs @@ -949,7 +952,7 @@ implements writeRpcTimeoutMs -privateint writeRpcTimeoutMs +privateint writeRpcTimeoutMs @@ -958,7 +961,7 @@ implements cleanupPoolOnClose -private finalboolean cleanupPoolOnClose +private finalboolean cleanupPoolOnClose @@ -967,7 +970,7 @@ implements locator -private finalHRegionLocator locator +private finalHRegionLocator locator @@ -976,7 +979,7 @@ implements multiAp -AsyncProcess multiAp +AsyncProcess multiAp The Async process for batch @@ -986,7 +989,7 @@ implements rpcCallerFactory -private finalRpcRetryingCallerFactory rpcCallerFactory +private finalRpcRetryingCallerFactory rpcCallerFactory @@ -995,7 +998,7 @@ implements rpcControllerFactory -private finalRpcControllerFactory rpcControllerFactory +private finalRpcControllerFactory rpcControllerFactory @@ -1013,7 +1016,7 @@ implements HTable
hbase git commit: HBASE-20227 Add UT for ReplicationUtils.contains method
Repository: hbase Updated Branches: refs/heads/master b50b2e51b -> e468b4022 HBASE-20227 Add UT for ReplicationUtils.contains method Signed-off-by: zhangduoProject: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e468b402 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e468b402 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e468b402 Branch: refs/heads/master Commit: e468b4022f76688851b3e0c34722f01a56bd624f Parents: b50b2e5 Author: tianjingyun Authored: Sat Mar 24 18:57:48 2018 +0800 Committer: zhangduo Committed: Sat Mar 24 22:12:52 2018 +0800 -- .../hbase/replication/ReplicationUtils.java | 2 +- .../hbase/replication/TestReplicationUtil.java | 235 +++ 2 files changed, 236 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/e468b402/hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/ReplicationUtils.java -- diff --git a/hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/ReplicationUtils.java b/hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/ReplicationUtils.java index 1c42de4..c7568bb 100644 --- a/hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/ReplicationUtils.java +++ b/hbase-replication/src/main/java/org/apache/hadoop/hbase/replication/ReplicationUtils.java @@ -145,7 +145,7 @@ public final class ReplicationUtils { if (excludeNamespaces != null && excludeNamespaces.contains(namespace)) { return false; } - Map excludedTableCFs = peerConfig.getTableCFsMap(); + Map excludedTableCFs = peerConfig.getExcludeTableCFsMap(); // trap here, must check existence first since HashMap allows null value. if (excludedTableCFs == null || !excludedTableCFs.containsKey(tableName)) { return true; http://git-wip-us.apache.org/repos/asf/hbase/blob/e468b402/hbase-replication/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationUtil.java -- diff --git a/hbase-replication/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationUtil.java b/hbase-replication/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationUtil.java new file mode 100644 index 000..f8543fe --- /dev/null +++ b/hbase-replication/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationUtil.java @@ -0,0 +1,235 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hbase.replication; + +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import org.apache.hadoop.hbase.HBaseClassTestRule; +import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.testclassification.ReplicationTests; +import org.apache.hadoop.hbase.testclassification.SmallTests; +import org.junit.Assert; +import org.junit.ClassRule; +import org.junit.Test; +import org.junit.experimental.categories.Category; + +@Category({ ReplicationTests.class, SmallTests.class }) +public class TestReplicationUtil { + + @ClassRule + public static final HBaseClassTestRule CLASS_RULE = +HBaseClassTestRule.forClass(TestReplicationUtil.class); + + private static TableName TABLE_A = TableName.valueOf("replication", "testA"); + private static TableName TABLE_B = TableName.valueOf("replication", "testB"); + + @Test + public void testContainsWithReplicatingAll() { +ReplicationPeerConfig peerConfig; +ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl builder = + new ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl(); +Map tableCfs = new HashMap<>(); +Set namespaces = new HashSet<>(); + +// 1. replication_all flag is true, no namespaces and table-cfs config +
hbase git commit: HBASE-20272 TestAsyncTable#testCheckAndMutateWithTimeRange fails due to TableExistsException
Repository: hbase Updated Branches: refs/heads/master c44e88686 -> b50b2e51b HBASE-20272 TestAsyncTable#testCheckAndMutateWithTimeRange fails due to TableExistsException Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/b50b2e51 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/b50b2e51 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/b50b2e51 Branch: refs/heads/master Commit: b50b2e51bff361e28d3522d2f4bc3aedac9b7d86 Parents: c44e886 Author: tedyuAuthored: Sat Mar 24 06:27:20 2018 -0700 Committer: tedyu Committed: Sat Mar 24 06:27:20 2018 -0700 -- .../test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java| 1 - 1 file changed, 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/b50b2e51/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java -- diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java index 576c0a7..d119f1c 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAsyncTable.java @@ -342,7 +342,6 @@ public class TestAsyncTable { @Test public void testCheckAndMutateWithTimeRange() throws Exception { - TEST_UTIL.createTable(TableName.valueOf("testCheckAndMutateWithTimeRange"), FAMILY); AsyncTable table = getTable.get(); final long ts = System.currentTimeMillis() / 2; Put put = new Put(row);
hbase git commit: HBASE-20271 ReplicationSourceWALReader.switched should use the file name instead of the path object directly
Repository: hbase Updated Branches: refs/heads/master 64ccd2b29 -> c44e88686 HBASE-20271 ReplicationSourceWALReader.switched should use the file name instead of the path object directly Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/c44e8868 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/c44e8868 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/c44e8868 Branch: refs/heads/master Commit: c44e88686084a60be7d4dd5afeabab22f7cddfd8 Parents: 64ccd2b Author: zhangduoAuthored: Sat Mar 24 16:25:20 2018 +0800 Committer: zhangduo Committed: Sat Mar 24 21:12:40 2018 +0800 -- .../replication/regionserver/ReplicationSourceWALReader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/hbase/blob/c44e8868/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java -- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java index 2154856..7ba347f 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceWALReader.java @@ -174,7 +174,8 @@ class ReplicationSourceWALReader extends Thread { } protected static final boolean switched(WALEntryStream entryStream, Path path) { -return !path.equals(entryStream.getCurrentPath()); +Path newPath = entryStream.getCurrentPath(); +return newPath == null || !path.getName().equals(newPath.getName()); } protected WALEntryBatch readWALEntries(WALEntryStream entryStream)