You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Paul Lin (Jira)" <ji...@apache.org> on 2021/01/16 10:00:04 UTC

[jira] [Created] (FLINK-20997) YarnTestBaseTest fails due to NPE

Paul Lin created FLINK-20997:
--------------------------------

             Summary: YarnTestBaseTest fails due to NPE
                 Key: FLINK-20997
                 URL: https://issues.apache.org/jira/browse/FLINK-20997
             Project: Flink
          Issue Type: Bug
          Components: Deployment / YARN, Tests
    Affects Versions: 1.11.3, 1.12.0
            Reporter: Paul Lin
         Attachments: 截屏2021-01-16 17.51.54.png

YarnTestBase finds classpaths generated by Maven dependency plugin in `package` phase, but YarnTestBaseTest is a unit test that executed in `test` phase (which is before `package`),   so it's unable to find `yarn.classpath` and causes NPE.



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