Skip to content

Conversation

@swagle
Copy link
Contributor

@swagle swagle commented Apr 22, 2019

Brought back change from HDDS-776 with the retriable task, OM will now wait for at least 50 seconds before giving up.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 26 Docker mode activated.
_ Prechecks _
0 yamllint 0 yamllint was not available.
+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 _
0 mvndep 42 Maven dependency ordering for branch
+1 mvninstall 1084 trunk passed
+1 compile 130 trunk passed
+1 checkstyle 53 trunk passed
+1 mvnsite 66 trunk passed
+1 shadedclient 787 branch has no errors when building and testing our client artifacts.
0 findbugs 1 Skipped patched modules with no Java source: hadoop-ozone/dist
+1 findbugs 44 trunk passed
+1 javadoc 38 trunk passed
_ Patch Compile Tests _
0 mvndep 13 Maven dependency ordering for patch
-1 mvninstall 18 dist in the patch failed.
+1 compile 114 the patch passed
+1 javac 114 the patch passed
+1 checkstyle 24 the patch passed
+1 mvnsite 45 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 726 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-ozone/dist
+1 findbugs 47 the patch passed
+1 javadoc 40 the patch passed
_ Other Tests _
+1 unit 43 ozone-manager in the patch passed.
+1 unit 24 dist in the patch passed.
+1 asflicense 30 The patch does not generate ASF License warnings.
3482
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-758/1/artifact/out/Dockerfile
GITHUB PR #758
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient yamllint findbugs checkstyle
uname Linux d3c23ad8d320 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 / f4ab937
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-758/1/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-758/1/testReport/
Max. process+thread count 411 (vs. ulimit of 5500)
modules C: hadoop-ozone/ozone-manager hadoop-ozone/dist U: hadoop-ozone
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-758/1/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.

I have a few comments, rest LGTM.

Copy link
Contributor

Choose a reason for hiding this comment

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

We removed WAITFOR env usage, there are few other files where this is used, om-statefulset.yaml. Do we need to remove from there also?

And also we are removing usage of WAITFOR, then do we need to remove the logic for this in docker image code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Making the changes to remove the wait for, @elek it makes sense to remove the wait for from everywhere, right?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, it should be fine AFAIK.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 25 Docker mode activated.
_ Prechecks _
0 yamllint 0 yamllint was not available.
+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 _
0 mvndep 13 Maven dependency ordering for branch
+1 mvninstall 1022 trunk passed
+1 compile 107 trunk passed
+1 checkstyle 25 trunk passed
+1 mvnsite 52 trunk passed
+1 shadedclient 687 branch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-ozone/dist
+1 findbugs 37 trunk passed
+1 javadoc 34 trunk passed
_ Patch Compile Tests _
0 mvndep 12 Maven dependency ordering for patch
-1 mvninstall 18 dist in the patch failed.
+1 compile 101 the patch passed
+1 javac 101 the patch passed
+1 checkstyle 23 the patch passed
+1 mvnsite 42 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 683 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-ozone/dist
+1 findbugs 43 the patch passed
+1 javadoc 31 the patch passed
_ Other Tests _
+1 unit 38 ozone-manager in the patch passed.
+1 unit 21 dist in the patch passed.
+1 asflicense 25 The patch does not generate ASF License warnings.
3139
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-758/2/artifact/out/Dockerfile
GITHUB PR #758
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient yamllint findbugs checkstyle
uname Linux 33f2157700e6 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 / 59ded76
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-758/2/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-758/2/testReport/
Max. process+thread count 446 (vs. ulimit of 5500)
modules C: hadoop-ozone/ozone-manager hadoop-ozone/dist U: hadoop-ozone
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-758/2/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Member

Choose a reason for hiding this comment

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

ENSURE_OM_INITIALIZED is not required here. For kubernetes we follow a different (more generic) approach. We can define an 'initContainer' to execute the 'om --init' first. (as you can see this is the initContainer here). As the 'om --init' can be executed multiple times it works well without the environment variable (which is handled by the starter script of the container.

Copy link
Contributor Author

@swagle swagle Apr 25, 2019

Choose a reason for hiding this comment

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

Thanks for the review @elek. Removed in the latest commit.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, it should be fine AFAIK.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 38 Docker mode activated.
_ Prechecks _
0 yamllint 0 yamllint was not available.
+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 _
0 mvndep 52 Maven dependency ordering for branch
+1 mvninstall 1066 trunk passed
+1 compile 115 trunk passed
+1 checkstyle 48 trunk passed
+1 mvnsite 67 trunk passed
+1 shadedclient 862 branch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-ozone/dist
+1 findbugs 58 trunk passed
+1 javadoc 54 trunk passed
_ Patch Compile Tests _
0 mvndep 15 Maven dependency ordering for patch
-1 mvninstall 23 dist in the patch failed.
+1 compile 114 the patch passed
+1 javac 114 the patch passed
+1 checkstyle 27 the patch passed
+1 mvnsite 51 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 873 patch has no errors when building and testing our client artifacts.
0 findbugs 0 Skipped patched modules with no Java source: hadoop-ozone/dist
+1 findbugs 52 the patch passed
+1 javadoc 44 the patch passed
_ Other Tests _
+1 unit 71 ozone-manager in the patch passed.
+1 unit 24 dist in the patch passed.
+1 asflicense 31 The patch does not generate ASF License warnings.
3777
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-758/3/artifact/out/Dockerfile
GITHUB PR #758
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient yamllint findbugs checkstyle
uname Linux 87b06ff22d90 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / b5dcf64
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-758/3/artifact/out/patch-mvninstall-hadoop-ozone_dist.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-758/3/testReport/
Max. process+thread count 389 (vs. ulimit of 5500)
modules C: hadoop-ozone/ozone-manager hadoop-ozone/dist U: hadoop-ozone
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-758/3/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Member

@elek elek left a comment

Choose a reason for hiding this comment

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

+1. Thanks the update. Will merge it soon...

@elek elek closed this in c35abcd Apr 26, 2019
shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
Author: [email protected] <[email protected]>

Reviewers: Prateek Maheshwari <[email protected]>

Closes apache#758 from rmatharu/doc
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