Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.4.0, 0.4.1, 0.5.0, 0.6.0
-
None
-
None
-
RedHat 2.6.18-164.11.1.el5, JDK 1.6.0_06
Description
In ConditionalResolverSkewJoin.getTasks(HiveConf, Object), FileStatus[] fstatus = inpFs.listStatus(dirPath) and then fstatus.length is accessed. However, DistributedFileSystem.listStatus(Path p) could return null, thus fstatus may be null, and then fstatus.length will throw NullPointerException.
Attachments
Issue Links
- is related to
-
HADOOP-6009 S3N listStatus incorrectly returns null instead of empty array when called on empty root
- Closed
-
HDFS-538 DistributedFileSystem::listStatus incorrectly returns null for empty result sets
- Closed
-
HADOOP-3716 KFS listStatus() returns NULL on empty directories
- Closed
-
HDFS-303 Make contracts of LocalFileSystem and DistributedFileSystem consistent
- Resolved