[
https://issues.apache.org/jira/browse/HIVE-24838?focusedWorklogId=574744&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-574744
]
ASF GitHub Bot logged work on HIVE-24838:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 31/Mar/21 11:16
Start Date: 31/Mar/21 11:16
Worklog Time Spent: 10m
Work Description: rbalamohan merged pull request #2085:
URL: https://github.com/apache/hive/pull/2085
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 574744)
Time Spent: 20m (was: 10m)
> Reduce FS creation in Warehouse::getDnsPath for object stores
> -------------------------------------------------------------
>
> Key: HIVE-24838
> URL: https://issues.apache.org/jira/browse/HIVE-24838
> Project: Hive
> Issue Type: Improvement
> Reporter: Rajesh Balamohan
> Assignee: Attila Magyar
> Priority: Major
> Labels: pull-request-available
> Attachments: Screenshot 2021-03-02 at 11.09.01 AM.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [https://github.com/apache/hive/blob/master/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/Warehouse.java#L143]
>
> Warehouse::getDnsPath gets invoked from multiple places (e.g getDatabase()
> etc). In certain cases like dynamic partition loads, lot of calls FS
> instantiation calls can be avoided for object stores.
> It would be good to check for BlobStorages and if so, it should be possible
> to avoid FS creation.
> [https://github.com/apache/hive/blob/master/common/src/java/org/apache/hadoop/hive/common/BlobStorageUtils.java#L33]
>
> !Screenshot 2021-03-02 at 11.09.01 AM.png|width=372,height=296!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)