hive 配置
来源:互联网 发布:ws源码 编辑:程序博客网 时间:2024/05/18 02:38
什么是Derby安装方式
•Apache Derby是一个完全用java编写的数据库,所以可以跨平台,但需要在JVM中运行
•Derby是一个Open source的产品,基于Apache License 2.0分发
•即将元数据存储在Derby数据库中,也是Hive默认的安装方式
安装Hive
•解压Hive
•tar zxvf hive-0.8.1.tar /home/test/Desktop
•建立软连接
•ln –s hive-0.8.1 hive
•添加环境变量
•export HIVE_HOME=/home/test/Desktop/hive
•export PATH=….HIVE_HOME/bin:$PATH:.
配置Hive
•进入hive/conf目录
•依据hive-env.sh.template,创建hive-env.sh文件
•cp hive-env.sh.template hive-env.sh
•修改hive-env.sh
•指定hive配置文件的路径
•export HIVE_CONF_DIR=/home/test/Desktop/hive/conf
•指定Hadoop路径
• HADOOP_HOME=/home/test/Desktop/hadoop
hive-site.xml
javax.jdo.option.ConnectionURL
jdbc:derby:;databaseName=metastore_db;create=true
JDBC connect string for a JDBC metastore
javax.jdo.option.ConnectionDriverName
org.apache.derby.jdbc.EmbeddedDriver
Driver class name for a JDBC metastore
javax.jdo.option.ConnectionUserName
APP
username to use against metastore database
javax.jdo.option.ConnectionPassword
mine
password to use against metastore database
- hive配置
- Hive 配置
- hive 配置
- 配置Hive
- Hive配置
- hive 配置
- hive配置
- 配置hive
- hive配置
- HIVE配置
- hive配置
- hive 配置
- Hive(2)-Hive的配置
- 配置Hadoop和HIVE
- hive安装与配置
- 配置hadoop,hive,hbase
- hive安装配置
- Hive安装配置详细
- 笔试真题解析 ALBB-2015 系统工程师研发笔试题
- git和github学习1(搭建git环境)
- 计蒜之道2015程序设计大赛
- Eclipse 下搭建C++编译环境
- 检索(一)线性表检索、集合检索
- hive 配置
- hdu 5389 Zero Escape(dp)
- 简化IT程序员工作生活的4个窍门
- How to compile the book Mercurial: The Definitive Guide from the DocBook source files?
- NSString NSArray NSNumber 总结
- 使用 rsync 服务(二)
- Android的提交数据到服务器
- KMP算法--next数组
- Android SDK 详解