You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "SwathiChandrashekar (Jira)" <ji...@apache.org> on 2021/08/22 17:06:00 UTC

[jira] [Comment Edited] (YARN-10884) EntityGroupFSTimelineStore fails to parse log files which has empty owner

    [ https://issues.apache.org/jira/browse/YARN-10884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17402838#comment-17402838 ] 

SwathiChandrashekar edited comment on YARN-10884 at 8/22/21, 5:05 PM:
----------------------------------------------------------------------

PR for the fix: 

[https://github.com/apache/hadoop/pull/3318]

 


was (Author: swathi chandrashekar):
[https://github.com/apache/hadoop/pull/3318]

 

> EntityGroupFSTimelineStore fails to parse log files which has empty owner
> -------------------------------------------------------------------------
>
>                 Key: YARN-10884
>                 URL: https://issues.apache.org/jira/browse/YARN-10884
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: timelineserver
>    Affects Versions: 3.3.1
>            Reporter: Prabhu Joseph
>            Assignee: SwathiChandrashekar
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.3.1
>
>
> Due to [HADOOP-17848|https://issues.apache.org/jira/browse/HADOOP-17848] - Wasb FileSystem sets owner as empty during append operation. 
> ATS1.5 fails to read such files with below error 
> {code:java}
>  java.lang.IllegalArgumentException: Null user
>         at org.apache.hadoop.security.UserGroupInformation.createRemoteUser(UserGroupInformation.java:1271)
>         at org.apache.hadoop.security.UserGroupInformation.createRemoteUser(UserGroupInformation.java:1258)
>         at org.apache.hadoop.yarn.server.timeline.LogInfo.parsePath(LogInfo.java:141)
>         at org.apache.hadoop.yarn.server.timeline.LogInfo.parseForStore(LogInfo.java:114)
>         at org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore$AppLogs.parseSummaryLogs(EntityGroupFSTimelineStore.java:701)
>         at org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore$AppLogs.parseSummaryLogs(EntityGroupFSTimelineStore.java:675)
>         at org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore$ActiveLogParser.run(EntityGroupFSTimelineStore.java:888)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748){code}
> It gets ownership of the file to check ACL. In case of disabled ACL check, this is not required. Will suggest to add anonymous user in case of empty user.
> {code}
>     if (owner.isEmpty()) {
>       user = "anonymous";
>     } else {
>       user = owner;
>     }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org