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

Explore does not work with HDP Hive 0.12

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0, 3.0.0
    • Fix Version/s: 3.2.0
    • Component/s: Explore
    • Labels:
      None
    • Release Notes:
      Fix issue with Explore not working on HDP Hive 0.12
    • Rank:
      1|hzyz53:

      Description

      Explore service throws the following exception when a query is run in HDP Hive 0.12 -

      2015-09-02 05:23:36,069 - ERROR [executor-8:c.c.c.e.e.ExploreExecutorHttpHandler@106] - Got exception enabling explore on stream namespace:default/stream:testStream.
      co.cask.cdap.explore.service.ExploreException: java.lang.NullPointerException
      	at co.cask.cdap.explore.service.hive.BaseHiveExploreService.execute(BaseHiveExploreService.java:757) ~[co.cask.cdap.cdap-explore-3.2.0-SNAPSHOT.jar:na]
      	at co.cask.cdap.explore.service.ExploreTableManager.enableStream(ExploreTableManager.java:125) ~[co.cask.cdap.cdap-explore-3.2.0-SNAPSHOT.jar:na]
      	at co.cask.cdap.explore.executor.ExploreExecutorHttpHandler.enableStream(ExploreExecutorHttpHandler.java:98) ~[co.cask.cdap.cdap-explore-3.2.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:79) [co.cask.http.netty-http-0.12.0.jar:na]
      	at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) [co.cask.http.netty-http-0.12.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.NullPointerException: null
      	at co.cask.cdap.explore.service.hive.BaseHiveExploreService.setCurrentDatabase(BaseHiveExploreService.java:926) ~[co.cask.cdap.cdap-explore-3.2.0-SNAPSHOT.jar:na]
      	at co.cask.cdap.explore.service.hive.BaseHiveExploreService.execute(BaseHiveExploreService.java:742) ~[co.cask.cdap.cdap-explore-3.2.0-SNAPSHOT.jar:na]
      	... 17 common frames omitted

        Attachments

          Activity

            People

            • Assignee:
              poorna Poorna Chandra
              Reporter:
              poorna Poorna Chandra
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: