Skip to content

HBASE-22510 Address findbugs/spotbugs complaints (branch-1) - #278

Merged
apurtell merged 1 commit into
apache:branch-1from
apurtell:HBASE-22510-branch-1
Jun 3, 2019
Merged

HBASE-22510 Address findbugs/spotbugs complaints (branch-1)#278
apurtell merged 1 commit into
apache:branch-1from
apurtell:HBASE-22510-branch-1

Conversation

@apurtell

Copy link
Copy Markdown
Contributor

No description provided.

BufferGrabbingByteArrayOutputStream stream = new BufferGrabbingByteArrayOutputStream();
baos.writeTo(stream);
this.dataBlockEncoder.endBlockEncoding(encodingCtx, out, stream.getOurBytes());
this.dataBlockEncoder.endBlockEncoding(encodingCtx, out, stream.toByteArray());

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Changes in this file keep the code in sync with changes proposed on #277

for (Map.Entry<Store, List<Cell>> entry: removedCellsForMemStore.entrySet()) {
entry.getKey().add(entry.getValue());
}
if (we != null) mvcc.complete(we);

@apurtellapurtellMay 31, 2019

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Changes to this file are a carrying forward of formatting changes proposed on #275 and #277. They don't address a findbugs issue, only try to keep the code as consistent as possible between branches.

@apurtell
apurtell requested a review from busbeyMay 31, 2019 00:27
@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec28Docker mode activated.
_ Prechecks _
0findbugs1Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
-0test4tests0The 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.
_ branch-1 Compile Tests _
0mvndep59Maven dependency ordering for branch
+1mvninstall120branch-1 passed
+1compile53branch-1 passed with JDK v1.8.0_212
+1compile61branch-1 passed with JDK v1.7.0_222
+1checkstyle112branch-1 passed
+1shadedjars161branch has no errors when building our shaded downstream artifacts.
+1javadoc48branch-1 passed with JDK v1.8.0_212
+1javadoc61branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
0mvndep14Maven dependency ordering for patch
+1mvninstall103the patch passed
+1compile54the patch passed with JDK v1.8.0_212
+1javac54the patch passed
+1compile61the patch passed with JDK v1.7.0_222
+1javac61the patch passed
+1checkstyle26The patch passed checkstyle in hbase-common
+1checkstyle85hbase-server: The patch generated 0 new + 595 unchanged - 6 fixed = 595 total (was 601)
+1whitespace0The patch has no whitespace issues.
+1shadedjars159patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck241Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc47the patch passed with JDK v1.8.0_212
+1javadoc58the patch passed with JDK v1.7.0_222
_ Other Tests _
+1unit151hbase-common in the patch passed.
+1unit6140hbase-server in the patch passed.
+1asflicense40The patch does not generate ASF License warnings.
8075
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-278/1/artifact/out/Dockerfile
GITHUB PR#278
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux bfd142b328b2 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1 / e233cfb
mavenversion: Apache Maven 3.0.5
Default Java1.7.0_222
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-278/1/testReport/
Max. process+thread count4669 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-278/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

@apurtell
apurtellforce-pushed the HBASE-22510-branch-1 branch from 93a58da to 35b6f75CompareJune 2, 2019 18:16
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec49Docker mode activated.
_ Prechecks _
0findbugs1Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
-0test4tests0The 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.
_ branch-1 Compile Tests _
0mvndep88Maven dependency ordering for branch
+1mvninstall107branch-1 passed
+1compile55branch-1 passed with JDK v1.8.0_212
+1compile61branch-1 passed with JDK v1.7.0_222
+1checkstyle117branch-1 passed
+1shadedjars173branch has no errors when building our shaded downstream artifacts.
+1javadoc46branch-1 passed with JDK v1.8.0_212
+1javadoc60branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
0mvndep13Maven dependency ordering for patch
+1mvninstall104the patch passed
+1compile53the patch passed with JDK v1.8.0_212
+1javac54the patch passed
+1compile61the patch passed with JDK v1.7.0_222
+1javac61the patch passed
+1checkstyle25The patch passed checkstyle in hbase-common
+1checkstyle92hbase-server: The patch generated 0 new + 595 unchanged - 6 fixed = 595 total (was 601)
+1whitespace0The patch has no whitespace issues.
+1shadedjars174patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck242Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc47the patch passed with JDK v1.8.0_212
+1javadoc60the patch passed with JDK v1.7.0_222
_ Other Tests _
+1unit135hbase-common in the patch passed.
-1unit8092hbase-server in the patch failed.
+1asflicense48The patch does not generate ASF License warnings.
10098
ReasonTests
Failed junit testshadoop.hbase.coprocessor.TestMetaTableMetrics
hadoop.hbase.client.TestSnapshotWithAcl
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-278/2/artifact/out/Dockerfile
GITHUB PR#278
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 1dd9425c8fdb 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1 / db6ad39
mavenversion: Apache Maven 3.0.5
Default Java1.7.0_222
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-278/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-278/2/testReport/
Max. process+thread count3847 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-278/2/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell
apurtellforce-pushed the HBASE-22510-branch-1 branch from 35b6f75 to 9b06955CompareJune 3, 2019 18:33
Signed-off-by: Sean Busbey <busbey@apache.org>
@apurtell
apurtell merged commit eae7126 into apache:branch-1Jun 3, 2019
@apurtell
apurtell deleted the HBASE-22510-branch-1 branch June 3, 2019 18:33
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec0Docker mode activated.
-1patch8#278 does not apply to branch-1. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
SubsystemReport/Notes
GITHUB PR#278
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-278/3/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Sign up for freeto 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.

3 participants

@apurtell@Apache-HBase@busbey