Differences
This shows you the differences between two versions of the page.
— | ubuntu_hortonworks [2016/01/29 00:01] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Ubuntu HortonWorks ====== | ||
+ | * [[Ubuntu]] | ||
+ | * [[Hadoop]] | ||
+ | |||
+ | Install the Ubuntu OS as normal. HortonWorks supports 12.04 and 14.04. | ||
+ | |||
+ | When partitioning the drives, do not create any swap. | ||
+ | |||
+ | Install some packages required by HDP: | ||
+ | |||
+ | < | ||
+ | aptitude -y install unzip ntp nscd | ||
+ | </ | ||
+ | |||
+ | Increase the file descriptor and processor limits. In ''/ | ||
+ | |||
+ | < | ||
+ | * - nofile 32768 | ||
+ | * - nproc 65536 | ||
+ | </ | ||
+ | |||
+ | Disable IPv6 completely in ''/ | ||
+ | |||
+ | < | ||
+ | net.ipv6.conf.all.disable_ipv6 = 1 | ||
+ | net.ipv6.conf.default.disable_ipv6 = 1 | ||
+ | net.ipv6.conf.lo.disable_ipv6 = 1 | ||
+ | vm.swappiness = 0 | ||
+ | </ | ||
+ | |||
+ | Apply the changes: | ||
+ | |||
+ | < | ||
+ | sysctl -p | ||
+ | </ | ||
+ | |||
+ | HortonWorks recommends disabling transparent hugepages as well. Add to ''/ | ||
+ | |||
+ | < | ||
+ | echo never > / | ||
+ | echo never > / | ||
+ | </ | ||
+ | |||
+ | On the primary node, add the HDP Ubuntu repos: | ||
+ | |||
+ | < | ||
+ | wget -nv http:// | ||
+ | apt-key adv --recv-keys --keyserver keyserver.ubuntu.com B9733A7A07513CAD | ||
+ | aptitude update | ||
+ | </ | ||
+ | |||
+ | Install the Ambari package: | ||
+ | |||
+ | < | ||
+ | aptitude -y install ambari-server | ||
+ | </ |