maheshrajus commented on code in PR #474:
URL: https://github.com/apache/tez/pull/474#discussion_r3381554980
##########
tez-plugins/tez-history-parser/src/main/java/org/apache/tez/history/parser/SimpleHistoryParser.java:
##########
@@ -255,8 +255,8 @@ protected void readEventsFromSource(String dagId,
JSONObjectSource source,
JSONObject subEntity = relatedEntities.getJSONObject(i);
String subEntityType = subEntity.optString(Constants.ENTITY_TYPE);
if (subEntityType != null && subEntityType.equals(Constants.USER))
{
- userName = subEntity.getString(Constants.ENTITY);
- break;
+ userName = subEntity.getString(Constants.ENTITY_ID);
+ break;
Review Comment:
@abstractdog Initially it was there only 2 spaces only. But checkstyle task
failed so i added extra spaces. Anyway let me revert this and check why the
checkstyle reported this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]