<?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 Re: /user/accumulo permissions problem in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-accumulo-permissions-problem/m-p/23789#M4653</link>
    <description>&lt;P&gt;I figured out how to get around the permissions problem. Simply have to 'su' to the hdfs user, which is the super user for HDFS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@fatman ~]# su - hdfs&lt;/P&gt;&lt;P&gt;-bash-4.1$ hdfs fsck /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jan 2015 15:57:08 GMT</pubDate>
    <dc:creator>sjc34786</dc:creator>
    <dc:date>2015-01-16T15:57:08Z</dc:date>
    <item>
      <title>/user/accumulo permissions problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-accumulo-permissions-problem/m-p/23785#M4652</link>
      <description>&lt;P&gt;I'm trying to track down an "under replicated blocks" issue and ran into a permission problem. If I run 'fsck' here's what happens:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[admin@fatman ~t]$ hdfs fsck /&lt;/P&gt;&lt;P&gt;Connecting to namenode via &lt;A target="_blank" href="http://fatman.localdomain:50070"&gt;http://fatman.localdomain:50070&lt;/A&gt;&lt;/P&gt;&lt;P&gt;FSCK started by admin (auth:SIMPLE) from /10.1.1.10 for path / at Fri Jan 16 09:24:15 EST 2015&lt;/P&gt;&lt;P&gt;....................................................................................................&lt;/P&gt;&lt;P&gt;....................................................................................................&lt;/P&gt;&lt;P&gt;.............................................FSCK ended at Fri Jan 16 09:24:15 EST 2015 in 42 milliseconds&lt;/P&gt;&lt;P&gt;Permission denied: user=admin, access=READ_EXECUTE, inode="/user/accumulo/.Trash":accumulo:accumulo:drwx------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[admin@fatman ~]$ hadoop fs -ls /user/accumulo&lt;BR /&gt;Found 1 items&lt;BR /&gt;drwx------&amp;nbsp;&amp;nbsp; - accumulo accumulo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 2015-01-15 19:00 /user/accumulo/.Trash&lt;BR /&gt;[admin@fatman ~]$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This indicates that only the 'accumulo' user can access the directory. According to the /etc/passwd file the accumulo account does not support login and therefore I don't know how to become the accumulo user. Sounds like a trap to me!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From /etc/passwd:&lt;/P&gt;&lt;P&gt;accumulo:x:477:473:Accumulo:/var/lib/accumulo:/sbin/nologin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe at this point that I may have chased all the under replicated blocks into the trash folder. The Cloudera Manager idicates that I still have such blocks in HDFS (from the HDFS Health Test):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN class="testDescription"&gt;&lt;SPAN&gt;1,712 under replicated blocks in the cluster. 2,678 total blocks in the cluster. Percentage under replicated blocks: 63.93%. Critical threshold: 40.00%.&lt;/SPAN&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So...I'm nobody's sys admin...and I don't know where to go from here. Can anyone give me a hint about how to resolve this permissions issue?&amp;nbsp; A secondary question, is there a way I can empty the accumulo trash folder short of executing a file system command that would involve the aforementioned permission problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Environment: CDH5.3 with Accumulo installed using Cloudera Manager. Small cluster with 4 data nodes.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:19:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-accumulo-permissions-problem/m-p/23785#M4652</guid>
      <dc:creator>sjc34786</dc:creator>
      <dc:date>2022-09-16T09:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: /user/accumulo permissions problem</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-accumulo-permissions-problem/m-p/23789#M4653</link>
      <description>&lt;P&gt;I figured out how to get around the permissions problem. Simply have to 'su' to the hdfs user, which is the super user for HDFS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@fatman ~]# su - hdfs&lt;/P&gt;&lt;P&gt;-bash-4.1$ hdfs fsck /&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 15:57:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/user-accumulo-permissions-problem/m-p/23789#M4653</guid>
      <dc:creator>sjc34786</dc:creator>
      <dc:date>2015-01-16T15:57:08Z</dc:date>
    </item>
  </channel>
</rss>

