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

            githubbot ASF GitHub Bot added a comment -

            GitHub user PraveenAdlakha opened a pull request:

            https://github.com/apache/falcon/pull/108

            FALCON-1749 Instance status does not show instances if entity is dele…

            …ted from one of the colos

            You can merge this pull request into a Git repository by running:

            $ git pull https://github.com/PraveenAdlakha/falcon 1749

            Alternatively you can review and apply these changes as the patch at:

            https://github.com/apache/falcon/pull/108.patch

            To close this pull request, make a commit to your master/trunk branch
            with (at least) the following in the commit message:

            This closes #108


            commit 7e25db68bb66d628a0bfa534c8e4440f4e6e14b3
            Author: Praveen Adlakha <adlakha.praveen@gmail.com>
            Date: 2016-04-19T06:50:53Z

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


            githubbot ASF GitHub Bot added a comment - GitHub user PraveenAdlakha opened a pull request: https://github.com/apache/falcon/pull/108 FALCON-1749 Instance status does not show instances if entity is dele… …ted from one of the colos You can merge this pull request into a Git repository by running: $ git pull https://github.com/PraveenAdlakha/falcon 1749 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/falcon/pull/108.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #108 commit 7e25db68bb66d628a0bfa534c8e4440f4e6e14b3 Author: Praveen Adlakha <adlakha.praveen@gmail.com> Date: 2016-04-19T06:50:53Z FALCON-1749 Instance status does not show instances if entity is deleted from one of the colos
            githubbot ASF GitHub Bot added a comment -

            Github user asfgit closed the pull request at:

            https://github.com/apache/falcon/pull/108

            githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/falcon/pull/108
            pallavi.rao Pallavi Rao added a comment -

            Issue resolved by pull request 108
            https://github.com/apache/falcon/pull/108

            pallavi.rao Pallavi Rao added a comment - Issue resolved by pull request 108 https://github.com/apache/falcon/pull/108
            githubbot ASF GitHub Bot added a comment -

            GitHub user PraveenAdlakha opened a pull request:

            https://github.com/apache/falcon/pull/222

            FALCON-1749 Instance status does not show instances if entity is dele…

            …ted from one of the colos

            You can merge this pull request into a Git repository by running:

            $ git pull https://github.com/PraveenAdlakha/falcon 1749_V2

            Alternatively you can review and apply these changes as the patch at:

            https://github.com/apache/falcon/pull/222.patch

            To close this pull request, make a commit to your master/trunk branch
            with (at least) the following in the commit message:

            This closes #222


            commit dbc7e1cac16ab32b1c5070282d78a04783fe5941
            Author: Praveen Adlakha <adlakha.praveen@gmail.com>
            Date: 2016-07-06T13:44:15Z

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


            githubbot ASF GitHub Bot added a comment - GitHub user PraveenAdlakha opened a pull request: https://github.com/apache/falcon/pull/222 FALCON-1749 Instance status does not show instances if entity is dele… …ted from one of the colos You can merge this pull request into a Git repository by running: $ git pull https://github.com/PraveenAdlakha/falcon 1749_V2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/falcon/pull/222.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #222 commit dbc7e1cac16ab32b1c5070282d78a04783fe5941 Author: Praveen Adlakha <adlakha.praveen@gmail.com> Date: 2016-07-06T13:44:15Z FALCON-1749 Instance status does not show instances if entity is deleted from one of the colos
            githubbot ASF GitHub Bot added a comment -

            Github user asfgit closed the pull request at:

            https://github.com/apache/falcon/pull/222

            githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/falcon/pull/222
            pallavi.rao Pallavi Rao added a comment -

            Issue resolved by pull request 222
            https://github.com/apache/falcon/pull/222

            pallavi.rao Pallavi Rao added a comment - Issue resolved by pull request 222 https://github.com/apache/falcon/pull/222
            pragya.mittal Pragya Mittal added a comment -

            Reopening as the patch is reverted.

            pragya.mittal Pragya Mittal added a comment - Reopening as the patch is reverted.
            bvellanki Balu Vellanki added a comment -

            Moving this out of 0.10 as it is Major and not critical or blocker.

            bvellanki Balu Vellanki added a comment - Moving this out of 0.10 as it is Major and not critical or blocker.

            People

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

              Dates

                Created:
                Updated: