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

Zhijie Shen updated YARN-2529:
------------------------------
    Attachment: YARN-2529.1.patch

I created a patch to make application history protocol use timeline policy when 
service authorization is enabled. It's not straightforward to add the test 
cases on top of TestApplicationHistoryClientService, but I've manually verify 
it on my local single-node cluster.

> Generic history service RPC interface doesn't work when service authorization 
> is enabled
> ----------------------------------------------------------------------------------------
>
>                 Key: YARN-2529
>                 URL: https://issues.apache.org/jira/browse/YARN-2529
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: timelineserver
>            Reporter: Zhijie Shen
>            Assignee: Zhijie Shen
>         Attachments: YARN-2529.1.patch
>
>
> Here's the problem shown in the log:
> {code}
> 14/09/10 10:42:44 INFO ipc.Server: Connection from 10.22.2.109:55439 for 
> protocol org.apache.hadoop.yarn.api.ApplicationHistoryProtocolPB is 
> unauthorized for user zshen (auth:SIMPLE)
> 14/09/10 10:42:44 INFO ipc.Server: Socket Reader #1 for port 10200: 
> readAndProcess from client 10.22.2.109 threw exception 
> [org.apache.hadoop.security.authorize.AuthorizationException: Protocol 
> interface org.apache.hadoop.yarn.api.ApplicationHistoryProtocolPB is not 
> known.]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to