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 "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2019/03/04 10:57:00 UTC
[jira] [Commented] (HADOOP-16160) TestAdlFileSystemContractLive
fails in branch-2.8
[ https://issues.apache.org/jira/browse/HADOOP-16160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16783246#comment-16783246 ]
Akira Ajisaka commented on HADOOP-16160:
----------------------------------------
If AdlFS contract test is not enabled, {{fs}} is null in {{TestAdlFileSystemContractLive#setUp}}.
When calling {{TestAdlFileSystemContractLive#tearDown()}}, it calls {{FileSystemContractBaseTest#tearDown}} and then it calls {{fs.delete()}}, finally NPE occurs.
This issue is fixed by HADOOP-14170 in 2.9+, so I'll backport HADOOP-14170 to fix this issue.
> TestAdlFileSystemContractLive fails in branch-2.8
> -------------------------------------------------
>
> Key: HADOOP-16160
> URL: https://issues.apache.org/jira/browse/HADOOP-16160
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Akira Ajisaka
> Priority: Major
>
> {noformat}
> Running org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive
> Tests run: 30, Failures: 0, Errors: 30, Skipped: 0, Time elapsed: 0.313 sec <<< FAILURE! - in org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive
> testWorkingDirectory(org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive) Time elapsed: 0.134 sec <<< ERROR!
> java.lang.NullPointerException: null
> at org.apache.hadoop.fs.Path.makeQualified(Path.java:518)
> at org.apache.hadoop.fs.FileSystemContractBaseTest.path(FileSystemContractBaseTest.java:476)
> at org.apache.hadoop.fs.FileSystemContractBaseTest.tearDown(FileSystemContractBaseTest.java:56)
> at org.apache.hadoop.fs.adl.live.TestAdlFileSystemContractLive.tearDown(TestAdlFileSystemContractLive.java:49)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org