You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2013/10/05 17:38:41 UTC

[jira] [Commented] (HIVE-5454) HCatalog runs a partition listing with an empty filter

    [ https://issues.apache.org/jira/browse/HIVE-5454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13787243#comment-13787243 ] 

Harsh J commented on HIVE-5454:
-------------------------------

I'll submit a patch for this shortly.

> HCatalog runs a partition listing with an empty filter
> ------------------------------------------------------
>
>                 Key: HIVE-5454
>                 URL: https://issues.apache.org/jira/browse/HIVE-5454
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 0.12.0
>            Reporter: Harsh J
>
> This is a HCATALOG-527 caused regression, wherein the HCatLoader's way of calling HCatInputFormat causes it to do 2x partition lookups - once without the filter, and then again with the filter.
> For tables with large number partitions (100000, say), the non-filter lookup proves fatal both to the client ("Read timed out" errors from ThriftMetaStoreClient cause the server doesn't respond) and to the server (too much data loaded into the cache, OOME, or slowdown).
> The fix would be to use a single call that also passes a partition filter information, as was in the case of HCatalog 0.4 sources before HCATALOG-527.
> (HCatalog-release-wise, this affects all 0.5.x users)



--
This message was sent by Atlassian JIRA
(v6.1#6144)