drwx------. 2 3008912752 3008912752 64 May 15 14:42 testdir
drwxr-xr-x. 3 497 2584148964 96 May 15 14:42 .
[hadoopuser@hadoopclient hdfsmount]$ cd testdir
-bash: cd: testdir: Permission denied
On the node where Gateway is running, the Gateway code pulls the Unix name and Unix ID in a map after executing the command listed below. This map is automatically supposed to be refreshed but its not happening.
static final String LINUX_GET_ALL_GROUPS_CMD = "getent group | cut -d: -f1,3”;
I did not bounce the gateway. To confirm its a bug I recreated this bug in a different machine where I Installed CDH5. I was able to recreate the same issue in our Hadoop environment provided by you and in our development environment I had created the Unix Account with same UID in Name Node and Gateway as well.