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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)