[ https://issues.apache.org/jira/browse/KNOX-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16464813#comment-16464813 ]
ASF subversion and git services commented on KNOX-1297: ------------------------------------------------------- Commit 11796c96b7a8d257bd0376b646c413792093efb4 in knox's branch refs/heads/master from [~lmccay] [ https://git-wip-us.apache.org/repos/asf?p=knox.git;h=11796c9 ] KNOX-1297 - HDFSUI Requires its own HA Dispatch Provider > HDFSUI Requires its own HA Dispatch Provider > -------------------------------------------- > > Key: KNOX-1297 > URL: https://issues.apache.org/jira/browse/KNOX-1297 > Project: Apache Knox > Issue Type: Bug > Components: Server > Reporter: Larry McCay > Assignee: Larry McCay > Priority: Major > Fix For: 1.1.0 > > > HDFSUI has been trying to reuse the WEBHDFS HA dispatch class for HA support. > The problem is that the WebHdfsHaDispatch is hardcoded for the WEBHDFS > resource role. Therefore, the marking of the failed URL is always done to the > set of URLs for the WEBHDFS service. > Thus, at URL rewrite time for dispatching to the backend service the HDFSUI > URL is always rewritten to the first URL. > This patch will extract a base class from the WebHdfsHaDispatch and provide > an abstract getResourceRole() method for derived classes to implement. This > provides very thin extensions of the abstract base and decent reuse for > HDFSUI and WebHDFS API. > -- This message was sent by Atlassian JIRA (v7.6.3#76005)