[ https://issues.apache.org/jira/browse/HADOOP-12033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603158#comment-14603158 ]
zhihai xu commented on HADOOP-12033: ------------------------------------ Thanks [~djp] for committing HADOOP-8151 to branch-2! > Reducer task failure with java.lang.NoClassDefFoundError: > Ljava/lang/InternalError at > org.apache.hadoop.io.compress.snappy.SnappyDecompressor.decompressBytesDirect > ------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-12033 > URL: https://issues.apache.org/jira/browse/HADOOP-12033 > Project: Hadoop Common > Issue Type: Bug > Reporter: Ivan Mitic > Attachments: 0001-HADOOP-12033.patch > > > We have noticed intermittent reducer task failures with the below exception: > {code} > Error: org.apache.hadoop.mapreduce.task.reduce.Shuffle$ShuffleError: error in > shuffle in fetcher#9 at > org.apache.hadoop.mapreduce.task.reduce.Shuffle.run(Shuffle.java:134) at > org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:376) at > org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163) at > java.security.AccessController.doPrivileged(Native Method) at > javax.security.auth.Subject.doAs(Subject.java:415) at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628) > at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158) Caused by: > java.lang.NoClassDefFoundError: Ljava/lang/InternalError at > org.apache.hadoop.io.compress.snappy.SnappyDecompressor.decompressBytesDirect(Native > Method) at > org.apache.hadoop.io.compress.snappy.SnappyDecompressor.decompress(SnappyDecompressor.java:239) > at > org.apache.hadoop.io.compress.BlockDecompressorStream.decompress(BlockDecompressorStream.java:88) > at > org.apache.hadoop.io.compress.DecompressorStream.read(DecompressorStream.java:85) > at org.apache.hadoop.io.IOUtils.readFully(IOUtils.java:192) at > org.apache.hadoop.mapreduce.task.reduce.InMemoryMapOutput.shuffle(InMemoryMapOutput.java:97) > at > org.apache.hadoop.mapreduce.task.reduce.Fetcher.copyMapOutput(Fetcher.java:534) > at > org.apache.hadoop.mapreduce.task.reduce.Fetcher.copyFromHost(Fetcher.java:329) > at org.apache.hadoop.mapreduce.task.reduce.Fetcher.run(Fetcher.java:193) > Caused by: java.lang.ClassNotFoundException: Ljava.lang.InternalError at > java.net.URLClassLoader$1.run(URLClassLoader.java:366) at > java.net.URLClassLoader$1.run(URLClassLoader.java:355) at > java.security.AccessController.doPrivileged(Native Method) at > java.net.URLClassLoader.findClass(URLClassLoader.java:354) at > java.lang.ClassLoader.loadClass(ClassLoader.java:425) at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at > java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 9 more > {code} > Usually, the reduce task succeeds on retry. > Some of the symptoms are similar to HADOOP-8423, but this fix is already > included (this is on Hadoop 2.6). -- This message was sent by Atlassian JIRA (v6.3.4#6332)