Skip to content

HDDS-1402. Remove unused ScmBlockLocationProtocol from ObjectStoreHandler - #707

Merged
bharatviswa504 merged 3 commits into
apache:trunkfrom
elek:HDDS-1402
Apr 17, 2019
Merged

HDDS-1402. Remove unused ScmBlockLocationProtocol from ObjectStoreHandler#707
bharatviswa504 merged 3 commits into
apache:trunkfrom
elek:HDDS-1402

Conversation

@elek

@elekelek commented Apr 8, 2019

Copy link
Copy Markdown
Member

When I analyzed the usages of the available RPC protocols in Ozone I found that the ScmBlockLocationProtocol is not used in ObjectStore at all.

I would propose to remove it...

See: https://issues.apache.org/jira/browse/HDDS-1402

@elekelek added the ozone label Apr 8, 2019
@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec26Docker mode activated.
_ Prechecks _
+1@author0The patch does not contain any @author tags.
-1test4tests0The 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.
_ trunk Compile Tests _
+1mvninstall1005trunk passed
+1compile48trunk passed
+1checkstyle18trunk passed
+1mvnsite26trunk passed
+1shadedclient667branch has no errors when building and testing our client artifacts.
+1findbugs38trunk passed
+1javadoc26trunk passed
_ Patch Compile Tests _
+1mvninstall41the patch passed
+1compile18the patch passed
+1javac18the patch passed
+1checkstyle11the patch passed
+1mvnsite22the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedclient710patch has no errors when building and testing our client artifacts.
-1findbugs44hadoop-ozone/objectstore-service generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1javadoc19the patch passed
_ Other Tests _
+1unit23objectstore-service in the patch passed.
+1asflicense30The patch does not generate ASF License warnings.
2876
ReasonTests
FindBugsmodule:hadoop-ozone/objectstore-service
Dead store to scmBlockAddress in new org.apache.hadoop.hdfs.server.datanode.ObjectStoreHandler(Configuration) At ObjectStoreHandler.java:new org.apache.hadoop.hdfs.server.datanode.ObjectStoreHandler(Configuration) At ObjectStoreHandler.java:[line 106]
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-707/1/artifact/out/Dockerfile
GITHUB PR#707
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
unameLinux 0d186edb2f23 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
Personalitypersonality/hadoop.sh
git revisiontrunk / 69e3745
mavenversion: Apache Maven 3.3.9
Default Java1.8.0_191
findbugsv3.1.0-RC1
findbugshttps://builds.apache.org/job/hadoop-multibranch/job/PR-707/1/artifact/out/new-findbugs-hadoop-ozone_objectstore-service.html
Test Resultshttps://builds.apache.org/job/hadoop-multibranch/job/PR-707/1/testReport/
Max. process+thread count446 (vs. ulimit of 5500)
modulesC: hadoop-ozone/objectstore-service U: hadoop-ozone/objectstore-service
Console outputhttps://builds.apache.org/job/hadoop-multibranch/job/PR-707/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec74Docker mode activated.
_ Prechecks _
+1@author0The patch does not contain any @author tags.
-1test4tests0The 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.
_ trunk Compile Tests _
+1mvninstall1431trunk passed
+1compile52trunk passed
+1checkstyle16trunk passed
+1mvnsite26trunk passed
+1shadedclient868branch has no errors when building and testing our client artifacts.
+1findbugs49trunk passed
+1javadoc26trunk passed
_ Patch Compile Tests _
+1mvninstall57the patch passed
+1compile24the patch passed
+1javac24the patch passed
-0checkstyle13hadoop-ozone/objectstore-service: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1mvnsite27the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedclient892patch has no errors when building and testing our client artifacts.
+1findbugs41the patch passed
+1javadoc19the patch passed
_ Other Tests _
+1unit26objectstore-service in the patch passed.
+1asflicense28The patch does not generate ASF License warnings.
3776
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-707/2/artifact/out/Dockerfile
GITHUB PR#707
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
unameLinux a8d469745182 4.4.0-144-generic #170~14.04.1-Ubuntu SMP Mon Mar 18 15:02:05 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitypersonality/hadoop.sh
git revisiontrunk / df01469
mavenversion: Apache Maven 3.3.9
Default Java1.8.0_191
findbugsv3.1.0-RC1
checkstylehttps://builds.apache.org/job/hadoop-multibranch/job/PR-707/2/artifact/out/diff-checkstyle-hadoop-ozone_objectstore-service.txt
Test Resultshttps://builds.apache.org/job/hadoop-multibranch/job/PR-707/2/testReport/
Max. process+thread count348 (vs. ulimit of 5500)
modulesC: hadoop-ozone/objectstore-service U: hadoop-ozone/objectstore-service
Console outputhttps://builds.apache.org/job/hadoop-multibranch/job/PR-707/2/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@nandakumar131

Copy link
Copy Markdown
Contributor

@elek The changes look good. We have a checkstyle issue which is related. Test failure is not related to this change and it is tracked in HDDS-1413.

@elek

elek commented Apr 12, 2019

Copy link
Copy Markdown
MemberAuthor

Thanks the review @nandakumar131 Fixed the checkstyle issue (and rebased)

@hadoop-yetus

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec22Docker mode activated.
_ Prechecks _
+1@author0The patch does not contain any @author tags.
-1test4tests0The 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.
_ trunk Compile Tests _
+1mvninstall1181trunk passed
+1compile50trunk passed
+1checkstyle19trunk passed
+1mvnsite28trunk passed
+1shadedclient869branch has no errors when building and testing our client artifacts.
+1findbugs43trunk passed
+1javadoc29trunk passed
_ Patch Compile Tests _
+1mvninstall51the patch passed
+1compile22the patch passed
+1javac22the patch passed
+1checkstyle16the patch passed
+1mvnsite26the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedclient1011patch has no errors when building and testing our client artifacts.
+1findbugs49the patch passed
+1javadoc24the patch passed
_ Other Tests _
+1unit32objectstore-service in the patch passed.
+1asflicense65The patch does not generate ASF License warnings.
3654
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-707/3/artifact/out/Dockerfile
GITHUB PR#707
Optional Testsdupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
unameLinux b4a77c63e2e9 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
Personalitypersonality/hadoop.sh
git revisiontrunk / abace70
mavenversion: Apache Maven 3.3.9
Default Java1.8.0_191
findbugsv3.1.0-RC1
Test Resultshttps://builds.apache.org/job/hadoop-multibranch/job/PR-707/3/testReport/
Max. process+thread count295 (vs. ulimit of 5500)
modulesC: hadoop-ozone/objectstore-service U: hadoop-ozone/objectstore-service
Console outputhttps://builds.apache.org/job/hadoop-multibranch/job/PR-707/3/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@bharatviswa504bharatviswa504 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1 LGTM.
Thank You @elek for the fix and @nandakumar131 for the review.

@bharatviswa504
bharatviswa504 merged commit 04c0437 into apache:trunkApr 17, 2019
shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
We have scattered logic to determine the store paths between SamzaContainer and StorageManager.
Ideally, it would nice to consolidate them into StorageManager. For now, using different store directories for non-logged and logged stores so that regressions in determining store paths can be caught.
Author: bharathkk <codin.martial@gmail.com>
Reviewers: Prateek Maheshwari <pmaheshwari@apache.org>
Closesapache#707 from bharathkk/fix-table-test
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@elek@hadoop-yetus@nandakumar131@bharatviswa504