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

Hadoop QA commented on HDFS-14129:
----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  
0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  8s{color} 
| {color:red} HDFS-14129 does not apply to HDFS-13891. Rebase required? Wrong 
Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HDFS-14129 |
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12954763/HDFS-14129-HDFS-13891.010.patch
 |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/25974/console |
| Powered by | Apache Yetus 0.8.0   http://yetus.apache.org |


This message was automatically generated.



> RBF: Create new policy provider for router
> ------------------------------------------
>
>                 Key: HDFS-14129
>                 URL: https://issues.apache.org/jira/browse/HDFS-14129
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>    Affects Versions: HDFS-13532
>            Reporter: Surendra Singh Lilhore
>            Assignee: Ranith Sardar
>            Priority: Major
>         Attachments: HDFS-14129-HDFS-13891.001.patch, 
> HDFS-14129-HDFS-13891.002.patch, HDFS-14129-HDFS-13891.003.patch, 
> HDFS-14129-HDFS-13891.004.patch, HDFS-14129-HDFS-13891.005.patch, 
> HDFS-14129-HDFS-13891.006.patch, HDFS-14129-HDFS-13891.006.patch, 
> HDFS-14129-HDFS-13891.007.patch, HDFS-14129-HDFS-13891.008.patch, 
> HDFS-14129-HDFS-13891.008.patch, HDFS-14129-HDFS-13891.009.patch, 
> HDFS-14129-HDFS-13891.010.patch
>
>
> Router is usingĀ *{{HDFSPolicyProvider}}*. We can't add new protocol in this 
> class for router, its better to create in policy provider for Router.
> {code:java}
> // Set service-level authorization security policy
> if (conf.getBoolean(HADOOP_SECURITY_AUTHORIZATION, false)) {
> this.adminServer.refreshServiceAcl(conf, new HDFSPolicyProvider());
> }
> {code}
> I got this issue when I am verified HDFS-14079 with secure cluster.
> {noformat}
> ./bin/hdfs dfsrouteradmin -ls /
> ls: Protocol interface org.apache.hadoop.hdfs.protocolPB.RouterAdminProtocol 
> is not known.
> org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException):
>  Protocol interface org.apache.hadoop.hdfs.protocolPB.RouterAdminProtocol is 
> not known.
>         at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1520)
>         at org.apache.hadoop.ipc.Client.call(Client.java:1466)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to