Shilun Fan created YARN-11642:
---------------------------------

             Summary: Fix Flask Test 
TestTimelineAuthFilterForV2#testPutTimelineEntities
                 Key: YARN-11642
                 URL: https://issues.apache.org/jira/browse/YARN-11642
             Project: Hadoop YARN
          Issue Type: Improvement
          Components: timelineservice
    Affects Versions: 3.5.0
            Reporter: Shilun Fan
            Assignee: Shilun Fan


Our current unit tests are all executed in parallel. 
TestTimelineAuthFilterForV2#testPutTimelineEntities will report an error during 
execution:

{code:java}
[main] collector.PerNodeTimelineCollectorsAuxService 
(StringUtils.java:startupShutdownMessage(755)) - failed to register any UNIX 
signal loggers: 
java.lang.IllegalStateException: Can't re-install the signal handlers.
{code}

We can solve this problem by changing static initialization to new Object.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to