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 08:24:00 GMT

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

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

{quote} * Is this a genuine AWS S3 endpoint, or someone else's s3-compatible one?{quote}
It is S3-compatible object store.  
{quote}is there something "odd" about the files in your directory tree 
{quote}
No, everythign is normal.
{quote} * if you install the aws sdk, does an {{aws s3 ls}} command work?{quote}
ls has same issue.
{quote} * Does this still happen on the Hadoop 3.2 release?{quote}
We didn't verified in 3.2. Our production cluster is 3.1.
{quote} * Is it only one specific bucket/path?{quote}
no, this is common for all the bucket.

 

*Currenlty we disbaled v2 and using v1.*

 

One thing I observed is *"<IsTruncated>true</IsTruncated>"* is always true in
response and call goes infinitely and it fetch same list again and again.

.Below is some http responce for list call
{noformat}
2019-03-28 17:33:31,716 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>.....
2019-03-28 17:33:31,855 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>.....
2019-03-28 17:33:31,997 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>.....
2019-03-28 17:33:32,152 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>....
2019-03-28 17:33:32,387 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>....
2019-03-28 17:33:32,549 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>.....
2019-03-28 17:33:32,736 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>.....
2019-03-28 17:33:32,911 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>......
2019-03-28 17:33:33,068 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>......
2019-03-28 17:33:33,220 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>......
2019-03-28 17:33:33,391 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>.....
2019-03-28 17:33:33,549 DEBUG <ListBucketResult xmlns="http://xxxxxxxxxx"><Name>xxxxxx</Name><Prefix>zzzzz/yyyyy</Prefix><Marker></Marker><NextMarker>xxx/yyy/zzz/test1.txt</NextMarker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>true</IsTruncated>....
{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