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

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

                Author: ASF GitHub Bot
            Created on: 17/Mar/21 07:43
            Start Date: 17/Mar/21 07:43
    Worklog Time Spent: 10m 
      Work Description: rbalamohan opened a new pull request #2082:
URL: https://github.com/apache/hive/pull/2082


   HIVE-24892: Replace getContentSummary::getLength with listStatus(recursive) 
for blobstores
   
   
   ### What changes were proposed in this pull request?
   https://issues.apache.org/jira/browse/HIVE-24892
   getContentSummary is super slow for blobstores and makes lots of network 
calls. Replacing it with listStatus(path, recursive) which is a lot more 
performant (e.g in consistent s3). 
   
   ### Why are the changes needed?
   
   ### Does this PR introduce _any_ user-facing change?
   No


----------------------------------------------------------------
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:
us...@infra.apache.org


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

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

> Replace getContentSummary::getLength with listStatus(recursive) for blobstores
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-24892
>                 URL: https://issues.apache.org/jira/browse/HIVE-24892
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Rajesh Balamohan
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/stats/BasicStats.java#L219
> For blobstores, getContentSummary() is super slow. It would be good to 
> replace this with "fs.listFiles(path, true)".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to