You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Rajesh Balamohan (Jira)" <ji...@apache.org> on 2021/02/21 23:15:00 UTC

[jira] [Updated] (TEZ-4296) Consider using listStatusIterator instead of listStatus in DatePartitionedLogger

     [ https://issues.apache.org/jira/browse/TEZ-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajesh Balamohan updated TEZ-4296:
----------------------------------
    Description: 
DatePartitionedLogger should make use of {{listStatusIterator}} instead of {{listStatus}} to avoid OOM.

https://github.com/apache/tez/blob/master/tez-plugins/tez-protobuf-history-plugin/src/main/java/org/apache/tez/dag/history/logging/proto/DatePartitionedLogger.java#L163

e.g /warehouse/tablespace/managed/hive/sys.db/query_data/date=x-y-z had way too may files and listing them with DatePartitionedLogger OOMed.



  was:
DatePartitionedLogger should make use of {{listStatusIterator}} instead of {{listStatus}} to avoid OOM.

https://github.com/apache/tez/blob/master/tez-plugins/tez-protobuf-history-plugin/src/main/java/org/apache/tez/dag/history/logging/proto/DatePartitionedLogger.java#L163





> Consider using listStatusIterator instead of listStatus in DatePartitionedLogger
> --------------------------------------------------------------------------------
>
>                 Key: TEZ-4296
>                 URL: https://issues.apache.org/jira/browse/TEZ-4296
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Priority: Major
>         Attachments: Screenshot 2021-02-22 at 4.18.30 AM.png
>
>
> DatePartitionedLogger should make use of {{listStatusIterator}} instead of {{listStatus}} to avoid OOM.
> https://github.com/apache/tez/blob/master/tez-plugins/tez-protobuf-history-plugin/src/main/java/org/apache/tez/dag/history/logging/proto/DatePartitionedLogger.java#L163
> e.g /warehouse/tablespace/managed/hive/sys.db/query_data/date=x-y-z had way too may files and listing them with DatePartitionedLogger OOMed.



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