Author Archives: Huang Shiyang

Install a new MIT KDC Kerberos

http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Ambari_Security_Guide/content/_optional_install_a_new_mit_kdc.html   Install a new MIT KDC The following gives a very high level description of the KDC installation process. To get... Read More | Share it now!

ifconfig-Centos下设置静态IP

使用VirtualBox装了很多虚拟机,默认采用的DHCP的方式,但是随着虚拟机越来越多以后,这种方式很不方便,所以需要将机器的IP都设置为静态IP 需要添加的几项内容的解释: IPADDR  ... Read More | Share it now!

Hive Function Cheat Sheet

Hive Function Meta commands SHOW FUNCTIONS– lists Hive functions and operators DESCRIBE FUNCTION – displays short description of the function DESCRIBE FUNCTION EXTENDED – access extended description of the function Types of Hive... Read More | Share it now!

How to install CentOS 6.6

Download CentOS 6.6 ISO(4.3GB): http://dl.huangshiyang.com/install_centos/CentOS-6.6-x86_64-bin-DVD1.iso   ... Read More | Share it now!

Protected: vms

There is no excerpt because this is a protected post.

“add jar” command throws “Insufficient privileges to execute add” exception even for admin role

https://issues.apache.org/jira/browse/SENTRY-147 0: jdbc:hive2://......:10000/default> add jar /home/direp_hv_qa/satish/hive-udf-7.jar; Error: Insufficient privileges to execute add (state=42000,code=0) java.sql.SQLException: Insufficient... Read More | Share it now!

Wordcount for Hadoop

Java sample code: http://dl.huangshiyang.com/hadoopUtilTools.zip import java.io.IOException; import java.util.*; import org.apache.hadoop.fs.Path; import org.apache.hadoop.conf.*; import org.apache.hadoop.io.*; import... Read More | Share it now!

How to install a MapR(5.1, 5.0, 4.1) cluster on Centos VM

Operating System Support Matrix This matrix shows the operating systems and versions supported by each MapR release. MapR Version OS Version MapR 5.2.0 MapR 5.1.0 MapR 5.0.0 MapR 4.1.0 MapR 4.0.2 MapR 4.0.1 MapR 3.1.x MapR... Read More | Share it now!

Aggregation is not enabled. Try the nodemanager at IP:HOST

Question: Aggregation service start hadoop 2.2.0, I want to view Tracking UI,so I visit http://172.11.12.6:8088/cluster,then I click History of Completed Job,such as follows: MapReduce Job job_1392601388579_0001 Attempt Number Start Time Node Logs 1... Read More | Share it now!

Set up DgSecure after installing

ORANGE WORDS need to be changed on your OWN!!!!! Common setting: 1 set up host name of local machine and clusters: $ vi etc/hosts 192.168.5.1 cdh1.cluster 192.168.5.2 cdh2.cluster 192.168.5.3 cdh3.cluster 192.168.5.123 dgctrl localhost 2 copy... Read More | Share it now!