Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10061

TableMapReduceUtil.findOrCreateJar calls updateMap(null, ) resulting in thrown NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.94.12
    • Fix Version/s: 0.98.0, 0.96.1, 0.94.15, 0.99.0
    • Component/s: mapreduce
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      TableMapReduceUtil.findOrCreateJar line 596:
      jar = getJar(my_class);
      updateMap(jar, packagedClasses);
      In case getJar returns null, updateMap will throw NPE.
      Should check null==jar before calling updateMap.

        Attachments

        1. HBASE-10061.patch
          0.9 kB
          Amit Sela
        2. 10061-trunk.txt
          0.9 kB
          Amit Sela
        3. 10061-trunk.txt
          0.9 kB
          Nick Dimiduk

          Activity

            People

            • Assignee:
              amitsela Amit Sela
              Reporter:
              amitsela Amit Sela
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: