[
https://issues.apache.org/jira/browse/KYLIN-4889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17274143#comment-17274143
]
ASF GitHub Bot commented on KYLIN-4889:
---------------------------------------
fishcus opened a new pull request #1565:
URL: https://github.com/apache/kylin/pull/1565
## Proposed changes
Describe the big picture of your changes here to communicate to the
maintainers why we should accept this pull request. If it fixes a bug or
resolves a feature request, be sure to link to that issue.
## Types of changes
What types of changes does your code introduce to Kylin?
_Put an `x` in the boxes that apply_
- [x] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Documentation Update (if none of the other choices apply)
## Checklist
_Put an `x` in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to ask.
We're here to help! This is simply a reminder of what we are going to look for
before merging your code._
- [x] I have create an issue on [Kylin's
jira](https://issues.apache.org/jira/browse/KYLIN), and have described the
bug/feature there in detail
- [x] Commit messages in my PR start with the related jira ID, like
"KYLIN-0000 Make Kylin project open-source"
- [x] Compiling and unit tests pass locally with my changes
- [ ] I have added tests that prove my fix is effective or that my feature
works
- [ ] If this change need a document change, I will prepare another pr
against the `document` branch
- [ ] Any dependent changes have been merged
## Further comments
If this is a relatively large or complex change, kick off the discussion at
user@kylin or dev@kylin by explaining why you chose the solution you did and
what alternatives you considered, etc...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Query error when spark engine in local mode
> -------------------------------------------
>
> Key: KYLIN-4889
> URL: https://issues.apache.org/jira/browse/KYLIN-4889
> Project: Kylin
> Issue Type: Bug
> Affects Versions: v4.0.0-alpha
> Reporter: Feng Zhu
> Assignee: Feng Zhu
> Priority: Major
> Fix For: v4.0.0-beta
>
>
> When i query with spark engine in local mode, with -Dspark.local=true, the
> spark application was still submitted to yarn, and the following error
> occurred:
> org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in
> stage 0.0 failed 4 times, most recent failure: Lost task 0.3 in stage 0.0
> (TID 6, sandbox.hortonworks.com, executor 1): java.lang.ClassCastException:
> cannot assign instance of scala.collection.immutable.List$SerializationProxy
> to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of
> type scala.collection.Seq in instance of
> org.apache.spark.rdd.MapPartitionsRDD at
> java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2233)
> at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1405)
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2291)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2209) at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067) at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571) at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2285) at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2209) at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067) at
> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1571) at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:431) at
> org.apache.spark.serializer.JavaDeserializationStream.readObject(JavaSerializer.scala:75)
> at
> org.apache.spark.serializer.JavaSerializerInstance.deserialize(JavaSerializer.scala:114)
> at
> org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:88) at
> org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:55) at
> org.apache.spark.scheduler.Task.run(Task.scala:123) at
> org.apache.spark.executor.Executor$TaskRunner$$anonfun$10.apply(Executor.scala:408)
> at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1360) at
> org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:414) at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748) Driver stacktrace: while executing
> SQL: "select * from (select KYLIN_SALES.PART_DT , sum(KYLIN_SALES.PRICE )
> from KYLIN_SALES group by KYLIN_SALES.PART_DT union select
> KYLIN_SALES.PART_DT , max(KYLIN_SALES.PRICE ) from KYLIN_SALES group by
> KYLIN_SALES.PART_DT union select KYLIN_SALES.PART_DT , count(*) from
> KYLIN_SALES group by KYLIN_SALES.PART_DT union select KYLIN_SALES.PART_DT ,
> count(distinct KYLIN_SALES.PRICE) from KYLIN_SALES group by
> KYLIN_SALES.PART_DT) limit 501"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)