[ https://issues.apache.org/jira/browse/HADOOP-12405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14744241#comment-14744241 ]
Colin Patrick McCabe commented on HADOOP-12405: ----------------------------------------------- webhdfs has different goals than NN RPC. In particular, NN RPC can be changed in incompatible ways in a major release, whereas webhdfs cannot. One of the main purposes of webhdfs was to provide a stable API for doing distcp across versions. I do not think we should expose NN RPC calls directly unless we can find some way to address this. > Expose NN RPC via HTTP / HTTPS > ------------------------------ > > Key: HADOOP-12405 > URL: https://issues.apache.org/jira/browse/HADOOP-12405 > Project: Hadoop Common > Issue Type: New Feature > Reporter: Haohui Mai > > WebHDFS needs to expose NN RPC calls to allow users to access HDFS via HTTP / > HTTPS. > The current approach is to add REST APIs into WebHDFS one by one manually. It > requires significant efforts from a maintainability point of view. we found > that WebHDFS is consistently lagging behind. It's also hard to maintain the > REST RPC stubs. > There are a lot of values to expose the NN RPC in a HTTP / HTTPS friendly way > automatically. -- This message was sent by Atlassian JIRA (v6.3.4#6332)