Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2955

NoSuchMethodException when trying to explore Datasets/Stream

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: CDAP
    • Labels:
      None
    • Rank:
      1|hzyvqv:

      Description

      The newest develop seems to have an issue where exploring datasets/streams gives an error. The cluster is running Hive version 0.13.0.2.1.7.0-784. Whenever I try viewing the SQL results it throws this in the logs:

      2015-07-08 17:50:43,650 - ERROR [executor-106:c.c.c.e.e.QueryExecutorHttpHandler@190] - Got exception:
      java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.hive.service.cli.CLIService.fetchResults()
      at com.google.common.base.Throwables.propagate(Throwables.java:160) ~[com.google.guava.guava-13.0.1.jar:na]
      at co.cask.cdap.explore.service.hive.BaseHiveExploreService.fetchNextResults(BaseHiveExploreService.java:798) ~[co.cask.cdap.cdap-explore-3.1.0-SNAPSHOT.jar:na]
      at co.cask.cdap.explore.service.hive.BaseHiveExploreService.previewResults(BaseHiveExploreService.java:836) ~[co.cask.cdap.cdap-explore-3.1.0-SNAPSHOT.jar:na]
      at co.cask.cdap.explore.executor.QueryExecutorHttpHandler.getQueryResultPreview(QueryExecutorHttpHandler.java:173) ~[co.cask.cdap.cdap-explore-3.1.0-SNAPSHOT.jar:na]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_75]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_75]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75]
      at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:85) [co.cask.http.netty-http-0.11.0.jar:na]
      at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.11.0.jar:na]
      at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na]
      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na]
      at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na]
      at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na]
      at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na]
      at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75]
      at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75]
      Caused by: java.lang.NoSuchMethodException: org.apache.hive.service.cli.CLIService.fetchResults()
      at java.lang.Class.getMethod(Class.java:1670) ~[na:1.7.0_75]
      at co.cask.cdap.explore.service.hive.Hive13ExploreService.doFetchNextResults(Hive13ExploreService.java:81) ~[co.cask.cdap.cdap-explore-3.1.0-SNAPSHOT.jar:na]
      at co.cask.cdap.explore.service.hive.BaseHiveExploreService.fetchNextResults(BaseHiveExploreService.java:793) ~[co.cask.cdap.cdap-explore-3.1.0-SNAPSHOT.jar:na]
      ... 17 common frames omitted

        Attachments

          Activity

            People

            • Assignee:
              alvin Alvin Wang
              Reporter:
              dtzeng Derek Tzeng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: