Created 06-01-2017 09:35 AM
i can start the service one by one,
but when i use the 'start all' button,the browser shows:
Created 06-02-2017 03:29 AM
@white wartih From your previous log snippet shows that the "RANGER_KMS" is also not installed properly hence it is in "INSTALL_FAILED" state.
org.apache.ambari.server.AmbariException: Invalid transition for servicecomponenthost, clusterName=<mycluster>, clusterId=2, serviceName=RANGER_KMS, componentName=RANGER_KMS_SERVER, hostname=<myhostname> currentState=INSTALL_FAILED, newDesiredState=STARTED
From your attached log we see that the "RANGER" service is not installed properly it is currently in "INSTALL_FAILED" state:
org.apache.ambari.server.AmbariException: Invalid transition for servicecomponenthost, clusterName=bb, clusterId=2, serviceName=RANGER, componentName=RANGER_ADMIN, hostname=<myhostname>, currentState=INSTALL_FAILED, newDesiredState=STARTED
We will suggest you to completely remove the "RANGER" and "RANGER_KMS" services first and then try adding them freshly because they are not installed properly. If you face any error/issue during installing these services then please let us know.
Either Using Ambari UI or Using API call as well we can try deleting those services (if that does not work due to some issues then let us know)
# curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://<AMBARi_SERVER_HOST>:8080/api/v1/clusters/<$CLUSTER_NAME>/services/RANGER_KMS # curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://<AMBARi_SERVER_HOST>:8080/api/v1/clusters/<$CLUSTER_NAME>/services/RANGER
.
Created 06-01-2017 09:41 AM
Can you pelase share the complete stackTrace of the failure from the ambari-server.log?
Created 06-02-2017 02:04 AM
Created 06-02-2017 03:29 AM
@white wartih From your previous log snippet shows that the "RANGER_KMS" is also not installed properly hence it is in "INSTALL_FAILED" state.
org.apache.ambari.server.AmbariException: Invalid transition for servicecomponenthost, clusterName=<mycluster>, clusterId=2, serviceName=RANGER_KMS, componentName=RANGER_KMS_SERVER, hostname=<myhostname> currentState=INSTALL_FAILED, newDesiredState=STARTED
From your attached log we see that the "RANGER" service is not installed properly it is currently in "INSTALL_FAILED" state:
org.apache.ambari.server.AmbariException: Invalid transition for servicecomponenthost, clusterName=bb, clusterId=2, serviceName=RANGER, componentName=RANGER_ADMIN, hostname=<myhostname>, currentState=INSTALL_FAILED, newDesiredState=STARTED
We will suggest you to completely remove the "RANGER" and "RANGER_KMS" services first and then try adding them freshly because they are not installed properly. If you face any error/issue during installing these services then please let us know.
Either Using Ambari UI or Using API call as well we can try deleting those services (if that does not work due to some issues then let us know)
# curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://<AMBARi_SERVER_HOST>:8080/api/v1/clusters/<$CLUSTER_NAME>/services/RANGER_KMS # curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://<AMBARi_SERVER_HOST>:8080/api/v1/clusters/<$CLUSTER_NAME>/services/RANGER
.