hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tarun Parimi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-8627) EntityGroupFSTimelineStore hdfs done directory keeps on accumulating
Date Mon, 08 Oct 2018 06:50:00 GMT

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

Tarun Parimi commented on YARN-8627:
------------------------------------

Had a discussion with [~rohithsharma] offline. Summarizing our discussion here.

bq. Does this happening in HDFS or any other Filesystem?
I have only observed this in hdfs /ats/done directories.

bq. Does the cluster is enabled with yarn.timeline-service.entity-group-fs-store.with-user-dir
flag?
{{yarn.timeline-service.entity-group-fs-store.with-user-dir}} is not set.

The recursive delete logic of /ats/done is however bugged. Since this patch fixes it without
any side affects, can we fix the root cause in another jira? 

I am still trying to get contents of the log files as I currently don't have access to the
cluster and I am not able to reproduce these domain log files in my local. Will share it as
soon as I get them and we can have separate jira for that if its fine.

 

> EntityGroupFSTimelineStore hdfs done directory keeps on accumulating
> --------------------------------------------------------------------
>
>                 Key: YARN-8627
>                 URL: https://issues.apache.org/jira/browse/YARN-8627
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: timelineserver
>    Affects Versions: 2.8.0
>            Reporter: Tarun Parimi
>            Assignee: Tarun Parimi
>            Priority: Major
>         Attachments: YARN-8627.001.patch, YARN-8627.002.patch
>
>
> The EntityLogCleaner threads exits with the following ERROR every time it runs.  
> {code:java}
> 2018-07-18 19:59:39,837 INFO timeline.EntityGroupFSTimelineStore (EntityGroupFSTimelineStore.java:cleanLogs(462))
- Deleting hdfs://namenode/ats/done/1499684568068/0000/018/application_1499684568068_18268
> 2018-07-18 19:59:39,844 INFO timeline.EntityGroupFSTimelineStore (EntityGroupFSTimelineStore.java:cleanLogs(462))
- Deleting hdfs://namenode/ats/done/1499684568068/0000/018/application_1499684568068_18270
> 2018-07-18 19:59:39,848 ERROR timeline.EntityGroupFSTimelineStore (EntityGroupFSTimelineStore.java:run(899))
- Error cleaning files  java.io.FileNotFoundException: File hdfs://namenode/ats/done/1499684568068/0000/018/application_1499684568068_18270
does not exist.  at org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.<init>(DistributedFileSystem.java:1062) 
at org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.<init>(DistributedFileSystem.java:1069) 
at org.apache.hadoop.hdfs.DistributedFileSystem$DirListingIterator.<init>(DistributedFileSystem.java:1040) 
at org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1019) 
at org.apache.hadoop.hdfs.DistributedFileSystem$23.doCall(DistributedFileSystem.java:1015) 
at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)  at
org.apache.hadoop.hdfs.DistributedFileSystem.listStatusIterator(DistributedFileSystem.java:1015) 
at org.apache.hadoop.yarn.server.timeline.EntityGroupFSTimelineStore.shouldCleanAppLogDir(EntityGroupFSTimelineStore.java:480) 
> {code}
>  
>  Each time the thread gets scheduled, it is a different folder encountering the error.
As a result, the thread is not able to clean all the old done directories, since it stops
after this error. 



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

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


Mime
View raw message