<?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: Can't start a datanode on the server with the regionserver installed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-start-a-datanode-on-the-server-with-the-regionserver/m-p/178011#M70432</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44600/shader378.html" nodeid="44600"&gt;@Yuri Kh.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please check what is the&lt;STRONG&gt; "hbase.tmp.dir" &lt;/STRONG&gt;set to?&lt;/P&gt;&lt;P&gt;Is your hbase temp directory is set to "/var/hbase-${user.name}" means insie the "/var" ?  If Yes, then please *Do Not Use* the "/var/" as parent directory for hbase temp. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;May be you can use some other directory under "/var/" like /var/hbase-tmp/hbase-${user.name} so that /var/ permissions are not altered. The parent directory for hbase temp should have 1777 to allow creating user specific directories under hbase tmp. &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2017 13:44:55 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2017-10-30T13:44:55Z</dc:date>
    <item>
      <title>Can't start a datanode on the server with the regionserver installed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-start-a-datanode-on-the-server-with-the-regionserver/m-p/178010#M70431</link>
      <description>&lt;P&gt;We have installed a datanode with regionserver on one server. The
datanode  does not start with the following error:&lt;/P&gt;&lt;PRE&gt;java.io.IOException:
the path component: '/var' is world-writable.Its permissions are 0777.Please
fix this or select a different socket path&lt;/PRE&gt;&lt;P&gt;and each time before running datanode on each datanode you have to execute
the command:&lt;/P&gt;&lt;PRE&gt;chmod 750 /var&lt;/PRE&gt;&lt;P&gt;The analysis of logs showed that the permissions on  folder /var are
changed when start regionserver&lt;/P&gt;&lt;P&gt;a fragment of the regionserver log:&lt;/P&gt;&lt;BR /&gt;&lt;PRE&gt;2017-10-24 15:04:22,833 - Directory['/tmp'] {'create_parents': True, 'mode': 0777}
2017-10-24 15:04:22,834 - Directory['/var'] {'create_parents': True, 'cd_access': 'a'}
2017-10-24 15:04:22,834 - Execute[('chmod', '1777', u'/var')] {'sudo': True}
2017-10-24 15:04:22,839 - XmlConfig['hbase-site.xml'] {'owner': 'hbase', 'group':'hadoop', 'conf_dir': '/usr/hdp/current/hbase-regionserver/conf','configuration_attributes': {}, 'configurations': ...}&lt;/PRE&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:41:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-start-a-datanode-on-the-server-with-the-regionserver/m-p/178010#M70431</guid>
      <dc:creator>shader378</dc:creator>
      <dc:date>2017-10-30T13:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can't start a datanode on the server with the regionserver installed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-start-a-datanode-on-the-server-with-the-regionserver/m-p/178011#M70432</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44600/shader378.html" nodeid="44600"&gt;@Yuri Kh.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please check what is the&lt;STRONG&gt; "hbase.tmp.dir" &lt;/STRONG&gt;set to?&lt;/P&gt;&lt;P&gt;Is your hbase temp directory is set to "/var/hbase-${user.name}" means insie the "/var" ?  If Yes, then please *Do Not Use* the "/var/" as parent directory for hbase temp. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;May be you can use some other directory under "/var/" like /var/hbase-tmp/hbase-${user.name} so that /var/ permissions are not altered. The parent directory for hbase temp should have 1777 to allow creating user specific directories under hbase tmp. &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 13:44:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-t-start-a-datanode-on-the-server-with-the-regionserver/m-p/178011#M70432</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-10-30T13:44:55Z</dc:date>
    </item>
  </channel>
</rss>

