[
https://issues.apache.org/jira/browse/FALCON-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320364#comment-15320364
]
ASF GitHub Bot commented on FALCON-1986:
----------------------------------------
GitHub user pallavi-rao opened a pull request:
https://github.com/apache/falcon/pull/177
FALCON-1986 logFile retrieved when getting process instance status sh…
…ould be a link that points to logs
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pallavi-rao/falcon 1986
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/falcon/pull/177.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 #177
----
commit b4f6edf6471adeae998e03bba154f9ac307f00a7
Author: Pallavi Rao <[email protected]>
Date: 2016-06-08T10:39:57Z
FALCON-1986 logFile retrieved when getting process instance status should
be a link that points to logs
----
> logFile retrieved when getting process instance status should be a link that
> points to logs
> -------------------------------------------------------------------------------------------
>
> Key: FALCON-1986
> URL: https://issues.apache.org/jira/browse/FALCON-1986
> Project: Falcon
> Issue Type: Bug
> Components: process
> Affects Versions: 0.9
> Reporter: Trupti Dhavle
> Assignee: Pallavi Rao
>
> We are noticing that the value for logFile paramter is no longer a link to
> the logs. Instead it is just a paramter that gives coordinatorname@<action#>.
> [~peeyushb] mentioned there were changes around rerun that caused this.
> However I think the paramter should point to a link that opens the logs for
> the said action (workflow) instead of just a value thats not even a link
> Output from the command-
> {noformat}
> 2016-05-24 05:05:32,474 INFO -
> [pool-48-thread-1:testProcessInstanceStatusWoParams] ~ Request Url:
> http://<falcon
> hsost>:15000/api/instance/status/process/A33ffd6c8-9faffb55/?colo=*&user.name=<user>
> (BaseRequest:175)
> 2016-05-24 05:05:32,474 INFO -
> [pool-48-thread-1:testProcessInstanceStatusWoParams] ~ Request Method: GET
> (BaseRequest:176)
> 2016-05-24 05:05:32,474 INFO -
> [pool-48-thread-1:testProcessInstanceStatusWoParams] ~ Request Header:
> Name=Cookie
> Value=hadoop.auth="u=<user>&p=<user>@EXAMPLE.COM&t=kerberos&e=1464086384175&s=MtvIvDD9VCEzY46XWCCm7aidfAY="
> (BaseRequest:179)
> 2016-05-24 05:05:32,913 INFO -
> [pool-48-thread-1:testProcessInstanceStatusWoParams] ~ Response Status:
> HTTP/1.1 200 OK (BaseRequest:207)
> 2016-05-24 05:05:32,913 INFO -
> [pool-48-thread-1:testProcessInstanceStatusWoParams] ~ Response Header:
> Name=Content-Type Value=application/json (BaseRequest:209)
> 2016-05-24 05:05:32,913 INFO -
> [pool-48-thread-1:testProcessInstanceStatusWoParams] ~ Response Header:
> Name=Transfer-Encoding Value=chunked (BaseRequest:209)
> 2016-05-24 05:05:32,913 INFO -
> [pool-48-thread-1:testProcessInstanceStatusWoParams] ~ Response Header:
> Name=Server Value=Jetty(6.1.26.hwx) (BaseRequest:209)
> 2016-05-24 05:05:32,914 INFO -
> [pool-48-thread-1:testProcessInstanceStatusWoParams] ~ The web service
> response is:
> {
> "status": "SUCCEEDED",
> "message": "default/STATUS\n",
> "requestId": "default/169893801@qtp-2139788441-269 -
> 46588c7f-5cb8-4d3f-b857-d8e75cc701e4\n",
> "instances": [
> {
> "instance": "2010-01-02T01:20Z",
> "status": "RUNNING",
> "logFile": "0001137-160524002538450-oozie-oozi-C@5",
> "cluster": "A33ffd6c8-9b45ca54",
> "startTime": "2016-05-24T05:05:26Z",
> "runId": 0,
> "details": "",
> "actions": [
> {
> "action": "aggregator",
> "status": "RUNNING",
> "logFile":
> "http://<host>:8088/proxy/application_1464049196692_0477/"
> }
> ]
> },
> {noformat}
> Prior releases it was returning as below-
> {noformat}
> 2016-05-24 00:47:53,329 INFO -
> [pool-41-thread-1:testProcessInstanceStatusWoParams] ~ Request Url:
> http://<host>:15000/api/instance/status/process/A33ffd6c8-a013497d/?colo=*&user.name=<user>
> (BaseRequest:168)
> 2016-05-24 00:47:53,329 INFO -
> [pool-41-thread-1:testProcessInstanceStatusWoParams] ~ Request Method: GET
> (BaseRequest:169)
> 2016-05-24 00:47:53,330 INFO -
> [pool-41-thread-1:testProcessInstanceStatusWoParams] ~ Request Header:
> Name=Cookie
> Value=hadoop.auth="u=<user>&p=<user>&t=simple&e=1464076857535&s=Pq4pdhzr9EM1+HoEqvjsRTNZ9qg="
> (BaseRequest:172)
> 2016-05-24 00:47:54,438 INFO -
> [pool-41-thread-1:testProcessInstanceStatusWoParams] ~ Response Status:
> HTTP/1.1 200 OK (BaseRequest:201)
> 2016-05-24 00:47:54,438 INFO -
> [pool-41-thread-1:testProcessInstanceStatusWoParams] ~ Response Header:
> Name=Content-Type Value=application/json (BaseRequest:203)
> 2016-05-24 00:47:54,438 INFO -
> [pool-41-thread-1:testProcessInstanceStatusWoParams] ~ Response Header:
> Name=Transfer-Encoding Value=chunked (BaseRequest:203)
> 2016-05-24 00:47:54,438 INFO -
> [pool-41-thread-1:testProcessInstanceStatusWoParams] ~ Response Header:
> Name=Server Value=Jetty(6.1.26.hwx) (BaseRequest:203)
> 2016-05-24 00:47:54,439 INFO -
> [pool-41-thread-1:testProcessInstanceStatusWoParams] ~ The web service
> response is:
> {
> {
> "instance": "2010-01-02T01:05Z",
> "status": "RUNNING",
> "logFile":
> "http://<host>:11000/oozie?job\u003d0000604-160524223237302-oozie-oozi-W",
> "cluster": "A33ffd6c8-4482f810",
> "startTime": "2016-05-25T02:03:34Z",
> "details": "",
> "actions": [
> {
> "action": "aggregator",
> "status": "RUNNING",
> "logFile":
> "http://<host>:8088/proxy/application_1464116437313_0250/"
> }
> ]
> },
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)