Hive 安装配置记录

http://yymmiinngg.iteye.com/blog/708230

export     HADOOP_HOME_WARN_SUPPRESS=1
export JAVA_HOME=/home/hadoop/installer/jdk7u65
export HADOOP_HOME=/home/hadoop/installer/hadoop-1.1.2
export ZOOKEEPER_HOME=/home/hadoop/installer/zookeeper-3.4.5
export HBASE_HOME=/home/hadoop/installer/hbase
export HIVE_HOME=/home/hadoop/installer/hive
export PATH=$HIVE_HOME/bin:$HBASE_HOME/bin:$ZOOKEEPER_HOME/bin:$HADOOP_HOME/bin:$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

 

login as: root
root@192.168.12.23's password: *********
Last login: Wed Aug 20 03:17:45 2014 from 192.168.12.67
[root@testHostName1 ~]# hive
WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter in all the log4j.properties files.
Logging initialized using configuration in jar:file:/home/hadoop/installer/hive/lib/hive-common-0.9.0.jar!/hive-log4j.properties
Hive history file=/tmp/root/hive_job_log_root_201408200345_1873654934.txt
hive> show tables;
OK
tt
ttt
Time taken: 6.566 seconds
hive> select * from tt;
OK
Time taken: 1.257 seconds

 

posted on 2014-08-20 18:47  lovebeauty  阅读(230)  评论(0编辑  收藏  举报

导航