Caused by: MetaException(message:Hive Schema version 2.1.0 does not match metastore's schema version 1.2.0 Metastore is not upgraded or corrupt)_2
Caused by: MetaException(message:Hive Schema version 2.1.0 does not match metastore's schema version 1.2.0 Metastore is not upgraded or corrupt)
[Dev root @ sd-9c1f-2eac /usr/local/src/apache-hive-2.1.1-bin/scripts/metastore/upgrade/mysql]
# ls
001-HIVE-972.mysql.sql    027-HIVE-12819.mysql.sql      hive-schema-2.0.0.mysql.sql
002-HIVE-1068.mysql.sql   028-HIVE-12821.mysql.sql      hive-schema-2.1.0.mysql.sql
003-HIVE-675.mysql.sql    029-HIVE-12822.mysql.sql      hive-txn-schema-0.13.0.mysql.sql
004-HIVE-1364.mysql.sql   030-HIVE-12823.mysql.sql      hive-txn-schema-0.14.0.mysql.sql
005-HIVE-417.mysql.sql    031-HIVE-12831.mysql.sql      hive-txn-schema-1.3.0.mysql.sql
006-HIVE-1823.mysql.sql   032-HIVE-12832.mysql.sql      hive-txn-schema-2.0.0.mysql.sql
007-HIVE-78.mysql.sql     034-HIVE-13076.mysql.sql      hive-txn-schema-2.1.0.mysql.sql
008-HIVE-2246.mysql.sql   035-HIVE-13395.mysql.sql      README
009-HIVE-2215.mysql.sql   036-HIVE-13354.mysql.sql      upgrade-0.10.0-to-0.11.0.mysql.sql
010-HIVE-3072.mysql.sql   hive-schema-0.10.0.mysql.sql  upgrade-0.11.0-to-0.12.0.mysql.sql
011-HIVE-3649.mysql.sql   hive-schema-0.11.0.mysql.sql  upgrade-0.12.0-to-0.13.0.mysql.sql
012-HIVE-1362.mysql.sql   hive-schema-0.12.0.mysql.sql  upgrade-0.13.0-to-0.14.0.mysql.sql
013-HIVE-3255.mysql.sql   hive-schema-0.13.0.mysql.sql  upgrade-0.14.0-to-1.1.0.mysql.sql
014-HIVE-3764.mysql.sql   hive-schema-0.14.0.mysql.sql  upgrade-0.5.0-to-0.6.0.mysql.sql
016-HIVE-6386.mysql.sql   hive-schema-0.3.0.mysql.sql   upgrade-0.6.0-to-0.7.0.mysql.sql
017-HIVE-6458.mysql.sql   hive-schema-0.4.0.mysql.sql   upgrade-0.7.0-to-0.8.0.mysql.sql
018-HIVE-6757.mysql.sql   hive-schema-0.4.1.mysql.sql   upgrade-0.8.0-to-0.9.0.mysql.sql
019-HIVE-7784.mysql.sql   hive-schema-0.5.0.mysql.sql   upgrade-0.9.0-to-0.10.0.mysql.sql
020-HIVE-9296.mysql.sql   hive-schema-0.6.0.mysql.sql   upgrade-1.1.0-to-1.2.0.mysql.sql
021-HIVE-7018.mysql.sql   hive-schema-0.7.0.mysql.sql   upgrade-1.2.0-to-1.3.0.mysql.sql
022-HIVE-11970.mysql.sql  hive-schema-0.8.0.mysql.sql   upgrade-1.2.0-to-2.0.0.mysql.sql
023-HIVE-12807.mysql.sql  hive-schema-0.9.0.mysql.sql   upgrade-2.0.0-to-2.1.0.mysql.sql
024-HIVE-12814.mysql.sql  hive-schema-1.1.0.mysql.sql   upgrade.order.mysql
025-HIVE-12816.mysql.sql  hive-schema-1.2.0.mysql.sql
026-HIVE-12818.mysql.sql  hive-schema-1.3.0.mysql.sql
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
[Dev root @ sd-9c1f-2eac ~]
# mysqldump --opt --user=root --password  hive>metastore_backup.sql;
Enter password: 
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
[Dev root @ sd-9c1f-2eac ~]
# mysqldump --skip-add-drop-table --no-data hive>hive-schema-2.1.0.mysql.sql --user=root --password
Enter password:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------
% mysql --verbose --user=root --password
   mysql> use hive;
   Database changed
   mysql> source upgrade-1.2.0-to-2.0.0.mysql.sql
   mysql> source upgrade-2.0.0-to-2.1.0.mysql.sql
Caused by: MetaException(message:Hive Schema version 2.1.0 does not match metastore's schema version 1.2.0 Metastore is not upgraded or corrupt)_2的更多相关文章
- Caused by: MetaException(message:Hive Schema version 2.1.0 does not match metastore's schema version 1.2.0 Metastore is not upgraded or corrupt)
		
解决方案汇总: ()删除HDFS上的hive数据与hive数据库 hadoop fs -rm -r -f /tmp/hive hadoop fs -rm -r -f /user/hive ()删除My ...
 - [bug] Hive:Caused by: MetaException(message:Hive Schema version 2.1.0 does not match metastore's schema version 1.2.0 Metastore is not upgraded or corrupt)
		
参考 https://www.cnblogs.com/liupuLearning/p/6610307.html 少了创建hive数据库一步
 - Hive 0.12 Caused by: MetaException(message:Version information not found in metastore. )解决方法
		
配置完成Mysql存储元数据信息,启动后测试show tables报错ERROR exec.DDLTask: org.apache.hadoop.hive.ql.metadata.HiveExcept ...
 - hive :MetaException(message:Version information not found in metastore. )
		
MetaException(message:Version information not found in metastore. ) Hive now records the schema vers ...
 - 解决kylin sync table报错:MetaException(message:java.lang.ClassNotFoundException Class org.apache.hive.hcatalog.data.JsonSerDe not found
		
在kylin-gui中sync表default.customer_visit时报错: -- ::, ERROR [http-bio--exec-] controller.BasicController ...
 - MetaException(message:Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: java.net.ConnectException: 拒绝连接 (Connection
		
hive在hive-site.xml中配置hive.metastore.uris属性,后启动异常 hive异常 [fan@master hive-0.13.1-cdh5.3.6]$ bin/hive ...
 - 报错:MetaException(message:Version information not found in metastore. )
		
报错背景: CDH安装完成hive后启动失败. 报错现象: [main]: Metastore Thrift Server threw an exception... MetaException(me ...
 - FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:javax.jdo.JDODataStoreException: An exception was thrown while adding/validating class(es) :
		
在hive命令行创建表时报错: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. ...
 - Failed with exception MetaException(message:javax.jdo.JDODataStoreException: Error(s) were found while auto-creating/validating the datastore for classes.
		
hive (db_emp)> load data local inpath '/opt/datas/emp.txt' into table emp_part partition(`date`=' ...
 
随机推荐
- oracle 12c 新特性之不可见字段
			
在Oracle 11g R1中,Oracle以不可见索引和虚拟字段的形式引入了一些不错的增强特性.继承前者并发扬光大,Oracle 12c 中引入了不可见字段思想.在之前的版本中,为了隐藏重要的数据字 ...
 - 使用Visual Studio进行单元测试-Part1
			
写在开头:Coding ain't done until all the tests run. No unit test no BB. -------------------------------- ...
 - 文件上传框的美化+预览+ajax
			
1.文件上传基本写法: <input type="file" name="" id="" value="" /&g ...
 - Java常见设计模式之工厂模式
			
工厂模式在我们日常的应用中应当算是比较广泛的一种设计模式了.今天让我们一起来学习一下,工厂的设计模式. 工厂模式在<Java与模式>中分为三类: 1)简单工厂模式(Simple F ...
 - springMVC绑定json参数之二(2.2.2)
			
二.springmvc 接收不同格式的json字符串 2).格式二:json字符串数组 前台: test = function () { var test = ["123",&qu ...
 - jquery获取设置服务器控件的方法
			
jquery获取设置服务器控件的方法 获取TextBox,HiddenField,Label的值.例如: <asp:TextBox ID="txtBoxID" runat=& ...
 - 报错apachectl restart
			
httpd not running, trying to start(98)Address already in use: make_sock: could not bind to address [ ...
 - NumberFormatException: For input string: "null"
			
日志: [INFO-2016/08/04/16/:21/:25]ProjectCommonFormController.(78) - 审批[同意]入参-[string]commonFormDtoStr ...
 - [HDU1109]模拟退火算法
			
模拟退火的基本思想: (1) 初始化:初始温度T(充分大),初始解状态S(是算法迭代的起点),每个T值的迭代次数L (2) 对k=1,……,L做第(3)至第6步: (3) 产生新解$S\prime $ ...
 - 树莓派 Learning 002 装机后的必要操作 --- 02 解决中文问题
			
树莓派 装机后的必要操作 - 解决中文问题 我的树莓派型号:Raspberry Pi 2 Model B V1.1 装机系统:NOOBS v1.9.2 每一块树莓派,装机后都应该执行的步骤 刚装机后, ...