<?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: Permission error while creating solr collection in CDH 5.5 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-error-while-creating-solr-collection-in-CDH-5-5/m-p/40541#M27401</link>
    <description>&lt;P&gt;Thank you that worked and helped me&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2016 15:58:36 GMT</pubDate>
    <dc:creator>Tdas</dc:creator>
    <dc:date>2016-05-06T15:58:36Z</dc:date>
    <item>
      <title>Permission error while creating solr collection in CDH 5.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-error-while-creating-solr-collection-in-CDH-5-5/m-p/40519#M27399</link>
      <description>&lt;P&gt;Basically trying to create a Hue dashboard so i am trying to create index&lt;BR /&gt;as per below cloudera exercise 4&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cloudera.com/developers/get-started-with-hadoop-tutorial/exercise-4.html" target="_blank"&gt;http://www.cloudera.com/developers/get-started-with-hadoop-tutorial/exercise-4.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hence Below commands ran as expected in CDH 5.5&lt;/P&gt;&lt;P&gt;solrctl --zk quickstart:2181/solr instancedir --generate solr_configs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solrctl --zk quickstart:2181/solr instancedir --create live_logs ./solr_configs&lt;/P&gt;&lt;P&gt;But while below command to create collection&lt;/P&gt;&lt;P&gt;solrctl --zk quickstart:2181/solr collection --create live_logs -s 1&lt;/P&gt;&lt;P&gt;I got below exception&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Error CREATEing SolrCore 'live_logs': Unable to create core [live_logs] Caused by: Permission denied: user=solr, access=WRITE, inode="/solr":hdfs:supergroup:drwxr-xr-x at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(DefaultAuthorizationProvider.java:257) at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check(DefaultAuthorizationProvider.java:238) at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check(DefaultAuthorizationProvider.java:216) at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkPermission(DefaultAuthorizationProvider.java:145) at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:138) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:6609) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:6591) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkAncestorAccess(FSNamesystem.java:6543) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:4331) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInt(FSNamesystem.java:4301) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:4274) at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:866) at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.mkdirs(AuthorizationProviderProxyClientProtocol.java:321) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:601) at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:617) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1060) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2086) at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2082) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2080)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried to gave permissions to user solr by issuing below command&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chmod 775 /&lt;BR /&gt;sudo -u hdfs hdfs dfs -mkdir /user&lt;BR /&gt;sudo -u hdfs hdfs dfs -chown solr:solr /user&lt;BR /&gt;sudo -u hdfs hdfs dfs -mkdir /tmp&lt;BR /&gt;sudo -u hdfs hdfs dfs -chown solr:solr /tmp&lt;/P&gt;&lt;P&gt;But no success as of now i am still no able to create collection because of above error of&lt;BR /&gt;&amp;lt;&amp;lt;QUOTE&amp;gt;&amp;gt;&lt;BR /&gt;Permission denied: user=solr, access=WRITE&lt;BR /&gt;&amp;lt;&amp;lt;UNQUOTE&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:52:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-error-while-creating-solr-collection-in-CDH-5-5/m-p/40519#M27399</guid>
      <dc:creator>Tdas</dc:creator>
      <dc:date>2026-04-21T13:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Permission error while creating solr collection in CDH 5.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-error-while-creating-solr-collection-in-CDH-5-5/m-p/40537#M27400</link>
      <description>&lt;P&gt;The error is reporting&amp;nbsp;a problem when trying to write into the "/solr" directory, as indicated here:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unable to create core [live_logs] Caused by: Permission denied: user=solr, access=WRITE, inode="/solr":hdfs:supergroup:drwxr-xr-x at&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You need to give the solr user ownership of the "/solr" directory in hdfs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chown solr:solr /solr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, you hvae changed permissions/ownership on the /user folder and /tmp, which is not recommended:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo -u hdfs hdfs dfs -chown solr:solr /user&lt;BR /&gt;sudo -u hdfs hdfs dfs -mkdir /tmp&lt;BR /&gt;sudo -u hdfs hdfs dfs -chown solr:solr /tmp&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-pd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 15:52:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-error-while-creating-solr-collection-in-CDH-5-5/m-p/40537#M27400</guid>
      <dc:creator>pdvorak</dc:creator>
      <dc:date>2016-05-06T15:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Permission error while creating solr collection in CDH 5.5</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-error-while-creating-solr-collection-in-CDH-5-5/m-p/40541#M27401</link>
      <description>&lt;P&gt;Thank you that worked and helped me&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 15:58:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Permission-error-while-creating-solr-collection-in-CDH-5-5/m-p/40541#M27401</guid>
      <dc:creator>Tdas</dc:creator>
      <dc:date>2016-05-06T15:58:36Z</dc:date>
    </item>
  </channel>
</rss>

