Sushmitha Sreenivasan created TEZ-3398:
------------------------------------------

             Summary: Link to Application is broken from Application details 
dag/configuration tab
                 Key: TEZ-3398
                 URL: https://issues.apache.org/jira/browse/TEZ-3398
             Project: Apache Tez
          Issue Type: Bug
            Reporter: Sushmitha Sreenivasan
            Assignee: Sreenath Somarajapuram
            Priority: Critical


The UI link to Application page from Application Details  Dag / Configuration 
tab is broken.
Example : Application Details -> DAG tab ->  Application [ MRRSleepJob ] link

{code:title=Stacktrace}
Details:
{
    "trace": 
"{\"exception\":\"NotFoundException\",\"message\":\"java.lang.Exception: 
Timeline entity { id: tez_tez_application_1470238058937_0042, type: 
TEZ_APPLICATION } is not 
found\",\"javaClassName\":\"org.apache.hadoop.yarn.webapp.NotFoundException\"}",
    "message": "Failed to fetch results by the proxy from url: 
http://nat-r6-oers-tez-v2-3-1.openstacklocal:8188/ws/v1/timeline/TEZ_APPLICATION/tez_tez_application_1470238058937_0042?_=1470264604561";,
    "status": 404
}

Request:
{
    "adapterName": "app",
    "url": 
"http://host:8080/api/v1/views/TEZ/versions/version/instances/TEZ_CLUSTER_INSTANCE/resources/atsproxy/ws/v1/timeline/TEZ_APPLICATION/tez_tez_application_1470238058937_0042";,
    "responseHeaders": {
        "X-XSS-Protection": "1; mode=block",
        "Date": "Wed, 03 Aug 2016 22:50:16 GMT",
        "User": "hrt_qa",
        "Server": "Jetty(9.2.11.v20150529)",
        "Content-Length": "468",
        "X-Frame-Options": "SAMEORIGIN",
        "Content-Type": "application/json"
    }
}

Stack:
Error: Adapter operation failed
    at new Error (native)
    at Error.EmberError 
(http://host:8080/views/TEZ/version/TEZ_CLUSTER_INSTANCE/assets/vendor.js:24586:21)
    at Error.ember$data$lib$adapters$errors$$AdapterError 
(http://host:8080/views/TEZ/version/TEZ_CLUSTER_INSTANCE/assets/vendor.js:80222:50)
    at Class.handleResponse 
(http://host:8080/views/TEZ/version/TEZ_CLUSTER_INSTANCE/assets/vendor.js:81517:16)
    at Class.hash.error 
(http://host:8080/views/TEZ/version/TEZ_CLUSTER_INSTANCE/assets/vendor.js:81597:33)
    at fire 
(http://host:8080/views/TEZ/version/TEZ_CLUSTER_INSTANCE/assets/vendor.js:3320:30)
    at Object.fireWith [as rejectWith] 
(http://host:8080/views/TEZ/version/TEZ_CLUSTER_INSTANCE/assets/vendor.js:3432:7)
    at done 
(http://host:8080/views/TEZ/version/TEZ_CLUSTER_INSTANCE/assets/vendor.js:8487:14)
    at XMLHttpRequest.<anonymous> 
(http://host:8080/views/TEZ/version/TEZ_CLUSTER_INSTANCE/assets/vendor.js:8826:9)
{/code}
There is an extra 'tez' in the rest api call :
/ws/v1/timeline/TEZ_APPLICATION/tez_tez_application_1470238058937_0033?_=1470263740945



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

Reply via email to