hive启动一些错误记录
java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMeta
原因:因为没有正常启动Hive 的 Metastore Server服务进程。
解决方法:启动Hive 的 Metastore Server服务进程,执行如下命令:
hive --service metastore & [1] 52460 Starting Hive Metastore Server SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/root/hadoop/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/root/hadoop/apache-hive-0.14.0-bin/lib/hive-jdbc-0.14.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
hive Specified key was too long; max key length is 767 bytes
解决方法:
mysql > alter database hive character set latin1;
再在Hive里创建表已经ok了
最新文章
- Node.app – 用于 iOS App 开发的 Node.js 解释器
- JS中基本window对象操作
- 将UIImage保存成JPG或PNG格式存储在本地
- BootStrap2学习日记10---单选框和复选框
- ME21N/ME22N/ME23N屏幕增强BADI ME_GUI_PO_CUST
- EF中使用语句 或存储过程 查询(转)
- (转)UIColor 的使用
- Reeder Web版
- log4jdbc打印完整SQL
- Python使用虚拟环境
- java:合并两个排序的链表(递归+非递归)
- 【数据结构】算法 LinkList (Add Two Numbers)
- java操作elasticsearch实现批量添加数据(bulk)
- longquan
- rman备份例子
- Windows server 2012 R2 与 Windows 2016 的双系统重启选项
- CentOS使用安装光盘建立本地软件源
- 06 django的用户认证组件
- Hex Dump In Many Programming Languages
- hdoj1114 Piggy-Bank