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

WritableDeserializer does not pass the Configuration to deserialized Writables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.17.0
    • 0.17.0
    • None
    • None
    • Reviewed

    Description

      WritableDeserializer does not hold a reference to the Configuration object, so it does not pass it to deserialized writables, but uses ReflectionUtils.newInstance(writableClass, null), which results in objects defining Configurable interface to be initialized with null configuration.

      Serialization framework have been introduced in 0.17, so this bug affects 0.17.

      Attachments

        1. writableDeserializer_v2.patch
          8 kB
          Enis Soztutar
        2. writableDeserializer_v1.patch
          2 kB
          Enis Soztutar

        Activity

          People

            enis Enis Soztutar
            enis Enis Soztutar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: