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

            People

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

              Dates

              • Created:
                Updated:

                Development