I don't why all services stopped but when i try to restart all services the indicator would turn green for a few seconds(only for a few services) and then turn red again, how do i resolve this issue. Attach ambari.
It looks like all services are going down after their start (which seems weird).
You can look at the individual services logs (.log files) from terminal and see what is the stack trace for failure / SHUTDOWN message. By default they are at /var/log/
Eg: Namenode logs : /var/log/hadoop/hdfs/hadoop-hdfs-namenode-<hostname>.log
You can attach the logs here.