Complete the code to specify the number of nodes in the Hadoop cluster.
num_nodes = [1]The number of nodes is set to 5 to define the cluster size.
Complete the code to calculate total storage capacity in TB.
total_storage_tb = num_nodes * [1]Each node has 2 TB storage, so total storage is nodes times 2.
Fix the error in the code to calculate total memory in GB.
total_memory_gb = num_nodes [1] 64
Total memory is number of nodes multiplied by memory per node (64 GB).
Fill both blanks to create a dictionary of node memory and storage.
node_specs = {'memory_gb': [1], 'storage_tb': [2]Each node has 64 GB memory and 2 TB storage.
Fill all three blanks to create a summary dictionary with nodes, total memory, and total storage.
cluster_summary = {'nodes': [1], 'total_memory_gb': [2], 'total_storage_tb': [3]The cluster has 5 nodes, total memory is 5*64=320 GB, and total storage is 5*2=10 TB.
