[ https://issues.apache.org/jira/browse/HADOOP-5363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689234#action_12689234 ]
zhiyong zhang commented on HADOOP-5363: --------------------------------------- That's a good suggestion. Further, to make it more clear and readable in structure, I would think to make ProxyForwardServlet only handle forwarding cases. Then make a new servlet named ProxyFileServlet.java, which is parallel to ProxyListPathsServlet, ProxyFileDataServlet, and ProxyStreamFile. ProxyFileServlet will handle /file requests and internally it will make a single redirect request to ProxyStreamFile. By doing that, we move the support to "/file" requests to each proxy version (18, 20, 21, etc) instead of the forwarding part. Then the forwarding functionality will be independent of each proxy versions and can be deployed in a standalone fashion. > Proxying for multiple HDFS clusters of different versions > --------------------------------------------------------- > > Key: HADOOP-5363 > URL: https://issues.apache.org/jira/browse/HADOOP-5363 > Project: Hadoop Core > Issue Type: New Feature > Components: contrib/hdfsproxy > Reporter: Kan Zhang > Assignee: zhiyong zhang > Attachments: HADOOP-5363.patch, HADOOP-5363.patch, HADOOP-5363.patch > > > A single hdfsproxy server should be able to proxy for multiple HDFS clusters, > whose Hadoop versions may be different from each other. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.