<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Housekeeping of files under hdfs dfs command permission issue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Housekeeping-of-files-under-hdfs-dfs-command-permission/m-p/346126#M234764</link>
    <description>&lt;P&gt;I'm trying to housekeep our hdfs filesystem and found alot of very old files that are owned by spark user. I don't remember creating a spark user that would generate these files, hence when I invoke an hdfs dfs -rm -R files...it's giving me a file ownership/permission error.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there any work around I can bypass this? just like sudo in unix? Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 07:54:26 GMT</pubDate>
    <dc:creator>Grumash</dc:creator>
    <dc:date>2026-04-21T07:54:26Z</dc:date>
    <item>
      <title>Housekeeping of files under hdfs dfs command permission issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Housekeeping-of-files-under-hdfs-dfs-command-permission/m-p/346126#M234764</link>
      <description>&lt;P&gt;I'm trying to housekeep our hdfs filesystem and found alot of very old files that are owned by spark user. I don't remember creating a spark user that would generate these files, hence when I invoke an hdfs dfs -rm -R files...it's giving me a file ownership/permission error.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there any work around I can bypass this? just like sudo in unix? Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:54:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Housekeeping-of-files-under-hdfs-dfs-command-permission/m-p/346126#M234764</guid>
      <dc:creator>Grumash</dc:creator>
      <dc:date>2026-04-21T07:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Housekeeping of files under hdfs dfs command permission issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Housekeeping-of-files-under-hdfs-dfs-command-permission/m-p/346127#M234765</link>
      <description>&lt;P&gt;rm: Failed to move to trash: hdfs://aascmuatns1/data/farecard-batch-mgmt04/filelocations/part-r-00000-fffc9580-c310-44c2-9090-73ecf3133133: Permission denied: user=cdp_svc_fc_03, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above the error I'm getting, which I believe is expected.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 09:18:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Housekeeping-of-files-under-hdfs-dfs-command-permission/m-p/346127#M234765</guid>
      <dc:creator>Grumash</dc:creator>
      <dc:date>2022-06-22T09:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Housekeeping of files under hdfs dfs command permission issue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Housekeeping-of-files-under-hdfs-dfs-command-permission/m-p/346600#M234930</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98731"&gt;@Grumash&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe&amp;nbsp;&lt;SPAN&gt;user=cdp_svc_fc_03 is the spark user which no longer exists. So when you are trying&amp;nbsp;to move the file into the trash folder in the home dir, its failing to create the home dir. You need to create the home dir as the super user (hdfs), then chown it to cdp_svc_fc_03, then it should work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 10:41:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Housekeeping-of-files-under-hdfs-dfs-command-permission/m-p/346600#M234930</guid>
      <dc:creator>rki_</dc:creator>
      <dc:date>2022-06-30T10:41:58Z</dc:date>
    </item>
  </channel>
</rss>

