免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2545 | 回复: 2
打印 上一主题 下一主题

[Hive] hive报错,高手帮看看 [复制链接]

论坛徽章:
71
15-16赛季CBA联赛之同曦
日期:2018-08-23 15:41:42辰龙
日期:2014-08-15 09:07:43狮子座
日期:2014-06-03 13:55:33亥猪
日期:2014-06-02 11:17:08巨蟹座
日期:2014-05-06 10:02:03午马
日期:2014-05-04 08:18:27亥猪
日期:2014-04-29 11:11:32技术图书徽章
日期:2014-04-24 15:51:26技术图书徽章
日期:2014-04-17 11:01:53辰龙
日期:2014-04-15 12:45:46亥猪
日期:2014-04-11 09:06:23射手座
日期:2014-04-01 15:28:10
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-12-10 17:31 |只看该作者 |倒序浏览
本帖最后由 zhaopingzi 于 2013-12-10 17:34 编辑

-bash-3.2$ hive
13/12/10 17:28:23 WARN conf.HiveConf: DEPRECATED: Configuration property hive.metastore.local no longer has any effect. Make sure to provide a valid value for hive.metastore.uris if you are connecting to a remote metastore.

  1. ....
  2. <property>
  3.   <name>hive.metastore.uris</name>
  4.   <value></value>
  5.   <description>Thrift uri for the remote metastore. Used by metastore client to connect to remote metastore.</description>
  6. </property>

  7. <property>
  8.   <name>javax.jdo.option.ConnectionURL</name>
  9.   <value>jdbc:mysql://192.168.7.81:3306/hive?createDatabaseIfNotExist=true</value>
  10.   <description>JDBC connect string for a JDBC metastore</description>
  11. </property>

  12. <property>
  13.   <name>javax.jdo.option.ConnectionDriverName</name>
  14.   <value>com.mysql.jdbc.Driver</value>




  15. <property>
  16.   <name>javax.jdo.option.ConnectionUserName</name>
  17.   <value>hadoop</value>
  18.   <description>username to use against metastore database</description>
  19. </property>




  20. <property>
  21.   <name>javax.jdo.option.ConnectionPassword</name>
  22.   <value>hadoop</value>
  23.   <description>password to use against metastore database</description>
  24. </property>
  25. ....
  26. <property>
  27.   <name>hive.metastore.local</name>
  28.   <value>true</value>
  29. </property>

  30. ...
复制代码
mysql已经装好,mysql-connector-java-5.1.27-bin.jar也已经装好

-bash-3.2$ mysql -uhadoop -phadoop
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 60
Server version: 5.5.34 MySQL Community Server (GPL)

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

论坛徽章:
49
15-16赛季CBA联赛之福建
日期:2016-06-22 16:22:002015年亚洲杯之中国
日期:2015-01-23 16:25:12丑牛
日期:2015-01-20 09:39:23未羊
日期:2015-01-14 23:55:57巳蛇
日期:2015-01-06 18:21:36双鱼座
日期:2015-01-02 22:04:33午马
日期:2014-11-25 09:58:35辰龙
日期:2014-11-18 10:40:07寅虎
日期:2014-11-13 22:47:15申猴
日期:2014-10-22 15:29:50摩羯座
日期:2014-08-27 10:49:43辰龙
日期:2014-08-21 10:47:58
2 [报告]
发表于 2013-12-10 19:31 |只看该作者
zhaopingzi 发表于 2013-12-10 17:31
-bash-3.2$ hive
13/12/10 17:28:23 WARN conf.HiveConf: DEPRECATED: Configuration property hive.metas ...


兄弟,这个问题,发到nosql版面稍微好点吧?

这里都是linux的人啊

论坛徽章:
71
15-16赛季CBA联赛之同曦
日期:2018-08-23 15:41:42辰龙
日期:2014-08-15 09:07:43狮子座
日期:2014-06-03 13:55:33亥猪
日期:2014-06-02 11:17:08巨蟹座
日期:2014-05-06 10:02:03午马
日期:2014-05-04 08:18:27亥猪
日期:2014-04-29 11:11:32技术图书徽章
日期:2014-04-24 15:51:26技术图书徽章
日期:2014-04-17 11:01:53辰龙
日期:2014-04-15 12:45:46亥猪
日期:2014-04-11 09:06:23射手座
日期:2014-04-01 15:28:10
3 [报告]
发表于 2013-12-11 11:42 |只看该作者
回复 2# send_linux


    恩知道了。不过搞hadoop的都是搞linux的,这个问题解决了:

通过修改

  1. <property>
  2.   <name>hive.metastore.schema.verification</name>
  3.   <value>false</value>
  4.    <description>
  5. </property>
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP