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

Deploying app should not try to enable explore on queue tables

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0
    • Component/s: Datasets
    • Labels:
      None
    • Release Notes:
      Fixed issue where deploying an application was trying to enable explore on system tables.
    • Rank:
      1|hzz05j:

      Description

      When I try to deploy a app I see the following exception -

      2015-09-19 01:07:27,481 - INFO  [executor-18:c.c.c.i.a.r.f.FlowUtils@171] - Queue config for queue:///default/PurchaseHistory/PurchaseFlow/read
      er/queue : [ConsumerGroupConfig{groupId=4665152093549838550, groupSize=1, dequeueStrategy=FIFO, hashKey=null}]
      2015-09-19 01:07:27,524 - INFO  [executor-9:c.c.c.d.d.d.s.DatasetInstanceHandler@129] - Creating dataset default.system.queue, type name: HBase
      ConsumerStateStore, typeAndProps: {dataset.table.column.family=q}
      2015-09-19T01:07:27,558Z INFO  c.c.c.d.d.d.s.e.DatasetAdminOpHTTPHandler [poorna-test3057-1000.dev.continuuity.net] [executor-7] DatasetAdminOp
      HTTPHandler:create(DatasetAdminOpHTTPHandler.java:108) - Creating dataset instance default.system.queue, type meta: DatasetTypeMeta{name=HBaseC
      onsumerStateStore, modules=DatasetModuleMeta{name=orderedTable-hbase, className=co.cask.cdap.data2.dataset2.module.lib.hbase.HBaseTableModule, 
      jarLocation=null, usesModules=, usedByModules=core,objectMappedTable,cube,usage,lineage,queueDataset},DatasetModuleMeta{name=queueDataset, clas
      sName=co.cask.cdap.data2.transaction.queue.hbase.HBaseQueueDatasetModule, jarLocation=null, usesModules=orderedTable-hbase, usedByModules=}}, p
      rops: DatasetProperties{properties={dataset.table.column.family=q}}
      2015-09-19T01:07:27,953Z INFO  c.c.c.d.u.h.HBaseTableUtil [poorna-test3057-1000.dev.continuuity.net] [executor-7] HBaseTableUtil:createTableIfN
      otExists(HBaseTableUtil.java:163) - Table created 'TableId{namespace=default, tableName=system.queue.config}'
      2015-09-19 01:07:28,085 - ERROR [executor-9:c.c.c.e.c.ExploreFacade@167] - enable explore did not finish successfully for dataset instance syst
      em.queue.
      2015-09-19 01:07:28,090 - ERROR [executor-9:c.c.c.d.d.d.s.DatasetInstanceService@333] - Cannot enable exploration of dataset instance namespace
      :default/datasetinstance:system.queue of type {dataset.table.column.family=q}: Cannot enable explore on dataset namespace:default/datasetinstan
      ce:system.queue. Reason: Response code: 500, message: 'Internal Server Error', body: 'Failed to access dataset: namespace:default/datasetinstan
      ce:system.queue'
      co.cask.cdap.explore.service.ExploreException: Cannot enable explore on dataset namespace:default/datasetinstance:system.queue. Reason: Respons
      e code: 500, message: 'Internal Server Error', body: 'Failed to access dataset: namespace:default/datasetinstance:system.queue'
              at co.cask.cdap.explore.client.ExploreHttpClient.doEnableExploreDataset(ExploreHttpClient.java:155) ~[co.cask.cdap.cdap-explore-client-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.explore.client.AbstractExploreClient$2.getHandle(AbstractExploreClient.java:100) ~[co.cask.cdap.cdap-explore-client-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.explore.client.AbstractExploreClient$18.call(AbstractExploreClient.java:294) ~[co.cask.cdap.cdap-explore-client-3.2.0-SNAPSHOT.jar:na]
              at co.cask.cdap.explore.client.AbstractExploreClient$18.call(AbstractExploreClient.java:291) ~[co.cask.cdap.cdap-explore-client-3.2.0-SNAPSHOT.jar:na]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_75]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_75]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_75]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) ~[na:1.7.0_75]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) ~[na:1.7.0_75]
              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]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sagar Sagar Kapare
                Reporter:
                poorna Poorna Chandra
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: