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

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development