[
https://issues.apache.org/jira/browse/YARN-1472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839038#comment-13839038
]
Tsuyoshi OZAWA commented on YARN-1472:
--------------------------------------
Thank you for reporting, [~shenhong]. IIUC, the code you pointed out is for
avoiding getting illegal property such as "hadoop.proxyuser..groups".
Configuration.getValByRegex(regex) only checks keys by using regular
expression, and it doesn't check its values.
> TestCase failed at username with “.”
> ------------------------------------
>
> Key: YARN-1472
> URL: https://issues.apache.org/jira/browse/YARN-1472
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.2.0
> Reporter: shenhong
>
> When I run a testcase by user yuling.sh :
> {code}
> mvn test -Dtest=TestFileSystemAccessService#createFileSystem
> {code}
> it will failed with exception :
> {code}
> org.apache.hadoop.ipc.RemoteException: User: yuling.sh is not allowed to
> impersonate u
> at org.apache.hadoop.ipc.Client.call(Client.java:1412)
> at org.apache.hadoop.ipc.Client.call(Client.java:1365)
> at
> org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:212)
> at $Proxy17.mkdirs(Unknown Source)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)