Skip to content

Conversation

@ajayydv
Copy link
Contributor

@ajayydv ajayydv commented Mar 2, 2019

No description provided.

@ajayydv ajayydv added the ozone label Mar 2, 2019
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 25 Docker mode activated.
_ Prechecks _
+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 23 Maven dependency ordering for branch
+1 mvninstall 1000 trunk passed
+1 compile 71 trunk passed
+1 checkstyle 26 trunk passed
+1 mvnsite 71 trunk passed
+1 shadedclient 717 branch has no errors when building and testing our client artifacts.
+1 findbugs 118 trunk passed
+1 javadoc 67 trunk passed
_ Patch Compile Tests _
0 mvndep 12 Maven dependency ordering for patch
+1 mvninstall 74 the patch passed
+1 compile 67 the patch passed
+1 javac 67 the patch passed
+1 checkstyle 24 the patch passed
+1 mvnsite 65 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 745 patch has no errors when building and testing our client artifacts.
+1 findbugs 131 the patch passed
+1 javadoc 60 the patch passed
_ Other Tests _
-1 unit 61 common in the patch failed.
-1 unit 72 container-service in the patch failed.
+1 asflicense 29 The patch does not generate ASF License warnings.
3518
Reason Tests
Failed junit tests hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient
hadoop.ozone.container.common.TestDatanodeStateMachine
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-547/1/artifact/out/Dockerfile
GITHUB PR #547
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux ccb71df5b025 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 / 9e53088
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/1/artifact/out/patch-unit-hadoop-hdds_common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/1/artifact/out/patch-unit-hadoop-hdds_container-service.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-547/1/testReport/
Max. process+thread count 445 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service U: hadoop-hdds
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/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 0 Docker mode activated.
-1 patch 7 #547 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #547
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/2/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 0 Docker mode activated.
-1 patch 6 #547 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #547
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/3/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 24 Docker mode activated.
_ Prechecks _
+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 20 Maven dependency ordering for branch
+1 mvninstall 980 trunk passed
+1 compile 72 trunk passed
+1 checkstyle 29 trunk passed
+1 mvnsite 75 trunk passed
+1 shadedclient 716 branch has no errors when building and testing our client artifacts.
+1 findbugs 115 trunk passed
+1 javadoc 58 trunk passed
_ Patch Compile Tests _
0 mvndep 10 Maven dependency ordering for patch
+1 mvninstall 76 the patch passed
+1 compile 67 the patch passed
+1 javac 67 the patch passed
-0 checkstyle 22 hadoop-hdds: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 mvnsite 61 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 741 patch has no errors when building and testing our client artifacts.
+1 findbugs 128 the patch passed
+1 javadoc 62 the patch passed
_ Other Tests _
-1 unit 62 common in the patch failed.
-1 unit 71 container-service in the patch failed.
+1 asflicense 25 The patch does not generate ASF License warnings.
3464
Reason Tests
Failed junit tests hadoop.hdds.security.x509.certificates.TestCertificateSignRequest
hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient
hadoop.ozone.container.common.TestDatanodeStateMachine
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-547/5/artifact/out/Dockerfile
GITHUB PR #547
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux a6fe03809c56 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 / 9fcd89a
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-547/5/artifact/out/diff-checkstyle-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/5/artifact/out/patch-unit-hadoop-hdds_common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/5/artifact/out/patch-unit-hadoop-hdds_container-service.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-547/5/testReport/
Max. process+thread count 423 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service U: hadoop-hdds
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/5/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 35 Docker mode activated.
_ Prechecks _
+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 32 Maven dependency ordering for branch
+1 mvninstall 1066 trunk passed
+1 compile 88 trunk passed
+1 checkstyle 31 trunk passed
+1 mvnsite 83 trunk passed
+1 shadedclient 827 branch has no errors when building and testing our client artifacts.
+1 findbugs 144 trunk passed
+1 javadoc 97 trunk passed
_ Patch Compile Tests _
0 mvndep 10 Maven dependency ordering for patch
+1 mvninstall 80 the patch passed
+1 compile 72 the patch passed
+1 javac 72 the patch passed
+1 checkstyle 25 the patch passed
+1 mvnsite 77 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 829 patch has no errors when building and testing our client artifacts.
+1 findbugs 149 the patch passed
+1 javadoc 67 the patch passed
_ Other Tests _
-1 unit 86 common in the patch failed.
+1 unit 68 container-service in the patch passed.
+1 asflicense 29 The patch does not generate ASF License warnings.
3922
Reason Tests
Failed junit tests hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-547/4/artifact/out/Dockerfile
GITHUB PR #547
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 5c5da289cb7d 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 / 9fcd89a
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/4/artifact/out/patch-unit-hadoop-hdds_common.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-547/4/testReport/
Max. process+thread count 313 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service U: hadoop-hdds
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/4/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@xiaoyuyao
Copy link
Contributor

@ajayydv , thanks for the update. Please fix the unit test failure testGenerateCSRWithInvalidParams and checkstyle issue. I will post another comments on the 2nd revision shortly.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 28 Docker mode activated.
_ Prechecks _
+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 34 Maven dependency ordering for branch
+1 mvninstall 1254 trunk passed
+1 compile 79 trunk passed
+1 checkstyle 30 trunk passed
-1 mvnsite 28 container-service in trunk failed.
+1 shadedclient 833 branch has no errors when building and testing our client artifacts.
-1 findbugs 24 container-service in trunk failed.
+1 javadoc 65 trunk passed
_ Patch Compile Tests _
0 mvndep 13 Maven dependency ordering for patch
+1 mvninstall 79 the patch passed
+1 compile 68 the patch passed
+1 javac 68 the patch passed
+1 checkstyle 26 the patch passed
+1 mvnsite 66 the patch passed
-1 whitespace 1 The patch has 75 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 whitespace 1 The patch 19849 line(s) with tabs.
+1 shadedclient 1016 patch has no errors when building and testing our client artifacts.
+1 findbugs 130 the patch passed
+1 javadoc 36 common in the patch passed.
+1 javadoc 26 hadoop-hdds_container-service generated 0 new + 7 unchanged - 1 fixed = 7 total (was 8)
_ Other Tests _
-1 unit 76 common in the patch failed.
+1 unit 60 container-service in the patch passed.
+1 asflicense 29 The patch does not generate ASF License warnings.
4197
Reason Tests
Failed junit tests hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-547/6/artifact/out/Dockerfile
GITHUB PR #547
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux bc20fcc97965 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 5fcea54
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-547/6/artifact/out/branch-mvnsite-hadoop-hdds_container-service.txt
findbugs v3.1.0-RC1
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-547/6/artifact/out/branch-findbugs-hadoop-hdds_container-service.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-547/6/artifact/out/whitespace-eol.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-547/6/artifact/out/whitespace-tabs.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/6/artifact/out/patch-unit-hadoop-hdds_common.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-547/6/testReport/
Max. process+thread count 340 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service U: hadoop-hdds
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/6/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 0 Docker mode activated.
-1 patch 8 #547 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #547
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/7/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

LOG.error("DN security initialization failed.");
throw new RuntimeException("DN security initialization failed.");
case RECOVER:
LOG.error("DN security initialization failed. OM certificate is " +
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we reword the error message for recovery?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added case info to all cases.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add todo for handling multiple SCM instances case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we throw RetriableException instead of RuntimeException so that DN can retry if SCM is not available (e.g., reboot, not fully boot up yet)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think IPC layer already has logic to retry for socket timeout related errors. If it fails there (unrecoverable), then its best to shutdown DN.

Copy link
Contributor

Choose a reason for hiding this comment

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

Given that we remove the SCM_ID/CLUSTER_ID from the CSR, can we assert the certificate returned contains a valid SCM_ID and CLUSTER_ID here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is unit test for only CSR generation on DN side. Updated Default Approver on SCM side to add scm id and cluster id if not already present. Added corresponding tests in TestDefaultCAServer.

Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need server side change to populate the SCM_ID/CLUSTER_ID into the certificate returned?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Latest commit handles that.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 9 #547 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #547
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/8/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 0 Docker mode activated.
-1 patch 6 #547 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.
Subsystem Report/Notes
GITHUB PR #547
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/9/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@ajayydv
Copy link
Contributor Author

ajayydv commented Mar 6, 2019

rebased with trunk.

@hadoop-yetus
Copy link

💔 -1 overall

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

This message was automatically generated.

@xiaoyuyao
Copy link
Contributor

why some of the changes from HDDS-1118 are shown up as part of the files changed?

@ajayydv
Copy link
Contributor Author

ajayydv commented Mar 6, 2019

@xiaoyuyao rebase seems to have pushed spurious commit. Forced reset it to intended commits.

@xiaoyuyao
Copy link
Contributor

+1 pending Jenkins.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 33 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
0 mvndep 12 Maven dependency ordering for branch
+1 mvninstall 993 trunk passed
+1 compile 73 trunk passed
+1 checkstyle 31 trunk passed
+1 mvnsite 79 trunk passed
+1 shadedclient 723 branch has no errors when building and testing our client artifacts.
+1 findbugs 122 trunk passed
+1 javadoc 67 trunk passed
_ Patch Compile Tests _
0 mvndep 10 Maven dependency ordering for patch
+1 mvninstall 78 the patch passed
+1 compile 70 the patch passed
+1 javac 70 the patch passed
-0 checkstyle 26 hadoop-hdds: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 mvnsite 68 the patch passed
-1 whitespace 0 The patch has 75 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 whitespace 1 The patch 19849 line(s) with tabs.
+1 shadedclient 893 patch has no errors when building and testing our client artifacts.
+1 findbugs 128 the patch passed
+1 javadoc 63 the patch passed
_ Other Tests _
-1 unit 61 common in the patch failed.
-1 unit 52 container-service in the patch failed.
+1 asflicense 32 The patch does not generate ASF License warnings.
3684
Reason Tests
Failed junit tests hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-547/12/artifact/out/Dockerfile
GITHUB PR #547
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 932fd68b209e 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 / 45f976f
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-547/12/artifact/out/diff-checkstyle-hadoop-hdds.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-547/12/artifact/out/whitespace-eol.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-547/12/artifact/out/whitespace-tabs.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/12/artifact/out/patch-unit-hadoop-hdds_common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/12/artifact/out/patch-unit-hadoop-hdds_container-service.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-547/12/testReport/
Max. process+thread count 410 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service U: hadoop-hdds
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/12/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 30 Docker mode activated.
_ Prechecks _
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 4 new or modified test files.
_ trunk Compile Tests _
0 mvndep 22 Maven dependency ordering for branch
+1 mvninstall 1301 trunk passed
+1 compile 79 trunk passed
+1 checkstyle 30 trunk passed
+1 mvnsite 72 trunk passed
+1 shadedclient 785 branch has no errors when building and testing our client artifacts.
+1 findbugs 124 trunk passed
+1 javadoc 64 trunk passed
_ Patch Compile Tests _
0 mvndep 11 Maven dependency ordering for patch
+1 mvninstall 78 the patch passed
+1 compile 69 the patch passed
+1 javac 69 the patch passed
+1 checkstyle 25 the patch passed
+1 mvnsite 65 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 770 patch has no errors when building and testing our client artifacts.
+1 findbugs 139 the patch passed
+1 javadoc 60 the patch passed
_ Other Tests _
-1 unit 73 common in the patch failed.
-1 unit 80 container-service in the patch failed.
+1 asflicense 25 The patch does not generate ASF License warnings.
3940
Reason Tests
Failed junit tests hadoop.hdds.security.x509.certificate.client.TestDefaultCertificateClient
hadoop.ozone.container.common.TestDatanodeStateMachine
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-547/13/artifact/out/Dockerfile
GITHUB PR #547
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 1f4f9c25055d 4.4.0-138-generic #164~14.04.1-Ubuntu SMP Fri Oct 5 08:56:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 09a9938
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
findbugs v3.1.0-RC1
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/13/artifact/out/patch-unit-hadoop-hdds_common.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-547/13/artifact/out/patch-unit-hadoop-hdds_container-service.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-547/13/testReport/
Max. process+thread count 399 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-hdds/container-service U: hadoop-hdds
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-547/13/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@ajayydv
Copy link
Contributor Author

ajayydv commented Mar 7, 2019

unit test failure seem unrelated, pass locally.

@xiaoyuyao
Copy link
Contributor

I've tested the patch with docker and validated the DN initialization works as expected. The ci author/acceptance test does not seem to be related to this patch. Will merge it shortly.

@xiaoyuyao xiaoyuyao merged commit 064f38b into apache:trunk Mar 7, 2019
asfgit pushed a commit that referenced this pull request Mar 9, 2019
…ntributed by Ajay Kumar. (#547)

(cherry picked from commit 064f38b)
shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
…teFunction when input value is null

Currently, the behavior of putting a null value is inconsistent: it is a delete for RocksDB, and not supported in in-memory store, and on a case-by-case basis for remote tables. It is desirable to unify the behavior. Furthermore, it eases the writing of a change captured stream to a table. A change captured stream contains typically 3 types of events: INSERT, UPDATE and DELETE, and they need to be applied properly when written to a table to produce a correct snapshot. In a change captured stream the payload of a DELETE event is typically is null, and this would result in a delete operation to a table in sendTo() operator.

Author: Wei Song <wsong@wsong-mn2.linkedin.biz>

Closes apache#547 from weisong44/table-fix
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