Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8362

Improve exception message when Configuration.set() is called with a null key or value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.2-alpha
    • conf
    • Reviewed

    Description

      Currently, calling Configuration.set(...) with a null value results in a NullPointerException within Properties.setProperty. We should check for null key/value and throw a better exception.

      Attachments

        1. HADOOP-8362.10.patch
          3 kB
          Harsh J
        2. HADOOP-8362.9.patch
          2 kB
          Suresh Srinivas
        3. HADOOP-8362.patch
          0.7 kB
          madhukara phatak
        4. HADOOP-8362-1.patch
          2 kB
          madhukara phatak
        5. HADOOP-8362-2.patch
          2 kB
          madhukara phatak
        6. HADOOP-8362-3.patch
          2 kB
          madhukara phatak
        7. HADOOP-8362-4.patch
          2 kB
          madhukara phatak
        8. HADOOP-8362-5.patch
          3 kB
          madhukara phatak
        9. HADOOP-8362-6.patch
          2 kB
          madhukara phatak
        10. HADOOP-8362-7.patch
          2 kB
          madhukara phatak
        11. HADOOP-8362-8.patch
          2 kB
          madhukara phatak

        Activity

          People

            phatak.dev madhukara phatak
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: