You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Pragya Mittal (JIRA)" <ji...@apache.org> on 2016/03/15 09:46:33 UTC

[jira] [Updated] (FALCON-1749) Instance status does not show instances if entity is deleted from one of the colos

     [ https://issues.apache.org/jira/browse/FALCON-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pragya Mittal updated FALCON-1749:
----------------------------------
    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 :
{noformat}
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

{noformat}

Although giving colo will show the expected result
{noformat}
dataqa@lda01:~$ falcon instance -type process -status 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

{noformat}

  was:
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 :
{noformat}
dataqa@lda01:~$ falcon entity -type process -status processMerlinNative 
ua1/org.apache.falcon.FalconWebException::null
ua2/RUNNING

dataqa@lda01:~$ falcon instance -type process -status processMerlinNative 
ERROR: Bad Request;ua1/processMerlinNative (PROCESS) not found
ua2/STATUS

{noformat}

Although giving colo will show the expected result
{noformat}
dataqa@lda01:~$ falcon instance -type process -status 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

{noformat}


> Instance status does not show instances if entity is deleted from one of the colos
> ----------------------------------------------------------------------------------
>
>                 Key: FALCON-1749
>                 URL: https://issues.apache.org/jira/browse/FALCON-1749
>             Project: Falcon
>          Issue Type: Bug
>          Components: prism, scheduler
>    Affects Versions: 0.9
>            Reporter: Pragya Mittal
>            Assignee: Praveen Adlakha
>
> 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 :
> {noformat}
> 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
> {noformat}
> Although giving colo will show the expected result
> {noformat}
> dataqa@lda01:~$ falcon instance -type process -status 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)