There are several commands to perform administration using CLI. We need to use HDFS super user to manage HDFS cluster using commands. In our case it is hdfs itself.
- Formatting Namenode
- Rolling Edits
- Save Namespace (create fsimage)
- Enter or Leave Safemode
- Running balancer
- Running file system utility (fsck)
- and many more
By this time you should have set up Cloudera Manager, then install Cloudera Distribution of Hadoop, Configure services such as Zookeeper and HDFS. Also you should have good grasp about the HDFS commands.
Make sure to stop services in Cloudera Manager and also shutdown servers provisioned from GCP or AWS to leverage credits or control costs.