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

Lineage: StringIndexOutOfBoundsException while updating graph DB for replicated instance

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6
    • Component/s: None
    • Labels:

      Description

      StringIndexOutOfBoundsException while updating graph DB for replicated instance

      java.lang.StringIndexOutOfBoundsException: String index out of range: 90
      	at java.lang.String.substring(String.java:1907)
      	at org.apache.falcon.entity.v0.SchemaHelper.formatDateUTCToISO8601(SchemaHelper.java:64)
      	at org.apache.falcon.metadata.InstanceRelationshipGraphBuilder.getFileSystemFeedInstanceName(InstanceRelationshipGraphBuilder.java:315)
      	at org.apache.falcon.metadata.InstanceRelationshipGraphBuilder.getFeedInstanceName(InstanceRelationshipGraphBuilder.java:287)
      	at org.apache.falcon.metadata.InstanceRelationshipGraphBuilder.addReplicatedInstance(InstanceRelationshipGraphBuilder.java:197)
      	at org.apache.falcon.metadata.MetadataMappingService.onFeedInstanceReplicated(MetadataMappingService.java:293)
      	at org.apache.falcon.metadata.MetadataMappingService.onSuccess(MetadataMappingService.java:269)
      	at org.apache.falcon.workflow.WorkflowJobEndNotificationService.notifySuccess(WorkflowJobEndNotificationService.java:96)
      	at org.apache.falcon.messaging.JMSMessageConsumer.onSuccess(JMSMessageConsumer.java:127)
      	at org.apache.falcon.messaging.JMSMessageConsumer.onMessage(JMSMessageConsumer.java:98)
      	at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1229)
      	at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:134)
      	at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:205)
      	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
      	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
      	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:744)
      

        Attachments

        1. FALCON-694.patch
          19 kB
          Sowmya Ramesh
        2. FALCON-694.v1.patch
          16 kB
          Sowmya Ramesh
        3. FALCON-694.v2.patch
          23 kB
          Sowmya Ramesh

          Issue Links

            Activity

              People

              • Assignee:
                sowmyaramesh Sowmya Ramesh
                Reporter:
                sowmyaramesh Sowmya Ramesh

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Issue deployment