Created on 05-21-2019 09:54 PM - edited 05-22-2019 06:39 AM
I use kerberized cluster backed by openldap using sssd on centos7
and I configured user as following.
[root@localhost sssd]# hdfs groups zako zako : datalaker [root@localhost sssd]# hadoop org.apache.hadoop.security.UserGroupInformation Getting UGI for current user User: zako/localhost.localadmin@YUKI.COM Group Ids: Groups: datalaker UGI: zako/localhost.localadmin@YUKI.COM (auth:KERBEROS) Auth method KERBEROS Keytab false ============================================================ [root@localhost sssd]# id -gn zako datalaker [root@localhost sssd]# id -Gn zako datalaker
I expected zako:datalaker as user:group by executing hadoop mkdir command.
however , I got an following result.
[root@localhost sssd]# hadoop fs -mkdir /tmp/hoge && hadoop fs -ls /tmp && hadoop fs -rmr -skipTrash /tmp/hoge Found 4 items d--------- - hdfs supergroup 0 2019-05-07 23:57 /tmp/.cloudera_health_monitoring_canary_files drwx-wx-wx - hive supergroup 0 2019-05-05 13:51 /tmp/hive drwxr-xr-x - zako supergroup 0 2019-05-22 10:43 /tmp/hoge <- zako:datalaker is that I excpect.. drwxrwxrwt - mapred hadoop 0 2019-05-05 13:39 /tmp/logs rmr: DEPRECATED: Please use '-rm -r' instead. Deleted /tmp/hoge
How can I rectify the problem.
Thanks,Yuki