Skip to content

Conversation

@shardul-cr7
Copy link
Contributor

@shardul-cr7 shardul-cr7 commented Aug 29, 2019

During Master startup if quota feature is enabled and region server is running TableNotFoundException occurs in regionServer logs

SpaceQuotaRefresherChore does not checks whether hbase:quota table is present,before starting its operation which sometimes may result to TableNotFoundExceptions.

This is because master has not created the hbase:quota table and SpaceQuotaRefresherChore is running.

This is little tricky and will happen in below scenario:

  1. HM & RSs are restarted after enabling Space Quota feature.
  2. SpaceQuotaRefresher chore interval is set as very low say 5 sec
  3. So by the time HMaster creates quota table SpaceQuotaRefresherChore executes and throws TNFE

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 34 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
-0 test4tests 0 The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 mvninstall 348 master passed
+1 compile 56 master passed
+1 checkstyle 91 master passed
+1 shadedjars 294 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 37 master passed
0 spotbugs 257 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 254 master passed
_ Patch Compile Tests _
+1 mvninstall 327 the patch passed
+1 compile 58 the patch passed
+1 javac 58 the patch passed
+1 checkstyle 86 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 294 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1007 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 35 the patch passed
+1 findbugs 227 the patch passed
_ Other Tests _
-1 unit 1714 hbase-server in the patch failed.
+1 asflicense 15 The patch does not generate ASF License warnings.
5279
Reason Tests
Failed junit tests hadoop.hbase.quotas.TestSpaceQuotaViolationPolicyRefresherChore
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/1/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux a444d279a3db 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 56980fb
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/1/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/1/testReport/
Max. process+thread count 628 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/1/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 36 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
-0 test4tests 0 The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 mvninstall 350 master passed
+1 compile 57 master passed
+1 checkstyle 88 master passed
+1 shadedjars 301 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 36 master passed
0 spotbugs 265 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 263 master passed
_ Patch Compile Tests _
+1 mvninstall 327 the patch passed
+1 compile 59 the patch passed
+1 javac 59 the patch passed
+1 checkstyle 88 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 301 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1043 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 33 the patch passed
+1 findbugs 273 the patch passed
_ Other Tests _
-1 unit 1780 hbase-server in the patch failed.
+1 asflicense 15 The patch does not generate ASF License warnings.
5458
Reason Tests
Failed junit tests hadoop.hbase.quotas.TestSpaceQuotaViolationPolicyRefresherChore
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/2/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux d9f903f0bd2d 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 56980fb
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/2/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/2/testReport/
Max. process+thread count 614 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/2/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 109 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 342 master passed
+1 compile 55 master passed
+1 checkstyle 83 master passed
+1 shadedjars 281 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 37 master passed
0 spotbugs 247 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 246 master passed
_ Patch Compile Tests _
+1 mvninstall 318 the patch passed
+1 compile 60 the patch passed
+1 javac 60 the patch passed
+1 checkstyle 83 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 281 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 972 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 36 the patch passed
+1 findbugs 258 the patch passed
_ Other Tests _
-1 unit 14819 hbase-server in the patch failed.
+1 asflicense 27 The patch does not generate ASF License warnings.
18382
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/3/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 05ca219f1aee 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 56980fb
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/3/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/3/testReport/
Max. process+thread count 4593 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/3/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 37 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 338 master passed
+1 compile 56 master passed
+1 checkstyle 80 master passed
+1 shadedjars 282 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 37 master passed
0 spotbugs 245 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 243 master passed
_ Patch Compile Tests _
+1 mvninstall 309 the patch passed
+1 compile 56 the patch passed
+1 javac 56 the patch passed
+1 checkstyle 78 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 281 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 975 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 39 the patch passed
+1 findbugs 287 the patch passed
_ Other Tests _
-1 unit 10300 hbase-server in the patch failed.
+1 asflicense 31 The patch does not generate ASF License warnings.
13850
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/4/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 11d992ee4e86 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 83e7794
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/4/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/4/testReport/
Max. process+thread count 4674 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/4/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 41 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 326 master passed
+1 compile 58 master passed
+1 checkstyle 83 master passed
+1 shadedjars 285 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 36 master passed
0 spotbugs 242 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 240 master passed
_ Patch Compile Tests _
+1 mvninstall 297 the patch passed
+1 compile 55 the patch passed
+1 javac 55 the patch passed
+1 checkstyle 75 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 270 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 920 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 34 the patch passed
+1 findbugs 266 the patch passed
_ Other Tests _
-1 unit 10359 hbase-server in the patch failed.
+1 asflicense 30 The patch does not generate ASF License warnings.
13776
Reason Tests
Failed junit tests hadoop.hbase.TestSplitMerge
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/5/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 7c228facdfbd 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 090c55f
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/5/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/5/testReport/
Max. process+thread count 4966 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/5/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 40 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 345 master passed
+1 compile 55 master passed
+1 checkstyle 78 master passed
+1 shadedjars 290 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 39 master passed
0 spotbugs 261 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 259 master passed
_ Patch Compile Tests _
+1 mvninstall 316 the patch passed
+1 compile 57 the patch passed
+1 javac 57 the patch passed
+1 checkstyle 76 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 299 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1089 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 40 the patch passed
+1 findbugs 295 the patch passed
_ Other Tests _
+1 unit 9537 hbase-server in the patch passed.
+1 asflicense 29 The patch does not generate ASF License warnings.
13288
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/6/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux a46eccf22eaf 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 090c55f
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/6/testReport/
Max. process+thread count 4458 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/6/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@shardul-cr7
Copy link
Contributor Author

Hi @jatsakthi, Can you review this? :)

Copy link
Member

@the-sakthi the-sakthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skimmed through it. Looks good to me. Will come back to take a look again.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 33 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 350 master passed
+1 compile 55 master passed
+1 checkstyle 89 master passed
+1 shadedjars 294 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 36 master passed
0 spotbugs 266 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 265 master passed
_ Patch Compile Tests _
+1 mvninstall 321 the patch passed
+1 compile 57 the patch passed
+1 javac 57 the patch passed
+1 checkstyle 86 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 295 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1032 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 37 the patch passed
+1 findbugs 280 the patch passed
_ Other Tests _
-1 unit 9395 hbase-server in the patch failed.
+1 asflicense 27 The patch does not generate ASF License warnings.
13046
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/7/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 26ec83e25d34 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / ee5cf0d
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/7/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/7/testReport/
Max. process+thread count 4409 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/7/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 34 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 361 master passed
+1 compile 62 master passed
+1 checkstyle 89 master passed
+1 shadedjars 322 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 42 master passed
0 spotbugs 276 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 274 master passed
_ Patch Compile Tests _
+1 mvninstall 335 the patch passed
+1 compile 59 the patch passed
+1 javac 59 the patch passed
+1 checkstyle 85 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 302 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1039 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 40 the patch passed
+1 findbugs 281 the patch passed
_ Other Tests _
+1 unit 10591 hbase-server in the patch passed.
+1 asflicense 26 The patch does not generate ASF License warnings.
14350
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/8/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux fc86ceedf301 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / b642ee0
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/8/testReport/
Max. process+thread count 4796 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/8/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 32 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 427 master passed
+1 compile 58 master passed
+1 checkstyle 89 master passed
+1 shadedjars 297 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 38 master passed
0 spotbugs 247 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 245 master passed
_ Patch Compile Tests _
+1 mvninstall 332 the patch passed
+1 compile 63 the patch passed
+1 javac 63 the patch passed
+1 checkstyle 89 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 303 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1052 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 36 the patch passed
+1 findbugs 283 the patch passed
_ Other Tests _
-1 unit 10556 hbase-server in the patch failed.
+1 asflicense 37 The patch does not generate ASF License warnings.
14333
Reason Tests
Failed junit tests hadoop.hbase.security.token.TestZKSecretWatcher
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/9/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 8fae07c7dd13 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 97fbaa6
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/9/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/9/testReport/
Max. process+thread count 4523 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/9/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 73 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 343 master passed
+1 compile 60 master passed
+1 checkstyle 81 master passed
+1 shadedjars 290 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 39 master passed
0 spotbugs 262 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 260 master passed
_ Patch Compile Tests _
+1 mvninstall 313 the patch passed
+1 compile 68 the patch passed
+1 javac 68 the patch passed
+1 checkstyle 79 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 284 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 974 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 38 the patch passed
+1 findbugs 272 the patch passed
_ Other Tests _
-1 unit 18128 hbase-server in the patch failed.
+1 asflicense 48 The patch does not generate ASF License warnings.
21741
Reason Tests
Failed junit tests hadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.master.TestSplitWALManager
hadoop.hbase.util.TestFromClientSide3WoUnsafe
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.security.access.TestAccessController3
hadoop.hbase.client.TestFromClientSideWithCoprocessor
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/10/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux a0e859c6a1ec 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / a5ef6b2
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/10/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/10/testReport/
Max. process+thread count 4829 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/10/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 37 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 415 master passed
+1 compile 69 master passed
+1 checkstyle 112 master passed
+1 shadedjars 376 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 44 master passed
0 spotbugs 333 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 331 master passed
_ Patch Compile Tests _
+1 mvninstall 386 the patch passed
+1 compile 70 the patch passed
+1 javac 70 the patch passed
+1 checkstyle 102 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 363 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1218 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 45 the patch passed
+1 findbugs 367 the patch passed
_ Other Tests _
+1 unit 9673 hbase-server in the patch passed.
+1 asflicense 26 The patch does not generate ASF License warnings.
14096
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/11/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 3664b1716217 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 13b2edc
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/11/testReport/
Max. process+thread count 4760 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/11/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 31 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 mvninstall 350 master passed
+1 compile 57 master passed
+1 checkstyle 87 master passed
+1 shadedjars 300 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 36 master passed
0 spotbugs 251 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 249 master passed
_ Patch Compile Tests _
+1 mvninstall 325 the patch passed
+1 compile 58 the patch passed
+1 javac 58 the patch passed
+1 checkstyle 88 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 298 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1024 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 35 the patch passed
+1 findbugs 264 the patch passed
_ Other Tests _
-1 unit 9746 hbase-server in the patch failed.
+1 asflicense 27 The patch does not generate ASF License warnings.
13368
Reason Tests
Failed junit tests hadoop.hbase.regionserver.TestHRegionWithInMemoryFlush
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/12/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 1a191c3e466f 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 8e8bd8b
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/12/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/12/testReport/
Max. process+thread count 4573 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/12/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

protected void chore() {
try {
// check whether Quota table is present or not.
if (!checkQuotaTableExists()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will result in a META read. This can be done only once in the life time of an RS right if we found Quota table exists? A Boolean state can help here.
Why do you think we should do a WARN log? It can be just INFO at max IMO.

Copy link
Contributor Author

@shardul-cr7 shardul-cr7 Sep 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @anoopsjohn , Thanks for the review. Added a boolean state to avoid the Meta read again and added info level log.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 45s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💚 mvninstall 7m 14s master passed
💚 compile 1m 10s master passed
💚 checkstyle 1m 38s master passed
💚 shadedjars 6m 9s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 42s master passed
💙 spotbugs 4m 47s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 45s master passed
_ Patch Compile Tests _
💚 mvninstall 6m 11s the patch passed
💚 compile 1m 6s the patch passed
💚 javac 1m 6s the patch passed
💚 checkstyle 1m 35s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 5m 37s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 20m 9s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 41s the patch passed
💚 findbugs 4m 53s the patch passed
_ Other Tests _
💚 unit 163m 54s hbase-server in the patch passed.
💚 asflicense 0m 32s The patch does not generate ASF License warnings.
235m 2s
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/13/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 1f1b8ae260cf 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / fbd5b5e
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/13/testReport/
Max. process+thread count 4726 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/13/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@shardul-cr7 shardul-cr7 changed the title HBASE-22944 TableNotFoundException: hbase:quota is thrown when region server is restarted. HBASE-22944 Space Quota: TableNotFoundException: hbase:quota is thrown when region server is restarted. Sep 11, 2019
// check whether Quota table is present or not.
if (!quotaTablePresent && !checkQuotaTableExists()) {
LOG.info("Quota table not found, skipping quota manager cache refresh.");
quotaTablePresent = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this right? Setting it to true? Should it be false? The table was 'not found'.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ohh yes..I should set it after the if condition...my bad :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. Made the changes. :)

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
💙 reexec 1m 30s Docker mode activated.
_ Prechecks _
💚 dupname 0m 1s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💚 mvninstall 5m 36s master passed
💚 compile 0m 57s master passed
💚 checkstyle 1m 18s master passed
💚 shadedjars 4m 47s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 39s master passed
💙 spotbugs 3m 52s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 3m 49s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 6s the patch passed
💚 compile 0m 57s the patch passed
💚 javac 0m 57s the patch passed
💚 checkstyle 1m 17s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 41s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 15m 47s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 36s the patch passed
💚 findbugs 3m 48s the patch passed
_ Other Tests _
💚 unit 166m 15s hbase-server in the patch passed.
💚 asflicense 0m 35s The patch does not generate ASF License warnings.
224m 13s
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/14/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux accf7342673f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 1cb4f68
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/14/testReport/
Max. process+thread count 5077 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/14/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 35s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💚 mvninstall 5m 27s master passed
💚 compile 0m 59s master passed
💚 checkstyle 1m 19s master passed
💚 shadedjars 4m 45s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 40s master passed
💙 spotbugs 4m 11s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 9s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 9s the patch passed
💚 compile 1m 0s the patch passed
💚 javac 1m 0s the patch passed
💚 checkstyle 1m 18s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 51s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 16m 6s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 36s the patch passed
💚 findbugs 4m 21s the patch passed
_ Other Tests _
💚 unit 171m 43s hbase-server in the patch passed.
💚 asflicense 0m 36s The patch does not generate ASF License warnings.
230m 9s
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/15/artifact/out/Dockerfile
GITHUB PR #559
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 75df86f43dc5 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-559/out/precommit/personality/provided.sh
git revision master / 1cb4f68
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/15/testReport/
Max. process+thread count 4987 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-559/15/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@saintstack saintstack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good by me. Another for your list @joshelser Thanks boss.

Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice little trick on the if-block.

Let me try to get this in.

asfgit pushed a commit that referenced this pull request Sep 20, 2019
…herChore

During startup, it's possible that quotas are enabled but the Master has
not yet created the hbase:quotas table.

Closes #559

Signed-off-by: stack <stack@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
asfgit pushed a commit that referenced this pull request Sep 20, 2019
…herChore

During startup, it's possible that quotas are enabled but the Master has
not yet created the hbase:quotas table.

Closes #559

Signed-off-by: stack <stack@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
asfgit pushed a commit that referenced this pull request Sep 20, 2019
…herChore

During startup, it's possible that quotas are enabled but the Master has
not yet created the hbase:quotas table.

Closes #559

Signed-off-by: stack <stack@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
@asfgit asfgit closed this in 2b3c9b1 Sep 20, 2019
return;
}
// since quotaTable is present so setting the flag as true.
quotaTablePresent = true;
Copy link
Contributor

@pankaj72981 pankaj72981 Sep 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better we move flag setting inside checkQuotaTableExists().
Sorry for the late review.

infraio pushed a commit to infraio/hbase that referenced this pull request Aug 17, 2020
…herChore

During startup, it's possible that quotas are enabled but the Master has
not yet created the hbase:quotas table.

Closes apache#559

Signed-off-by: stack <stack@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
symat pushed a commit to symat/hbase that referenced this pull request Feb 17, 2021
…herChore

During startup, it's possible that quotas are enabled but the Master has
not yet created the hbase:quotas table.

Closes apache#559

Signed-off-by: stack <stack@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
(cherry picked from commit f1682a1)

Change-Id: Iedb0bfe9591c0957a151acc8d2b3bd31a91237d9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants