Question : You have a cluster of Nodes in Geneva Datacenter , and you find a specific node in your cluster appears to be running slower than other nodes with all having same hardware configuration. You think that RAM could be failure in the system. Which commands may be used to the view the memory seen in the system?
" lsram does not exist. " jps lists the running Java processes, but does not provide any information on system memory usage. " df provides information about free disk space, not RAM. " top and free can be used to display memory and swap information. In both applications the memory in use includes read cache which will be released for application use before swapping begins. " dmidecode shows bios information on a running system. The amount of installed RAM and size of the modules in each slot can be found in the output.
Additionally memory and swap usage can be viewed with cat /proc/meminfo or vmstat.
Question : You have a cluster of Nodes in Geneva Datacenter , and you find a specific node in your cluster appears to be running slower than other nodes with all having same hardware configuration. You think that RAM could be failure in the system. Which commands may be used to the view the memory seen in the system?
" lsram does not exist. " memusage does not exist. " jps lists the running Java processes, but does not provide any information on system memory usage. " df provides information about free disk space, not RAM. " top and free can be used to display memory and swap information. In both applications the memory in use includes read cache which will be released for application use before swapping begins. " dmidecode shows bios information on a running system. The amount of installed RAM and size of the modules in each slot can be found in the output.
Additionally memory and swap usage can be viewed with cat /proc/meminfo or vmstat.
" top and free can be used to display memory and swap information. In both applications the memory in use includes read cache which will be released for application use before swapping begins. " dmidecode shows bios information on a running system. The amount of installed RAM and size of the modules in each slot can be found in the output.
Question : What must you do if you are running a Hadoop cluster with a single NameNode, called HadoopExam and DataNodes, and you wish to change the configuration of all DataNodes.
1. You must modify the configuration files on your NameNode where the master configuration files reside for all DataNodes. 2. You must restart all 100 DataNode daemons to apply the changes.
Explanation: To change the configuration of a DataNode daemon, you must modify the configuration file on the machine on which the daemon is running, and then restart that daemon. So to change the configuration of all datanodes, after changing the configuration files you must restart all six of the DataNodes. You do not need to restart the NameNode, since its configuration has not changed.