Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Incremental result collection throws npe #118

Closed
yaooqinn opened this issue Nov 7, 2018 · 0 comments
Closed

[BUG]Incremental result collection throws npe #118

yaooqinn opened this issue Nov 7, 2018 · 0 comments
Assignees
Projects
Milestone

Comments

@yaooqinn
Copy link
Member

yaooqinn commented Nov 7, 2018

Describe the bug
A clear and concise description of what the bug is.

    java.lang.NullPointerException
        at org.apache.spark.sql.execution.SparkPlan.org$apache$spark$sql$execution$SparkPlan$$decodeUnsafeRows(SparkPlan.scala:272)
        at org.apache.spark.sql.execution.SparkPlan$$anonfun$executeToIterator$2.apply(SparkPlan.scala:316)
        at org.apache.spark.sql.execution.SparkPlan$$anonfun$executeToIterator$2.apply(SparkPlan.scala:316)
        at scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:434)
        at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:440)
        at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
        at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:389)
        at scala.collection.Iterator$class.toStream(Iterator.scala:1322)
        at scala.collection.AbstractIterator.toStream(Iterator.scala:1336)
        at scala.collection.Iterator$$anonfun$toStream$1.apply(Iterator.scala:1322)
        at scala.collection.Iterator$$anonfun$toStream$1.apply(Iterator.scala:1322)
        at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1233)
        at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1223)
        at scala.collection.immutable.Stream.length(Stream.scala:312)
        at scala.collection.SeqLike$class.indices(SeqLike.scala:669)
        at scala.collection.AbstractSeq.indices(Seq.scala:41)
        at yaooqinn.kyuubi.schema.ColumnBasedSet.yaooqinn$kyuubi$schema$ColumnBasedSet$$toTColumn(ColumnBasedSet.scala:62)
        at yaooqinn.kyuubi.schema.ColumnBasedSet$$anonfun$toTRowSet$1.apply(ColumnBasedSet.scala:35)
        at yaooqinn.kyuubi.schema.ColumnBasedSet$$anonfun$toTRowSet$1.apply(ColumnBasedSet.scala:35)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
        at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:234)
        at scala.collection.immutable.Range.foreach(Range.scala:160)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:234)
        at scala.collection.AbstractTraversable.map(Traversable.scala:104)
        at yaooqinn.kyuubi.schema.ColumnBasedSet.toTRowSet(ColumnBasedSet.scala:35)
        at yaooqinn.kyuubi.server.FrontendService.FetchResults(FrontendService.scala:490)
        at org.apache.hive.service.cli.thrift.TCLIService$Processor$FetchResults.getResult(TCLIService.java:1553)
        at org.apache.hive.service.cli.thrift.TCLIService$Processor$FetchResults.getResult(TCLIService.java:1538)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingProcessor.process(HadoopThriftAuthBridge.java:692)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

To Reproduce
Steps to reproduce the behavior:

  1. Configurations
  2. Environments
  3. Operations
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@yaooqinn yaooqinn added this to the v0.4.0 milestone Nov 7, 2018
@yaooqinn yaooqinn self-assigned this Nov 7, 2018
@yaooqinn yaooqinn added this to To do in kyuubi via automation Nov 7, 2018
kyuubi automation moved this from To do to Done Nov 7, 2018
@yaooqinn yaooqinn modified the milestone: v0.4.0 Dec 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
kyuubi
  
Done
Development

No branches or pull requests

1 participant