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

SerializationFactory shouldn't throw a NullPointerException if the serializations list is empty

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: io
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The SerializationFactory throws an NPE if CommonConfigurationKeys.IO_SERIALIZATIONS_KEY is set to an empty list in the config.

      It should rather print a WARN log indicating the serializations list is empty, and start up without any valid serialization classes.

        Attachments

        1. HADOOP-8588.txt
          6 kB
          Harsh J
        2. HADOOP-8588.txt
          5 kB
          Sho Shimauchi
        3. HADOOP-8588.txt
          5 kB
          Sho Shimauchi

          Activity

            People

            • Assignee:
              sho.shimauchi Sho Shimauchi
              Reporter:
              qwertymaniac Harsh J
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: