You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daniel Carl Jones (Jira)" <ji...@apache.org> on 2022/10/04 12:24:00 UTC
[jira] [Created] (HADOOP-18475) ITestS3AInputStreamPerformance#testDecompressionSequential128K NPE if no CSV file available
Daniel Carl Jones created HADOOP-18475:
------------------------------------------
Summary: ITestS3AInputStreamPerformance#testDecompressionSequential128K NPE if no CSV file available
Key: HADOOP-18475
URL: https://issues.apache.org/jira/browse/HADOOP-18475
Project: Hadoop Common
Issue Type: Sub-task
Components: fs/s3
Environment: Third party store.
These are relevant auth-keys configs - probably an uncommon combination:
{code:java}
<property>
<name>fs.s3a.scale.test.enabled</name>
<value>true</value>
</property>
<property>
<name>fs.s3a.scale.test.csvfile</name>
<value> </value>
</property> {code}
Reporter: Daniel Carl Jones
I am running the integration tests against a store with no CSV file available for scale testing. (scale enabled, csv empty).
NPE is here: https://github.com/apache/hadoop/blob/682931a6ace460d829954398eddecefeeac82b34/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/scale/ITestS3AInputStreamPerformance.java#L397
We should add a call to this somewhere - not entirely sure where right now: https://github.com/apache/hadoop/blob/682931a6ace460d829954398eddecefeeac82b34/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/scale/ITestS3AInputStreamPerformance.java#L166-L171
Stack trace:
{code:java}
[ERROR] Tests run: 8, Failures: 0, Errors: 1, Skipped: 6, Time elapsed: 43.985 s <<< FAILURE! - in org.apache.hadoop.fs.s3a.scale.ITestS3AInputStreamPerformance
[ERROR] testDecompressionSequential128K(org.apache.hadoop.fs.s3a.scale.ITestS3AInputStreamPerformance) Time elapsed: 1.413 s <<< ERROR!
java.lang.NullPointerException
at org.apache.hadoop.io.compress.CompressionCodecFactory.getCodec(CompressionCodecFactory.java:202)
at org.apache.hadoop.fs.s3a.scale.ITestS3AInputStreamPerformance.executeDecompression(ITestS3AInputStreamPerformance.java:397)
at org.apache.hadoop.fs.s3a.scale.ITestS3AInputStreamPerformance.testDecompressionSequential128K(ITestS3AInputStreamPerformance.java:383)
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.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
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) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org