[
https://issues.apache.org/jira/browse/HADOOP-19131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17870539#comment-17870539
]
ASF GitHub Bot commented on HADOOP-19131:
-----------------------------------------
steveloughran commented on PR #6686:
URL: https://github.com/apache/hadoop/pull/6686#issuecomment-2265514623
legitimate failure
```
Expected to find '404' but got unexpected exception:
java.io.UncheckedIOException: java.io.FileNotFoundException: missing
at
org.apache.hadoop.util.functional.FunctionRaisingIOE.unchecked(FunctionRaisingIOE.java:50)
at
org.apache.hadoop.util.functional.TestFunctionalIO.lambda$testUncheckedFunction$9(TestFunctionalIO.java:105)
at
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:500)
at
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:386)
at
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:455)
at
org.apache.hadoop.util.functional.TestFunctionalIO.testUncheckedFunction(TestFunctionalIO.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:750)
Caused by: java.io.FileNotFoundException: missing
at
org.apache.hadoop.util.functional.TestFunctionalIO.lambda$testUncheckedFunction$8(TestFunctionalIO.java:103)
at
org.apache.hadoop.util.functional.FunctionRaisingIOE.unchecked(FunctionRaisingIOE.java:48)
... 18 more
```
> WrappedIO to export modern filesystem/statistics APIs in a reflection
> friendly form
> -----------------------------------------------------------------------------------
>
> Key: HADOOP-19131
> URL: https://issues.apache.org/jira/browse/HADOOP-19131
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs, fs/azure, fs/s3
> Affects Versions: 3.4.0, 3.3.6
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Major
> Labels: pull-request-available
>
> parquet, avro etc are still stuck building with older hadoop releases.
> This makes using new APIs hard (PARQUET-2171) and means that APIs which are 5
> years old such as HADOOP-15229 just aren't picked up.
> This lack of openFIle() adoption hurts working with files in cloud storage as
> * extra HEAD requests are made
> * read policies can't be explicitly set
> * split start/end can't be passed down
> HADOOP-18679 added a new WrappedIO class.
> This jira proposes extending this with
> * more of the filesystem/input stream methods
> * iOStatistics
> * Pull in parquet DynMethods to dynamially wrap and invoke through tests.
> This class, DynamicWrappedIO is intended to be copied into libraries
> (parquet, iceberg) for their own use.
> * existing tests to use the dynamic binding for end-to-end testing.
> +then get into the downstream libraries and use where appropriate
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]