[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7248?focusedWorklogId=646266&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-646266
 ]

ASF GitHub Bot logged work on MAPREDUCE-7248:
---------------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Sep/21 11:55
            Start Date: 03/Sep/21 11:55
    Worklog Time Spent: 10m 
      Work Description: caneGuy closed pull request #1713:
URL: https://github.com/apache/hadoop/pull/1713


   


-- 
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: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 646266)
    Remaining Estimate: 0h
            Time Spent: 10m

> Catch RuntimeException in yarn historyserver 
> ---------------------------------------------
>
>                 Key: MAPREDUCE-7248
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7248
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobhistoryserver
>            Reporter: zhoukang
>            Priority: Major
>         Attachments: YARN-9973.001.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When we got exception below the thread in jobhisotry will exit, we should 
> catch runtime exception 
> {code:java}
> xxx 2019-06-30,17:45:52,386 ERROR 
> org.apache.hadoop.hdfs.server.namenode.ha.ZkConfiguredFailoverProxyProvider: 
> Fail to get initial active Namenode informationjava.lang.RuntimeException: 
> Fail to get active namenode from zookeeper
>         at 
> org.apache.hadoop.hdfs.server.namenode.ha.ZkConfiguredFailoverProxyProvider.getActiveNNIndex(ZkConfiguredFailoverProxyProvider.java:149)
>         at 
> org.apache.hadoop.hdfs.server.namenode.ha.ZkConfiguredFailoverProxyProvider.performFailover(ZkConfiguredFailoverProxyProvider.java:176)
>         at 
> org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:159)
>         at $Proxy15.getListing(Unknown Source)
>         at org.apache.hadoop.hdfs.DFSClient.listPaths(DFSClient.java:1996)
>         at org.apache.hadoop.fs.Hdfs$DirListingIterator.<init>(Hdfs.java:211)
>         at org.apache.hadoop.fs.Hdfs$DirListingIterator.<init>(Hdfs.java:198)
>         at org.apache.hadoop.fs.Hdfs$2.<init>(Hdfs.java:180)
>         at org.apache.hadoop.fs.Hdfs.listStatusIterator(Hdfs.java:180)
>         at org.apache.hadoop.fs.FileContext$21.next(FileContext.java:1445)
>         at org.apache.hadoop.fs.FileContext$21.next(FileContext.java:1440)
>         at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
>         at org.apache.hadoop.fs.FileContext.listStatus(FileContext.java:1440)
>         at 
> org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.scanDirectory(HistoryFileManager.java:739)
>         at 
> org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.scanDirectoryForHistoryFiles(HistoryFileManager.java:752)
>         at 
> org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.scanIntermediateDirectory(HistoryFileManager.java:806)
>         at 
> org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.access$200(HistoryFileManager.java:82)
>         at 
> org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager$UserLogDir.scanIfNeeded(HistoryFileManager.java:280)
>         at 
> org.apache.hadoop.mapreduce.v2.hs.HistoryFileManager.scanIntermediateDirectory(HistoryFileManager.java:792)
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to