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

GenericWritable should use ReflectionUtils.newInstance to avoid problems with classloaders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.15.0
    • 0.15.0
    • io
    • None

    Description

      GenericWritable currently uses Class.newInstance and it should use hadoop.utils.ReflectionUtils.newInstance. Furthermore, GenericWritable should be Configurable and should configure the nested objects. This will prevent a lot of classloader issues and allow the objects to get a configuration.

      Attachments

        1. genericWritable_v1.0.patch
          9 kB
          Enis Soztutar
        2. genericWritable_v1.1.patch
          10 kB
          Enis Soztutar
        3. genericWritable_v1.2-sortFiles.patch
          11 kB
          Enis Soztutar

        Issue Links

          Activity

            People

              enis Enis Soztutar
              omalley Owen O'Malley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: