Hive:FAILED: LockException [Error 10280]: Error communicating with the metastore
1、问题示例
使用hive直接选择查看表中数据报错,而相同语句在spark-sql却不报错。
实在无力吐槽hive了,因它受伤太多了。
(1)使用hive
hive (test)> select * from t1;
FAILED: LockException [Error 10280]: Error communicating with the metastore
hive (test)> select * from t2;
FAILED: LockException [Error 10280]: Error communicating with the metastore
hive (test)> select * from t3;
FAILED: LockException [Error 10280]: Error communicating with the metastore
hive (test)> select * from t_orcfile;
FAILED: LockException [Error 10280]: Error communicating with the metastore
hive (test)> select * from t_textfile;
FAILED: LockException [Error 10280]: Error communicating with the metastore
hive (test)> select * from t_sequencefile;
FAILED: LockException [Error 10280]: Error communicating with the metastore
(2)使用spark-sql
spark-sql> select * from t1;
1 aaa
2 bbb
Time taken: 0.234 seconds, Fetched 2 row(s)
spark-sql> select * from t2;
Time taken: 0.086 seconds
spark-sql> select * from t3;
1 aaa
Time taken: 0.135 seconds, Fetched 1 row(s)
spark-sql> select * from t_orcfile;
a1 1 b1 c1
a2 2 b2 c2
a3 3 b3 c3
a4 4 b4 c4
a5 5 b5 c5
Time taken: 0.255 seconds, Fetched 5 row(s)
spark-sql> select * from t_textfile;
a1 3 b3 c3
a4 4 b4 c4
a1 1 b1 c1
a2 2 b2 c2
Time taken: 0.211 seconds, Fetched 4 row(s)
spark-sql> select * from t_sequencefile;
a1 1 b1 c1
a2 2 b2 c2
Time taken: 1.673 seconds, Fetched 2 row(s)
2、解决方案
尚未解决,确信hive-site.xml没有问题。
3、问题剖析
尚未知晓。
Hive:FAILED: LockException [Error 10280]: Error communicating with the metastore的更多相关文章
- idea报错:error java compilation failed internal java compiler error
idea下面报如下问题 error java compilation failed internal java compiler error 解决办法:Setting->Compiler-> ...
- MDK st-link下载STM32程序出现Internal command error和Error:Flash download failed. Target DLL
MDK st-link下载STM32程序出现Internal command error和Error:Flash download failed. Target DLL 是因为目标板的芯片处于休眠 ...
- idea Error:java: Compilation failed: internal java compiler error
idea 遇到Error:java: Compilation failed: internal java compiler error 是提示说你当前使用的编译器jdk版本不对. 按住Ctrl+Alt ...
- Error:java:Compilation failed: internal java compiler error
在IDEA中编译时出现这个错误:Error:java:Compilation failed: internal java compiler error! Information:Using javac ...
- Deployment failed due to an error in FastDev assembly synchronization.
在编译的时候发生Assembly synchronization error,显示信息为:Deployment failed due to an error in FastDev assembly s ...
- ERROR: transport error 202: bind failed: Address already in use
早上上班,同事反应服务上不去,后台看了一下,发现tomcat挂掉了,重新启动tomcat时报错. ERROR: transport error 202: bind failed: Address al ...
- iOS9 白名单问题 -canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query for scheme xx"
[iOS开发]-canOpenURL: failed for URL: "xx" - error:"This app is not allowed to query fo ...
- VS 2017 Git failed with a fatal error的解决办法
前几天,满怀欣喜的从VS2015更新到了VS2017,经过这几天的试用,整体来说感觉还是挺不错的.昨天推送项目到远程服务器的时候,发现出现了推送失败的错误,错误如图: 按照提示,我看到输出窗口的输入内 ...
- composer在update时提示file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO
在开发的时候,需要把依赖的服务更新到最新,然后 手动composer update一下,提示如下: failed) Update failed (The "e "https://a ...
- postman Installation has failed: There was an error while installing the application. Check the setup log for more information and contact the author
Error msg: Installation has failed: There was an error while installing the application. Check the s ...
随机推荐
- spring-boot 引入redis
1.引入redis <dependency> <groupId>org.springframework.boot</groupId> <artifactId& ...
- windows shell
屏蔽wifi名称:netsh wlan add filter permission=block ssid="wifi的名称" networktype=infrastructure ...
- JS学习-给Canvas上下文设置样式
给Canvas上下文设置样式 <canvas class="myCanvas" width="700" height="500"> ...
- IntelliJ IDEA 工具识别不了 过大Java文件 引用识别的不了的文件报错
之前出现过proto 生成的文件过大 idea 识别不了 引用消息报错. 解决方案 1.找到IntelliJ IDEA 桌面快捷键图标 右键属性 2.打开文件位置,找到所在目录 3.找到idea.pr ...
- Software--BigData--StreamingData
2018-03-29 16:13:34 一 : 流系统分层架构设计 二: 分层技术选型分析 三:底层 -- 服务配置和协调 ZooKeeper
- spark项目技术点整理
spark项目技术点整理 1.性能调优: 1>分配更多的资源:性能调优的王道就是分配和增加更多的资源.写完一个spark作业后第一个要是调节最优的资源配置,能够分配的资源达到你的能力范围的顶端后 ...
- OSS管理文件(Java)
工具类 package com.panchina.util; import com.alibaba.druid.util.StringUtils; import com.aliyun.oss.Http ...
- docker搭建phpswoole实现http服务
一.创建Dockerfile FROM phpswoole/swoole # COPY ./www/ /var/www/ 二.同级目录下创建docker-compose.yml services: p ...
- 实验: spring-boot 整合 fluent-mybatis 实验过程!!!!
1.参考: 简单整合,会报错误 https://segmentfault.com/a/1190000040467885?utm_source=sf-similar-article 利用maven编译, ...
- CCF 202006-1 线性分类器
#include <iostream> #include <bits/stdc++.h> #include <string> using namespace std ...