You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by Dmitry Uskov <dm...@gmail.com> on 2021/01/18 12:17:24 UTC

How to distinguish files and folders in Ranger HDFS lookups

Hi,

Apache Ranger provides a mechanism to lookup controlled resources via
/service/plugins/lookupResource method. For HDFS it returns list of files
and directories under a directory matching a pattern provided by
'userinput' parameter.
Unfortunately there are no attributes in the server's reply. Is there a way
to distinguish files and directories in the reply?

Regards
Dmitry