[
https://issues.apache.org/jira/browse/SPARK-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098468#comment-14098468
]
sam edited comment on SPARK-1861 at 8/15/14 11:28 AM:
------------------------------------------------------
Thanks [~srowen]. So if I use
"org.apache.hadoop" % "hadoop-common" % "2.3.0-cdh5.1.0"
when building my jars containing my Spark jobs, it will work?
was (Author: sams):
Thanks @srowen. So if I use
"org.apache.hadoop" % "hadoop-common" % "2.3.0-cdh5.1.0"
when building my jars containing my Spark jobs, it will work?
> ArrayIndexOutOfBoundsException when reading bzip2 files
> -------------------------------------------------------
>
> Key: SPARK-1861
> URL: https://issues.apache.org/jira/browse/SPARK-1861
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 0.9.0, 1.0.0
> Reporter: Xiangrui Meng
> Assignee: Xiangrui Meng
>
> Hadoop uses CBZip2InputStream to decode bzip2 files. However, the
> implementation is not threadsafe and Spark may run multiple tasks in the same
> JVM, which leads to this error. This is not a problem for Hadoop MapReduce
> because Hadoop runs each task in a separate JVM.
> A workaround is to set `SPARK_WORKER_CORES=1` in spark-env.sh for a
> standalone cluster.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]