hive
文章平均质量分 88
chen_jiangtao
欢迎大家Star >>>>>>https://github.com/chenjiangtao/spring-boot-on-kubernetes<<<<<<
spring boot on kubernetes全家桶:MQ(ActiveMQ,Rabbit MQ), Redis Cluster, DB(Mysql,TiDB). Kong/Nginx ingress controller. PersistentVolumeClaim,PersistentVolume, DefaultStorageClass,hpa……All IN ONE !!!
展开
-
container is running 9441280B beyond the ‘PHYSICAL‘ memory limit问题处理
报错:[2021-08-09 16:10:02.211]Container [pid=92799,containerID=container_e01_1625131199794_0236_01_000005] is running 9441280B beyond the ‘PHYSICAL’ memory limit. Current usage: 1.0 GB of 1 GB physical memory used; 2.5 GB of 2.1 GB virtual memory used. Kil原创 2021-08-09 17:08:20 · 708 阅读 · 0 评论 -
impala读不到hive导入的数据(或者表找不到)
处理办法:重新加载所有库中的所有表INVALIDATE METADATA重新加载指定的某个表INVALIDATE METADATA 表名称原因主要是使用hive建表时,表的metadata没有同步,数据及索引也没有同步导致的数据查不到...原创 2020-09-24 14:09:04 · 1058 阅读 · 0 评论 -
hive表数据去重
根据user name查重SELECT test_user_name, count(*) c from default.test GROUP BY test_user_name HAVING c> 1;根据id查重SELECT id ,count(*) c FROM default.test GROUP BY id HAVING c >1;去重:注意min用法,取相同数据的最小id,去重的重点INSERT OVERWRITE table default.test partition(t原创 2020-06-03 17:33:42 · 781 阅读 · 0 评论 -
Could not initialize class org.xerial.snappy.Snappy
注意hue连接的是hiveserver2服务,查看其所在服务器,重新挂载服务器的/tmp目录,添加可执行exec权限即可sudo mount /tmp -o remount,execsnappy默认使用/tmp做为数据临时目录...原创 2020-04-29 15:56:53 · 1227 阅读 · 0 评论 -
hive删除数据insert overwrite
hive 删除数据写法insert overwrite table t_card_info select * from t_card_info where 1=2;insert overwrite table w原创 2020-02-19 14:40:17 · 3820 阅读 · 1 评论 -
org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode
hive 使用问题hive select count(*) from tb 报错org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-xorg.apache.hadoop.s...原创 2020-02-19 14:34:05 · 1105 阅读 · 2 评论