<?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: Services not starting for fresh installation. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211018#M76956</link>
    <description>&lt;P&gt;Geoffery, Jay.&lt;/P&gt;&lt;P&gt;Thanks a lot for your replies.&lt;/P&gt;&lt;P&gt;I went through the logs and found out that the JVM engine is not able to start with insufficient memory.&lt;/P&gt;&lt;P&gt;Bumped up the server. Now it is working.&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
    <pubDate>Sun, 08 Apr 2018 22:32:39 GMT</pubDate>
    <dc:creator>simishra</dc:creator>
    <dc:date>2018-04-08T22:32:39Z</dc:date>
    <item>
      <title>Services not starting for fresh installation.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211013#M76951</link>
      <description>&lt;P&gt;I installed a HDP 2.6 in Centos using the web repo.&lt;/P&gt;&lt;P&gt;I tried to start 4 services: Hadoop, Smartsense, Ambari-metrics and Zookeeper.&lt;/P&gt;&lt;P&gt;All the services got installed but none could start.&lt;/P&gt;&lt;P&gt;After the installation, during cluster deployment from the web UI, the services are Installed but did not start.&lt;/P&gt;&lt;P&gt;ambari-agent log shows the following :&lt;/P&gt;&lt;P&gt;ERROR 2018-04-06 20:41:19,502 script_alert.py:123 - [Alert][datanode_unmounted_data_dir] Failed with result CRITICAL: ['The following data dir(s) were not found: /hadoop/hdfs/data\n']&lt;/P&gt;&lt;P&gt;WARNING 2018-04-06 20:41:19,508 base_alert.py:138 - [Alert][namenode_hdfs_blocks_health] Unable to execute alert. [Alert][namenode_hdfs_blocks_health] Unable to extract JSON from JMX response&lt;/P&gt;&lt;P&gt;I found no documentation in hortonworks community for this.&lt;/P&gt;&lt;P&gt;Any help?&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 05:34:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211013#M76951</guid>
      <dc:creator>simishra</dc:creator>
      <dc:date>2018-04-07T05:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Services not starting for fresh installation.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211014#M76952</link>
      <description>&lt;P&gt;Please tell me if you need the logs, I will attach it here.&lt;/P&gt;&lt;P&gt;There is a file limitation so I am not attaching anything for now.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 05:40:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211014#M76952</guid>
      <dc:creator>simishra</dc:creator>
      <dc:date>2018-04-07T05:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Services not starting for fresh installation.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211015#M76953</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Siddharth Mishra"&gt; @Siddharth Mishra&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This typically indicates a missing filesystem.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt; [Alert][datanode_unmounted_data_dir] Failed with result CRITICAL: ['The following data dir(s) were not found: /hadoop/hdfs/data\n']&lt;/STRONG&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you check that the above mount point exists !!! see attached screenshot FS.jpg &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: The mount points for &lt;STRONG&gt;DataNode&lt;/STRONG&gt; and &lt;STRONG&gt;NameNode&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if the above File system is NOT mounted update it save and retry.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please revert&lt;/EM&gt;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/7093i801C8BEFACC7E948/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="fs.jpg" title="fs.jpg" /&gt;</description>
      <pubDate>Sat, 07 Apr 2018 06:06:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211015#M76953</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-07T06:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: Services not starting for fresh installation.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211016#M76954</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/70681/simishra.html" nodeid="70681"&gt;@Siddharth Mishra&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you please try the following and share the logs:&lt;BR /&gt;1. Try starting the HDFS compoents manually to see if they are getting started or not? If not starting then please share the "/var/log/hadoop/hdfs/hadoop-hdfs-datanode-xxxx.log" and "/var/log/hadoop/hdfs/hadoop-hdfs-namenode-xxxx.log" logs.&lt;/P&gt;&lt;PRE&gt;# su -l hdfs -c "/usr/hdp/current/hadoop-hdfs-namenode/../hadoop/sbin/hadoop-daemon.sh start namenode"
# su -l hdfs -c "/usr/hdp/current/hadoop-hdfs-datanode/../hadoop/sbin/hadoop-daemon.sh start datanode"&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;2. Please share the output of the following directories to see if the permissions are setup as following on the directories?
&lt;/P&gt;&lt;PRE&gt;# ls -ld /hadoop/hdfs/data
drwxr-x---. 3 hdfs hadoop 38 Apr  6 09:42 /hadoop/hdfs/data&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;3. Are you running your Ambari Agents/Server as Non Root User account?  If yes then you should follow the doc to make sure that the permissions and sudoer configs are correctly set so that the ambari user can read the required directories.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.5/bk_ambari-security/content/configuring_ambari_for_non-root.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.5/bk_ambari-security/content/configuring_ambari_for_non-root.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 06:31:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211016#M76954</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-04-07T06:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Services not starting for fresh installation.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211017#M76955</link>
      <description>&lt;P&gt;Hello Geoffery,&lt;/P&gt;&lt;P&gt; Thank you for coming back. Yes the folder is available and the permissions look correct.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;drwxr-xr-x. 2 hdfs hadoop 6 Apr  6 20:43 /hadoop/hdfs/data/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This is a single node cluster so there are no different data and name nodes.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 14:03:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211017#M76955</guid>
      <dc:creator>simishra</dc:creator>
      <dc:date>2018-04-07T14:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Services not starting for fresh installation.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211018#M76956</link>
      <description>&lt;P&gt;Geoffery, Jay.&lt;/P&gt;&lt;P&gt;Thanks a lot for your replies.&lt;/P&gt;&lt;P&gt;I went through the logs and found out that the JVM engine is not able to start with insufficient memory.&lt;/P&gt;&lt;P&gt;Bumped up the server. Now it is working.&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 22:32:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211018#M76956</guid>
      <dc:creator>simishra</dc:creator>
      <dc:date>2018-04-08T22:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Services not starting for fresh installation.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211019#M76957</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="https://community.hortonworks.com/questions/183819/@Siddharth%20Mishra"&gt;@Siddharth Mishra&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Good to know it's always important to scrutinise the logs&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 22:59:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Services-not-starting-for-fresh-installation/m-p/211019#M76957</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-04-08T22:59:59Z</dc:date>
    </item>
  </channel>
</rss>

