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

[BEAM-9278] Make HBase client a provided dependency in HBaseIO #10814

Closed
wants to merge 1 commit into from

Conversation

iemejia
Copy link
Member

@iemejia iemejia commented Feb 10, 2020

@iemejia
Copy link
Member Author

iemejia commented Feb 10, 2020

Sorry to bother you @suztomo but given your strong knowledge about dependencies I have a question. I cannot get to understand how this can be breaking. Does this make somehow some sense to you?

@suztomo
Copy link
Contributor

suztomo commented Feb 10, 2020

java.lang.NoSuchMethodError: org.apache.hadoop.security.authentication.util.KerberosUtil.hasKerberosTicket(Ljavax/security/auth/Subject;)Z
	at org.apache.hadoop.security.UserGroupInformation.<init>(UserGroupInformation.java:657)

'provided' dependency of beam-sdks-java-io-hbase will not appear in other modules that depends on beam-sdks-java-io-hbase. However, I thought the provided dependency should be there when running tests for beam-sdks-java-io-hbase.

./gradlew -p sdks/java/io/hbase/ dependencies would clarify what dependencies are included when running tests. There must be another artifact that contains org.apache.hadoop.security.authentication.util.KerberosUtil without the void hasKerberosTicket(Subject arg) method.

@iemejia
Copy link
Member Author

iemejia commented Feb 10, 2020

Oh good point, that's what I expected so then it is other class maybe coming from Beam's hadoop-common. I am going to close this one for the moment to try to figure it out. Thanks a lot @suztomo !

@iemejia iemejia closed this Feb 10, 2020
@iemejia iemejia deleted the BEAM-9278-hbase-provideed branch February 10, 2020 16:25
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.

None yet

2 participants