[bash]wget -O /etc/yum.repos.d/bigtop.repo http://www.apache.org/dist/bigtop/bigtop-0.8.0/repos/centos6/bigtop.repo[/bash]
[bash]yum install hadoop\* mahout\* oozie\* hbase\* hive\* hue\* pig\* zookeeper\*[/bash]
[bash]sudo yum install java-1.7.0-openjdk-devel.x86_64[/bash]
[bash]sudo /etc/init.d/hadoop-hdfs-namenode init[/bash]
[bash]for i in hadoop-hdfs-namenode hadoop-hdfs-datanode ; \
do sudo service $i start ; done[/bash]
[bash]sudo /usr/lib/hadoop/libexec/init-hdfs.sh[/bash]
[bash]sudo service hadoop-yarn-resourcemanager start
sudo service hadoop-yarn-nodemanager start[/bash]
The above steps will reduce much effort spent for installing and linking compatible softwares if we only install each package :-). Of course we can still use other built-in package such as CloudEra or Hortonworks’ ones.
1. If there is “org.apache.hadoop.security.AccessControlException” relates to “/tmp/hadoop-yarn” while running hadoop/pig/etc. scripts, it is due to the permission on the tmp folder. Do not be frustrated, just run
[bash]sudo -u hdfs hadoop fs -chmod -R 777 /tmp/hadoop-yarn[/bash]
and you will be fine 🙂
This year, I'm excited to revive my blog with regular posts about my adventures in…
This is just a quick note to Install Let's Encrypt for Nginx on Ubuntu 18.…
I come to a request to capture all out-going network connections to be sure no…
Many developers have asked me the effective way to test their code in a multi-server…
As you might know, MySQL introduces Document Store (via JSON field) from version 5.7 and…
As you may know, I started working with high load MySQL servers in 2010 (and…