java.io.IOException: Illegal partition for 3 (-2)

Stack Overflow | Simran Kaur | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    IllegalArgumentException and Illegal partition for 'val' in sqoop

    Stack Overflow | 8 months ago | Simran Kaur
    java.io.IOException: Illegal partition for 3 (-2)

  1. r1chjames 2 times, last 7 months ago
1 unregistered visitors

Root Cause Analysis

  1. java.io.IOException

    Illegal partition for 3 (-2)

    at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect()
  2. Hadoop
    WrappedMapper$Context.write
    1. org.apache.hadoop.mapred.MapTask$MapOutputBuffer.collect(MapTask.java:1083)
    2. org.apache.hadoop.mapred.MapTask$NewOutputCollector.write(MapTask.java:715)
    3. org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:89)
    4. org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.write(WrappedMapper.java:112)
    4 frames
  3. org.apache.sqoop
    MergeTextMapper.map
    1. org.apache.sqoop.mapreduce.MergeMapperBase.processRecord(MergeMapperBase.java:82)
    2. org.apache.sqoop.mapreduce.MergeTextMapper.map(MergeTextMapper.java:58)
    3. org.apache.sqoop.mapreduce.MergeTextMapper.map(MergeTextMapper.java:34)
    3 frames
  4. Hadoop
    YarnChild$2.run
    1. org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)
    2. org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)
    3. org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
    4. org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
    4 frames
  5. Java RT
    Subject.doAs
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAs(Subject.java:415)
    2 frames
  6. Hadoop
    UserGroupInformation.doAs
    1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1693)
    1 frame
  7. Hadoop
    YarnChild.main
    1. org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
    1 frame