spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mohamed imran (JIRA)" <>
Subject [jira] [Commented] (SPARK-22526) Spark hangs while reading binary files from S3
Date Wed, 15 Nov 2017 17:17:00 GMT


mohamed imran commented on SPARK-22526:

Nope. Actually i am reading some zip files using the sc.binaryfiles from spark. But after
some 100th file read it gets hangs indefinitely. I was monitoring the opened connection of
every spark binary file read. None of the connections were closed after every read of each
binary files. Yes I am sure it is a not a network or S3 issue. 

> Spark hangs while reading binary files from S3
> ----------------------------------------------
>                 Key: SPARK-22526
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.2.0
>            Reporter: mohamed imran
>   Original Estimate: 168h
>  Remaining Estimate: 168h
> Hi,
> I am using Spark 2.2.0(recent version) to read binary files from S3. I use sc.binaryfiles
to read the files.
> It is working fine until some 100 file read but later it get hangs indefinitely from
5 up to 40 mins like Avro file read issue(it was fixed in the later releases)
> I tried setting the fs.s3a.connection.maximum to some maximum values but didn't help.
> And finally i ended up using the spark speculation parameter set which is again didnt
help much. 
> One thing Which I observed is that it is not closing the connection after every read
of binary files from the S3.
> example :- sc.binaryFiles("s3a://test/")
> Please look into this major issue!      

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message