Hive
  1. Hive
  2. HIVE-1893

ConditionalResolverSkewJoin.getTasks may throw NullPointerException

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.4.0, 0.4.1, 0.5.0, 0.6.0
    • Fix Version/s: None
    • Component/s: Query Processor
    • Labels:
      None
    • Environment:

      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.

        Issue Links

          Activity

          Zhai Yantang created issue -
          Carl Steinbach made changes -
          Field Original Value New Value
          Link This issue is related to HADOOP-3716 [ HADOOP-3716 ]
          Carl Steinbach made changes -
          Link This issue is related to HADOOP-6009 [ HADOOP-6009 ]
          Carl Steinbach made changes -
          Link This issue is related to HDFS-303 [ HDFS-303 ]
          Carl Steinbach made changes -
          Link This issue is related to HDFS-538 [ HDFS-538 ]
          Carl Steinbach made changes -
          Fix Version/s 0.7.0 [ 12315150 ]
          Fix Version/s 0.6.0 [ 12314524 ]
          Affects Version/s 0.5.0 [ 12314156 ]
          Affects Version/s 0.4.1 [ 12314225 ]
          Affects Version/s 0.4.0 [ 12313714 ]
          Carl Steinbach made changes -
          Fix Version/s 0.7.0 [ 12315150 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Zhai Yantang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Development