[ https://issues.apache.org/jira/browse/HDFS-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13972327#comment-13972327 ]
Haohui Mai commented on HDFS-6210: ---------------------------------- It looks to me that the functionality requires more coverage from the unit tests. Here are a few examples cases that need to be tested: # A file without ACL # A file with a default ACL # A file with several ACL entries What I suggest is to create a new java class (e.g., TestWebImageViewerForACL) to cover the above cases. Please refer to the unit tests for ACLs to create a comprehensive test. > Support GETACLSTATUS operation in WebImageViewer > ------------------------------------------------ > > Key: HDFS-6210 > URL: https://issues.apache.org/jira/browse/HDFS-6210 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: tools > Affects Versions: 2.5.0 > Reporter: Akira AJISAKA > Assignee: Akira AJISAKA > Attachments: HDFS-6210.patch, HDFS-6210.patch > > > In HDFS-6170, I found {{GETACLSTATUS}} operation support is also required to > execute "hdfs dfs -ls" to WebImageViewer. > {code} > [root@trunk ~]# hdfs dfs -ls webhdfs://localhost:5978/ > 14/04/09 11:53:04 WARN util.NativeCodeLoader: Unable to load native-hadoop > library for your platform... using builtin-java classes where applicable > Found 1 items > ls: Unexpected HTTP response: code=400 != 200, op=GETACLSTATUS, message=Bad > Request > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)