hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surendra Singh Lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-16228) Throwing OOM exception for ListStatus (v2) when using S3A
Date Fri, 05 Apr 2019 09:27:00 GMT

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

Surendra Singh Lilhore commented on HADOOP-16228:
-------------------------------------------------

I feel S3-compatible system is not using "*continuation-token*" to give the next list of
object, it always returning first 1000 objects. So *IsTruncated* is always true*.*
{noformat}
2019-03-28 17:33:21,169 DEBUG amazonaws.request: Sending Request: GET https://xxxxxxxx.com
/ Parameters: ({"list-type":["2"],"continuation-token":["xxxx/yyyy/zzzzzzz.txt"],"delimiter":["/"],"max-keys":["5000"],"prefix":["xxxx/yyyy/"],"fetch-owner":["false"]}Headers:
(User-Agent: Hadoop 3.1.1, aws-sdk-java/*********, Content-Type: application/octet-stream,
) {noformat}
 

> Throwing OOM exception for ListStatus (v2) when using S3A 
> ----------------------------------------------------------
>
>                 Key: HADOOP-16228
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16228
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3
>    Affects Versions: 3.1.0
>            Reporter: Ranith Sardar
>            Priority: Major
>
> {code:java}
>  @InterfaceStability.Unstable
>   public static final String LIST_VERSION = "fs.s3a.list.version";
>   @InterfaceStability.Unstable
>   public static final int DEFAULT_LIST_VERSION = 2;
> {code}
> If the files in the bucket are more than 1k, it will throw OOM error for V2 version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message