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

Instance status does not show instances if entity is deleted from one of the colos

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • 0.9
    • trunk
    • prism, scheduler
    • None

    Description

      Lets say I have a process with two clusters ua1 and ua2 and process gets deleted from ua1. If user fires status request from prism , it should display instances from ua2. Currently this is not happening. End result is :

      dataqa@lda01:~$ falcon entity -type process -status -name processMerlinNative 
      ua1/org.apache.falcon.FalconWebException::null
      ua2/RUNNING
      
      dataqa@lda01:~$ falcon instance -type process -status -name processMerlinNative 
      ERROR: Bad Request;ua1/processMerlinNative (PROCESS) not found
      ua2/STATUS
      
      

      Although giving colo will show the expected result

      dataqa@lda01:~$ falcon instance -type process -status -name processMerlinNative -colo ua2
      2016-01-14T09:08Z	ProcessMultipleClustersTest-corp-77772a8c	-	SUCCEEDED	2016-01-14T10:11Z	2016-01-14T10:12Z	-	http://8RPCG32.corp.inmobi.com:11000/oozie?job=0000880-160113111840703-oozie-oozi-W
      actions:
       hdfscommands	OK	-
       aggregator	SUCCEEDED	http://8RPCG32.corp.inmobi.com:8088/proxy/application_1452664055458_1798/
      2016-01-14T09:07Z	ProcessMultipleClustersTest-corp-77772a8c	-	SUCCEEDED	2016-01-14T10:02Z	2016-01-14T10:03Z	-	http://8RPCG32.corp.inmobi.com:11000/oozie?job=0000878-160113111840703-oozie-oozi-W
      actions:
       hdfscommands	OK	-
       aggregator	SUCCEEDED	http://8RPCG32.corp.inmobi.com:8088/proxy/application_1452664055458_1577/
      2016-01-14T09:06Z	ProcessMultipleClustersTest-corp-77772a8c	-	SUCCEEDED	2016-01-14T09:56Z	2016-01-14T09:58Z	-	http://8RPCG32.corp.inmobi.com:11000/oozie?job=0000876-160113111840703-oozie-oozi-W
      actions:
       hdfscommands	OK	-
       aggregator	SUCCEEDED	http://8RPCG32.corp.inmobi.com:8088/proxy/application_1452664055458_1444/
      
      Additional Information:
      Response: ua2/STATUS
      Request Id: ua2/1093419868@qtp-1214810373-11 - b81926ad-d244-45ab-9716-02d9b72abbee
      
      

      Attachments

        Issue Links

          Activity

            People

              praveen Praveen Rachabattuni
              pragya.mittal Pragya Mittal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: