Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
centos_hortonworks [2016/04/20 09:19] steve |
centos_hortonworks [2016/04/20 09:21] steve |
||
---|---|---|---|
Line 22: | Line 22: | ||
** Disk partitioning ** | ** Disk partitioning ** | ||
- | Hadoop comes with some recommendations for setting up the filesystem: don't use LVM, don't create a swap partition and set the ''noatime'' setting for the partitions. Use ext3 or ext4 as the filesystem type. | + | Hadoop comes with some recommendations for setting up the filesystem |
+ | |||
+ | * Don't use LVM | ||
+ | * No swap partition or disable it in ''sysctl.conf'' | ||
+ | * Set the ''noatime'' flag for the partitions | ||
+ | * Use ext3 or ext4 as the filesystem type | ||
+ | * Disable root reserved amount | ||
Since HDFS works across partitions, I keep it simple and have only one partition. | Since HDFS works across partitions, I keep it simple and have only one partition. |