You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "ZERONE-GO (via GitHub)" <gi...@apache.org> on 2024/08/29 06:33:33 UTC
[I] [Bug] java.lang.ClassCastException: TUGIAssumingTransport can not be cast to EnhancedInstance when use trift to connect to hive with kerberos [skywalking]
ZERONE-GO opened a new issue, #12579:
URL: https://github.com/apache/skywalking/issues/12579
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar issues.
### Apache SkyWalking Component
Java Agent (apache/skywalking-java)
### What happened
When use trift to connect to Hive with kerberos open, it will use TUGIAssumingTransport instead. Currently trift plugin only enhanced the "org.apache.thrift.transport.TSocket" and "org.apache.thrift.transport.TNonblockingSocket", so it will throw the java.lang.ClassCastException as follow:

### What you expected to happen
You can check ERROR under skywalking-api.log. The traceId is leaked when skywalking report trace segment to skywalking server.
### How to reproduce
Use thrift with open kerberos to connect to Hive.
### Anything else
_No response_
### Are you willing to submit a pull request to fix on your own?
- [X] Yes I am willing to submit a pull request on my own!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] java.lang.ClassCastException: TUGIAssumingTransport can not be cast to EnhancedInstance when use trift to connect to hive with kerberos [skywalking]
Posted by "wu-sheng (via GitHub)" <gi...@apache.org>.
wu-sheng closed issue #12579: [Bug] java.lang.ClassCastException: TUGIAssumingTransport can not be cast to EnhancedInstance when use trift to connect to hive with kerberos
URL: https://github.com/apache/skywalking/issues/12579
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org