Skip to content

HDDS-1596. Create service endpoint to download configuration from SCM #861

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

Closed
wants to merge 2 commits into from

Conversation

elek
Copy link
Member

@elek elek commented May 28, 2019

As written in the design doc (see the parent issue) it was proposed to download the configuration from the scm by the other services.

I propose to create a separated endpoint to provide the ozone configuration. /conf can't be used as it contains all the configuration and we need only the modified configuration.

The easiest way to implement this feature is:

  • Create a simple rest endpoint which publishes all the configuration
  • Download the configurations to $HADOOP_CONF_DIR/ozone-global.xml during the service startup.
  • Add ozone-global.xml as an additional config source (before ozone-site.xml but after ozone-default.xml)
  • The download can be optional

With this approach we keep the support of the existing manual configuration (ozone-site.xml has higher priority) but we can download the configuration to a separated file during the startup, which will be loaded.

There is no magic: the configuration file is saved and it's easy to debug what's going on as the OzoneConfiguration is loaded from the $HADOOP_CONF_DIR as before.

Possible follow-up steps:

  • Migrate all the other services (recon, s3g) to the new approach. (possible newbie jiras)
  • Improve the CLI to define the SCM address. (As of now we use ozone.scm.names)
  • Create a service/hostname registration mechanism and autofill some of the configuration based on the topology information.

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

@elek elek added the ozone label May 28, 2019
@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

Copy link
Contributor

@anuengineer anuengineer left a comment

Choose a reason for hiding this comment

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

Also add some documentation that scm names is required, and update the config file tag if possible.
Thanks for the patch and getting this done, I look forward to the REST based update interface too.

@elek
Copy link
Member Author

elek commented May 30, 2019

bq. Also add some documentation that scm names is required, and update the config file tag if possible.

It's not strictly required as this download is optional as of now. You can use your own ozone-site.xml and in that case you don't need to download any config. (Except with a never-ending loop....)

It can be better to use a --join scm://scm1:1234,scm:4567 syntax instead of the configuration key (in a next jira) as the scm.names defines the rpc ports not the http ports.

But I am open to any suggestion.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 12 #861 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #861
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/4/console
versions git=2.7.4
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 31 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 yamllint 0 yamllint was not available.
0 shelldocs 1 Shelldocs was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 3 new or modified test files.
_ trunk Compile Tests _
0 mvndep 70 Maven dependency ordering for branch
+1 mvninstall 520 trunk passed
+1 compile 314 trunk passed
+1 checkstyle 99 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 749 branch has no errors when building and testing our client artifacts.
+1 javadoc 163 trunk passed
0 spotbugs 336 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 528 trunk passed
_ Patch Compile Tests _
0 mvndep 33 Maven dependency ordering for patch
+1 mvninstall 450 the patch passed
+1 compile 288 the patch passed
+1 javac 288 the patch passed
+1 checkstyle 82 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 7 The patch has no ill-formed XML file.
+1 shadedclient 642 patch has no errors when building and testing our client artifacts.
+1 javadoc 168 the patch passed
+1 findbugs 538 the patch passed
_ Other Tests _
-1 unit 162 hadoop-hdds in the patch failed.
-1 unit 1645 hadoop-ozone in the patch failed.
+1 asflicense 53 The patch does not generate ASF License warnings.
6834
Reason Tests
Failed junit tests hadoop.ozone.container.common.impl.TestHddsDispatcher
hadoop.ozone.TestSecureOzoneCluster
hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
hadoop.ozone.client.rpc.TestKeyInputStream
hadoop.ozone.TestStorageContainerManager
hadoop.ozone.client.rpc.TestBCSID
hadoop.ozone.client.rpc.TestSecureOzoneRpcClient
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-861/5/artifact/out/Dockerfile
GITHUB PR #861
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml yamllint shellcheck shelldocs
uname Linux 28b84e1e6dd7 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 / b057479
Default Java 1.8.0_212
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/5/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/5/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-861/5/testReport/
Max. process+thread count 5029 (vs. ulimit of 5500)
modules C: hadoop-hdds hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/integration-test hadoop-ozone/ozone-manager hadoop-ozone/ozonefs hadoop-ozone/tools U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/5/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 45 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 yamllint 0 yamllint was not available.
0 shelldocs 0 Shelldocs was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 3 new or modified test files.
_ trunk Compile Tests _
0 mvndep 76 Maven dependency ordering for branch
+1 mvninstall 525 trunk passed
+1 compile 285 trunk passed
+1 checkstyle 82 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 874 branch has no errors when building and testing our client artifacts.
+1 javadoc 169 trunk passed
0 spotbugs 328 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 527 trunk passed
_ Patch Compile Tests _
0 mvndep 39 Maven dependency ordering for patch
+1 mvninstall 454 the patch passed
+1 compile 275 the patch passed
+1 javac 275 the patch passed
-0 checkstyle 45 hadoop-ozone: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 mvnsite 0 the patch passed
+1 shellcheck 1 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 8 The patch has no ill-formed XML file.
+1 shadedclient 754 patch has no errors when building and testing our client artifacts.
+1 javadoc 168 the patch passed
+1 findbugs 540 the patch passed
_ Other Tests _
+1 unit 294 hadoop-hdds in the patch passed.
-1 unit 1283 hadoop-ozone in the patch failed.
+1 asflicense 51 The patch does not generate ASF License warnings.
6808
Reason Tests
Failed junit tests hadoop.ozone.TestStorageContainerManager
hadoop.ozone.client.rpc.TestOzoneRpcClientWithRatis
hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
hadoop.ozone.client.rpc.TestOzoneRpcClient
hadoop.ozone.TestSecureOzoneCluster
hadoop.ozone.client.rpc.TestFailureHandlingByClient
hadoop.ozone.client.rpc.TestSecureOzoneRpcClient
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-861/6/artifact/out/Dockerfile
GITHUB PR #861
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml yamllint shellcheck shelldocs
uname Linux b5c1f6905d69 4.4.0-143-generic #169~14.04.2-Ubuntu SMP Wed Feb 13 15:00:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 272b96d
Default Java 1.8.0_212
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-861/6/artifact/out/diff-checkstyle-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/6/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-861/6/testReport/
Max. process+thread count 4541 (vs. ulimit of 5500)
modules C: hadoop-hdds hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone/common hadoop-ozone/dist hadoop-ozone/integration-test hadoop-ozone/ozone-manager hadoop-ozone/ozonefs hadoop-ozone/tools U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/6/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 139 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 yamllint 0 yamllint was not available.
0 shelldocs 0 Shelldocs was not available.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 2 new or modified test files.
_ trunk Compile Tests _
0 mvndep 92 Maven dependency ordering for branch
+1 mvninstall 680 trunk passed
+1 compile 317 trunk passed
+1 checkstyle 102 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 933 branch has no errors when building and testing our client artifacts.
+1 javadoc 174 trunk passed
0 spotbugs 329 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 534 trunk passed
_ Patch Compile Tests _
0 mvndep 40 Maven dependency ordering for patch
+1 mvninstall 464 the patch passed
+1 compile 284 the patch passed
+1 javac 284 the patch passed
+1 checkstyle 84 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 4 The patch has no ill-formed XML file.
+1 shadedclient 745 patch has no errors when building and testing our client artifacts.
+1 javadoc 194 the patch passed
+1 findbugs 629 the patch passed
_ Other Tests _
+1 unit 360 hadoop-hdds in the patch passed.
-1 unit 1736 hadoop-ozone in the patch failed.
+1 asflicense 53 The patch does not generate ASF License warnings.
7857
Reason Tests
Failed junit tests hadoop.ozone.client.rpc.TestWatchForCommit
hadoop.ozone.web.client.TestKeysRatis
hadoop.ozone.client.rpc.TestOzoneRpcClientWithRatis
hadoop.ozone.client.rpc.TestFailureHandlingByClient
hadoop.ozone.client.rpc.TestBCSID
hadoop.ozone.client.rpc.TestCommitWatcher
hadoop.ozone.TestSecureOzoneCluster
hadoop.ozone.client.rpc.TestSecureOzoneRpcClient
hadoop.ozone.client.rpc.TestOzoneRpcClient
hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
hadoop.ozone.client.rpc.TestBlockOutputStream
hadoop.ozone.TestStorageContainerManager
Subsystem Report/Notes
Docker Client=18.09.5 Server=18.09.5 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-861/7/artifact/out/Dockerfile
GITHUB PR #861
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml yamllint shellcheck shelldocs
uname Linux 65864e08cb7d 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / e966edd
Default Java 1.8.0_212
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/7/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-861/7/testReport/
Max. process+thread count 5170 (vs. ulimit of 5500)
modules C: hadoop-hdds hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone/dist hadoop-ozone/integration-test hadoop-ozone/ozone-manager hadoop-ozone/ozonefs U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/7/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 873 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 yamllint 0 yamllint was not available.
0 shelldocs 0 Shelldocs was not available.
+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.
_ trunk Compile Tests _
0 mvndep 77 Maven dependency ordering for branch
+1 mvninstall 622 trunk passed
+1 compile 386 trunk passed
+1 checkstyle 83 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 886 branch has no errors when building and testing our client artifacts.
+1 javadoc 193 trunk passed
0 spotbugs 482 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 693 trunk passed
_ Patch Compile Tests _
0 mvndep 43 Maven dependency ordering for patch
+1 mvninstall 597 the patch passed
+1 compile 413 the patch passed
+1 javac 413 the patch passed
-0 checkstyle 44 hadoop-hdds: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-0 checkstyle 45 hadoop-ozone: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 4 The patch has no ill-formed XML file.
+1 shadedclient 772 patch has no errors when building and testing our client artifacts.
+1 javadoc 174 the patch passed
+1 findbugs 665 the patch passed
_ Other Tests _
+1 unit 345 hadoop-hdds in the patch passed.
-1 unit 2165 hadoop-ozone in the patch failed.
+1 asflicense 50 The patch does not generate ASF License warnings.
9406
Reason Tests
Failed junit tests hadoop.ozone.client.rpc.TestWatchForCommit
hadoop.ozone.om.TestOzoneManagerHA
hadoop.ozone.scm.node.TestQueryNode
hadoop.hdds.scm.pipeline.TestRatisPipelineCreateAndDestory
hadoop.ozone.TestSecureOzoneCluster
hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures
hadoop.ozone.client.rpc.TestMultiBlockWritesWithDnFailures
hadoop.ozone.client.rpc.TestSecureOzoneRpcClient
hadoop.ozone.client.rpc.TestOzoneRpcClient
hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
hadoop.ozone.TestStorageContainerManager
hadoop.ozone.client.rpc.TestOzoneClientRetriesOnException
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-861/8/artifact/out/Dockerfile
GITHUB PR #861
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml yamllint shellcheck shelldocs
uname Linux 20549d1fc6be 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / dfe772d
Default Java 1.8.0_222
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-861/8/artifact/out/diff-checkstyle-hadoop-hdds.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-861/8/artifact/out/diff-checkstyle-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/8/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-861/8/testReport/
Max. process+thread count 5415 (vs. ulimit of 5500)
modules C: hadoop-hdds hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone/dist hadoop-ozone/ozone-manager hadoop-ozone/ozonefs hadoop-ozone/s3gateway U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/8/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 42 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 yamllint 0 yamllint was not available.
0 shelldocs 0 Shelldocs was not available.
+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.
_ trunk Compile Tests _
0 mvndep 27 Maven dependency ordering for branch
+1 mvninstall 562 trunk passed
+1 compile 367 trunk passed
+1 checkstyle 76 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 785 branch has no errors when building and testing our client artifacts.
+1 javadoc 163 trunk passed
0 spotbugs 451 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 662 trunk passed
_ Patch Compile Tests _
0 mvndep 38 Maven dependency ordering for patch
+1 mvninstall 589 the patch passed
+1 compile 388 the patch passed
+1 javac 388 the patch passed
-0 checkstyle 39 hadoop-hdds: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-0 checkstyle 41 hadoop-ozone: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 3 The patch has no ill-formed XML file.
+1 shadedclient 655 patch has no errors when building and testing our client artifacts.
+1 javadoc 155 the patch passed
+1 findbugs 681 the patch passed
_ Other Tests _
-1 unit 305 hadoop-hdds in the patch failed.
-1 unit 1720 hadoop-ozone in the patch failed.
+1 asflicense 48 The patch does not generate ASF License warnings.
7584
Reason Tests
Failed junit tests hadoop.hdds.scm.block.TestBlockManager
hadoop.ozone.TestStorageContainerManager
hadoop.ozone.TestSecureOzoneCluster
hadoop.ozone.client.rpc.Test2WayCommitInRatis
hadoop.ozone.client.rpc.TestOzoneRpcClientForAclAuditLog
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-861/9/artifact/out/Dockerfile
GITHUB PR #861
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml yamllint shellcheck shelldocs
uname Linux e68565849e6b 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / e356e4f
Default Java 1.8.0_212
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-861/9/artifact/out/diff-checkstyle-hadoop-hdds.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-861/9/artifact/out/diff-checkstyle-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/9/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/9/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-861/9/testReport/
Max. process+thread count 5267 (vs. ulimit of 5500)
modules C: hadoop-hdds hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone/dist hadoop-ozone/ozone-manager hadoop-ozone/ozonefs hadoop-ozone/s3gateway U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/9/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 46 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
0 yamllint 1 yamllint was not available.
0 shelldocs 1 Shelldocs was not available.
+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.
_ trunk Compile Tests _
0 mvndep 28 Maven dependency ordering for branch
-1 mvninstall 134 hadoop-ozone in trunk failed.
-1 compile 51 hadoop-ozone in trunk failed.
+1 checkstyle 55 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 721 branch has no errors when building and testing our client artifacts.
+1 javadoc 141 trunk passed
0 spotbugs 194 Used deprecated FindBugs config; considering switching to SpotBugs.
-1 findbugs 98 hadoop-ozone in trunk failed.
_ Patch Compile Tests _
0 mvndep 28 Maven dependency ordering for patch
-1 mvninstall 134 hadoop-ozone in the patch failed.
-1 compile 51 hadoop-ozone in the patch failed.
-1 javac 51 hadoop-ozone in the patch failed.
-0 checkstyle 27 hadoop-hdds: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-0 checkstyle 29 hadoop-ozone: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 4 The patch has no ill-formed XML file.
+1 shadedclient 624 patch has no errors when building and testing our client artifacts.
+1 javadoc 142 the patch passed
-1 findbugs 108 hadoop-ozone in the patch failed.
_ Other Tests _
+1 unit 286 hadoop-hdds in the patch passed.
-1 unit 107 hadoop-ozone in the patch failed.
+1 asflicense 30 The patch does not generate ASF License warnings.
3809
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/Dockerfile
GITHUB PR #861
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml yamllint shellcheck shelldocs
uname Linux 2e0bec708a51 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 / 094d736
Default Java 1.8.0_222
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/branch-mvninstall-hadoop-ozone.txt
compile https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/branch-compile-hadoop-ozone.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/branch-findbugs-hadoop-ozone.txt
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/patch-mvninstall-hadoop-ozone.txt
compile https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/patch-compile-hadoop-ozone.txt
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/patch-compile-hadoop-ozone.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/diff-checkstyle-hadoop-hdds.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/diff-checkstyle-hadoop-ozone.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/patch-findbugs-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/testReport/
Max. process+thread count 515 (vs. ulimit of 5500)
modules C: hadoop-hdds hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone/dist hadoop-ozone/ozone-manager hadoop-ozone/ozonefs hadoop-ozone/s3gateway U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/10/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@elek
Copy link
Member Author

elek commented Aug 21, 2019

Do you have any more comments @anuengineer ?

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 93 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 yamllint 0 yamllint was not available.
0 shelldocs 0 Shelldocs was not available.
+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.
_ trunk Compile Tests _
0 mvndep 77 Maven dependency ordering for branch
+1 mvninstall 703 trunk passed
+1 compile 405 trunk passed
+1 checkstyle 93 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 879 branch has no errors when building and testing our client artifacts.
+1 javadoc 183 trunk passed
0 spotbugs 467 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 677 trunk passed
_ Patch Compile Tests _
0 mvndep 38 Maven dependency ordering for patch
+1 mvninstall 578 the patch passed
+1 compile 401 the patch passed
+1 javac 401 the patch passed
+1 checkstyle 90 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 5 The patch has no ill-formed XML file.
+1 shadedclient 775 patch has no errors when building and testing our client artifacts.
+1 javadoc 220 the patch passed
+1 findbugs 769 the patch passed
_ Other Tests _
+1 unit 365 hadoop-hdds in the patch passed.
-1 unit 2734 hadoop-ozone in the patch failed.
+1 asflicense 49 The patch does not generate ASF License warnings.
9420
Reason Tests
Failed junit tests hadoop.hdds.scm.pipeline.TestRatisPipelineCreateAndDestory
hadoop.ozone.container.server.TestSecureContainerServer
hadoop.ozone.om.TestSecureOzoneManager
hadoop.ozone.TestStorageContainerManager
hadoop.ozone.TestSecureOzoneCluster
hadoop.ozone.client.rpc.TestOzoneRpcClientForAclAuditLog
hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures
Subsystem Report/Notes
Docker Client=18.09.7 Server=18.09.7 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-861/11/artifact/out/Dockerfile
GITHUB PR #861
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml yamllint shellcheck shelldocs
uname Linux 779a5c5f7158 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 8aaf5e1
Default Java 1.8.0_222
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/11/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-861/11/testReport/
Max. process+thread count 4926 (vs. ulimit of 5500)
modules C: hadoop-hdds hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone/dist hadoop-ozone/ozone-manager hadoop-ozone/ozonefs hadoop-ozone/s3gateway U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/11/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 81 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
0 yamllint 0 yamllint was not available.
0 shelldocs 1 Shelldocs was not available.
+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.
_ trunk Compile Tests _
0 mvndep 28 Maven dependency ordering for branch
+1 mvninstall 707 trunk passed
+1 compile 441 trunk passed
+1 checkstyle 99 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 974 branch has no errors when building and testing our client artifacts.
+1 javadoc 198 trunk passed
0 spotbugs 486 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 705 trunk passed
_ Patch Compile Tests _
0 mvndep 42 Maven dependency ordering for patch
+1 mvninstall 600 the patch passed
+1 compile 397 the patch passed
+1 javac 397 the patch passed
+1 checkstyle 94 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 4 The patch has no ill-formed XML file.
+1 shadedclient 779 patch has no errors when building and testing our client artifacts.
-1 javadoc 89 hadoop-hdds generated 3 new + 16 unchanged - 0 fixed = 19 total (was 16)
-1 javadoc 107 hadoop-ozone generated 2 new + 26 unchanged - 0 fixed = 28 total (was 26)
-1 findbugs 112 hadoop-ozone in the patch failed.
_ Other Tests _
+1 unit 376 hadoop-hdds in the patch passed.
-1 unit 111 hadoop-ozone in the patch failed.
+1 asflicense 48 The patch does not generate ASF License warnings.
6495
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-861/12/artifact/out/Dockerfile
GITHUB PR #861
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml yamllint shellcheck shelldocs
uname Linux d316cb087049 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 69ddb36
Default Java 1.8.0_222
javadoc https://builds.apache.org/job/hadoop-multibranch/job/PR-861/12/artifact/out/diff-javadoc-javadoc-hadoop-hdds.txt
javadoc https://builds.apache.org/job/hadoop-multibranch/job/PR-861/12/artifact/out/diff-javadoc-javadoc-hadoop-ozone.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-861/12/artifact/out/patch-findbugs-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/12/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-861/12/testReport/
Max. process+thread count 434 (vs. ulimit of 5500)
modules C: hadoop-hdds hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone/dist hadoop-ozone/ozone-manager hadoop-ozone/ozonefs hadoop-ozone/s3gateway U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/12/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 40 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
0 yamllint 0 yamllint was not available.
0 shelldocs 0 Shelldocs was not available.
+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.
_ trunk Compile Tests _
0 mvndep 34 Maven dependency ordering for branch
+1 mvninstall 621 trunk passed
+1 compile 407 trunk passed
+1 checkstyle 93 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 827 branch has no errors when building and testing our client artifacts.
+1 javadoc 192 trunk passed
0 spotbugs 452 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 684 trunk passed
_ Patch Compile Tests _
0 mvndep 48 Maven dependency ordering for patch
+1 mvninstall 589 the patch passed
+1 compile 421 the patch passed
+1 javac 421 the patch passed
+1 checkstyle 93 the patch passed
+1 mvnsite 0 the patch passed
+1 shellcheck 0 There were no new shellcheck issues.
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 4 The patch has no ill-formed XML file.
+1 shadedclient 659 patch has no errors when building and testing our client artifacts.
+1 javadoc 183 the patch passed
+1 findbugs 701 the patch passed
_ Other Tests _
+1 unit 316 hadoop-hdds in the patch passed.
-1 unit 2024 hadoop-ozone in the patch failed.
+1 asflicense 72 The patch does not generate ASF License warnings.
8299
Reason Tests
Failed junit tests hadoop.ozone.client.rpc.TestContainerStateMachineFailures
hadoop.ozone.TestStorageContainerManager
hadoop.ozone.TestSecureOzoneCluster
hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-861/13/artifact/out/Dockerfile
GITHUB PR #861
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml yamllint shellcheck shelldocs
uname Linux cc63bd70fe4f 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 3329257
Default Java 1.8.0_222
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-861/13/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-861/13/testReport/
Max. process+thread count 4907 (vs. ulimit of 5500)
modules C: hadoop-hdds hadoop-hdds/common hadoop-hdds/container-service hadoop-hdds/framework hadoop-hdds/server-scm hadoop-ozone/dist hadoop-ozone/ozone-manager hadoop-ozone/ozonefs hadoop-ozone/s3gateway U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-861/13/console
versions git=2.7.4 maven=3.3.9 shellcheck=0.4.6 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@elek
Copy link
Member Author

elek commented Aug 28, 2019

@anuengineer Any more thoughts? (

Today is the 3 months anniversary of this patch. Would be great to either commit or reject and close it.)

@anuengineer
Copy link
Contributor

Thanks for the reminder; I will get this committed today.

@anuengineer
Copy link
Contributor

Done, committed in the trunk.

shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
So far we've not seen a lot of use in maintaining separate implementation for ReadableTable and ReadWriteTable, which adds quite a bit complexity. Hence consolidating them.

Author: Wei Song <wsong@linkedin.com>

Reviewers: Xinyu Liu <xiliu@linkedin.com>

Closes apache#861 from weisong44/SAMZA-2043
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.

3 participants