Home Forums HDP on Windows – Installation HDP 2 for Windows – Services fail to start after reboot

Tagged: 

This topic contains 3 replies, has 3 voices, and was last updated by  IngEnsi 5 months, 4 weeks ago.

  • Creator
    Topic
  • #47492

    Robert Klein
    Participant

    Hi,
    I hope someone can help. I was able to successfully install HDP for Windows 2.0. After the installation all services started correctly and ran for several days. However after a recent reboot all services failed to start (as shown below) when running the Start_Local_HDP_Services. Any help would be greatly appreciated! Thanks, Rob

    c:\hdp>start_local_hdp_services
    starting datanode
    Start-Service : Service ‘Apache Hadoop datanode (datanode)’ cannot be started due to the following error: Cannot start service datanode on computer ‘.’.
    At C:\hdp\manage_local_hdp_services.ps1:77 char:29
    + $foo = Start-Service <<<< -Name $serviceName.Name -ErrorAction Continue
    + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

    starting derbyserver
    Start-Service : Service ‘Apache Hadoop derbyserver (derbyserver)’ cannot be started due to the following error: Cannot start service derbyserver on computer ‘.’.
    At C:\hdp\manage_local_hdp_services.ps1:77 char:29
    + $foo = Start-Service <<<< -Name $serviceName.Name -ErrorAction Continue
    + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

    starting historyserver
    Start-Service : Service ‘Apache Hadoop historyserver (historyserver)’ cannot be started due to the following error: Cannot start service historyserver on computer ‘.’.
    At C:\hdp\manage_local_hdp_services.ps1:77 char:29
    + $foo = Start-Service <<<< -Name $serviceName.Name -ErrorAction Continue
    + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand
    ….
    starting templeton
    Start-Service : Service ‘Apache Hadoop templeton (templeton)’ cannot be started due to the following error: Cannot start service templeton on computer ‘.’.
    At C:\hdp\manage_local_hdp_services.ps1:77 char:29
    + $foo = Start-Service <<<< -Name $serviceName.Name -ErrorAction Continue
    + CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException
    + FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

    Sent all start commands.
    total services
    12
    running services
    not yet running services
    12
    Failed_Start datanode derbyserver historyserver hiveserver2 hwi metastore namenode nodemanager oozieservice resourcemanager secondarynamenode templeton

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #53020

    IngEnsi
    Participant

    Hi Robert ,
    I face the same Problem but not for all the services, how to resolve it ?
    can you post all steps you have folowed to resolve the problem

    Regards
    HerArf

    Collapse
    #47755

    Seth Lyubich
    Keymaster

    Hi Robert,

    Thanks for letting us know that you your issue is resolved.

    Thanks,
    Seth

    Collapse
    #47612

    Robert Klein
    Participant

    The issue has been corrected. The hadoop user did not have “Log on as a service” rights which prevented the services from restarting.

    Collapse
Viewing 3 replies - 1 through 3 (of 3 total)