Question : As you are upgrading your Hadoop Cluster from CDH to CDH, and while doing that you have to back up the Configurations data and stop the services. so which of the following is a correct command for putting the Active NameNode into safe mode.
1. sudo -u hdfs dfsadmin -safemode enter 2. sudo -u hdfs hdfs -safemode enter 3. sudo -u hdfs hdfs dfsadmin 4. sudo -u hdfs hdfs dfsadmin -safemode enter
Correct Answer : 4
Explanation: Put the NameNode into safe mode and save the fsimage: Put the NameNode (or active NameNode in an HA configuration) into safe mode: $ sudo -u hdfs hdfs dfsadmin -safemode enter
Question : As you are upgrading your Hadoop Cluster from CDH to CDH, and while doing that you have to back up the Configurations data and stop the services. so which of the following is a correct command for a saveNamespace operation.
Explanation: Back Up Configuration Data and Stop Services 1. Put the NameNode into safe mode and save the fsimage: a. Put the NameNode (or active NameNode in an HA configuration) into safe mode: $ sudo -u hdfs hdfs dfsadmin -safemode enter b. Perform a saveNamespace operation: $ sudo -u hdfs hdfs dfsadmin -saveNamespace
Question : As you are upgrading your Hadoop Cluster from CDH to CDH, and while doing that you have to back up the Configurations data and stop the services. so what happen when you do "sudo -u hdfs hdfs dfsadmin -saveNamespace " to perform saveNamespace operation,
1. This will result in two new fsimage being written out with all new edit log entries. 2. This will result in a backup of last fsimage and all the new operation will be appended in the existing fsimage being written out with no edit log entries. 3. This will result in a new fsimage being written out with no edit log entries. 4. This will result in a backup of last fsimage.
Correct Answer : 3
Explanation: To Back Up Configuration Data and Stop Services 1. Put the NameNode into safe mode and save the fsimage: a. Put the NameNode (or active NameNode in an HA configuration) into safe mode: $ sudo -u hdfs hdfs dfsadmin -safemode enter b. Perform a saveNamespace operation: $ sudo -u hdfs hdfs dfsadmin -saveNamespace This will result in a new fsimage being written out with no edit log entries.
1. 1,2,3 2. 2,3,1 3. 3,2,1 4. In any random order you can start above services
Question : Which of the following are the new features of MapReduceV (YARN) architecture 1. ResourceManager High Availability: YARN now allows you to use multiple ResourceManagers so that there is no single point of failure. In-flight jobs are recovered without re-running completed tasks. 2. Monitoring and enforcing memory and CPU-based resource utilization using cgroups. 3. Continuous Scheduling: This feature decouples scheduling from the node heartbeats for improved performance in large clusters 4. 1 and 2 5. 1,2 and 3