Guillaume Balaine created BEAM-3649:

             Summary: HadoopSeekableByteChannel breaks when backing InputStream 
doesn't supporte ByteBuffers
                 Key: BEAM-3649
             Project: Beam
          Issue Type: Bug
          Components: sdk-java-extensions
    Affects Versions: 2.2.0, 2.1.0, 2.0.0
            Reporter: Guillaume Balaine
            Assignee: Reuven Lax

This happened last summer, when I wanted to use S3A as the backing HDFS access 

This is because while this method is called : 

This class does not implement ByteBuffer readable

I fixed it by manually incrementing the read position and copying the backing 
array instead of buffering.


I know the s3 direct implementation is the preferred path, but this is 
possible, and likely happens to a lot of developers.

This message was sent by Atlassian JIRA

Reply via email to