Skip to content
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

HDDS-1909. Use new HA code for Non-HA in OM. #1225

Merged
merged 4 commits into from
Sep 3, 2019

Conversation

bharatviswa504
Copy link
Contributor

No description provided.

@bharatviswa504 bharatviswa504 force-pushed the HDDS-1909 branch 4 times, most recently from 76af6ab to 6169be1 Compare August 4, 2019 22:43
@bharatviswa504 bharatviswa504 self-assigned this Aug 4, 2019
@bharatviswa504 bharatviswa504 force-pushed the HDDS-1909 branch 2 times, most recently from c18a1e0 to 5ebb33f Compare August 6, 2019 00:09
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@bharatviswa504
Copy link
Contributor Author

/retest

@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@bharatviswa504
Copy link
Contributor Author

/retest

@apache apache deleted a comment from hadoop-yetus Aug 6, 2019
@apache apache deleted a comment from hadoop-yetus Aug 23, 2019
@apache apache deleted a comment from hadoop-yetus Aug 23, 2019
@apache apache deleted a comment from hadoop-yetus Aug 23, 2019
@apache apache deleted a comment from hadoop-yetus Aug 23, 2019
@apache apache deleted a comment from hadoop-yetus Aug 23, 2019
@bharatviswa504
Copy link
Contributor Author

/retest

omClientResponse.getFlushFuture().get();
LOG.trace("Future for {} is completed", request);
} catch (ExecutionException | InterruptedException ex) {
// Do we need to terminate OM here?
Copy link
Contributor

Choose a reason for hiding this comment

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

The only potential issue is if we update the cache but fail to update RocksDB. In that case self-terminate is likely the best option. Since Ratis is not enabled the request is not persistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So, terminate OM here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes I would err on the side of safety and self-terminate the OM here.

Copy link
Contributor

@arp7 arp7 left a comment

Choose a reason for hiding this comment

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

Few more comments.

@bharatviswa504
Copy link
Contributor Author

Thank You @arp7 for the review.
I have addressed the review comments.

@bharatviswa504
Copy link
Contributor Author

/retest

@apache apache deleted a comment from hadoop-yetus Aug 30, 2019
@bharatviswa504
Copy link
Contributor Author

Fixed s3 test failure.

@bharatviswa504
Copy link
Contributor Author

/retest

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 40 Docker mode activated.
_ Prechecks _
+1 dupname 2 No case conflicting files found.
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 25 new or modified test files.
_ trunk Compile Tests _
0 mvndep 76 Maven dependency ordering for branch
+1 mvninstall 589 trunk passed
+1 compile 399 trunk passed
+1 checkstyle 95 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 790 branch has no errors when building and testing our client artifacts.
+1 javadoc 194 trunk passed
0 spotbugs 425 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 636 trunk passed
_ Patch Compile Tests _
0 mvndep 52 Maven dependency ordering for patch
+1 mvninstall 550 the patch passed
+1 compile 413 the patch passed
+1 javac 413 the patch passed
+1 checkstyle 105 the patch passed
+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 shadedclient 693 patch has no errors when building and testing our client artifacts.
+1 javadoc 191 the patch passed
+1 findbugs 642 the patch passed
_ Other Tests _
+1 unit 299 hadoop-hdds in the patch passed.
-1 unit 189 hadoop-ozone in the patch failed.
+1 asflicense 55 The patch does not generate ASF License warnings.
6325
Reason Tests
Failed junit tests hadoop.ozone.om.ratis.TestOzoneManagerDoubleBufferWithOMResponse
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1225/25/artifact/out/Dockerfile
GITHUB PR #1225
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle shellcheck shelldocs
uname Linux b61b325f9a52 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 / 7085512
Default Java 1.8.0_222
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1225/25/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1225/25/testReport/
Max. process+thread count 1287 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-ozone/dist hadoop-ozone/integration-test hadoop-ozone/ozone-manager hadoop-ozone/ozone-recon U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1225/25/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 34 Docker mode activated.
_ Prechecks _
+1 dupname 2 No case conflicting files found.
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 25 new or modified test files.
_ trunk Compile Tests _
0 mvndep 67 Maven dependency ordering for branch
+1 mvninstall 595 trunk passed
+1 compile 405 trunk passed
+1 checkstyle 81 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 849 branch has no errors when building and testing our client artifacts.
+1 javadoc 177 trunk passed
0 spotbugs 440 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 643 trunk passed
_ Patch Compile Tests _
0 mvndep 41 Maven dependency ordering for patch
+1 mvninstall 549 the patch passed
+1 compile 386 the patch passed
+1 javac 386 the patch passed
+1 checkstyle 87 the patch passed
+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 shadedclient 740 patch has no errors when building and testing our client artifacts.
+1 javadoc 204 the patch passed
+1 findbugs 726 the patch passed
_ Other Tests _
+1 unit 298 hadoop-hdds in the patch passed.
-1 unit 1792 hadoop-ozone in the patch failed.
+1 asflicense 47 The patch does not generate ASF License warnings.
7992
Reason Tests
Failed junit tests hadoop.ozone.client.rpc.TestMultiBlockWritesWithDnFailures
hadoop.ozone.TestSecureOzoneCluster
hadoop.ozone.om.TestSecureOzoneManager
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-1225/26/artifact/out/Dockerfile
GITHUB PR #1225
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle shellcheck shelldocs
uname Linux 78dae72e3ceb 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 / 915cbc9
Default Java 1.8.0_222
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1225/26/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1225/26/testReport/
Max. process+thread count 5295 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-ozone/dist hadoop-ozone/integration-test hadoop-ozone/ozone-manager hadoop-ozone/ozone-recon U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1225/26/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.

@arp7
Copy link
Contributor

arp7 commented Sep 3, 2019

Thanks @bharatviswa504. The patch looks pretty good to me.

+1

One remaining point was to self-terminate the OM in the RocksDB update failure path. It can be done in a separate jira.

@arp7
Copy link
Contributor

arp7 commented Sep 3, 2019

+1 to commit assuming the integration test failures are unrelated.

@bharatviswa504 bharatviswa504 merged commit f25fe92 into apache:trunk Sep 3, 2019
@bharatviswa504
Copy link
Contributor Author

Thank You @arp7 for the review.
I have committed this to the trunk.

@bharatviswa504
Copy link
Contributor Author

Opened jira's HDDS-2078 and HDDS-2079 for secure cluster test failures.

amahussein pushed a commit to amahussein/hadoop that referenced this pull request Oct 29, 2019
RogPodge pushed a commit to RogPodge/hadoop that referenced this pull request Mar 25, 2020
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