Hadoop Common
  1. Hadoop Common
  2. HADOOP-8362

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: conf
    • Labels:
    • Hadoop Flags:
      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.

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

        Activity

        Todd Lipcon created issue -
        Todd Lipcon made changes -
        Field Original Value New Value
        Labels newbie
        madhukara phatak made changes -
        Attachment HADOOP-8362.patch [ 12526719 ]
        madhukara phatak made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        madhukara phatak made changes -
        Attachment HADOOP-8362-1.patch [ 12528034 ]
        madhukara phatak made changes -
        Attachment HADOOP-8362-2.patch [ 12528070 ]
        madhukara phatak made changes -
        Attachment HADOOP-8362-3.patch [ 12528093 ]
        madhukara phatak made changes -
        Assignee madhukara phatak [ phatak.dev ]
        madhukara phatak made changes -
        Attachment HADOOP-8362-4.patch [ 12530034 ]
        madhukara phatak made changes -
        Attachment HADOOP-8362-5.patch [ 12530036 ]
        madhukara phatak made changes -
        Attachment HADOOP-8362-6.patch [ 12530159 ]
        madhukara phatak made changes -
        Attachment HADOOP-8362-7.patch [ 12532650 ]
        madhukara phatak made changes -
        Attachment HADOOP-8362-8.patch [ 12532674 ]
        Suresh Srinivas made changes -
        Attachment HADOOP-8362.9.patch [ 12534976 ]
        Suresh Srinivas made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 3.0.0 [ 12320357 ]
        Resolution Fixed [ 1 ]
        Harsh J made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Harsh J made changes -
        Attachment HADOOP-8362.10.patch [ 12536556 ]
        Harsh J made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Target Version/s 2.0.0-alpha [ 12320352 ]
        Fix Version/s 2.0.1-alpha [ 12321441 ]
        Fix Version/s 3.0.0 [ 12320357 ]
        Resolution Fixed [ 1 ]
        Arun C Murthy made changes -
        Fix Version/s 2.0.2-alpha [ 12322473 ]
        Fix Version/s 2.1.0-alpha [ 12321441 ]
        Arun C Murthy made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            madhukara phatak
            Reporter:
            Todd Lipcon
          • Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development