Created 05-30-2018 09:13 AM
Hi All,
My ambari server is not coming up. please find the error below.
30 May 2018 08:58:44,155 ERROR [main] AmbariServer:1074 - Failed to run the Ambari Server
com.google.inject.ProvisionException: Guice provision errors:
1) Error injecting method, java.lang.RuntimeException: Trying to create a ServiceComponent not recognized in stack info, clusterName=NIFA, serviceName=HDFS, componentName=NFS_GATEWAY, stackInfo=HDP-2.6
at org.apache.ambari.server.state.cluster.ClustersImpl.loadClustersAndHosts(ClustersImpl.java:173)
at org.apache.ambari.server.state.cluster.ClustersImpl.class(ClustersImpl.java:95)
while locating org.apache.ambari.server.state.cluster.ClustersImpl
while locating org.apache.ambari.server.state.Clusters
for parameter 0 at org.apache.ambari.server.agent.HeartBeatHandler.<init>(HeartBeatHandler.java:115)
at org.apache.ambari.server.agent.HeartBeatHandler.class(HeartBeatHandler.java:79)
while locating org.apache.ambari.server.agent.HeartBeatHandler
1 error
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
at org.apache.ambari.server.controller.AmbariServer.performStaticInjection(AmbariServer.java:899)
at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:307)
30 May 2018 08:58:43,800 ERROR [main] StackContext:217 - Could not load repo results
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
Created 05-31-2018 12:41 PM
Here is the procedure to switch Ambari servers on an existing HDP cluster
Created 07-23-2018 07:30 AM
The first thing to do if you run into trouble is to find the logs. Ambari Server logs are found at /var/log/ambari-server/ambari-server.log
Ambari Agent logs are found at /var/log/ambari-agent/ambari-agent.log
. getting more conatct us on hotmail support for help