You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/10/16 21:07:00 UTC
[jira] [Commented] (SPARK-32436) Initialize numNonEmptyBlocks in
HighlyCompressedMapStatus.readExternal
[ https://issues.apache.org/jira/browse/SPARK-32436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17215655#comment-17215655 ]
Dongjoon Hyun commented on SPARK-32436:
---------------------------------------
This lands at `branch-3.0` based on the community request.
- https://github.com/apache/spark/pull/29231#issuecomment-710061815
> Initialize numNonEmptyBlocks in HighlyCompressedMapStatus.readExternal
> ----------------------------------------------------------------------
>
> Key: SPARK-32436
> URL: https://issues.apache.org/jira/browse/SPARK-32436
> Project: Spark
> Issue Type: Sub-task
> Components: Spark Core
> Affects Versions: 3.1.0
> Reporter: Dongjoon Hyun
> Assignee: Dongjoon Hyun
> Priority: Major
> Fix For: 3.0.2, 3.1.0
>
>
> In Scala 2.13, this causes several UT failures because `HighlyCompressedMapStatus.readExternal` doesn't initialize this field. The following two are the examples.
> - org.apache.spark.rdd.RDDSuite
> {code}
> Cause: java.lang.NoSuchFieldError: numNonEmptyBlocks
> at org.apache.spark.scheduler.HighlyCompressedMapStatus.<init>(MapStatus.scala:181)
> at org.apache.spark.scheduler.HighlyCompressedMapStatus$.apply(MapStatus.scala:280)
> at org.apache.spark.scheduler.MapStatus$.apply(MapStatus.scala:73)
> at org.apache.spark.shuffle.sort.UnsafeShuffleWriter.closeAndWriteOutput(UnsafeShuffleWriter.java:231)
> at org.apache.spark.shuffle.sort.UnsafeShuffleWriter.write(UnsafeShuffleWriter.java:179)
> at org.apache.spark.shuffle.ShuffleWriteProcessor.write(ShuffleWriteProcessor.scala:59)
> at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:99)
> at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:52)
> at org.apache.spark.scheduler.Task.run(Task.scala:127)
> at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:464)
> {code}
> - org.apache.spark.scheduler.MapStatusSuite
> {code}
> *** RUN ABORTED ***
> java.lang.NoSuchFieldError: numNonEmptyBlocks
> at org.apache.spark.scheduler.HighlyCompressedMapStatus.<init>(MapStatus.scala:181)
> at org.apache.spark.scheduler.HighlyCompressedMapStatus$.apply(MapStatus.scala:280)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org