<?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: HBase snapshots as Map-reduce job input - permission denied in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27095#M5602</link>
    <description>&lt;P&gt;Thanks for the information. I have started the download of the VM. I will have it by tomorrow morning and will test the scenario.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, can you please clarify this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;The problem I am stuck with is that the initialisation (step 3) throws an exception about writing to /hbase/archive (!), after successfully &lt;STRONG&gt;creating the Region servers&lt;/STRONG&gt; for the restored snapshot, in the given tmp directory.&amp;nbsp;The exception is given below [3].&lt;/P&gt;&lt;P&gt;I can see in the job's output that &lt;STRONG&gt;regions servers&lt;/STRONG&gt; are created before the exception, and the files from the table restore stay in the directory.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean here by "Region servers"? This MR job should not create any region servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JM&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2015 05:12:00 GMT</pubDate>
    <dc:creator>jmspaggi</dc:creator>
    <dc:date>2015-05-07T05:12:00Z</dc:date>
    <item>
      <title>HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/26647#M5599</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if someone could explain what is going on internally when I use an HBase snapshot as input for map-reduce as explained in [1] (configured by `initTableSnapshotMapperJob` API described in [2]).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My app does the following&lt;/P&gt;&lt;P&gt;1 create a snapshot using the `HBaseAdmin` API&lt;/P&gt;&lt;P&gt;2 create a new HDFS directory in the user's home&lt;/P&gt;&lt;P&gt;3 calls `initTableSnapshotMapperJob` to configure a TableMapper job to run on the created&amp;nbsp;snapshot&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;(passing the new directory as the tmp restore directory)&lt;/P&gt;&lt;P&gt;4 sets a few more job parameters (the job creates HFiles for bulk import) and then waits for job completion&lt;/P&gt;&lt;P&gt;5 deletes the temporary directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I am stuck with is that the initialisation (step 3) throws an exception about writing to /hbase/archive (!), after successfully creating the Region servers for the restored snapshot, in the given tmp directory.&amp;nbsp;The exception is given below [3].&lt;/P&gt;&lt;P&gt;I can see in the job's output that regions servers are created before the exception, and the files from the table restore stay in the directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was not expecting hbase to *write* anything to the hbase directories when using a snapshot with an explicitly-given temporary directory to work with. What can I do to make this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All this is tested on a cloudera quickstart VM, btw., but that should not really matter IMHO.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]&amp;nbsp;&lt;A target="_blank" href="http://www.slideshare.net/enissoz/mapreduce-over-snapshots"&gt;http://www.slideshare.net/enissoz/mapreduce-over-snapshots&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[2]&amp;nbsp;&lt;A target="_blank" href="https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html#initTableSnapshotMapperJob(java.lang.String,%20org.apache.hadoop.hbase.client.Scan,%20java.lang.Class,%20java.lang.Class,%20java.lang.Class,%20org.apache.hadoop.mapreduce.Job,%20boolean,%20org.apache.hadoop.fs.Path)"&gt;https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.html#initTableSnapshotMapperJob(java.lang.String,%20org.apache.hadoop.hbase.client.Scan,%20java.lang.Class,%20java.lang.Class,%20java.lang.Class,%20org.apache.hadoop.mapreduce.Job,%20boolean,%20org.apache.hadoop.fs.Path)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;[3]&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;java.util.concurrent.ExecutionException: org.apache.hadoop.security.AccessControlException: Permission denied: user=cloudera, access=WRITE, inode="/hbase/archive":hbase:supergroup:drwxr-xr-x&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(DefaultAuthorizationProvider.java:257)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check(DefaultAuthorizationProvider.java:238)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check(DefaultAuthorizationProvider.java:216)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkPermission(DefaultAuthorizationProvider.java:145)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:138)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:6286)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:6268)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkAncestorAccess(FSNamesystem.java:6220)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:4087)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInt(FSNamesystem.java:4057)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:4030)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:787)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.mkdirs(AuthorizationProviderProxyClientProtocol.java:297)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:594)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:587)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1026)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2013)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2009)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at javax.security.auth.Subject.doAs(Subject.java:415)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1642)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="1 2 3 4 5 6 7" face="courier new,courier"&gt;at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2007)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:26:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/26647#M5599</guid>
      <dc:creator>Jost Berthold</dc:creator>
      <dc:date>2022-09-16T09:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27062#M5600</link>
      <description>&lt;P&gt;Hi Jost,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be looking at this I try to figure what the issue is. Can you please confirm which HBase version you use? I see that it runs with the Cloudera user, are you using the QuickStart VM? If so, can you please let me know which version so I try with the same as you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JMS&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 14:49:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27062#M5600</guid>
      <dc:creator>jmspaggi</dc:creator>
      <dc:date>2015-05-06T14:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27086#M5601</link>
      <description>Hi JMS,&lt;BR /&gt;&lt;BR /&gt;I am using cloudera quickstart VMs (version 5.3.0) for tests. The problem can also be observed in our production system, which runs cloudera 5.2.4.&lt;BR /&gt;The exception cannot be seen in all runs, it depends on the previous use of hbase. In the VM where I see the exception, hbase contains around two weeks old data, and some tables have been dropped.&lt;BR /&gt;(I suspected that restoring the snapshot triggers an internal archiving and uses the wrong user)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;/ Jost&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 May 2015 22:38:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27086#M5601</guid>
      <dc:creator>Jost Berthold</dc:creator>
      <dc:date>2015-05-06T22:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27095#M5602</link>
      <description>&lt;P&gt;Thanks for the information. I have started the download of the VM. I will have it by tomorrow morning and will test the scenario.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, can you please clarify this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;The problem I am stuck with is that the initialisation (step 3) throws an exception about writing to /hbase/archive (!), after successfully &lt;STRONG&gt;creating the Region servers&lt;/STRONG&gt; for the restored snapshot, in the given tmp directory.&amp;nbsp;The exception is given below [3].&lt;/P&gt;&lt;P&gt;I can see in the job's output that &lt;STRONG&gt;regions servers&lt;/STRONG&gt; are created before the exception, and the files from the table restore stay in the directory.&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you mean here by "Region servers"? This MR job should not create any region servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JM&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 05:12:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27095#M5602</guid>
      <dc:creator>jmspaggi</dc:creator>
      <dc:date>2015-05-07T05:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27098#M5603</link>
      <description>&amp;gt; What do you mean here by "Region servers"? This MR job should not create any region servers.&lt;BR /&gt;&lt;BR /&gt;Sorry, that was a bit misleading. No region servers are created. What is in fact created are regions (by a method with prefix ?RegionServer")&lt;BR /&gt;&lt;BR /&gt;Before the stack trace, the output of the job contains messages "INFO regionserver.HRegion: creating HRegion testtable .."&lt;BR /&gt;(one of them for the test program, many of them for the real application, as it uses many regions).&lt;BR /&gt;&lt;BR /&gt;/ Jost&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 May 2015 05:34:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27098#M5603</guid>
      <dc:creator>Jost Berthold</dc:creator>
      <dc:date>2015-05-07T05:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27138#M5604</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the clarification. I have downloaded the VM and I have starting to code an example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Quick followup question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By default, there is no right management on the VM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please confirm you modified those 2 properties?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;dfs.permissions.enabled&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;name&amp;gt;dfs.permissions&amp;lt;/name&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Else, you should not see nay permission denied. If you have not modified it, can you please share your /etc/hadoop/conf content?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JM&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 23:13:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27138#M5604</guid>
      <dc:creator>jmspaggi</dc:creator>
      <dc:date>2015-05-07T23:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27141#M5605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No, I did not modify any permissions. Also, I cannot find this property in the directory you are requesting (see below).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The folder contents are attached FYI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/ Jost&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- **&amp;nbsp;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- **&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;- ** -&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[cloudera@quickstart test]$ uname -a&lt;BR /&gt;Linux quickstart.cloudera 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux&lt;BR /&gt;[cloudera@quickstart test]$ grep -r -e dfs.permissions /etc/hadoop/conf&lt;BR /&gt;grep: /etc/hadoop/conf/container-executor.cfg: Permission denied&lt;BR /&gt;[cloudera@quickstart test]$ sudo grep -r -e dfs.permissions /etc/hadoop/conf&lt;BR /&gt;[cloudera@quickstart test]$ ls -lrt /etc/hadoop/conf/&lt;BR /&gt;total 44&lt;BR /&gt;-rw-r--r-- 1 root root 3906 Apr 20 19:37 yarn-site.xml&lt;BR /&gt;-rw-r--r-- 1 root root 315 Apr 20 19:37 ssl-client.xml&lt;BR /&gt;-rw-r--r-- 1 root root 4391 Apr 20 19:37 mapred-site.xml&lt;BR /&gt;-rw-r--r-- 1 root root 300 Apr 20 19:37 log4j.properties&lt;BR /&gt;-rw-r--r-- 1 root root 1669 Apr 20 19:37 hdfs-site.xml&lt;BR /&gt;-rw-r--r-- 1 root root 425 Apr 20 19:37 hadoop-env.sh&lt;BR /&gt;-rw-r--r-- 1 root root 3675 Apr 20 19:37 core-site.xml&lt;BR /&gt;-rw-r--r-- 1 root root 21 Apr 20 19:37 __cloudera_generation__&lt;BR /&gt;-r-------- 1 root hadoop 0 May 6 22:21 container-executor.cfg&lt;BR /&gt;-rwxr-xr-x 1 root hadoop 1510 May 6 22:21 topology.py&lt;BR /&gt;-rw-r--r-- 1 root hadoop 200 May 6 22:21 topology.map&lt;BR /&gt;[cloudera@quickstart test]$&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 23:50:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27141#M5605</guid>
      <dc:creator>Jost Berthold</dc:creator>
      <dc:date>2015-05-07T23:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27142#M5606</link>
      <description>&lt;P&gt;Default value is true so if property is not there that mean rights are on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[cloudera@quickstart ~]$ ls -lrt /etc/hadoop/conf/&lt;BR /&gt;total 40&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp; 2375 Dec&amp;nbsp; 3 01:39 yarn-site.xml&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp; 1104 Dec&amp;nbsp; 3 01:39 README&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp; 2890 Dec&amp;nbsp; 3 01:39 hadoop-metrics.properties&lt;BR /&gt;-rwxr-xr-x 1 root root&amp;nbsp; 1366 Dec&amp;nbsp; 3 01:39 hadoop-env.sh&lt;BR /&gt;-rwxr-xr-x 1 root root 11291 Dec 16 19:26 log4j.properties&lt;BR /&gt;-rw-rw-r-- 1 root root&amp;nbsp; 1546 Dec 17 12:55 mapred-site.xml&lt;BR /&gt;-rw-rw-r-- 1 root root&amp;nbsp; 1915 Dec 17 12:55 core-site.xml&lt;BR /&gt;-rw-rw-r-- 1 root root&amp;nbsp; 3737 May&amp;nbsp; 7 16:06 hdfs-site.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The files we have are a bit different. Have you activated CM?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have extracted you CDH java branch locally and will dig into the code. I looked at 1.0 and I saw nothing wrong. But you are running on 0.98.6.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will provide a feedback shortly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JM&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 23:54:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27142#M5606</guid>
      <dc:creator>jmspaggi</dc:creator>
      <dc:date>2015-05-07T23:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27143#M5607</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;Let me know if you still need /etc/hadoop/conf contents (which is actually a link to /etc/alternatives/hadoop-conf)&lt;BR /&gt;&lt;BR /&gt;I am certain that I did not modify it (not consciously or manually, that is &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; ) it should be the default CDH-5.3.0 quickstart one.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/ Jost&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 May 2015 23:57:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27143#M5607</guid>
      <dc:creator>Jost Berthold</dc:creator>
      <dc:date>2015-05-07T23:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27182#M5608</link>
      <description>&lt;P&gt;FYI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm able to reproduce the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;1) Download 5.3.0 VM,&lt;/P&gt;&lt;P&gt;2) Change hadoop-site.xml to manage permissions,&lt;/P&gt;&lt;P&gt;3) Create and fill a table,&lt;/P&gt;&lt;P&gt;4) Create snapshot,&lt;/P&gt;&lt;P&gt;5) Try to MR over it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm now debugging step by step to see where it's coming from.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please send me your TableMapReduceUtil.initTableSnapshotMapperJob line?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JM&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2015 12:51:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27182#M5608</guid>
      <dc:creator>jmspaggi</dc:creator>
      <dc:date>2015-05-08T12:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27196#M5609</link>
      <description>&lt;P&gt;Ok. so here is the complete situation.&lt;BR /&gt;&lt;BR /&gt;When you run a MR on top of a Snapshot, the MR framework will look at all the inputs and create all the tasks for that. However, those tasks might have to wait for some time to be executed depending on the number of slots available on the cluster vs the number of tasks.&lt;BR /&gt;&lt;BR /&gt;The issue is, if while the tasks are pending one of the input is move/deleted/split/merged, etc. then the splits are not pointing anymore to a valid input and the MR job wil fail.&lt;BR /&gt;&lt;BR /&gt;To avoid that, we have to create al lthe links to all the inputs to make sure HBase keep a reference to those files even if they have to me moved, the same way a snapshot is doing. The issue is, those links have to be in the /hbase folder. And this is why you need the rights for that.&lt;BR /&gt;&lt;BR /&gt;So to be able to run a MR job on top of a snapshot you need a user with reads/writes access to the /hbase folder. This should be fixed in HBase 1.2 (but it's just on the plans for now and you will need to double check wen we will be closer to 1.2).&lt;BR /&gt;&lt;BR /&gt;Also, please keep in mind that doing MR on top of Snapshots bypass all the HBase layers. Therefore, if there is any ACLs or Cell level security activated on the initial table, then will all by bypassed by the MR job. Everything will be readable by the job.&lt;BR /&gt;&lt;BR /&gt;Let me know if you have any other question or if I can help with anything.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;JMS&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2015 16:09:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27196#M5609</guid>
      <dc:creator>jmspaggi</dc:creator>
      <dc:date>2015-05-08T16:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: HBase snapshots as Map-reduce job input - permission denied</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27234#M5610</link>
      <description>Hi Jean-Marc,&lt;BR /&gt;&lt;BR /&gt;Thanks for your thorough analysis!&lt;BR /&gt;Making sure the HFiles stay around makes perfect sense, so it is just a permissions issue.&lt;BR /&gt;And hopefully this will be fixed with HBase 1.2 then ? I will use a permissions workaround meanwhile.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Jost&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 10 May 2015 23:04:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HBase-snapshots-as-Map-reduce-job-input-permission-denied/m-p/27234#M5610</guid>
      <dc:creator>Jost Berthold</dc:creator>
      <dc:date>2015-05-10T23:04:49Z</dc:date>
    </item>
  </channel>
</rss>

