Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2819

ObjectSerializer should support classloader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 0.13.0
    • impl
    • None

    Description

      {ObjectSerializer}

      is pretty useful and could be used by UDF and other user code.

      Currently its limitation is that the class that is being deserialized should be visible to root class loader (ie. should be part of CLASSPATH on the front end). The registered jars are not visibile. This is because java.io.ObjectInputStream used to deserialize is from the root classloader.

      ObjectSerializer should support another method deserialize(str, ClassLoader).

      Attachments

        Issue Links

          Activity

            People

              aniket486 Aniket Namadeo Mokashi
              rangadi Raghu Angadi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: