[ 
https://issues.apache.org/jira/browse/HIVE-27258?focusedWorklogId=856594&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-856594
 ]

ASF GitHub Bot logged work on HIVE-27258:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Apr/23 23:05
            Start Date: 12/Apr/23 23:05
    Worklog Time Spent: 10m 
      Work Description: vihangk1 opened a new pull request, #4227:
URL: https://github.com/apache/hive/pull/4227

   <!--
   Thanks for sending a pull request!  Here are some tips for you:
     1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/Hive/HowToContribute
     2. Ensure that you have created an issue on the Hive project JIRA: 
https://issues.apache.org/jira/projects/HIVE/summary
     3. Ensure you have added or run the appropriate tests for your PR: 
     4. If the PR is unfinished, add '[WIP]' in your PR title, e.g., 
'[WIP]HIVE-XXXXX:  Your PR title ...'.
     5. Be sure to keep the PR description updated to reflect all changes.
     6. Please write your PR title to summarize what this PR proposes.
     7. If possible, provide a concise example to reproduce the issue for a 
faster review.
   
   -->
   
   ### What changes were proposed in this pull request?
   This PR removes the call Splitter.splitToList from the metastore HTTP client 
and replaces it with a simple split call.
   
   
   ### Why are the changes needed?
   Some open source distributions have a different guava version which do not 
have this Splitter API. In such distributions the standalone hive metastore 
client code fails.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Existing unit tests cover this change.




Issue Time Tracking
-------------------

            Worklog Id:     (was: 856594)
    Remaining Estimate: 0h
            Time Spent: 10m

> Remove usage of Splitter.splitToList in HiveMetaStoreClient HTTP client
> -----------------------------------------------------------------------
>
>                 Key: HIVE-27258
>                 URL: https://issues.apache.org/jira/browse/HIVE-27258
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In HIVE-27129 we added support to add additional headers to be sent to the 
> metastore. However, it uses Splitter.splitToList API from Guava API which is 
> in beta and is not available in older guava releases. It is simpler to avoid 
> using this API to avoid issues when a different version of guava is in 
> classpath.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to