Yesha Vora created YARN-7832:
--------------------------------

             Summary: Logs page does not work for Running applications
                 Key: YARN-7832
                 URL: https://issues.apache.org/jira/browse/YARN-7832
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn-ui-v2
    Affects Versions: 3.0.0
            Reporter: Yesha Vora


Scenario
 * Run yarn service application
 * When application is Running, go to log page
 * Select AttemptId and Container Id

Logs are not showed on UI. It complains "No log data available!"

 

Here 
[http://xxx:8188/ws/v1/applicationhistory/containers/container_e07_1516919074719_0004_01_000001/logs?_=1517009230358|http://ctr-e137-1514896590304-35963-01-000004.hwx.site:8188/ws/v1/applicationhistory/containers/container_e07_1516919074719_0004_01_000001/logs?_=1517009230358]
 API fails with 500 Internal Server Error.

{"exception":"WebApplicationException","message":"java.io.IOException: 
","javaClassName":"javax.ws.rs.WebApplicationException"}
{code:java}
GET 
http://xxx:8188/ws/v1/applicationhistory/containers/container_e07_1516919074719_0004_01_000001/logs?_=1517009230358
 500 (Internal Server Error)
(anonymous) @ VM779:1
send @ vendor.js:572
ajax @ vendor.js:548
(anonymous) @ vendor.js:5119
initializePromise @ vendor.js:2941
Promise @ vendor.js:3005
ajax @ vendor.js:5117
ajax @ yarn-ui.js:1
superWrapper @ vendor.js:1591
query @ vendor.js:5112
ember$data$lib$system$store$finders$$_query @ vendor.js:5177
query @ vendor.js:5334
fetchLogFilesForContainerId @ yarn-ui.js:132
showLogFilesForContainerId @ yarn-ui.js:126
run @ vendor.js:648
join @ vendor.js:648
run.join @ vendor.js:1510
closureAction @ vendor.js:1865
trigger @ vendor.js:302
(anonymous) @ vendor.js:339
each @ vendor.js:61
each @ vendor.js:51
trigger @ vendor.js:339
d.select @ vendor.js:5598
(anonymous) @ vendor.js:5598
d.invoke @ vendor.js:5598
d.trigger @ vendor.js:5598
e.trigger @ vendor.js:5598
(anonymous) @ vendor.js:5598
d.invoke @ vendor.js:5598
d.trigger @ vendor.js:5598
(anonymous) @ vendor.js:5598
dispatch @ vendor.js:306
elemData.handle @ vendor.js:281{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to