hiveql - hive-site.xml path in hive0.13.1 -
i'm newbie. know hive-site.xml
, hive-default.xml
files locations in hive-0.13.1
version.
i have downloaded hive0.13.1-bin
version below location. http://apache.mirrors.pair.com/hive/hive-0.13.1/
extracted , configured hive environment variables.
i'm able run commands(create table, show, load data, query table..)
.
but in conf(/hive/hive-0.13-1/conf)
directory, not see hive-site.xml
, hive-default.xml
files.
where these files located in hive-0.13.1
version?
follow steps
1) extract folder
2)go /apache-hive-0.13.1-bin/conf , make copy of hive-default.xml.template , looks hive-default.xml (copy).template.
3) rename hive-default.xml (copy).template hive-site.xml.
4) make copy of hive-env.sh.template hive-env.sh.
add in hive-env.sh
export hadoop_heapsize=1024 # set hadoop_home point specific hadoop install directory export hadoop_home=/home/user17/bigdata/hadoop #hive export hive_home=/home/user17/bigdata/hive # hive configuration directory can controlled by: export hive_conf_dir=$hive_home/conf
5) export hadoop , hive path in .bashrc file
export hadoop_home=/home/user17/bigdata/hadoop export path=$path:$hadoop_home/bin export hive_home=/home/user17/bigdata/hive export path=$path:$hive_home/bin
start hadoop by
start-all.sh
enjoy hive.give hadoop , hive path in export command according system.let me know if not work.
Comments
Post a Comment