hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kumar r <kumarlear...@gmail.com>
Subject HDFS ACL recursive not working for WEBHDFS REST API
Date Wed, 15 Jul 2015 07:31:57 GMT
Working on Hadoop-2.6.0, enabled HDFS ACLs. When trying through command
line, recursive -R working correctly but when using REST API, its not
working

*hadoop fs -setfacl -x -R default:group:HadoopUsers /test1*


The above command working correctly but when trying with REST API,
recursive not working. ACL removed only for specified directory "test1" but
not for sub directories.

*curl -i -X PUT
"http://<HOST>:<PORT>/webhdfs/v1/test1?op=REMOVEACLENTRIES&aclspec=default:group:HadoopUsers:&recursive=true*

Do i missed anything? How to use recursive in REST API?

Mime
View raw message