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

Chen Liang commented on HDFS-14035:
-----------------------------------

Thanks for the follow up [~xkrogen] [~csun].
bq. seem we need to fix some tests though
I checked and could not see anything this is related, more like related to 
HDFS-14047. Will check for the other junit tests.
bq. Why is the change in CMakeLists.txt necessary?
This is to let CMake create header files from proto file for compiling native 
client. This is to solve the compilation issue found in v006 patch.
bq. Maybe add a TODO and/or throw an UnsupportedOperationException to the no-op 
in RouterClientProtocol ?
Calling {{rpcServer.checkOperation}} with supported = false will cause the call 
to throw UnsupportedOperationException. This does seem counter intuitive and 
odd...but seems to be what the other unsupported ops are handled in 
RouterRpcServer.

> NN status discovery does not leverage delegation token
> ------------------------------------------------------
>
>                 Key: HDFS-14035
>                 URL: https://issues.apache.org/jira/browse/HDFS-14035
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>            Priority: Major
>         Attachments: HDFS-14035-HDFS-12943.001.patch, 
> HDFS-14035-HDFS-12943.002.patch, HDFS-14035-HDFS-12943.003.patch, 
> HDFS-14035-HDFS-12943.004.patch, HDFS-14035-HDFS-12943.005.patch, 
> HDFS-14035-HDFS-12943.006.patch, HDFS-14035-HDFS-12943.007.patch, 
> HDFS-14035-HDFS-12943.008.patch, HDFS-14035-HDFS-12943.009.patch, 
> HDFS-14035-HDFS-12943.010.patch, HDFS-14035-HDFS-12943.011.patch
>
>
> Currently ObserverReadProxyProvider uses 
> {{HAServiceProtocol#getServiceStatus}} to get the status of each NN. However 
> {{HAServiceProtocol}} does not leverage delegation token. So when running an 
> application on YARN and when YARN node manager makes this call 
> getServiceStatus, token authentication will fail, causing the application to 
> fail.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to