You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.
If the first call on an open s3a stream is to seek, the log statement chokes. This is one solution, but seems expensive vs just fixing the log statement?
--- a/src/main/java/org/apache/hadoop/fs/s3a/S3AInputStream.java
+++ b/src/main/java/org/apache/hadoop/fs/s3a/S3AInputStream.java
@@ -95,7 +95,7 @@ public class S3AInputStream extends FSInputStream {
if (this.pos == pos) {
return;
}
-
+ openIfNeeded();
LOG.info("Reopening " + wrappedObject.getKey() + " to seek to new offset " + (pos - this.pos));
reopen(pos);
}
The text was updated successfully, but these errors were encountered:
S3a is in the works of being merged into Apache Hadoop, see full source f.i. here trunk. This particular issue has been adressed but if you happen to find anything else it would be cool if you also report the issue on the Apache JIRA (dependent on https://issues.apache.org/jira/browse/HADOOP-10400).
If the first call on an open s3a stream is to seek, the log statement chokes. This is one solution, but seems expensive vs just fixing the log statement?
The text was updated successfully, but these errors were encountered: