http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/downloads.html ---------------------------------------------------------------------- diff --git a/downloads.html b/downloads.html index 1ed32d0..5581885 100644 --- a/downloads.html +++ b/downloads.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase Downloads</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -433,7 +433,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/export_control.html ---------------------------------------------------------------------- diff --git a/export_control.html b/export_control.html index cf2a290..3351356 100644 --- a/export_control.html +++ b/export_control.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Export Control @@ -341,7 +341,7 @@ for more details.</p> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/index.html ---------------------------------------------------------------------- diff --git a/index.html b/index.html index 2a9029d..3dc0a3f 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase⢠Home</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -421,7 +421,7 @@ Apache HBase is an open-source, distributed, versioned, non-relational database <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/integration.html ---------------------------------------------------------------------- diff --git a/integration.html b/integration.html index 9b8a5ca..3d5daff 100644 --- a/integration.html +++ b/integration.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – CI Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -301,7 +301,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/issue-tracking.html ---------------------------------------------------------------------- diff --git a/issue-tracking.html b/issue-tracking.html index 4e6f110..7625259 100644 --- a/issue-tracking.html +++ b/issue-tracking.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Issue Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -298,7 +298,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/license.html ---------------------------------------------------------------------- diff --git a/license.html b/license.html index 83944af..39c4e18 100644 --- a/license.html +++ b/license.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Licenses</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -501,7 +501,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/mail-lists.html ---------------------------------------------------------------------- diff --git a/mail-lists.html b/mail-lists.html index 2bc5854..fc5db58 100644 --- a/mail-lists.html +++ b/mail-lists.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Mailing Lists</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -351,7 +351,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/metrics.html ---------------------------------------------------------------------- diff --git a/metrics.html b/metrics.html index c1cb639..c4ac46b 100644 --- a/metrics.html +++ b/metrics.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase (TM) Metrics @@ -469,7 +469,7 @@ export HBASE_REGIONSERVER_OPTS="$HBASE_JMX_OPTS -Dcom.sun.management.jmxrem <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/old_news.html ---------------------------------------------------------------------- diff --git a/old_news.html b/old_news.html index dad3626..1d825f7 100644 --- a/old_news.html +++ b/old_news.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Old Apache HBase (TM) News @@ -450,7 +450,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/plugin-management.html ---------------------------------------------------------------------- diff --git a/plugin-management.html b/plugin-management.html index f59f306..50d387f 100644 --- a/plugin-management.html +++ b/plugin-management.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Plugin Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -450,7 +450,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/plugins.html ---------------------------------------------------------------------- diff --git a/plugins.html b/plugins.html index 00c0746..cd11751 100644 --- a/plugins.html +++ b/plugins.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Plugins</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -385,7 +385,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/poweredbyhbase.html ---------------------------------------------------------------------- diff --git a/poweredbyhbase.html b/poweredbyhbase.html index ea0c7b5..6f7835b 100644 --- a/poweredbyhbase.html +++ b/poweredbyhbase.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Powered By Apache HBaseÂ</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -779,7 +779,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/project-info.html ---------------------------------------------------------------------- diff --git a/project-info.html b/project-info.html index 76c9be7..0e25ce4 100644 --- a/project-info.html +++ b/project-info.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Information</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -345,7 +345,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/project-reports.html ---------------------------------------------------------------------- diff --git a/project-reports.html b/project-reports.html index e458df3..e509605 100644 --- a/project-reports.html +++ b/project-reports.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Generated Reports</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -315,7 +315,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/project-summary.html ---------------------------------------------------------------------- diff --git a/project-summary.html b/project-summary.html index 7c67352..341853c 100644 --- a/project-summary.html +++ b/project-summary.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Summary</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -341,7 +341,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/pseudo-distributed.html ---------------------------------------------------------------------- diff --git a/pseudo-distributed.html b/pseudo-distributed.html index 6fe74ff..c87a71a 100644 --- a/pseudo-distributed.html +++ b/pseudo-distributed.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Running Apache HBase (TM) in pseudo-distributed mode @@ -318,7 +318,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/replication.html ---------------------------------------------------------------------- diff --git a/replication.html b/replication.html index ddccb8f..9947370 100644 --- a/replication.html +++ b/replication.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase (TM) Replication @@ -313,7 +313,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/resources.html ---------------------------------------------------------------------- diff --git a/resources.html b/resources.html index bf26329..5c25fe6 100644 --- a/resources.html +++ b/resources.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Other Apache HBase (TM) Resources</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -341,7 +341,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/source-repository.html ---------------------------------------------------------------------- diff --git a/source-repository.html b/source-repository.html index 4c75b87..4727994 100644 --- a/source-repository.html +++ b/source-repository.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Source Code Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -309,7 +309,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/sponsors.html ---------------------------------------------------------------------- diff --git a/sponsors.html b/sponsors.html index 7c63ba9..42e47f6 100644 --- a/sponsors.html +++ b/sponsors.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase Sponsors</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -343,7 +343,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/supportingprojects.html ---------------------------------------------------------------------- diff --git a/supportingprojects.html b/supportingprojects.html index 3d90d0a..c7221e6 100644 --- a/supportingprojects.html +++ b/supportingprojects.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Supporting Projects</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -530,7 +530,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/team-list.html ---------------------------------------------------------------------- diff --git a/team-list.html b/team-list.html index b4ae911..7e58225 100644 --- a/team-list.html +++ b/team-list.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20181016" /> + <meta name="Date-Revision-yyyymmdd" content="20181017" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Team</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.4-HBase.min.css" /> @@ -770,7 +770,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-10-16</li> + <li id="publishDate" class="pull-right">Last Published: 2018-10-17</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html index e1001f1..fa41d4b 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html +++ b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html @@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>private static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.html#line.355">TestChecksum.CorruptedFSReaderImpl</a> +<pre>private static class <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.html#line.353">TestChecksum.CorruptedFSReaderImpl</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> <div class="block">This class is to test checksum behavior when data is corrupted. It mimics the following behavior: @@ -273,7 +273,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>corruptDataStream</h4> -<pre>boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html#line.359">corruptDataStream</a></pre> +<pre>boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html#line.357">corruptDataStream</a></pre> <div class="block">If set to true, corrupt reads using readAtOffset(...).</div> </li> </ul> @@ -300,7 +300,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockListLast"> <li class="blockList"> <h4>CorruptedFSReaderImpl</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html#line.361">CorruptedFSReaderImpl</a>(org.apache.hadoop.hbase.io.FSDataInputStreamWrapper istream, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html#line.359">CorruptedFSReaderImpl</a>(org.apache.hadoop.hbase.io.FSDataInputStreamWrapper istream, long fileSize, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, @@ -326,7 +326,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>readBlockDataInternal</h4> -<pre>protected org.apache.hadoop.hbase.io.hfile.HFileBlock <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html#line.367">readBlockDataInternal</a>(org.apache.hadoop.fs.FSDataInputStream is, +<pre>protected org.apache.hadoop.hbase.io.hfile.HFileBlock <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html#line.365">readBlockDataInternal</a>(org.apache.hadoop.fs.FSDataInputStream is, long offset, long onDiskSizeWithHeaderL, boolean pread, @@ -345,7 +345,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>readAtOffset</h4> -<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html#line.380">readAtOffset</a>(org.apache.hadoop.fs.FSDataInputStream istream, +<pre>protected int <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html#line.378">readAtOffset</a>(org.apache.hadoop.fs.FSDataInputStream istream, byte[] dest, int destOffset, int size, http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.html b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.html index 0fdc167..a826b49 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.html +++ b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestChecksum.html @@ -467,7 +467,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockListLast"> <li class="blockList"> <h4>validateData</h4> -<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.html#line.338">validateData</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</a> in) +<pre>private void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.html#line.336">validateData</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataInputStream.html?is-external=true" title="class or interface in java.io">DataInputStream</a> in) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html index cf691bd..104a13a 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html +++ b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html @@ -117,7 +117,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>private class <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.653">TestHFileBlock.BlockReaderThread</a> +<pre>private class <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.654">TestHFileBlock.BlockReaderThread</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Callable.html?is-external=true" title="class or interface in java.util.concurrent">Callable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>></pre> </li> @@ -226,7 +226,7 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre <ul class="blockList"> <li class="blockList"> <h4>clientId</h4> -<pre>private final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.654">clientId</a></pre> +<pre>private final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.655">clientId</a></pre> </li> </ul> <a name="hbr"> @@ -235,7 +235,7 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre <ul class="blockList"> <li class="blockList"> <h4>hbr</h4> -<pre>private final org.apache.hadoop.hbase.io.hfile.HFileBlock.FSReader <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.655">hbr</a></pre> +<pre>private final org.apache.hadoop.hbase.io.hfile.HFileBlock.FSReader <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.656">hbr</a></pre> </li> </ul> <a name="offsets"> @@ -244,7 +244,7 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre <ul class="blockList"> <li class="blockList"> <h4>offsets</h4> -<pre>private final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.656">offsets</a></pre> +<pre>private final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.657">offsets</a></pre> </li> </ul> <a name="types"> @@ -253,7 +253,7 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre <ul class="blockList"> <li class="blockList"> <h4>types</h4> -<pre>private final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.io.hfile.BlockType> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.657">types</a></pre> +<pre>private final <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.io.hfile.BlockType> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.658">types</a></pre> </li> </ul> <a name="fileSize"> @@ -262,7 +262,7 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre <ul class="blockListLast"> <li class="blockList"> <h4>fileSize</h4> -<pre>private final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.658">fileSize</a></pre> +<pre>private final long <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.659">fileSize</a></pre> </li> </ul> </li> @@ -279,7 +279,7 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre <ul class="blockListLast"> <li class="blockList"> <h4>BlockReaderThread</h4> -<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.660">BlockReaderThread</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clientId, +<pre>public <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.661">BlockReaderThread</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> clientId, org.apache.hadoop.hbase.io.hfile.HFileBlock.FSReader hbr, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> offsets, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.io.hfile.BlockType> types, @@ -300,7 +300,7 @@ implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurre <ul class="blockListLast"> <li class="blockList"> <h4>call</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.671">call</a>() +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.BlockReaderThread.html#line.672">call</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html index 3d010ce..26afeff 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html +++ b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html @@ -739,7 +739,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>buildMessageDetails</h4> -<pre>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.491">buildMessageDetails</a>(org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, +<pre>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.493">buildMessageDetails</a>(org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, boolean pread)</pre> </li> @@ -750,7 +750,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>assertBuffersEqual</h4> -<pre>static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.496">assertBuffersEqual</a>(org.apache.hadoop.hbase.nio.ByteBuff expectedBuffer, +<pre>static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.498">assertBuffersEqual</a>(org.apache.hadoop.hbase.nio.ByteBuff expectedBuffer, org.apache.hadoop.hbase.nio.ByteBuff actualBuffer, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression, org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding, @@ -763,7 +763,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>nextBytesToStr</h4> -<pre>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.519">nextBytesToStr</a>(org.apache.hadoop.hbase.nio.ByteBuff buf, +<pre>private static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.521">nextBytesToStr</a>(org.apache.hadoop.hbase.nio.ByteBuff buf, int pos)</pre> <div class="block">Convert a few next bytes in the given buffer at the given position to string. Used for error messages.</div> @@ -775,7 +775,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>testPreviousOffset</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.527">testPreviousOffset</a>() +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.529">testPreviousOffset</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -789,7 +789,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>testPreviousOffsetInternals</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.531">testPreviousOffsetInternals</a>() +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.533">testPreviousOffsetInternals</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -803,7 +803,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>defaultRandom</h4> -<pre>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true" title="class or interface in java.util">Random</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.649">defaultRandom</a>()</pre> +<pre>private <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true" title="class or interface in java.util">Random</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.650">defaultRandom</a>()</pre> </li> </ul> <a name="testConcurrentReading--"> @@ -812,7 +812,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>testConcurrentReading</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.718">testConcurrentReading</a>() +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.719">testConcurrentReading</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -826,7 +826,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>testConcurrentReadingInternals</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.722">testConcurrentReadingInternals</a>() +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.723">testConcurrentReadingInternals</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutionException.html?is-external=true" title="class or interface in java.util.concurrent">ExecutionException</a></pre> @@ -844,7 +844,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>writeBlocks</h4> -<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.762">writeBlocks</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true" title="class or interface in java.util">Random</a> rand, +<pre>private long <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.763">writeBlocks</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Random.html?is-external=true" title="class or interface in java.util">Random</a> rand, org.apache.hadoop.hbase.io.compress.Compression.Algorithm compressAlgo, org.apache.hadoop.fs.Path path, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>> expectedOffsets, @@ -864,7 +864,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>testBlockHeapSize</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.825">testBlockHeapSize</a>()</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.826">testBlockHeapSize</a>()</pre> </li> </ul> <a name="testBlockHeapSizeInternals--"> @@ -873,7 +873,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>testBlockHeapSizeInternals</h4> -<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.829">testBlockHeapSizeInternals</a>()</pre> +<pre>protected void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.830">testBlockHeapSizeInternals</a>()</pre> </li> </ul> <a name="testSerializeWithoutNextBlockMetadata--"> @@ -882,7 +882,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockListLast"> <li class="blockList"> <h4>testSerializeWithoutNextBlockMetadata</h4> -<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.863">testSerializeWithoutNextBlockMetadata</a>()</pre> +<pre>public void <a href="../../../../../../src-html/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.html#line.864">testSerializeWithoutNextBlockMetadata</a>()</pre> </li> </ul> </li> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/testdevapidocs/org/apache/hadoop/hbase/tool/TestCanaryTool.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/tool/TestCanaryTool.html b/testdevapidocs/org/apache/hadoop/hbase/tool/TestCanaryTool.html index cbe4e39..6df6cd9 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/tool/TestCanaryTool.html +++ b/testdevapidocs/org/apache/hadoop/hbase/tool/TestCanaryTool.html @@ -109,7 +109,7 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <hr> <br> -<pre>public class <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.62">TestCanaryTool</a> +<pre>public class <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.63">TestCanaryTool</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> </li> </ul> @@ -261,7 +261,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>CLASS_RULE</h4> -<pre>public static final <a href="../../../../../org/apache/hadoop/hbase/HBaseClassTestRule.html" title="class in org.apache.hadoop.hbase">HBaseClassTestRule</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.65">CLASS_RULE</a></pre> +<pre>public static final <a href="../../../../../org/apache/hadoop/hbase/HBaseClassTestRule.html" title="class in org.apache.hadoop.hbase">HBaseClassTestRule</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.66">CLASS_RULE</a></pre> </li> </ul> <a name="testingUtility"> @@ -270,7 +270,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>testingUtility</h4> -<pre>private <a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.68">testingUtility</a></pre> +<pre>private <a href="../../../../../org/apache/hadoop/hbase/HBaseTestingUtility.html" title="class in org.apache.hadoop.hbase">HBaseTestingUtility</a> <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.69">testingUtility</a></pre> </li> </ul> <a name="FAMILY"> @@ -279,7 +279,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>FAMILY</h4> -<pre>private static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.69">FAMILY</a></pre> +<pre>private static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.70">FAMILY</a></pre> </li> </ul> <a name="COLUMN"> @@ -288,7 +288,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>COLUMN</h4> -<pre>private static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.70">COLUMN</a></pre> +<pre>private static final byte[] <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.71">COLUMN</a></pre> </li> </ul> <a name="name"> @@ -297,7 +297,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>name</h4> -<pre>public org.junit.rules.TestName <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.73">name</a></pre> +<pre>public org.junit.rules.TestName <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.74">name</a></pre> </li> </ul> <a name="mockAppender"> @@ -307,7 +307,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <li class="blockList"> <h4>mockAppender</h4> <pre>@Mock -org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.89">mockAppender</a></pre> +org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.90">mockAppender</a></pre> </li> </ul> </li> @@ -324,7 +324,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockListLast"> <li class="blockList"> <h4>TestCanaryTool</h4> -<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.62">TestCanaryTool</a>()</pre> +<pre>public <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.63">TestCanaryTool</a>()</pre> </li> </ul> </li> @@ -341,7 +341,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>setUp</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.76">setUp</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.77">setUp</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -355,7 +355,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>tearDown</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.83">tearDown</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.84">tearDown</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -369,7 +369,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>testBasicZookeeperCanaryWorks</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.92">testBasicZookeeperCanaryWorks</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.93">testBasicZookeeperCanaryWorks</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -383,7 +383,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>testZookeeperCanaryPermittedFailuresArgumentWorks</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.98">testZookeeperCanaryPermittedFailuresArgumentWorks</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.99">testZookeeperCanaryPermittedFailuresArgumentWorks</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -397,7 +397,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>testBasicCanaryWorks</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.104">testBasicCanaryWorks</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.105">testBasicCanaryWorks</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -411,7 +411,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>testReadTableTimeouts</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.127">testReadTableTimeouts</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.128">testReadTableTimeouts</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -425,7 +425,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>testWriteTableTimeout</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.171">testWriteTableTimeout</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.173">testWriteTableTimeout</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -439,7 +439,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>testRegionserverNoRegions</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.190">testRegionserverNoRegions</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.192">testRegionserverNoRegions</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -453,7 +453,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>testRegionserverWithRegions</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.202">testRegionserverWithRegions</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.204">testRegionserverWithRegions</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -467,7 +467,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>testRawScanConfig</h4> -<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.215">testRawScanConfig</a>() +<pre>public void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.217">testRawScanConfig</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -481,7 +481,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockList"> <li class="blockList"> <h4>runRegionserverCanary</h4> -<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.239">runRegionserverCanary</a>() +<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.241">runRegionserverCanary</a>() throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> @@ -495,7 +495,7 @@ org.apache.log4j.Appender <a href="../../../../../src-html/org/apache/hadoop/hba <ul class="blockListLast"> <li class="blockList"> <h4>testZookeeperCanaryWithArgs</h4> -<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.247">testZookeeperCanaryWithArgs</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args) +<pre>private void <a href="../../../../../src-html/org/apache/hadoop/hbase/tool/TestCanaryTool.html#line.249">testZookeeperCanaryWithArgs</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>[] args) throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre> <dl> <dt><span class="throwsLabel">Throws:</span></dt> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/713132a3/testdevapidocs/src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html index 36bea79..2dd2eb6 100644 --- a/testdevapidocs/src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html +++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/io/hfile/TestChecksum.CorruptedFSReaderImpl.html @@ -307,105 +307,103 @@ <span class="sourceLineNo">299</span> long expectedChunks = ChecksumUtil.numChunks(<a name="line.299"></a> <span class="sourceLineNo">300</span> dataSize + HConstants.HFILEBLOCK_HEADER_SIZE,<a name="line.300"></a> <span class="sourceLineNo">301</span> bytesPerChecksum);<a name="line.301"></a> -<span class="sourceLineNo">302</span> LOG.info("testChecksumChunks: pread=" + pread +<a name="line.302"></a> -<span class="sourceLineNo">303</span> ", bytesPerChecksum=" + bytesPerChecksum +<a name="line.303"></a> -<span class="sourceLineNo">304</span> ", fileSize=" + totalSize +<a name="line.304"></a> -<span class="sourceLineNo">305</span> ", dataSize=" + dataSize +<a name="line.305"></a> -<span class="sourceLineNo">306</span> ", expectedChunks=" + expectedChunks);<a name="line.306"></a> -<span class="sourceLineNo">307</span><a name="line.307"></a> -<span class="sourceLineNo">308</span> // Verify hbase checksums.<a name="line.308"></a> -<span class="sourceLineNo">309</span> assertEquals(true, hfs.useHBaseChecksum());<a name="line.309"></a> -<span class="sourceLineNo">310</span><a name="line.310"></a> -<span class="sourceLineNo">311</span> // Read data back from file.<a name="line.311"></a> -<span class="sourceLineNo">312</span> FSDataInputStream is = fs.open(path);<a name="line.312"></a> -<span class="sourceLineNo">313</span> FSDataInputStream nochecksum = hfs.getNoChecksumFs().open(path);<a name="line.313"></a> -<span class="sourceLineNo">314</span> meta = new HFileContextBuilder()<a name="line.314"></a> -<span class="sourceLineNo">315</span> .withCompression(algo)<a name="line.315"></a> -<span class="sourceLineNo">316</span> .withIncludesMvcc(true)<a name="line.316"></a> -<span class="sourceLineNo">317</span> .withIncludesTags(useTags)<a name="line.317"></a> -<span class="sourceLineNo">318</span> .withHBaseCheckSum(true)<a name="line.318"></a> -<span class="sourceLineNo">319</span> .withBytesPerCheckSum(bytesPerChecksum)<a name="line.319"></a> -<span class="sourceLineNo">320</span> .build();<a name="line.320"></a> -<span class="sourceLineNo">321</span> HFileBlock.FSReader hbr = new HFileBlock.FSReaderImpl(new FSDataInputStreamWrapper(<a name="line.321"></a> -<span class="sourceLineNo">322</span> is, nochecksum), totalSize, hfs, path, meta);<a name="line.322"></a> -<span class="sourceLineNo">323</span> HFileBlock b = hbr.readBlockData(0, -1, pread, false);<a name="line.323"></a> -<span class="sourceLineNo">324</span> is.close();<a name="line.324"></a> -<span class="sourceLineNo">325</span> b.sanityCheck();<a name="line.325"></a> -<span class="sourceLineNo">326</span> assertEquals(dataSize, b.getUncompressedSizeWithoutHeader());<a name="line.326"></a> -<span class="sourceLineNo">327</span><a name="line.327"></a> -<span class="sourceLineNo">328</span> // verify that we have the expected number of checksum chunks<a name="line.328"></a> -<span class="sourceLineNo">329</span> assertEquals(totalSize, HConstants.HFILEBLOCK_HEADER_SIZE + dataSize +<a name="line.329"></a> -<span class="sourceLineNo">330</span> expectedChunks * HFileBlock.CHECKSUM_SIZE);<a name="line.330"></a> -<span class="sourceLineNo">331</span><a name="line.331"></a> -<span class="sourceLineNo">332</span> // assert that we did not encounter hbase checksum verification failures<a name="line.332"></a> -<span class="sourceLineNo">333</span> assertEquals(0, HFile.getAndResetChecksumFailuresCount());<a name="line.333"></a> -<span class="sourceLineNo">334</span> }<a name="line.334"></a> -<span class="sourceLineNo">335</span> }<a name="line.335"></a> -<span class="sourceLineNo">336</span> }<a name="line.336"></a> -<span class="sourceLineNo">337</span><a name="line.337"></a> -<span class="sourceLineNo">338</span> private void validateData(DataInputStream in) throws IOException {<a name="line.338"></a> -<span class="sourceLineNo">339</span> // validate data<a name="line.339"></a> -<span class="sourceLineNo">340</span> for (int i = 0; i < 1234; i++) {<a name="line.340"></a> -<span class="sourceLineNo">341</span> int val = in.readInt();<a name="line.341"></a> -<span class="sourceLineNo">342</span> assertEquals("testChecksumCorruption: data mismatch at index " + i, i, val);<a name="line.342"></a> -<span class="sourceLineNo">343</span> }<a name="line.343"></a> -<span class="sourceLineNo">344</span> }<a name="line.344"></a> -<span class="sourceLineNo">345</span><a name="line.345"></a> -<span class="sourceLineNo">346</span> /**<a name="line.346"></a> -<span class="sourceLineNo">347</span> * This class is to test checksum behavior when data is corrupted. It mimics the following<a name="line.347"></a> -<span class="sourceLineNo">348</span> * behavior:<a name="line.348"></a> -<span class="sourceLineNo">349</span> * - When fs checksum is disabled, hbase may get corrupted data from hdfs. If verifyChecksum<a name="line.349"></a> -<span class="sourceLineNo">350</span> * is true, it means hbase checksum is on and fs checksum is off, so we corrupt the data.<a name="line.350"></a> -<span class="sourceLineNo">351</span> * - When fs checksum is enabled, hdfs will get a different copy from another node, and will<a name="line.351"></a> -<span class="sourceLineNo">352</span> * always return correct data. So we don't corrupt the data when verifyChecksum for hbase is<a name="line.352"></a> -<span class="sourceLineNo">353</span> * off.<a name="line.353"></a> -<span class="sourceLineNo">354</span> */<a name="line.354"></a> -<span class="sourceLineNo">355</span> static private class CorruptedFSReaderImpl extends HFileBlock.FSReaderImpl {<a name="line.355"></a> -<span class="sourceLineNo">356</span> /**<a name="line.356"></a> -<span class="sourceLineNo">357</span> * If set to true, corrupt reads using readAtOffset(...).<a name="line.357"></a> -<span class="sourceLineNo">358</span> */<a name="line.358"></a> -<span class="sourceLineNo">359</span> boolean corruptDataStream = false;<a name="line.359"></a> -<span class="sourceLineNo">360</span><a name="line.360"></a> -<span class="sourceLineNo">361</span> public CorruptedFSReaderImpl(FSDataInputStreamWrapper istream, long fileSize, FileSystem fs,<a name="line.361"></a> -<span class="sourceLineNo">362</span> Path path, HFileContext meta) throws IOException {<a name="line.362"></a> -<span class="sourceLineNo">363</span> super(istream, fileSize, (HFileSystem) fs, path, meta);<a name="line.363"></a> -<span class="sourceLineNo">364</span> }<a name="line.364"></a> -<span class="sourceLineNo">365</span><a name="line.365"></a> -<span class="sourceLineNo">366</span> @Override<a name="line.366"></a> -<span class="sourceLineNo">367</span> protected HFileBlock readBlockDataInternal(FSDataInputStream is, long offset,<a name="line.367"></a> -<span class="sourceLineNo">368</span> long onDiskSizeWithHeaderL, boolean pread, boolean verifyChecksum, boolean updateMetrics)<a name="line.368"></a> -<span class="sourceLineNo">369</span> throws IOException {<a name="line.369"></a> -<span class="sourceLineNo">370</span> if (verifyChecksum) {<a name="line.370"></a> -<span class="sourceLineNo">371</span> corruptDataStream = true;<a name="line.371"></a> -<span class="sourceLineNo">372</span> }<a name="line.372"></a> -<span class="sourceLineNo">373</span> HFileBlock b = super.readBlockDataInternal(is, offset, onDiskSizeWithHeaderL, pread,<a name="line.373"></a> -<span class="sourceLineNo">374</span> verifyChecksum, updateMetrics);<a name="line.374"></a> -<span class="sourceLineNo">375</span> corruptDataStream = false;<a name="line.375"></a> -<span class="sourceLineNo">376</span> return b;<a name="line.376"></a> -<span class="sourceLineNo">377</span> }<a name="line.377"></a> -<span class="sourceLineNo">378</span><a name="line.378"></a> -<span class="sourceLineNo">379</span> @Override<a name="line.379"></a> -<span class="sourceLineNo">380</span> protected int readAtOffset(FSDataInputStream istream, byte [] dest, int destOffset, int size,<a name="line.380"></a> -<span class="sourceLineNo">381</span> boolean peekIntoNextBlock, long fileOffset, boolean pread) throws IOException {<a name="line.381"></a> -<span class="sourceLineNo">382</span> int returnValue = super.readAtOffset(istream, dest, destOffset, size, peekIntoNextBlock,<a name="line.382"></a> -<span class="sourceLineNo">383</span> fileOffset, pread);<a name="line.383"></a> -<span class="sourceLineNo">384</span> if (!corruptDataStream) {<a name="line.384"></a> -<span class="sourceLineNo">385</span> return returnValue;<a name="line.385"></a> -<span class="sourceLineNo">386</span> }<a name="line.386"></a> -<span class="sourceLineNo">387</span> // Corrupt 3rd character of block magic of next block's header.<a name="line.387"></a> -<span class="sourceLineNo">388</span> if (peekIntoNextBlock) {<a name="line.388"></a> -<span class="sourceLineNo">389</span> dest[destOffset + size + 3] = 0b00000000;<a name="line.389"></a> -<span class="sourceLineNo">390</span> }<a name="line.390"></a> -<span class="sourceLineNo">391</span> // We might be reading this block's header too, corrupt it.<a name="line.391"></a> -<span class="sourceLineNo">392</span> dest[destOffset + 1] = 0b00000000;<a name="line.392"></a> -<span class="sourceLineNo">393</span> // Corrupt non header data<a name="line.393"></a> -<span class="sourceLineNo">394</span> if (size > hdrSize) {<a name="line.394"></a> -<span class="sourceLineNo">395</span> dest[destOffset + hdrSize + 1] = 0b00000000;<a name="line.395"></a> -<span class="sourceLineNo">396</span> }<a name="line.396"></a> -<span class="sourceLineNo">397</span> return returnValue;<a name="line.397"></a> -<span class="sourceLineNo">398</span> }<a name="line.398"></a> -<span class="sourceLineNo">399</span> }<a name="line.399"></a> -<span class="sourceLineNo">400</span>}<a name="line.400"></a> +<span class="sourceLineNo">302</span> LOG.info("testChecksumChunks: pread={}, bytesPerChecksum={}, fileSize={}, "<a name="line.302"></a> +<span class="sourceLineNo">303</span> + "dataSize={}, expectedChunks={}, compression={}", pread, bytesPerChecksum,<a name="line.303"></a> +<span class="sourceLineNo">304</span> totalSize, dataSize, expectedChunks, algo.toString());<a name="line.304"></a> +<span class="sourceLineNo">305</span><a name="line.305"></a> +<span class="sourceLineNo">306</span> // Verify hbase checksums.<a name="line.306"></a> +<span class="sourceLineNo">307</span> assertEquals(true, hfs.useHBaseChecksum());<a name="line.307"></a> +<span class="sourceLineNo">308</span><a name="line.308"></a> +<span class="sourceLineNo">309</span> // Read data back from file.<a name="line.309"></a> +<span class="sourceLineNo">310</span> FSDataInputStream is = fs.open(path);<a name="line.310"></a> +<span class="sourceLineNo">311</span> FSDataInputStream nochecksum = hfs.getNoChecksumFs().open(path);<a name="line.311"></a> +<span class="sourceLineNo">312</span> meta = new HFileContextBuilder()<a name="line.312"></a> +<span class="sourceLineNo">313</span> .withCompression(algo)<a name="line.313"></a> +<span class="sourceLineNo">314</span> .withIncludesMvcc(true)<a name="line.314"></a> +<span class="sourceLineNo">315</span> .withIncludesTags(useTags)<a name="line.315"></a> +<span class="sourceLineNo">316</span> .withHBaseCheckSum(true)<a name="line.316"></a> +<span class="sourceLineNo">317</span> .withBytesPerCheckSum(bytesPerChecksum)<a name="line.317"></a> +<span class="sourceLineNo">318</span> .build();<a name="line.318"></a> +<span class="sourceLineNo">319</span> HFileBlock.FSReader hbr = new HFileBlock.FSReaderImpl(new FSDataInputStreamWrapper(<a name="line.319"></a> +<span class="sourceLineNo">320</span> is, nochecksum), totalSize, hfs, path, meta);<a name="line.320"></a> +<span class="sourceLineNo">321</span> HFileBlock b = hbr.readBlockData(0, -1, pread, false);<a name="line.321"></a> +<span class="sourceLineNo">322</span> is.close();<a name="line.322"></a> +<span class="sourceLineNo">323</span> b.sanityCheck();<a name="line.323"></a> +<span class="sourceLineNo">324</span> assertEquals(dataSize, b.getUncompressedSizeWithoutHeader());<a name="line.324"></a> +<span class="sourceLineNo">325</span><a name="line.325"></a> +<span class="sourceLineNo">326</span> // verify that we have the expected number of checksum chunks<a name="line.326"></a> +<span class="sourceLineNo">327</span> assertEquals(totalSize, HConstants.HFILEBLOCK_HEADER_SIZE + dataSize +<a name="line.327"></a> +<span class="sourceLineNo">328</span> expectedChunks * HFileBlock.CHECKSUM_SIZE);<a name="line.328"></a> +<span class="sourceLineNo">329</span><a name="line.329"></a> +<span class="sourceLineNo">330</span> // assert that we did not encounter hbase checksum verification failures<a name="line.330"></a> +<span class="sourceLineNo">331</span> assertEquals(0, HFile.getAndResetChecksumFailuresCount());<a name="line.331"></a> +<span class="sourceLineNo">332</span> }<a name="line.332"></a> +<span class="sourceLineNo">333</span> }<a name="line.333"></a> +<span class="sourceLineNo">334</span> }<a name="line.334"></a> +<span class="sourceLineNo">335</span><a name="line.335"></a> +<span class="sourceLineNo">336</span> private void validateData(DataInputStream in) throws IOException {<a name="line.336"></a> +<span class="sourceLineNo">337</span> // validate data<a name="line.337"></a> +<span class="sourceLineNo">338</span> for (int i = 0; i < 1234; i++) {<a name="line.338"></a> +<span class="sourceLineNo">339</span> int val = in.readInt();<a name="line.339"></a> +<span class="sourceLineNo">340</span> assertEquals("testChecksumCorruption: data mismatch at index " + i, i, val);<a name="line.340"></a> +<span class="sourceLineNo">341</span> }<a name="line.341"></a> +<span class="sourceLineNo">342</span> }<a name="line.342"></a> +<span class="sourceLineNo">343</span><a name="line.343"></a> +<span class="sourceLineNo">344</span> /**<a name="line.344"></a> +<span class="sourceLineNo">345</span> * This class is to test checksum behavior when data is corrupted. It mimics the following<a name="line.345"></a> +<span class="sourceLineNo">346</span> * behavior:<a name="line.346"></a> +<span class="sourceLineNo">347</span> * - When fs checksum is disabled, hbase may get corrupted data from hdfs. If verifyChecksum<a name="line.347"></a> +<span class="sourceLineNo">348</span> * is true, it means hbase checksum is on and fs checksum is off, so we corrupt the data.<a name="line.348"></a> +<span class="sourceLineNo">349</span> * - When fs checksum is enabled, hdfs will get a different copy from another node, and will<a name="line.349"></a> +<span class="sourceLineNo">350</span> * always return correct data. So we don't corrupt the data when verifyChecksum for hbase is<a name="line.350"></a> +<span class="sourceLineNo">351</span> * off.<a name="line.351"></a> +<span class="sourceLineNo">352</span> */<a name="line.352"></a> +<span class="sourceLineNo">353</span> static private class CorruptedFSReaderImpl extends HFileBlock.FSReaderImpl {<a name="line.353"></a> +<span class="sourceLineNo">354</span> /**<a name="line.354"></a> +<span class="sourceLineNo">355</span> * If set to true, corrupt reads using readAtOffset(...).<a name="line.355"></a> +<span class="sourceLineNo">356</span> */<a name="line.356"></a> +<span class="sourceLineNo">357</span> boolean corruptDataStream = false;<a name="line.357"></a> +<span class="sourceLineNo">358</span><a name="line.358"></a> +<span class="sourceLineNo">359</span> public CorruptedFSReaderImpl(FSDataInputStreamWrapper istream, long fileSize, FileSystem fs,<a name="line.359"></a> +<span class="sourceLineNo">360</span> Path path, HFileContext meta) throws IOException {<a name="line.360"></a> +<span class="sourceLineNo">361</span> super(istream, fileSize, (HFileSystem) fs, path, meta);<a name="line.361"></a> +<span class="sourceLineNo">362</span> }<a name="line.362"></a> +<span class="sourceLineNo">363</span><a name="line.363"></a> +<span class="sourceLineNo">364</span> @Override<a name="line.364"></a> +<span class="sourceLineNo">365</span> protected HFileBlock readBlockDataInternal(FSDataInputStream is, long offset,<a name="line.365"></a> +<span class="sourceLineNo">366</span> long onDiskSizeWithHeaderL, boolean pread, boolean verifyChecksum, boolean updateMetrics)<a name="line.366"></a> +<span class="sourceLineNo">367</span> throws IOException {<a name="line.367"></a> +<span class="sourceLineNo">368</span> if (verifyChecksum) {<a name="line.368"></a> +<span class="sourceLineNo">369</span> corruptDataStream = true;<a name="line.369"></a> +<span class="sourceLineNo">370</span> }<a name="line.370"></a> +<span class="sourceLineNo">371</span> HFileBlock b = super.readBlockDataInternal(is, offset, onDiskSizeWithHeaderL, pread,<a name="line.371"></a> +<span class="sourceLineNo">372</span> verifyChecksum, updateMetrics);<a name="line.372"></a> +<span class="sourceLineNo">373</span> corruptDataStream = false;<a name="line.373"></a> +<span class="sourceLineNo">374</span> return b;<a name="line.374"></a> +<span class="sourceLineNo">375</span> }<a name="line.375"></a> +<span class="sourceLineNo">376</span><a name="line.376"></a> +<span class="sourceLineNo">377</span> @Override<a name="line.377"></a> +<span class="sourceLineNo">378</span> protected int readAtOffset(FSDataInputStream istream, byte [] dest, int destOffset, int size,<a name="line.378"></a> +<span class="sourceLineNo">379</span> boolean peekIntoNextBlock, long fileOffset, boolean pread) throws IOException {<a name="line.379"></a> +<span class="sourceLineNo">380</span> int returnValue = super.readAtOffset(istream, dest, destOffset, size, peekIntoNextBlock,<a name="line.380"></a> +<span class="sourceLineNo">381</span> fileOffset, pread);<a name="line.381"></a> +<span class="sourceLineNo">382</span> if (!corruptDataStream) {<a name="line.382"></a> +<span class="sourceLineNo">383</span> return returnValue;<a name="line.383"></a> +<span class="sourceLineNo">384</span> }<a name="line.384"></a> +<span class="sourceLineNo">385</span> // Corrupt 3rd character of block magic of next block's header.<a name="line.385"></a> +<span class="sourceLineNo">386</span> if (peekIntoNextBlock) {<a name="line.386"></a> +<span class="sourceLineNo">387</span> dest[destOffset + size + 3] = 0b00000000;<a name="line.387"></a> +<span class="sourceLineNo">388</span> }<a name="line.388"></a> +<span class="sourceLineNo">389</span> // We might be reading this block's header too, corrupt it.<a name="line.389"></a> +<span class="sourceLineNo">390</span> dest[destOffset + 1] = 0b00000000;<a name="line.390"></a> +<span class="sourceLineNo">391</span> // Corrupt non header data<a name="line.391"></a> +<span class="sourceLineNo">392</span> if (size > hdrSize) {<a name="line.392"></a> +<span class="sourceLineNo">393</span> dest[destOffset + hdrSize + 1] = 0b00000000;<a name="line.393"></a> +<span class="sourceLineNo">394</span> }<a name="line.394"></a> +<span class="sourceLineNo">395</span> return returnValue;<a name="line.395"></a> +<span class="sourceLineNo">396</span> }<a name="line.396"></a> +<span class="sourceLineNo">397</span> }<a name="line.397"></a> +<span class="sourceLineNo">398</span>}<a name="line.398"></a>
