You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "zhouyifan279 (via GitHub)" <gi...@apache.org> on 2024/02/28 13:00:01 UTC

[PR] Create a HiveMetaStoreClient with only one api: getDelegationToken [kyuubi-shaded]

zhouyifan279 opened a new pull request, #35:
URL: https://github.com/apache/kyuubi-shaded/pull/35

   ### _Why are the changes needed?_
   
   org.apache.thrift:libthrift:0.9.3 has serveral CVEs:
   -  CVE-2020-13949 - THRIFT-5237(fixed in 0.14.0) - https://github.com/apache/thrift/pull/2191
   -  CVE-2019-0205 - THRIFT-4053(fixed in 0.11.0) - https://github.com/apache/thrift/pull/1371
   -  CVE-2018-1320 - THRIFT-4506(fixed in 0.9.3.1)
   
   HiveMetaStoreClient of Hive 2.3.9 depends on libthrift:0.9.3 and Kyuubi currently uses it to get HMS delegation token.
   
   As Kyuubi only use HiveMetaStoreClient to get delegation token, we think it is better to create a lightweight HiveMetaStoreClient with only the necessary api so that  we can:
   - Decouple Kyuubi's libthrift version from Hive
   - Remove unnessary dependencies introduced by vanilla HiveMetaStoreClient
   
   ### _How was this patch tested?_
   - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
   
   - [x] Add screenshots for manual tests if appropriate
   <img width="1483" alt="image" src="https://github.com/apache/kyuubi-shaded/assets/88070094/e3198035-6db4-46b1-a47c-db66cb9a9acb">
   
   
   - [ ] [Run test](https://kyuubi.readthedocs.io/en/master/develop_tools/testing.html#running-tests) locally before make a pull request
   


-- 
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@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [PR] Create a light shaded HiveMetaStoreClient for getting DelegationToken [kyuubi-shaded]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 closed pull request #35: Create a light shaded HiveMetaStoreClient for getting DelegationToken
URL: https://github.com/apache/kyuubi-shaded/pull/35


-- 
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@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [PR] Create a light shaded HiveMetaStoreClient for getting DelegationToken [kyuubi-shaded]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on PR #35:
URL: https://github.com/apache/kyuubi-shaded/pull/35#issuecomment-1970456447

   Thanks, merged to master


-- 
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@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org