co.cask.cdap.common.NotFoundException: 'program:default._Tracker.service.AuditLog' was not found.

Cask Community Issue Tracker | Russ Savage | 4 months ago
  1. 0
  2. 0

    I see lots of these in the logs: {noformat} 2015-10-26 16:14:21,570 - WARN [executor-8:c.c.c.d.d.d.s.DatasetInstanceService@145] - Failed to register usage of program:default.SparkAppUsingObjectStore.spark.SparkCharCountProgram -> dataset:default.keys 2015-10-26 16:14:21,587 - ERROR [executor-4:c.c.c.d.r.UsageRegistry$1@73] - Failed to access usage table co.cask.cdap.common.NotFoundException: 'dataset:system.usage.registry' was not found. at co.cask.cdap.data2.datafabric.dataset.service.DatasetInstanceService.get(DatasetInstanceService.java:124) [classes/:na] at co.cask.cdap.data2.datafabric.dataset.service.DatasetInstanceService$1.getMeta(DatasetInstanceService.java:82) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.AbstractDatasetProvider.get(AbstractDatasetProvider.java:101) ~[classes/:na] at co.cask.cdap.data2.datafabric.dataset.AbstractDatasetProvider.getOrCreate(AbstractDatasetProvider.java:84) ~[classes/:na] at co.cask.cdap.data2.registry.UsageRegistry$1.get(UsageRegistry.java:62) [classes/:na] at co.cask.cdap.data2.registry.UsageRegistry$1.get(UsageRegistry.java:58) [classes/:na] at co.cask.cdap.data2.dataset2.tx.Transactional.execute(Transactional.java:104) [classes/:na] at co.cask.cdap.data2.dataset2.tx.Transactional.executeUnchecked(Transactional.java:80) [classes/:na] at co.cask.cdap.data2.registry.UsageRegistry.register(UsageRegistry.java:149) [classes/:na] at co.cask.cdap.data2.datafabric.dataset.service.DatasetInstanceService.registerUsage(DatasetInstanceService.java:142) [classes/:na] at co.cask.cdap.data2.datafabric.dataset.service.DatasetInstanceService.get(DatasetInstanceService.java:134) [classes/:na] at co.cask.cdap.data2.datafabric.dataset.service.DatasetInstanceHandler.get(DatasetInstanceHandler.java:110) [classes/:na] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_80] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_80] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) [netty-http-0.13.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) [netty-http-0.13.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [netty-3.6.6.Final.jar:na] 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] {noformat} This seems to happen with tests based on AppFabricTestHelper, for example, SparkProgramRunnerTest. This pollutes the logs and makes it hard to see the logs and debug actual issues. Do we need this in 3.1.x?

    Cask Community Issue Tracker | 1 year ago | Andreas Neumann
    co.cask.cdap.common.NotFoundException: 'dataset:system.usage.registry' was not found.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. co.cask.cdap.common.NotFoundException

      'program:default._Tracker.service.AuditLog' was not found.

      at co.cask.cdap.internal.app.services.ProgramLifecycleService.getProgramStatus()
    2. co.cask.cdap
      TrackerAppCreationService.run
      1. co.cask.cdap.internal.app.services.ProgramLifecycleService.getProgramStatus(ProgramLifecycleService.java:180)[co.cask.cdap.cdap-app-fabric-3.5.0-SNAPSHOT.jar:na]
      2. co.cask.cdap.internal.app.services.ProgramLifecycleService.isRunning(ProgramLifecycleService.java:440)[co.cask.cdap.cdap-app-fabric-3.5.0-SNAPSHOT.jar:na]
      3. co.cask.cdap.internal.app.services.ProgramLifecycleService.start(ProgramLifecycleService.java:246)[co.cask.cdap.cdap-app-fabric-3.5.0-SNAPSHOT.jar:na]
      4. co.cask.cdap.TrackerAppCreationService.createAndStartTracker(TrackerAppCreationService.java:140)[co.cask.cdap.cdap-standalone-3.5.0-SNAPSHOT.jar:na]
      5. co.cask.cdap.TrackerAppCreationService.run(TrackerAppCreationService.java:113)[co.cask.cdap.cdap-standalone-3.5.0-SNAPSHOT.jar:na]
      5 frames
    3. Guava
      AbstractExecutionThreadService$1$1.run
      1. com.google.common.util.concurrent.AbstractExecutionThreadService$1$1.run(AbstractExecutionThreadService.java:52)[com.google.guava.guava-13.0.1.jar:na]
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.7.0_79]
      1 frame