AC, scripts start-dfs.sh and start-mapred.sh is just wrappers for hadoop-daemon.sh commands. All the security settings are in the configuration files, so same start procedure should work for both secure and unsecured modes. Just make sure you have correct configuration files.
Thank you! Sincerely, Leonid Fedotov On Nov 27, 2012, at 3:28 AM, [email protected] wrote: > Hi, > > I currently use the following steps to start and stop HADOOP & HBASE cluster: > > 1) Without Kerberos Security > (start zookeepers) > start the cluster from Master: > {$HADOOP_HOME}/bin/start-dfs.sh // one command > start all servers > {$HADOOP_HOME}/bin/start-mapred.sh > {$HBASE_HOME}/bin/start-hbase.sh > > stop the cluster from Master: > {$HBASE_HOME}/bin/stop-hbase.sh > {$HADOOP_HOME}/bin/stop-mapred.sh > {$HADOOP_HOME}/bin/stop-dfs.sh > (stop zookeepers) > > > 2) With Kerberos and in Secure Mode > start the HADOOP Namenode > {$HADOOP_HOME}/bin/hadoop-daemon.sh start namenode > then for each datanode: > {$HADOOP_HOME}/bin/hadoop-daemon.sh start datanode > then HBASE Master: > {$HBASE_HOME}/bin/hbase-daemon.sh start master (as root) > then for each HBASE regionserver: > {$HBASE_HOME}/bin/hbase-daemon.sh start regionserver > > > QUESTION: As I can see from 2) there are more steps to start the entire > cluster in secure node, are there any existing commands which simplify > start/stop HADOOP & HBASE in Secure mode? > > Thanks > ac
