[
https://issues.apache.org/jira/browse/HADOOP-8054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207792#comment-13207792
]
Robert Joseph Evans commented on HADOOP-8054:
---------------------------------------------
I am very sorry that HADOOP-8013 has broken the hive unit tests. The change as
Daryn stated was intentional, and was made to allow viewfs to work properly in
connection with FilterFileSystem. I am happy to put in a fix but I would like
to better understand what has broken and how it was broken so we can fix the
correct thing. Otherwise we will be back here again as Daryn tries yet again
to fix FilterFileSystem.
@Daryn, why is it that after this patch is applied that no unit tests fail on
our side in common? If it really is critical behavior and is something that we
want to be part of the contract between filter file system and the file systems
it wraps, then we need a unit test to enforce it.
> NPE with RawLocalFileSystem
> ---------------------------
>
> Key: HADOOP-8054
> URL: https://issues.apache.org/jira/browse/HADOOP-8054
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: 0.23.1
> Reporter: Amareshwari Sriramadasu
> Assignee: Amareshwari Sriramadasu
> Priority: Critical
> Attachments: HADOOP-8054.patch
>
>
> While running Hive tests, I'm seeing the following exception with 0.23.1,
> {noformat}
> ava.lang.NullPointerException
> at
> org.apache.hadoop.fs.FileSystem.getDefaultBlockSize(FileSystem.java:1901)
> at
> org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:447)
> at
> org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:351)
> at
> org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:351)
> at
> org.apache.hadoop.fs.ProxyFileSystem.getFileStatus(ProxyFileSystem.java:247)
> at
> org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:351)
> at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1165)
> at org.apache.hadoop.fs.FileUtil.checkDest(FileUtil.java:390)
> at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:242)
> at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:232)
> {noformat}
> Did not see this with 0.23.0, though.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira