co.cask.cdap.api.dataset.DataSetException: Unable to add partition for key {year=2016, month=10, day=11, hour=9, minute=20} with path 2016-10-11/09-20.1476192035182 to explore table.

Google Groups | Unknown author | 2 months ago
  1. 0

    cannot preview data from TPFSParquet batch sink plugin

    Google Groups | 2 months ago | Unknown author
    co.cask.cdap.api.dataset.DataSetException: Unable to add partition for key {year=2016, month=10, day=11, hour=9, minute=20} with path 2016-10-11/09-20.1476192035182 to explore table.
  2. 0

    When a program is deployed, there are errors saying cannot enable exploration of {{system.queue}} dataset. There is no need to enable exploration of {{system.queue}}. {code} 2015-04-04 21:03:31,546 - INFO [executor-17:c.c.c.i.a.r.f.FlowUtils@166] - Queue config for queue:///default/PurchaseHistory/PurchaseF low/reader/queue : [ConsumerGroupConfig{groupId=4665152093549838550, groupSize=1, dequeueStrategy=FIFO, hashKey=null}] 2015-04-04 21:03:31,566 - INFO [executor-30:c.c.c.d.d.d.s.DatasetInstanceHandler@141] - Creating dataset default.system.queue, type na me: HBaseConsumerStateStore, typeAndProps: {dataset.table.column.family=q} 2015-04-04T21:03:31,593Z INFO c.c.c.d.d.d.s.e.DatasetAdminOpHTTPHandler [ds-perf1395-1000.dev.continuuity.net] [executor-1] DatasetAdm inOpHTTPHandler:create(DatasetAdminOpHTTPHandler.java:97) - Creating dataset instance default.system.queue, type meta: DatasetTypeMeta{ name=HBaseConsumerStateStore, modules=DatasetModuleMeta{name=orderedTable-hbase, className=co.cask.cdap.data2.dataset2.module.lib.hbase .HBaseTableModule, jarLocation=null, usesModules=, usedByModules=core,timePartitionedFileSet,partitionedFileSet,objectMappedTable,queue Dataset},DatasetModuleMeta{name=queueDataset, className=co.cask.cdap.data2.transaction.queue.hbase.HBaseQueueDatasetModule, jarLocation =null, usesModules=orderedTable-hbase, usedByModules=}}, props: DatasetProperties{properties=dataset.table.column.family=q} 2015-04-04 21:03:32,080 - ERROR [executor-30:c.c.c.e.c.ExploreFacade@162] - enable explore did not finish successfully for dataset inst ance system.queue. 2015-04-04 21:03:32,082 - ERROR [executor-30:c.c.c.d.d.d.s.DatasetInstanceHandler@383] - Cannot enable exploration of dataset instance DatasetInstance{namespace=default, instance=system.queue} of type {dataset.table.column.family=q}: Cannot enable explore on dataset sys tem.queue. Reason: Response code: 500, message:'Internal Server Error', body: '' co.cask.cdap.explore.service.ExploreException: Cannot enable explore on dataset system.queue. Reason: Response code: 500, message:'Inte rnal Server Error', body: '' at co.cask.cdap.explore.client.ExploreHttpClient.doEnableExploreDataset(ExploreHttpClient.java:147) ~[co.cask.cdap.cdap-explore -client-2.8.1-SNAPSHOT.jar:na] at co.cask.cdap.explore.client.AbstractExploreClient$2.getHandle(AbstractExploreClient.java:99) ~[co.cask.cdap.cdap-explore-cli ent-2.8.1-SNAPSHOT.jar:na] at co.cask.cdap.explore.client.AbstractExploreClient$18.call(AbstractExploreClient.java:292) ~[co.cask.cdap.cdap-explore-client -2.8.1-SNAPSHOT.jar:na] at co.cask.cdap.explore.client.AbstractExploreClient$18.call(AbstractExploreClient.java:289) ~[co.cask.cdap.cdap-explore-client -2.8.1-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] {code}

    Cask Community Issue Tracker | 2 years ago | Poorna Chandra
    co.cask.cdap.explore.service.ExploreException: Cannot enable explore on dataset system.queue. Reason: Response code: 500, message:'Inte rnal Server Error', body: ''
  3. 0

    When I try to deploy a app I see the following exception - {code} 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] {code}

    Cask Community Issue Tracker | 1 year ago | Poorna Chandra
    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'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Explore is not working against secure hive-0.14. Environment: 3-node HDP 2.2.4.2 cluster, kerberos enabled (with a workaround for https://issues.cask.co/browse/CDAP-3424), CDAP 3.1.1-2 Upon deploying an app, it fails to enable explore on datasets, and deploy fails: {code} Upload failed co.cask.cdap.explore.service.ExploreException: Cannot enable explore on stream wordStream. Reason: Response code: 500, message: 'Internal Server Error', body: 'java.lang.RuntimeException: co.cask.tephra.TransactionFailureException: Transaction function failure for transaction. ' {code} trying to explore via CLI: {code} cdap (http://myhost:10000/default)> execute 'SHOW TABLES' Error: co.cask.cdap.explore.service.ExploreException: Cannot execute query. Reason: Response code: 500, message: 'Internal Server Error', body: '' {code} corresponding master.log: {code} 2015-08-19T22:51:30,457Z ERROR c.c.c.e.c.ExploreFacade [myhost] [New I/O worker #3] ExploreFacade:handleExploreFuture(ExploreFacade.java:162) - enable explore di d not finish successfully for stream instance dwteststream2. 2015-08-19T22:51:30,458Z ERROR c.c.c.d.t.s.FileStreamAdmin [myhost] [New I/O worker #3] FileStreamAdmin:alterExploreStream(FileStreamAdmin.java:502) - Cannot alt er exploration to true for stream namespace:default/stream:dwteststream2: Cannot enable explore on stream dwteststream2. Reason: Response code: 500, message: 'Internal Server Error', body: 'java.lang.Runtim eException: co.cask.tephra.TransactionFailureException: Transaction function failure for transaction. ' co.cask.cdap.explore.service.ExploreException: Cannot enable explore on stream dwteststream2. Reason: Response code: 500, message: 'Internal Server Error', body: 'java.lang.RuntimeException: co.cask.tephra. TransactionFailureException: Transaction function failure for transaction. ' at co.cask.cdap.explore.client.ExploreHttpClient.doEnableExploreStream(ExploreHttpClient.java:99) at co.cask.cdap.explore.client.AbstractExploreClient$3.getHandle(AbstractExploreClient.java:112) at co.cask.cdap.explore.client.AbstractExploreClient$18.call(AbstractExploreClient.java:292) at co.cask.cdap.explore.client.AbstractExploreClient$18.call(AbstractExploreClient.java:289) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code}

    Cask Community Issue Tracker | 1 year ago | Derek Wood
    co.cask.cdap.explore.service.ExploreException: Cannot enable explore on stream dwteststream2. Reason: Response code: 500, message: 'Internal Server Error', body: 'java.lang.RuntimeException: co.cask.tephra. TransactionFailureException: Transaction function failure for transaction. '
  6. 0

    Users may intentionally not provide a Schema for a Table dataset, since they do not want it to be explorable. Explore shouldn't throw exceptions in this scenario. Logs: {code} 2015-07-27 19:17:31,548 - ERROR [executor-7:c.c.c.e.c.ExploreFacade@162] - enable explore did not finish successfully for dataset instance lda. 2015-07-27 19:17:31,551 - ERROR [executor-7:c.c.c.d.d.d.s.DatasetInstanceService@299] - Cannot enable exploration of dataset instance namespace:default/datasetinstance:lda of type {}: Cannot enable explore on dataset lda. Reason: Response code: 400, message: 'Bad Request', body: 'Unable to enable exploration on dataset lda because the schema property is not set.' co.cask.cdap.explore.service.ExploreException: Cannot enable explore on dataset lda. Reason: Response code: 400, message: 'Bad Request', body: 'Unable to enable exploration on dataset lda because the schema property is not set.' at co.cask.cdap.explore.client.ExploreHttpClient.doEnableExploreDataset(ExploreHttpClient.java:147) ~[classes/:na] at co.cask.cdap.explore.client.AbstractExploreClient$2.getHandle(AbstractExploreClient.java:99) ~[classes/:na] at co.cask.cdap.explore.client.AbstractExploreClient$18.call(AbstractExploreClient.java:292) ~[classes/:na] at co.cask.cdap.explore.client.AbstractExploreClient$18.call(AbstractExploreClient.java:289) ~[classes/:na] at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_80] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) ~[na:1.7.0_80] at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_80] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) ~[na:1.7.0_80] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) ~[na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_80] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ~[na:1.7.0_80] at java.lang.Thread.run(Thread.java:745) ~[na:1.7.0_80] {code}

    Cask Community Issue Tracker | 1 year ago | Bhooshan Mogal
    co.cask.cdap.explore.service.ExploreException: Cannot enable explore on dataset lda. Reason: Response code: 400, message: 'Bad Request', body: 'Unable to enable exploration on dataset lda because the schema property is not set.'

    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. co.cask.cdap.explore.service.ExploreException

      Cannot add partition with key {year=2016, month=10, day=11, hour=9, minute=20} to dataset dataset:default.v111_newtpfs. Reason: Response code: 500, message: 'Internal Server Error', body: 'Error while compiling statement: FAILED: SemanticException [Error 10001]: Table not found dataset_v111_newtpfs'

      at co.cask.cdap.explore.client.ExploreHttpClient.doAddPartition()
    2. co.cask.cdap
      AbstractExploreClient$20.call
      1. co.cask.cdap.explore.client.ExploreHttpClient.doAddPartition(ExploreHttpClient.java:151)[co.cask.cdap.cdap-explore-client-3.5.0.jar:na]
      2. co.cask.cdap.explore.client.AbstractExploreClient$7.getHandle(AbstractExploreClient.java:173)[co.cask.cdap.cdap-explore-client-3.5.0.jar:na]
      3. co.cask.cdap.explore.client.AbstractExploreClient$20.call(AbstractExploreClient.java:320)[co.cask.cdap.cdap-explore-client-3.5.0.jar:na]
      4. co.cask.cdap.explore.client.AbstractExploreClient$20.call(AbstractExploreClient.java:317)[co.cask.cdap.cdap-explore-client-3.5.0.jar:na]
      4 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_79]
      2. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_79]
      3. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_79]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_79]
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_79]
      6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_79]
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_79]
      8. java.lang.Thread.run(Thread.java:745)[na:1.7.0_79]
      8 frames