![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hive
hive 相关知识
~Erin
认真你就输了。但是坚持一直认真你就赢了
展开
-
hive常见的命令
1.进入hive的shell操作命令界面 hive shell 2.显示所有表 show tables 3.显示表的详细结构 desc table_name 3.删除表 drop table 表名称原创 2018-12-21 15:07:57 · 118 阅读 · 0 评论 -
java连接hive
maven依赖 <dependency> <groupId>org.apache.hive</groupId> <artifactId>hive-jdbc</artifactId> <version>2.0.0</version> </dependency>原创 2019-02-19 16:01:51 · 1012 阅读 · 0 评论 -
hive常见错误
1.查找hive的查询报错在hive的日志中。找hive的日志一般在hive的安装目录的conf中有个log的配置文件可以找到日志的位置。一般默认为/tmp/用户名/hive.log 2.常见的错误 java.io.IOException:Connectionresetbypeer 问题描述:hive 查询卡死,无法执行hive的命令 错误信息: 2013-03-2212:54:...原创 2019-03-06 10:02:33 · 782 阅读 · 0 评论