<?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 2.4.2 Windows Server 2012 - Service 'Apache Hadoop master (master)' cannot be started in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-2-Windows-Server-2012-Service-Apache-Hadoop-master/m-p/147468#M32443</link>
    <description>&lt;P&gt;(1) I have installed the HDP 2.4.2 on Windows Server 2012 successfully without the Ranger. After I issued the '.\start_local_hdp_services.cmd', The 'master' service failed to start.&lt;/P&gt;&lt;P&gt;The message is:&lt;/P&gt;&lt;P&gt;start_local_starting master
Start-Service : Service 'Apache Hadoop master (master)' cannot be started due to the following error: &lt;/P&gt;&lt;P&gt;Cannot start
service master on computer '.'. &lt;/P&gt;&lt;P&gt;At C:\hdp\manage_local_hdp_services.ps1:84 char:16
+ &lt;/P&gt;&lt;P&gt;        $foo = Start-Service -Name $serviceName.Name -ErrorAction Continue
+ 'CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
   ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand &lt;/P&gt;&lt;P&gt;Please let me know how I can resolve this issue.&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2016 21:31:18 GMT</pubDate>
    <dc:creator>patrick_w_wong</dc:creator>
    <dc:date>2016-06-20T21:31:18Z</dc:date>
    <item>
      <title>HDP 2.4.2 Windows Server 2012 - Service 'Apache Hadoop master (master)' cannot be started</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-2-Windows-Server-2012-Service-Apache-Hadoop-master/m-p/147468#M32443</link>
      <description>&lt;P&gt;(1) I have installed the HDP 2.4.2 on Windows Server 2012 successfully without the Ranger. After I issued the '.\start_local_hdp_services.cmd', The 'master' service failed to start.&lt;/P&gt;&lt;P&gt;The message is:&lt;/P&gt;&lt;P&gt;start_local_starting master
Start-Service : Service 'Apache Hadoop master (master)' cannot be started due to the following error: &lt;/P&gt;&lt;P&gt;Cannot start
service master on computer '.'. &lt;/P&gt;&lt;P&gt;At C:\hdp\manage_local_hdp_services.ps1:84 char:16
+ &lt;/P&gt;&lt;P&gt;        $foo = Start-Service -Name $serviceName.Name -ErrorAction Continue
+ 'CategoryInfo          : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service],
   ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand &lt;/P&gt;&lt;P&gt;Please let me know how I can resolve this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 21:31:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-2-Windows-Server-2012-Service-Apache-Hadoop-master/m-p/147468#M32443</guid>
      <dc:creator>patrick_w_wong</dc:creator>
      <dc:date>2016-06-20T21:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: HDP 2.4.2 Windows Server 2012 - Service 'Apache Hadoop master (master)' cannot be started</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-2-Windows-Server-2012-Service-Apache-Hadoop-master/m-p/147469#M32444</link>
      <description>&lt;DIV&gt;@   Patrick Wong&lt;/DIV&gt;&lt;DIV&gt;The reason is that your user home path contains a space. You need to "qualify" that with quotes around that path with space included. You should do that in all XML files in the hdp directory with the argument -Dhadoop.id.str, all services started.&lt;/DIV&gt;&lt;DIV&gt;To generalize the solution proposed, let's say a service fails with the error, search for servicename.xml in C:\hdp folder. Let's say namenode fails:&lt;/DIV&gt;&lt;DIV&gt;1. search for namenode.xml in C:\hdp&lt;/DIV&gt;&lt;DIV&gt;2. open the xml file in text editor&lt;/DIV&gt;&lt;DIV&gt;3. find the key -Dhadoop.id.str in the file&lt;/DIV&gt;&lt;DIV&gt;4. Put the value in quotes if there is a space.&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;  Eg. -Dhadoop.id.str=My Name to -Dhadoop.id.str="My Name"&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 29 Dec 2016 06:35:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDP-2-4-2-Windows-Server-2012-Service-Apache-Hadoop-master/m-p/147469#M32444</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-12-29T06:35:06Z</dc:date>
    </item>
  </channel>
</rss>

