Complete the code to start the ResourceManager service in Hadoop.
start-[1].shThe ResourceManager is started using the start-ResourceManager.sh script.
Complete the code to check the status of the NodeManager service.
yarn [1] nodemanagerThe command yarn status nodemanager checks the status of the NodeManager service.
Fix the error in the command to list all NodeManagers registered with the ResourceManager.
yarn [1] nodemanagersThe correct command is yarn list nodemanagers to list all NodeManagers registered.
Fill both blanks to create a dictionary comprehension that maps NodeManager hostnames to their memory capacity if memory is greater than 8192 MB.
{node['[1]']: node['[2]'] for node in nodes if node['memory'] > 8192}The dictionary keys are hostnames and values are memory capacities, filtered by memory > 8192 MB.
Fill all three blanks to create a dictionary comprehension that maps uppercase hostnames to their CPU cores if cores are greater than 4.
{node['[1]'].[2](): node['[3]'] for node in nodes if node['cores'] > 4}The dictionary keys are uppercase hostnames and values are CPU cores, filtered by cores > 4.