[ 
https://issues.apache.org/jira/browse/FLINK-20997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Lin updated FLINK-20997:
-----------------------------
    Description: YarnTestBase depends on 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.  (was: 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.)

> 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.12.0, 1.11.3
>            Reporter: Paul Lin
>            Priority: Major
>         Attachments: 截屏2021-01-16 17.51.54.png
>
>
> YarnTestBase depends on 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)

Reply via email to