[ https://issues.apache.org/jira/browse/HDFS-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508315#comment-13508315 ]
Harsh J commented on HDFS-3801: ------------------------------- Any comments on the patch? It provides a toggle that disables all browsable (i.e. linked/navigable) pages and carries a simple test as well. > Provide a way to disable browsing of files from the web UI > ---------------------------------------------------------- > > Key: HDFS-3801 > URL: https://issues.apache.org/jira/browse/HDFS-3801 > Project: Hadoop HDFS > Issue Type: Improvement > Components: namenode > Affects Versions: 2.0.0-alpha > Reporter: Harsh J > Assignee: Harsh J > Priority: Minor > Attachments: HDFS-3801.patch > > > A few times we've had requests from users who wish to disable browsing of the > filesystem in the web UI completely, while keeping other servlet > functionality enabled (such as fsck, etc.). Right now, the cheap way to do > this is by blocking out the DN web port (50075) from access by clients, but > that also hampers HFTP transfers. > We should instead provide a toggle config for the JSPs to use and disallow > browsing if the toggle's enabled. The config can be true by default, to not > change the behavior. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira