Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1715

IllegalStateException in MetadataMappingService when entity is scheduled via native scheduler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.9
    • scheduler
    • None

    Description

      When entity is scheduled via native scheduler, MetadataMappingServicefails with the following error :

      2015-12-31 09:01:34,818 ERROR - [ActiveMQ Session Task-123:] ~ Error in listener org.apache.falcon.metadata.MetadataMappingService (WorkflowJobEndNotificationService:245)
      org.apache.falcon.FalconException: java.lang.RuntimeException: java.lang.IllegalStateException: USER entity vertex must exist dataqa
      	at org.apache.falcon.metadata.MetadataMappingService.onSuccess(MetadataMappingService.java:274)
      	at org.apache.falcon.workflow.WorkflowJobEndNotificationService.notifyWorkflowEnd(WorkflowJobEndNotificationService.java:235)
      	at org.apache.falcon.workflow.WorkflowJobEndNotificationService.notifySuccess(WorkflowJobEndNotificationService.java:105)
      	at org.apache.falcon.messaging.JMSMessageConsumer.invokeListener(JMSMessageConsumer.java:218)
      	at org.apache.falcon.messaging.JMSMessageConsumer.onMessage(JMSMessageConsumer.java:121)
      	at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1393)
      	at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:131)
      	at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:202)
      	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)
      	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: USER entity vertex must exist dataqa
      	at com.tinkerpop.blueprints.util.TransactionRetryStrategy$AbstractRetryStrategy.execute(TransactionRetryStrategy.java:176)
      	at com.tinkerpop.blueprints.util.TransactionRetryHelper.use(TransactionRetryHelper.java:115)
      	at com.tinkerpop.blueprints.util.TransactionRetryHelper.exponentialBackoff(TransactionRetryHelper.java:94)
      	at org.apache.falcon.metadata.MetadataMappingService.onSuccess(MetadataMappingService.java:263)
      	... 12 more
      Caused by: java.lang.IllegalStateException: USER entity vertex must exist dataqa
      	at org.apache.falcon.metadata.InstanceRelationshipGraphBuilder.addInstanceToEntity(InstanceRelationshipGraphBuilder.java:161)
      	at org.apache.falcon.metadata.InstanceRelationshipGraphBuilder.addInstanceToEntity(InstanceRelationshipGraphBuilder.java:151)
      	at org.apache.falcon.metadata.InstanceRelationshipGraphBuilder.addProcessInstance(InstanceRelationshipGraphBuilder.java:85)
      	at org.apache.falcon.metadata.MetadataMappingService.onProcessInstanceExecuted(MetadataMappingService.java:320)
      	at org.apache.falcon.metadata.MetadataMappingService.onSuccessfulExecution(MetadataMappingService.java:282)
      	at org.apache.falcon.metadata.MetadataMappingService.access$100(MetadataMappingService.java:53)
      	at org.apache.falcon.metadata.MetadataMappingService$3.execute(MetadataMappingService.java:267)
      	at org.apache.falcon.metadata.MetadataMappingService$3.execute(MetadataMappingService.java:264)
      	at com.tinkerpop.blueprints.util.TransactionRetryStrategy$AbstractRetryStrategy.execute(TransactionRetryStrategy.java:146)
      	... 15 more
      2015-12-31 09:01:34,819 DEBUG - [ActiveMQ Session Task-123:] ~ Retrieving details for job 0000706-151230090106575-oozie-oozi-W  (OozieDAGEngine:284)
      

      Attachments

        1. FALCON-1715.patch
          3 kB
          Pallavi Rao

        Issue Links

          Activity

            People

              pallavi.rao Pallavi Rao
              pragya.mittal Pragya Mittal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: