DevTech101

DevTech101

http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html

cd /usr/java/latest/jre/lib/security/ ;unzip UnlimitedJCEPolicyJDK7.zip;mv UnlimitedJCEPolicy/* .

cd /opt;wget http://archive.cloudera.com/cdh5/cdh/5/hive-0.12.0-cdh5.0.0.tar.gz
tar zxf hive-0.12.0-cdh5.0.0.tar.gz;mv hive-0.12.0-cdh5.0.0 hive

export HADOOP_HOME=/opt/hadoop-2.6.0-cdh5.4.0

wget wget -O hive-conf.zip http://host.domain.com:7180/cmf/services/5/client-config
unzip hive-conf.zip


export HIVE_HOME=/export/home/cognos/hive-0.12.0-cdh5.0.0
export HIVE_CONF_DIR=/export/home/cognos/hive-conf
alias hive=$HIVE_HOME/bin/hive

export HADOOP_USER_CLASSPATH_FIRST=true

export PATH=/usr/gnu/bin:$PATH:/export/home/cognos/hive-0.12.0-cdh5.0.0/bin:/opt/hadoop-2.6.0-cdh5.4.0/bin

Source
https://docs.oracle.com/cd/E63064_01/doc.42/e63062/users.htm#BIGUG328

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
%d bloggers like this: