Skip to content

Conversation

@risdenk
Copy link
Contributor

@risdenk risdenk commented Nov 19, 2019

HBase Thrift SPNEGO configs should not be required.
The hbase.thrift.spnego.keytab.file and
hbase.thrift.spnego.principal configs should fall
back to the hbase.thrift.keytab.file and
hbase.thrift.kerberos.principal configs. This will
avoid any issues during upgrades.

Signed-off-by: Kevin Risden [email protected]

@risdenk
Copy link
Contributor Author

risdenk commented Nov 19, 2019

FYI @busbey @esteban @joshelser (I'm not sure how to tag reviewers or get feedback on the PR - doesn't look like the HBase book was updated? https://hbase.apache.org/book.html#submitting.patches).

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 37s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ master Compile Tests _
+1 💚 mvninstall 6m 35s master passed
+1 💚 compile 0m 36s master passed
+1 💚 checkstyle 0m 43s master passed
+1 💚 shadedjars 5m 36s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 36s master passed
+0 🆗 spotbugs 1m 37s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 1m 35s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 5m 0s the patch passed
+1 💚 compile 0m 33s the patch passed
+1 💚 javac 0m 33s the patch passed
+1 💚 checkstyle 0m 38s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 4m 36s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 15m 37s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 33s the patch passed
+1 💚 findbugs 1m 38s the patch passed
_ Other Tests _
-1 ❌ unit 12m 36s hbase-thrift in the patch failed.
-1 ❌ asflicense 0m 14s The patch generated 2 ASF License warnings.
64m 18s
Reason Tests
Failed junit tests hadoop.hbase.thrift.TestThriftSpnegoHttpFallbackServer
Subsystem Report/Notes
Docker Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/1/artifact/out/Dockerfile
GITHUB PR #850
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 56574b37ffbb 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-850/out/precommit/personality/provided.sh
git revision master / ca6e67a
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/1/artifact/out/patch-unit-hbase-thrift.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/1/testReport/
asflicense https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/1/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 1883 (vs. ulimit of 10000)
modules C: hbase-thrift U: hbase-thrift
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/1/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@risdenk risdenk force-pushed the HBASE-23312 branch 2 times, most recently from 853991a to a4fb8d2 Compare November 19, 2019 17:59
@risdenk
Copy link
Contributor Author

risdenk commented Nov 19, 2019

Pushed change that addresses the license and race condition with the tests

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 32s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ master Compile Tests _
+1 💚 mvninstall 5m 29s master passed
+1 💚 compile 0m 33s master passed
+1 💚 checkstyle 0m 41s master passed
+1 💚 shadedjars 4m 37s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 33s master passed
+0 🆗 spotbugs 1m 31s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 1m 30s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 4m 57s the patch passed
+1 💚 compile 0m 33s the patch passed
+1 💚 javac 0m 33s the patch passed
+1 💚 checkstyle 0m 39s the patch passed
-1 ❌ whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 shadedjars 4m 35s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 15m 27s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 31s the patch passed
+1 💚 findbugs 1m 35s the patch passed
_ Other Tests _
+1 💚 unit 3m 37s hbase-thrift in the patch passed.
+1 💚 asflicense 0m 14s The patch does not generate ASF License warnings.
52m 28s
Subsystem Report/Notes
Docker Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/2/artifact/out/Dockerfile
GITHUB PR #850
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 5c2abc96d8d5 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-850/out/precommit/personality/provided.sh
git revision master / ca6e67a
Default Java 1.8.0_181
whitespace https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/2/artifact/out/whitespace-eol.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/2/testReport/
Max. process+thread count 1721 (vs. ulimit of 10000)
modules C: hbase-thrift U: hbase-thrift
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/2/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@risdenk
Copy link
Contributor Author

risdenk commented Nov 19, 2019

Pushed whitespace fix.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 31s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ master Compile Tests _
+1 💚 mvninstall 5m 25s master passed
+1 💚 compile 0m 34s master passed
+1 💚 checkstyle 0m 41s master passed
+1 💚 shadedjars 4m 35s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 33s master passed
+0 🆗 spotbugs 1m 36s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 1m 34s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 4m 55s the patch passed
+1 💚 compile 0m 32s the patch passed
+1 💚 javac 0m 32s the patch passed
+1 💚 checkstyle 0m 40s the patch passed
-1 ❌ whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 shadedjars 4m 34s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 15m 28s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 31s the patch passed
+1 💚 findbugs 1m 33s the patch passed
_ Other Tests _
+1 💚 unit 3m 34s hbase-thrift in the patch passed.
+1 💚 asflicense 0m 13s The patch does not generate ASF License warnings.
52m 23s
Subsystem Report/Notes
Docker Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/3/artifact/out/Dockerfile
GITHUB PR #850
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 6a92efd8ed32 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-850/out/precommit/personality/provided.sh
git revision master / ca6e67a
Default Java 1.8.0_181
whitespace https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/3/artifact/out/whitespace-eol.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/3/testReport/
Max. process+thread count 1729 (vs. ulimit of 10000)
modules C: hbase-thrift U: hbase-thrift
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/3/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 31s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ master Compile Tests _
+1 💚 mvninstall 5m 26s master passed
+1 💚 compile 0m 32s master passed
+1 💚 checkstyle 0m 40s master passed
+1 💚 shadedjars 4m 38s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 33s master passed
+0 🆗 spotbugs 1m 31s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 1m 28s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 5m 3s the patch passed
+1 💚 compile 0m 33s the patch passed
+1 💚 javac 0m 33s the patch passed
+1 💚 checkstyle 0m 40s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 4m 36s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 15m 43s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 32s the patch passed
+1 💚 findbugs 1m 38s the patch passed
_ Other Tests _
+1 💚 unit 3m 39s hbase-thrift in the patch passed.
+1 💚 asflicense 0m 14s The patch does not generate ASF License warnings.
52m 55s
Subsystem Report/Notes
Docker Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/4/artifact/out/Dockerfile
GITHUB PR #850
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 7fb54f63b7c2 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-850/out/precommit/personality/provided.sh
git revision master / ca6e67a
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/4/testReport/
Max. process+thread count 1613 (vs. ulimit of 10000)
modules C: hbase-thrift U: hbase-thrift
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/4/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

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

Looks reasonable! Appears to restore functionality so that hbase.thrift.keytab.file can continue to be used in the absence of hbase.thrift.spnego.keytab.file.

A couple of minor polishing requests.

@risdenk risdenk force-pushed the HBASE-23312 branch 2 times, most recently from 096a2db to 8e24d7a Compare November 19, 2019 22:07
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 31s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ master Compile Tests _
+1 💚 mvninstall 5m 29s master passed
+1 💚 compile 0m 33s master passed
+1 💚 checkstyle 0m 41s master passed
+1 💚 shadedjars 4m 36s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 32s master passed
+0 🆗 spotbugs 1m 30s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 1m 27s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 4m 54s the patch passed
+1 💚 compile 0m 32s the patch passed
+1 💚 javac 0m 32s the patch passed
+1 💚 checkstyle 0m 40s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 4m 38s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 16m 2s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 32s the patch passed
+1 💚 findbugs 1m 38s the patch passed
_ Other Tests _
-1 ❌ unit 3m 14s hbase-thrift in the patch failed.
+1 💚 asflicense 0m 13s The patch does not generate ASF License warnings.
52m 41s
Reason Tests
Failed junit tests hadoop.hbase.thrift.TestThriftSpnegoHttpFallbackServer
hadoop.hbase.thrift.TestThriftSpnegoHttpServer
Subsystem Report/Notes
Docker Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/5/artifact/out/Dockerfile
GITHUB PR #850
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux b807b8892542 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-850/out/precommit/personality/provided.sh
git revision master / 33bedf8
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/5/artifact/out/patch-unit-hbase-thrift.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/5/testReport/
Max. process+thread count 1837 (vs. ulimit of 10000)
modules C: hbase-thrift U: hbase-thrift
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/5/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 32s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ master Compile Tests _
+1 💚 mvninstall 5m 24s master passed
+1 💚 compile 0m 34s master passed
+1 💚 checkstyle 0m 39s master passed
+1 💚 shadedjars 4m 33s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 34s master passed
+0 🆗 spotbugs 1m 28s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 1m 27s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 5m 9s the patch passed
+1 💚 compile 0m 35s the patch passed
+1 💚 javac 0m 35s the patch passed
+1 💚 checkstyle 0m 39s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 5m 12s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 15m 47s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 31s the patch passed
+1 💚 findbugs 1m 35s the patch passed
_ Other Tests _
+1 💚 unit 3m 41s hbase-thrift in the patch passed.
+1 💚 asflicense 0m 14s The patch does not generate ASF License warnings.
53m 36s
Subsystem Report/Notes
Docker Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/6/artifact/out/Dockerfile
GITHUB PR #850
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 296c7b368965 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-850/out/precommit/personality/provided.sh
git revision master / 33bedf8
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/6/testReport/
Max. process+thread count 1738 (vs. ulimit of 10000)
modules C: hbase-thrift U: hbase-thrift
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/6/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@risdenk risdenk requested a review from joshelser November 21, 2019 14:07
}

private String getSpengoPrincipal(Configuration conf, String host) throws IOException {
String principal = conf.get(THRIFT_SPNEGO_PRINCIPAL_KEY);
Copy link
Contributor

Choose a reason for hiding this comment

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

We're doing this ourselves instead of using Hadoop Configuration's deprecation mechanisms because we want a different fall back order? Or we can't set deprecation soon enough for some reason?

We should have comments proactively letting future folks know the reasoning.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm let me take a look at what Hadoop Configuration's deprecation options are - I didn't know that was a fine. The old config is still technically valid just not for SPNEGO. I'll see if that is an option here to fallback with a message.

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 I don't think using the Hadoop Configuration deprecations will work here. The existing config key hbase.thrift.kerberos.principal is still valid and needs to be used for Kerberos communication between HBase Thrift Server to backend HBase master/rs. The new config key hbase.thrift.spnego.principal should be used for SPNEGO (handling SPNEGO HTTP only not for backend communication).

So its not really a deprecation per say, but more configuration to split out the principal/keytab used for SPNEGO versus backend communication. In an ideal world, the config hbase.thrift.kerberos.principal would never have done double duty.

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 added a comment specifically for this case.

Copy link
Member

Choose a reason for hiding this comment

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

Given I missed this the first time, the comment clearly explains things to me. Resolving.

…ards compatible

HBase Thrift SPNEGO configs should not be required.
The `hbase.thrift.spnego.keytab.file` and
`hbase.thrift.spnego.principal` configs should fall
back to the `hbase.thrift.keytab.file` and
`hbase.thrift.kerberos.principal` configs. This will
avoid any issues during upgrades.

Signed-off-by: Kevin Risden <[email protected]>
@risdenk
Copy link
Contributor Author

risdenk commented Nov 22, 2019

Latest push adds comment about deprecation handling and why not use Hadoop Configuration deprecation handling. Also fixes the license header to remove copyright.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 34s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 2 new or modified test files.
_ master Compile Tests _
+1 💚 mvninstall 5m 40s master passed
+1 💚 compile 0m 35s master passed
+1 💚 checkstyle 0m 43s master passed
+1 💚 shadedjars 4m 49s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 35s master passed
+0 🆗 spotbugs 1m 42s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 1m 40s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 6m 14s the patch passed
+1 💚 compile 0m 38s the patch passed
+1 💚 javac 0m 38s the patch passed
+1 💚 checkstyle 0m 42s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 6m 23s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 20m 20s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 35s the patch passed
+1 💚 findbugs 1m 58s the patch passed
_ Other Tests _
+1 💚 unit 3m 47s hbase-thrift in the patch passed.
+1 💚 asflicense 0m 14s The patch does not generate ASF License warnings.
63m 30s
Subsystem Report/Notes
Docker Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/7/artifact/out/Dockerfile
GITHUB PR #850
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 039f0ebcaa4c 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-850/out/precommit/personality/provided.sh
git revision master / 8e52339
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/7/testReport/
Max. process+thread count 1636 (vs. ulimit of 10000)
modules C: hbase-thrift U: hbase-thrift
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-850/7/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@risdenk
Copy link
Contributor Author

risdenk commented Nov 25, 2019

@busbey @joshelser I think this is ready for another round of review

Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

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

A couple of minor comments, but I can run the tests myself locally to validate my questions :)

I know Busbey is not working this week, so I'm moving ahead without his ack.

}

private String getSpengoPrincipal(Configuration conf, String host) throws IOException {
String principal = conf.get(THRIFT_SPNEGO_PRINCIPAL_KEY);
Copy link
Member

Choose a reason for hiding this comment

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

Given I missed this the first time, the comment clearly explains things to me. Resolving.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants