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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.12
    • 0.98.0, 0.96.1, 0.94.15, 0.99.0
    • mapreduce
    • None
    • 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. 10061-trunk.txt
          0.9 kB
          Nick Dimiduk
        2. 10061-trunk.txt
          0.9 kB
          Amit Sela
        3. HBASE-10061.patch
          0.9 kB
          Amit Sela

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: