You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2023/08/01 12:59:00 UTC
[jira] [Created] (YARN-11546) NPE in TestTimelineAuthFilterForV2
Steve Loughran created YARN-11546:
-------------------------------------
Summary: NPE in TestTimelineAuthFilterForV2
Key: YARN-11546
URL: https://issues.apache.org/jira/browse/YARN-11546
Project: Hadoop YARN
Issue Type: Bug
Components: test
Affects Versions: 3.4.0
Reporter: Steve Loughran
NPE in some yetus tests
```
java.lang.NullPointerException
at org.apache.hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2.readEntityFile(TestTimelineAuthFilterForV2.java:314)
at org.apache.hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2.verifyEntity(TestTimelineAuthFilterForV2.java:287)
at org.apache.hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2.testPutTimelineEntities(TestTimelineAuthFilterForV2.java:441)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62
```
the actual line is reader.close() in finally; this will trigger an NPE if reader == null, i.e. file opening failed.
Something else has gone wrong, but this NPE is hiding it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org