Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.1
-
None
Description
ShortAppAttemptId displayed on the page was got by shortAppAttemptId()=> containerIdToAttemptIdontainerIdToAttemptId
shortAppAttemptId: function() { if (!this.get("containerId")) { return this.get("id"); } return "attempt_" + parseInt(Converter.containerIdToAttemptId(this.get("containerId")).split("_")[3]); }.property("containerId"),
containerIdToAttemptIdontainerIdToAttemptId: function(containerId) { if (containerId) { // containerId example : container_e73_1605851303713_0005_01_000001 // try to get the attempt id (marked in red), but the actual attempt id is *01* var arr = containerId.split('_'); var attemptId = ["appattempt", arr[1], arr[2], this.padding(arr[3], 6)]; return attemptId.join('_'); } },
Attachments
Attachments
Issue Links
- links to