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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha
    • 3.0.0-alpha1
    • io
    • None
    • 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
          5 kB
          Sho Shimauchi
        2. HADOOP-8588.txt
          5 kB
          Sho Shimauchi
        3. HADOOP-8588.txt
          6 kB
          Harsh J

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: