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

Validations on update with effective time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.5
    • None
    • None

    Description

      Effective time should be validated against start and end of entity. Also, when new bundle is not created because effectiveTime = endTime throws exception:
      2014-02-03 07:08:26,011 ERROR - [1451544186@qtp-1790118163-0:samarth.gupta:POST//sync/update/process/agregator-coord16-47c507d2-7ac0-4f11-88f7-94653de28b56-36dac363-8dca-48ab-aa55
      -34fcafafc8d7 c6bbe757-e13f-4f95-a14a-d6e1cd0108aa] ~ Updation failed (AbstractEntityManager:269)
      java.lang.IllegalArgumentException: jobId cannot be null
      at org.apache.oozie.client.OozieClient.notEmpty(OozieClient.java:1443)
      at org.apache.oozie.client.OozieClient$BundleJobInfo.<init>(OozieClient.java:907)
      at org.apache.oozie.client.OozieClient.getBundleJobInfo(OozieClient.java:953)
      at org.apache.falcon.workflow.engine.OozieWorkflowEngine.getBundleInfo(OozieWorkflowEngine.java:1029)
      at org.apache.falcon.workflow.engine.OozieWorkflowEngine.updateInternal(OozieWorkflowEngine.java:975)
      at org.apache.falcon.workflow.engine.OozieWorkflowEngine.update(OozieWorkflowEngine.java:827)

      Thanks samarthg for pointing these

      Attachments

        1. FALCON-297.patch
          7 kB
          Shwetha GS
        2. FALCON-297-v2.patch
          10 kB
          Shwetha GS
        3. FALCON-297-v3.patch
          11 kB
          Shwetha GS

        Activity

          People

            shwethags Shwetha GS
            shwethags Shwetha GS
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: