Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0
    • Component/s: Explore
    • Labels:
      None
    • Rank:
      1|i00k8v:

      Description

      When a partition of a PartitionedFileSet is attempted to be added, the partition gets added to the PFS, but not to the underlying hive table. This is due to a missing guice binding.

      2019-01-15 23:54:41,800 - WARN  [PFSService-http-executor-1:c.c.c.d.d.l.p.PartitionedFileSetDefinition@222] - Unable to get explore facade from injector for co.cask.cdap.api.dataset.lib.PartitionedFileSet dataset.
      com.google.inject.ConfigurationException: Guice configuration errors:
      
      
      1) No implementation for co.cask.cdap.explore.client.ExploreClient was bound.
        while locating co.cask.cdap.explore.client.ExploreClient
          for parameter 0 at co.cask.cdap.explore.client.ExploreFacade.<init>(ExploreFacade.java:51)
        while locating co.cask.cdap.explore.client.ExploreFacade
      
      
      1 error
              at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1042) ~[com.google.inject.guice-4.0.jar:na]
              at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1001) ~[com.google.inject.guice-4.0.jar:na]
              at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051) ~[com.google.inject.guice-4.0.jar:na]
              at co.cask.cdap.data2.dataset2.lib.partitioned.PartitionedFileSetDefinition$1.get(PartitionedFileSetDefinition.java:219) [na:na]
              at co.cask.cdap.data2.dataset2.lib.partitioned.PartitionedFileSetDefinition$1.get(PartitionedFileSetDefinition.java:215) [na:na]
              at co.cask.cdap.data2.dataset2.lib.partitioned.PartitionedFileSetDataset.addPartitionToExplore(PartitionedFileSetDataset.java:581) [na:na]
              at co.cask.cdap.data2.dataset2.lib.partitioned.PartitionedFileSetDataset.addPartition(PartitionedFileSetDataset.java:370) [na:na]
              at co.cask.cdap.data2.dataset2.lib.partitioned.PartitionedFileSetDataset$BasicPartitionOutput.addPartition(PartitionedFileSetDataset.java:1364) [na:na]
              at co.cask.cdap.apps.fileset.PFSApp$PFSHandler.create(PFSApp.java:88) [expanded.1.0.0-SNAPSHOT.83dddf67-0869-4182-9294-5be6a5e74c3f.jar/:na]
              at co.cask.cdap.apps.fileset.PFSApp$PFSHandleraad5bcfe7609fe0b637ae9765ec07f97.lambda$create_Lco_cask_cdap_api_service_http_HttpServiceRequest_Lco_cask_cdap_api_service_http_HttpServiceResponder_Ljava_lang_S
      tring__V(Unknown Source) [na:na]
              at co.cask.cdap.internal.app.services.ServiceHttpServer$HandlerDelegatorContext$1.lambda$execute$0(ServiceHttpServer.java:212) ~[na:na]
              at co.cask.cdap.internal.app.runtime.AbstractContext$2.run(AbstractContext.java:537) ~[na:na]
              at co.cask.cdap.data2.transaction.Transactions$CacheBasedTransactional.finishExecute(Transactions.java:224) ~[na:na]
              at co.cask.cdap.data2.transaction.Transactions$CacheBasedTransactional.execute(Transactions.java:211) ~[na:na]
              at co.cask.cdap.internal.app.runtime.AbstractContext.execute(AbstractContext.java:532) ~[na:na]
              at co.cask.cdap.internal.app.runtime.AbstractContext.execute(AbstractContext.java:520) ~[na:na]
              at co.cask.cdap.internal.app.services.ServiceHttpServer$HandlerDelegatorContext$1.execute(ServiceHttpServer.java:212) ~[na:na]
              at co.cask.cdap.internal.app.runtime.service.http.AbstractHttpHandlerDelegator.execute(AbstractHttpHandlerDelegator.java:66) ~[na:na]
              at co.cask.cdap.apps.fileset.PFSApp$PFSHandleraad5bcfe7609fe0b637ae9765ec07f97.create(Unknown Source) [na:na]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_181]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_181]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_181]
              at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_181]
              at co.cask.http.internal.HttpMethodInfo.invoke(HttpMethodInfo.java:82) ~[co.cask.http.netty-http-1.1.0.jar:na]
              at co.cask.http.internal.HttpDispatcher.channelRead(HttpDispatcher.java:45) ~[co.cask.http.netty-http-1.1.0.jar:na]
              at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) ~[io.netty.netty-all-4.1.16.Final.jar:4.1.16.Final]
              at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:38) ~[io.netty.netty-all-4.1.16.Final.jar:4.1.16.Final]
              at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:353) ~[io.netty.netty-all-4.1.16.Final.jar:4.1.16.Final]
              at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) ~[io.netty.netty-all-4.1.16.Final.jar:4.1.16.Final]
              at co.cask.http.internal.NonStickyEventExecutorGroup$NonStickyOrderedEventExecutor.run(NonStickyEventExecutorGroup.java:254) ~[co.cask.http.netty-http-1.1.0.jar:na]
              at io.netty.util.concurrent.UnorderedThreadPoolEventExecutor$NonNotifyRunnable.run(UnorderedThreadPoolEventExecutor.java:277) ~[io.netty.netty-all-4.1.16.Final.jar:4.1.16.Final]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_181]
              at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_181]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[na:1.8.0_181]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[na:1.8.0_181]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_181]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_181]
              at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_181] 

        Attachments

          Activity

            People

            • Assignee:
              terence Terence Yim
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: