You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/04/07 08:16:00 UTC
[jira] [Updated] (HDDS-11074) Ozone group changes on kinit user
[ https://issues.apache.org/jira/browse/HDDS-11074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-11074:
----------------------------------
Labels: pull-request-available (was: )
> Ozone group changes on kinit user
> ---------------------------------
>
> Key: HDDS-11074
> URL: https://issues.apache.org/jira/browse/HDDS-11074
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI
> Reporter: Soumitra Sulav
> Assignee: Tanvi Penumudy
> Priority: Major
> Labels: pull-request-available
>
> After a recent change via HDDS-7577, the owner field persisted on kinit with different users.
> But the same doesn't apply to groups. The group changes with Kerberos authenticated user or the user the command is running with.
> The behavior is still not correct and as aligned as HDFS.
> HDFS behavior:
> {code:java}
> [root@ccycloud-1.quasar-nqoxql.root.comops.site ~]# kinit -kt /home/hrt_qa/hadoopqa/keytabs/hrt_qa.keytab hrt_qa
> [root@ccycloud-1.quasar-nqoxql.root.comops.site ~]# hdfs dfs -mkdir /tmp/test
> [root@ccycloud-1.quasar-nqoxql.root.comops.site ~]# hdfs dfs -put anaconda-ks.cfg /tmp/test
> [root@ccycloud-1.quasar-nqoxql.root.comops.site ~]# hdfs dfs -ls /tmp/test
> Found 1 items
> -rw-r--r-- 3 hrt_qa supergroup 8884 2024-06-26 16:07 /tmp/test/anaconda-ks.cfg
> [root@ccycloud-1.quasar-nqoxql.root.comops.site ~]# kinit -kt /home/hrt_qa/hadoopqa/keytabs/hdfs.keytab hdfs
> [root@ccycloud-1.quasar-nqoxql.root.comops.site ~]# hdfs dfs -ls /tmp/test
> Found 1 items
> -rw-r--r-- 3 hrt_qa supergroup 8884 2024-06-26 16:07 /tmp/test/anaconda-ks.cfg{code}
> Ozone behavior:
> {code:java}
> [root@ccycloud-1.quasar-abgina.root.comops.site ~]# kinit -kt /home/hrt_qa/hadoopqa/keytabs/hrt_qa.keytab hrt_qa
> [root@ccycloud-1.quasar-abgina.root.comops.site ~]# ozone fs -mkdir -p ofs://ozone1719380598/test/test
> ..
> [root@ccycloud-1.quasar-abgina.root.comops.site ~]# ozone fs -put anaconda-ks.cfg ofs://ozone1719380598/test/test
> ..
> [root@ccycloud-1.quasar-abgina.root.comops.site ~]# ozone fs -ls ofs://ozone1719380598/test/test
> Found 1 items
> -rw-rw-rw- 3 hrt_qa hrt_qa 8884 2024-06-26 16:22 ofs://ozone1719380598/test/test/anaconda-ks.cfg
> [root@ccycloud-1.quasar-abgina.root.comops.site ~]# kinit -kt /home/hrt_qa/hadoopqa/keytabs/hdfs.keytab hdfs
> [root@ccycloud-1.quasar-abgina.root.comops.site ~]# ozone fs -ls ofs://ozone1719380598/test/test
> Found 1 items
> -rw-rw-rw- 3 hrt_qa hdfs 8884 2024-06-26 16:22 ofs://ozone1719380598/test/test/anaconda-ks.cfg
> [root@ccycloud-1.quasar-abgina.root.comops.site ~]# kinit -kt /home/hrt_qa/hadoopqa/keytabs/om.keytab om
> [root@ccycloud-1.quasar-abgina.root.comops.site ~]# ozone fs -ls ofs://ozone1719380598/test/test
> Found 1 items
> -rw-rw-rw- 3 hrt_qa om 8884 2024-06-26 16:22 ofs://ozone1719380598/test/test/anaconda-ks.cfg{code}
> Group should not have changed on changing the kinit user.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org