I have followed the instructions outlined here:
and successfully installed the HDP 2.0 for Windows. However, I have not been able to get all the services running. The number I can get seems to vary everyday, but today I was only able to get 6 of the 15 running.
Sent all start commands.
not yet running services
Failed_Start datanode derbyserver historyserver hiveserver2 hwi metastore namenode secondarynamenode templeton
The alarming one is the namenode. When installing (for the first time) I did select “Delete existing HDP data” which means the namenode should have already been formatted. On the Hadoop command line I have been trying “hdfs namenode -format” to try and format the namenode, but I always receive the error:
Error: Could not find or load main class (Computer Name).
I thought this may be an error with my path variable for Java. I have the following set:
JAVA_HOME is set to C:\Software\Java\jdk1.7.0_51
Path I have prepended: %JAVA_HOME%\bin;
The error for all the services that do not start all read the same (except for the first line which changes depending on one of the 9 services):
Start-Service : Service ‘Apache Hadoop templeton (templeton)’ start failed.
At C:\hdp\manage_local_hdp_services.ps1:77 char:29
+ $foo = Start-Service <<<< -Name $serviceName.Name -ErrorAction Continue
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceControl
ler:ServiceController) [Start-Service], ServiceCommandException
+ FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands
I have also tried running everything as a system administrator and everything still fails. I run the ‘start_local_hdp_services’ in the ‘C:\hdp>’ directory as instructed in the installation instructions (twice). I also received a ‘Installation completed successfully’ after following the directions.
I am simply trying to evaluate the technology by setting up a single node HDP installation, but am getting worried at how difficult it is to get this up and running. I have spent days on forums trying different solutions and am in need of serious assistance. Any help would be VERY much appreciated as I am almost at wit’s end with Hadoop. Thanks again.