Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
centos_hortonworks [2016/04/20 09:21]
steve
centos_hortonworks [2016/04/20 09:28]
steve
Line 20: Line 20:
 At the boot menu, hit Tab, and add ''​text''​ to the kernel options. At the boot menu, hit Tab, and add ''​text''​ to the kernel options.
  
-** Disk partitioning **+** Disk partitioning ​and filesystems ​**
  
 Hadoop comes with some recommendations for setting up the filesystem Hadoop comes with some recommendations for setting up the filesystem
  
-  * Don't use LVM +  * Don't use LVM to manage partitions 
-  * No swap partition or disable it in ''​sysctl.conf''​+  * Either do not install ​swap partition or set ''​vm.swappiness''​ to 0 in ''​sysctl.conf''​
   * Set the ''​noatime''​ flag for the partitions   * Set the ''​noatime''​ flag for the partitions
   * Use ext3 or ext4 as the filesystem type   * Use ext3 or ext4 as the filesystem type
-  * Disable root reserved amount ​+  * Disable root reserved amount
  
-Since HDFS works across ​partitions, ​I keep it simple ​and have only one partition.+Using the text installer, your partitions ​are set up automatically. It will install a swap partition, and a separate ​one for the boot loader.
  
 You'll only get an option to partition the drives through the GUI install. So in these cases of a text one, it'll auto-format,​ use LVM, and create an ext4 filesystem for root. You'll only get an option to partition the drives through the GUI install. So in these cases of a text one, it'll auto-format,​ use LVM, and create an ext4 filesystem for root.
 +
 +Set ''​vm.swappiness''​ to 0 in ''/​etc/​sysctl.conf'',​ and apply it to the running system. This will let the kernel use swap only if something is going to OOM.
  
 ** DHCP request ** ** DHCP request **