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-1430. NPE if secure ozone if KMS uri is not defined. Contributed by Ajay Kumar. #752

Merged
merged 1 commit into from
Apr 29, 2019

Conversation

ajayydv
Copy link
Contributor

@ajayydv ajayydv commented Apr 18, 2019

No description provided.

@ajayydv ajayydv requested a review from xiaoyuyao April 18, 2019 22:01
@ajayydv ajayydv added the ozone label Apr 18, 2019
@ajayydv ajayydv self-assigned this Apr 18, 2019
} catch (IOException ioe) {
LOG.error("Error retrieving KeyProvider.", ioe);
return null;
}
if (keyProvider instanceof DelegationTokenIssuer) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why don't we just check keyProvider!=null on Line 69 before check if keyProvider instanceof? This way, we don't need other changes.

Note getKeyProvider() will be eventually fixed when OM returns its KMS uri to the client as part of it service discovery.

@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 21 Maven dependency ordering for branch
+1 mvninstall 1126 trunk passed
-1 compile 47 hadoop-ozone in trunk failed.
+1 checkstyle 40 trunk passed
+1 mvnsite 56 trunk passed
+1 shadedclient 821 branch has no errors when building and testing our client artifacts.
+1 findbugs 71 trunk passed
+1 javadoc 40 trunk passed
_ Patch Compile Tests _
0 mvndep 11 Maven dependency ordering for patch
+1 mvninstall 54 the patch passed
-1 compile 40 hadoop-ozone in the patch failed.
-1 javac 40 hadoop-ozone in the patch failed.
+1 checkstyle 19 the patch passed
+1 mvnsite 46 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 807 patch has no errors when building and testing our client artifacts.
+1 findbugs 81 the patch passed
+1 javadoc 35 the patch passed
_ Other Tests _
+1 unit 24 client in the patch passed.
+1 unit 117 ozonefs in the patch passed.
+1 asflicense 25 The patch does not generate ASF License warnings.
3569
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-752/1/artifact/out/Dockerfile
GITHUB PR #752
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 06b13754c297 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 / df76cdc
maven version: Apache Maven 3.3.9
Default Java 1.8.0_191
compile https://builds.apache.org/job/hadoop-multibranch/job/PR-752/1/artifact/out/branch-compile-hadoop-ozone.txt
findbugs v3.1.0-RC1
compile https://builds.apache.org/job/hadoop-multibranch/job/PR-752/1/artifact/out/patch-compile-hadoop-ozone.txt
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-752/1/artifact/out/patch-compile-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-752/1/testReport/
Max. process+thread count 3126 (vs. ulimit of 5500)
modules C: hadoop-ozone/client hadoop-ozone/ozonefs U: hadoop-ozone
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-752/1/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@xiaoyuyao
Copy link
Contributor

+1

@ajayydv ajayydv merged commit 95790bb into apache:trunk Apr 29, 2019
ajayydv added a commit that referenced this pull request Apr 29, 2019
shanthoosh pushed a commit to shanthoosh/hadoop that referenced this pull request Oct 15, 2019
ClientHelper changed the log-print, which the integration test relies on.

Author: [email protected] <[email protected]>

Reviewers: Jagadish<[email protected]>

Closes apache#752 from rmatharu/integ-test-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