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 "Rohith Sharma K S (JIRA)" <ji...@apache.org> on 2017/12/19 07:16:00 UTC

[jira] [Commented] (YARN-7032) [ATSv2] NPE while starting hbase co-processor

    [ https://issues.apache.org/jira/browse/YARN-7032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16296344#comment-16296344 ] 

Rohith Sharma K S commented on YARN-7032:
-----------------------------------------

I found that when HBase is enabled with authorization by configuring _hbase.coprocessor.region.classes_ with value _org.apache.hadoop.hbase.security.access.AccessController,_ makes RegionServer to go down along FlowRunCoprocessor. This is because when authorization is enabled, additional attributes are added to put#attributes map by AccessController. So FlowRunCoprocessor should handle null values before adding into tags

> [ATSv2] NPE while starting hbase co-processor
> ---------------------------------------------
>
>                 Key: YARN-7032
>                 URL: https://issues.apache.org/jira/browse/YARN-7032
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Rohith Sharma K S
>            Assignee: Rohith Sharma K S
>            Priority: Critical
>         Attachments: hbase-yarn-regionserver-ctr-e136-1513029738776-1405-01-000002.hwx.site.log
>
>
> It is seen randomly that hbase co-processor fails to start with NPE. But again starting RegionServer, able to succeed in starting RS. 
> {noformat}
> 2017-08-17 05:53:13,535 ERROR [RpcServer.FifoWFPBQ.priority.handler=18,queue=0,port=16020] coprocessor.CoprocessorHost: The coprocessor org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunCoprocessor threw java.lang.NullPointerException
> java.lang.NullPointerException
>         at org.apache.hadoop.hbase.Tag.fromList(Tag.java:187)
>         at org.apache.hadoop.yarn.server.timelineservice.storage.flow.FlowRunCoprocessor.prePut(FlowRunCoprocessor.java:102)
>         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$30.call(RegionCoprocessorHost.java:885)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org