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

ma/reduce throws the following exception if "io.serializations" is not set:

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.17.0
    • Fix Version/s: 0.17.0
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Hide
      The following public APIs are added in org.apache.hadoop.conf.Configuration
       String[] Configuration.getStrings(String name, String... defaultValue) and
       void Configuration.setStrings(String name, String... values)
      Show
      The following public APIs are added in org.apache.hadoop.conf.Configuration  String[] Configuration.getStrings(String name, String... defaultValue) and  void Configuration.setStrings(String name, String... values)

      Description

      map/reduce throws the following exception if "io.serializations" is not set:

      java.lang.NullPointerException
      at org.apache.hadoop.io.serializer.SerializationFactory.<init>(SerializationFactory.java:52)
      at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>(MapTask.java:325)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:177)
      at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2073)

      Map/reduce should use org.apache.hadoop.io.serializer.WritableSerialization as the default class as it had in the past.

        Attachments

        1. patch-3093.txt
          2 kB
          Amareshwari Sriramadasu
        2. patch-3093.txt
          2 kB
          Amareshwari Sriramadasu

          Activity

            People

            • Assignee:
              amareshwari Amareshwari Sriramadasu
              Reporter:
              runping Runping Qi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: