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

Chesnay Schepler commented on FLINK-14337:
------------------------------------------

We know that 3 archives exist before the HistoryServer is started.

We also know it polls the directory every 100ms, so it should have plenty 
opportunities to fetch said archives; it seems unlikely that it just isn't able 
to fetch & extract them in time.

The logs that the HS hits an NPE:
{code}
java.lang.NullPointerException
        at 
org.apache.flink.runtime.history.FsJobArchivist.getArchivedJsons(FsJobArchivist.java:115)
        at 
org.apache.flink.runtime.webmonitor.history.HistoryServerArchiveFetcher$JobArchiveFetcherTask.run(HistoryServerArchiveFetcher.java:169)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        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}

Looking into it...

> HistoryServerTest.testHistoryServerIntegration failed on Travis
> ---------------------------------------------------------------
>
>                 Key: FLINK-14337
>                 URL: https://issues.apache.org/jira/browse/FLINK-14337
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.8.2, 1.9.0, 1.10.0
>            Reporter: Till Rohrmann
>            Priority: Critical
>              Labels: test-stability
>
> The {{HistoryServerTest.testHistoryServerIntegration}} failed on Travis with
> {code}
> [ERROR] testHistoryServerIntegration[Flink version less than 1.4: 
> false](org.apache.flink.runtime.webmonitor.history.HistoryServerTest)  Time 
> elapsed: 10.667 s  <<< FAILURE!
> java.lang.AssertionError: expected:<3> but was:<2>
> {code}
> https://api.travis-ci.org/v3/job/594533358/log.txt



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

Reply via email to