<?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 HDP Cluster Issue : hiveserver2, Datanode and RegiosnServer services keep failing. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Cluster-Issue-hiveserver2-Datanode-and-RegiosnServer/m-p/115831#M50933</link>
    <description>&lt;P&gt;Today suddenly I noticed I am not able to connect to hive view, on further investigation found that my hiveserver2. Datanode and RegionServer services are keep failing. Here is the detail datanode exception &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11150-datanodelog.txt"&gt;datanodelog.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Exception: 2017-01-05 16:54:29,697 INFO  common.Storage (Storage.java:tryLock(774)) - Lock on /tmp/hadoop-hdfs/dfs/data/in_use.lock acquired by nodename 8335@mpdemo-118-2-1.field.hortonworks.com
2017-01-05 16:54:29,701 WARN  common.Storage (DataStorage.java:loadDataStorage(449)) - Failed to add storage directory [DISK]file:/tmp/hadoop-hdfs/dfs/data/
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /tmp/hadoop-hdfs/dfs/data is in an inconsistent state: Can't format the storage directory because the current/ directory is not empty.
        at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.checkEmptyCurrent(Storage.java:480)&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2017 01:05:03 GMT</pubDate>
    <dc:creator>mpandit</dc:creator>
    <dc:date>2017-01-06T01:05:03Z</dc:date>
    <item>
      <title>HDP Cluster Issue : hiveserver2, Datanode and RegiosnServer services keep failing.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Cluster-Issue-hiveserver2-Datanode-and-RegiosnServer/m-p/115831#M50933</link>
      <description>&lt;P&gt;Today suddenly I noticed I am not able to connect to hive view, on further investigation found that my hiveserver2. Datanode and RegionServer services are keep failing. Here is the detail datanode exception &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/11150-datanodelog.txt"&gt;datanodelog.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Exception: 2017-01-05 16:54:29,697 INFO  common.Storage (Storage.java:tryLock(774)) - Lock on /tmp/hadoop-hdfs/dfs/data/in_use.lock acquired by nodename 8335@mpdemo-118-2-1.field.hortonworks.com
2017-01-05 16:54:29,701 WARN  common.Storage (DataStorage.java:loadDataStorage(449)) - Failed to add storage directory [DISK]file:/tmp/hadoop-hdfs/dfs/data/
org.apache.hadoop.hdfs.server.common.InconsistentFSStateException: Directory /tmp/hadoop-hdfs/dfs/data is in an inconsistent state: Can't format the storage directory because the current/ directory is not empty.
        at org.apache.hadoop.hdfs.server.common.Storage$StorageDirectory.checkEmptyCurrent(Storage.java:480)&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 01:05:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Cluster-Issue-hiveserver2-Datanode-and-RegiosnServer/m-p/115831#M50933</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2017-01-06T01:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Cluster Issue : hiveserver2, Datanode and RegiosnServer services keep failing.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Cluster-Issue-hiveserver2-Datanode-and-RegiosnServer/m-p/115832#M50934</link>
      <description>&lt;P&gt;It would appear that your DataNode is failing which is the cause of the other services failing.&lt;/P&gt;&lt;P&gt;It also appears that you have not changed the default hdfs-site.xml configuration that controls where DataNodes store their data on the local filesystem. It is not uncommon for operation systems to wipe the /tmp directory (on boot). Perhaps you have experienced this and need to re-format your HDFS?&lt;/P&gt;&lt;P&gt;Change dfs.datanode.data.dir,  dfs.namenode.name.dir, and dfs.namenode.checkpoint.dir, then format HDFS&lt;/P&gt;&lt;PRE&gt;$ hdfs namenode -format&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Beware: &lt;/STRONG&gt;Formatting HDFS is a destructive operation. Do not perform this operation unless all of the data in HDFS is stored elsewhere or can be generated.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 01:25:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Cluster-Issue-hiveserver2-Datanode-and-RegiosnServer/m-p/115832#M50934</guid>
      <dc:creator>elserj</dc:creator>
      <dc:date>2017-01-06T01:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: HDP Cluster Issue : hiveserver2, Datanode and RegiosnServer services keep failing.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Cluster-Issue-hiveserver2-Datanode-and-RegiosnServer/m-p/115833#M50935</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/223/jelser.html" nodeid="223"&gt;@Josh Elser&lt;/A&gt; Do I need to perform this on all the nodes? For now I am ok if I loose the data as its test cluster.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 01:50:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-Cluster-Issue-hiveserver2-Datanode-and-RegiosnServer/m-p/115833#M50935</guid>
      <dc:creator>mpandit</dc:creator>
      <dc:date>2017-01-06T01:50:45Z</dc:date>
    </item>
  </channel>
</rss>

