java.sql.SQLException: The query did not generate a result set!

Apache's JIRA Issue Tracker | Elan Hershcovitz | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Hive "ANALYZE TABLE" how to execute from java

    Stack Overflow | 2 years ago | whitetiger
    java.sql.SQLException: The query did not generate a result set!
  2. 0

    Hive to Oracle through ODI session fails

    Oracle Community | 7 months ago | 2886698
    org.apache.bsf.BSFException: exception from Groovy: java.sql.SQLException: The query did not generate a result set!
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Hiveserver2 cannot fetch result of a query from remote connection

    Stack Overflow | 3 years ago | user3223391
    java.sql.SQLException: org.apache.thrift.transport.TTransportException
  5. 0

    Connecting to spark thriftserver throws "task serialization failed" exception

    Stack Overflow | 1 year ago | user2023507
    java.sql.SQLException: org.apache.spark.SparkException: Job aborted due to stage failure: Task serialization failed: java.io.IOException: Failed to create local dir in /tmp/blockmgr-e8e9a304-936b-44b4-a727-da04a776914a/34. org.apache.spark.storage.DiskBlockManager.getFile(DiskBlockManager.scala:73) org.apache.spark.storage.DiskStore.contains(DiskStore.scala:168) org.apache.spark.storage.BlockManager.org$apache$spark$storage$BlockManager$$getCurrentBlockStatus(BlockManager.scala:410) org.apache.spark.storage.BlockManager.doPut(BlockManager.scala:820) org.apache.spark.storage.BlockManager.putBytes(BlockManager.scala:693) org.apache.spark.broadcast.TorrentBroadcast$$anonfun$writeBlocks$1.apply(TorrentBroadcast.scala:104) org.apache.spark.broadcast.TorrentBroadcast$$anonfun$writeBlocks$1.apply(TorrentBroadcast.scala:103) scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108) org.apache.spark.broadcast.TorrentBroadcast.writeBlocks(TorrentBroadcast.scala:103) org.apache.spark.broadcast.TorrentBroadcast.<init>(TorrentBroadcast.scala:85) org.apache.spark.broadcast.TorrentBroadcastFactory.newBroadcast(TorrentBroadcastFactory.scala:34) org.apache.spark.broadcast.BroadcastManager.newBroadcast(BroadcastManager.scala:63) org.apache.spark.SparkContext.broadcast(SparkContext.scala:1327) org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$submitMissingTasks(DAGScheduler.scala:861) org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$submitStage(DAGScheduler.scala:772) org.apache.spark.scheduler.DAGScheduler.handleJobSubmitted(DAGScheduler.scala:757) org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:1477) org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1469) org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:1458) org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:48)

  1. jf-ast 1 times, last 4 months ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    The query did not generate a result set!

    at org.apache.hive.jdbc.HiveStatement.executeQuery()
  2. org.apache.hive
    HiveStatement.executeQuery
    1. org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:356)
    1 frame
  3. Unknown
    HiveDataFetcher.getDataFromHive
    1. HiveDataFetcher.LoadTable(HiveDataFetcher.java:64)
    2. HiveDataFetcher.runQueryAndGetResult(HiveDataFetcher.java:45)
    3. HiveDataFetcher.getDataFromHive(HiveDataFetcher.java:19)
    3 frames