[ https://issues.apache.org/jira/browse/YARN-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667438#comment-15667438 ]
Steven Rand commented on YARN-5753: ----------------------------------- I'm seeing the same error in a spark-shell with Spark built against branch-2. What are people's thoughts on backporting this patch to branch-2? If this makes sense, should I create a separate JIRA, or can it be done as part of this one? > fix NPE in AMRMClientImpl.getMatchingRequests() > ----------------------------------------------- > > Key: YARN-5753 > URL: https://issues.apache.org/jira/browse/YARN-5753 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn > Affects Versions: 3.0.0-alpha1 > Reporter: Haibo Chen > Assignee: Haibo Chen > Fix For: 3.0.0-alpha2 > > Attachments: yarn5753.001.patch, yarn5753.002.patch > > > {code:java} > RemoteRequestsTable remoteRequestsTable = getTable(0); > List<ResourceRequestInfo<T>> matchingRequests = > remoteRequestsTable.getMatchingRequests(priority, resourceName, > executionType, capability); > {code} > remoteRequestsTable can be null, causing NPE. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org