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了

最新文章

  1. Node.app – 用于 iOS App 开发的 Node.js 解释器
  2. JS中基本window对象操作
  3. 将UIImage保存成JPG或PNG格式存储在本地
  4. BootStrap2学习日记10---单选框和复选框
  5. ME21N/ME22N/ME23N屏幕增强BADI ME_GUI_PO_CUST
  6. EF中使用语句 或存储过程 查询(转)
  7. (转)UIColor 的使用
  8. Reeder Web版
  9. log4jdbc打印完整SQL
  10. Python使用虚拟环境
  11. java:合并两个排序的链表(递归+非递归)
  12. 【数据结构】算法 LinkList (Add Two Numbers)
  13. java操作elasticsearch实现批量添加数据(bulk)
  14. longquan
  15. rman备份例子
  16. Windows server 2012 R2 与 Windows 2016 的双系统重启选项
  17. CentOS使用安装光盘建立本地软件源
  18. 06 django的用户认证组件
  19. Hex Dump In Many Programming Languages
  20. hdoj1114 Piggy-Bank

热门文章

  1. 浅析ES的_source、_all、store、index
  2. import time 进度条动态输出26个字母
  3. scrapy运行的整个流程
  4. Arrays.asList()使用的问题
  5. 读《深入PHP 面向对象、模式与实践》笔记
  6. gulp 前端构建工具使用
  7. leetcode-106-从中序和后序遍历构造二叉树
  8. Cesium官方教程7--三维模型
  9. 群晖引导是uefi还是传统模式的识别
  10. 03_Hibernate关系映射