Steve Loughran created HADOOP-18907:
---------------------------------------
Summary: ITestS3APrefetchingCacheFiles teardown failure if setup()
fails
Key: HADOOP-18907
URL: https://issues.apache.org/jira/browse/HADOOP-18907
Project: Hadoop Common
Issue Type: Sub-task
Components: fs/s3, test
Affects Versions: 3.4.0
Reporter: Steve Loughran
if the ITestS3APrefetchingCacheFiles setup fails before conf is set, teardown
fails...need to wrap the cleanup code with a check for conf!=null
{code}
[ERROR]
testCacheFileExistence(org.apache.hadoop.fs.s3a.ITestS3APrefetchingCacheFiles)
Time elapsed: 0.156 s <<< ERROR!
java.lang.NullPointerException
at
org.apache.hadoop.fs.s3a.ITestS3APrefetchingCacheFiles.teardown(ITestS3APrefetchingCacheFiles.java:85)
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]