### Verify Ranger HDFS Policy Source: https://www.volcengine.com/docs/6410/72227 Use these shell commands to test if the configured Ranger policy correctly grants access to the specified HDFS directory for the hive user. ```shell # 切换到管理员账号 su hdfs hdfs dfs -mkdir /user/ranger_test hdfs dfs -chmod 000 /user/ranger_test # 切换账号到 hive,因为已经配置了 hive 任意目录到权限,所以可以访问 /user/ranger_test su hive hdfs dfs -ls /user/ranger_test ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.