读书人

封存hive的metastore

发布时间: 2013-12-04 17:21:01 作者: rapoo

保存hive的metastore
首先安装mysql,见:
http://running.iteye.com/blog/910277

修改字符集为latin1
13.修改my.cnf

set global binlog_format='MIXED';


READ-COMMITTED需要把bin-log以mixed方式来记录
否则进入hive,会如下错误
FAILED: Error in metadata: javax.jdo.JDOException: Couldnt obtain a new sequence (unique id) : Binary logging not possible. Message: Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'

读书人网 >开源软件

热点推荐