Skip to content

HDDS-1402. Remove unused ScmBlockLocationProtocol from ObjectStoreHandler #707

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 17, 2019

Conversation

elek
Copy link
Member

@elek elek commented Apr 8, 2019

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

@elek elek added the ozone label Apr 8, 2019
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 26 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
-1 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.
_ trunk Compile Tests _
+1 mvninstall 1005 trunk passed
+1 compile 48 trunk passed
+1 checkstyle 18 trunk passed
+1 mvnsite 26 trunk passed
+1 shadedclient 667 branch has no errors when building and testing our client artifacts.
+1 findbugs 38 trunk passed
+1 javadoc 26 trunk passed
_ Patch Compile Tests _
+1 mvninstall 41 the patch passed
+1 compile 18 the patch passed
+1 javac 18 the patch passed
+1 checkstyle 11 the patch passed
+1 mvnsite 22 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 710 patch has no errors when building and testing our client artifacts.
-1 findbugs 44 hadoop-ozone/objectstore-service generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 javadoc 19 the patch passed
_ Other Tests _
+1 unit 23 objectstore-service in the patch passed.
+1 asflicense 30 The patch does not generate ASF License warnings.
2876
Reason Tests
FindBugs module: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]
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 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 tool maven
Personality personality/hadoop.sh
git revision trunk / 69e3745
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-707/1/artifact/out/new-findbugs-hadoop-ozone_objectstore-service.html
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-707/1/testReport/
Max. process+thread count 446 (vs. ulimit of 5500)
modules C: hadoop-ozone/objectstore-service U: hadoop-ozone/objectstore-service
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-707/1/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 74 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
-1 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.
_ trunk Compile Tests _
+1 mvninstall 1431 trunk passed
+1 compile 52 trunk passed
+1 checkstyle 16 trunk passed
+1 mvnsite 26 trunk passed
+1 shadedclient 868 branch has no errors when building and testing our client artifacts.
+1 findbugs 49 trunk passed
+1 javadoc 26 trunk passed
_ Patch Compile Tests _
+1 mvninstall 57 the patch passed
+1 compile 24 the patch passed
+1 javac 24 the patch passed
-0 checkstyle 13 hadoop-ozone/objectstore-service: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 mvnsite 27 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 892 patch has no errors when building and testing our client artifacts.
+1 findbugs 41 the patch passed
+1 javadoc 19 the patch passed
_ Other Tests _
+1 unit 26 objectstore-service in the patch passed.
+1 asflicense 28 The patch does not generate ASF License warnings.
3776
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 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 tool maven
Personality personality/hadoop.sh
git revision trunk / df01469
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-707/2/artifact/out/diff-checkstyle-hadoop-ozone_objectstore-service.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-707/2/testReport/
Max. process+thread count 348 (vs. ulimit of 5500)
modules C: hadoop-ozone/objectstore-service U: hadoop-ozone/objectstore-service
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-707/2/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@nandakumar131
Copy link
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
Copy link
Member Author

elek commented Apr 12, 2019

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

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 22 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
-1 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.
_ trunk Compile Tests _
+1 mvninstall 1181 trunk passed
+1 compile 50 trunk passed
+1 checkstyle 19 trunk passed
+1 mvnsite 28 trunk passed
+1 shadedclient 869 branch has no errors when building and testing our client artifacts.
+1 findbugs 43 trunk passed
+1 javadoc 29 trunk passed
_ Patch Compile Tests _
+1 mvninstall 51 the patch passed
+1 compile 22 the patch passed
+1 javac 22 the patch passed
+1 checkstyle 16 the patch passed
+1 mvnsite 26 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 1011 patch has no errors when building and testing our client artifacts.
+1 findbugs 49 the patch passed
+1 javadoc 24 the patch passed
_ Other Tests _
+1 unit 32 objectstore-service in the patch passed.
+1 asflicense 65 The patch does not generate ASF License warnings.
3654
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 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 tool maven
Personality personality/hadoop.sh
git revision trunk / abace70
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-707/3/testReport/
Max. process+thread count 295 (vs. ulimit of 5500)
modules C: hadoop-ozone/objectstore-service U: hadoop-ozone/objectstore-service
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-707/3/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@bharatviswa504 bharatviswa504 left a comment

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:trunk Apr 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>

Closes apache#707 from bharathkk/fix-table-test
Sign up for free to 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