hive
文章平均质量分 74
风语飘摇
XXXXXXX
展开
-
HIve 使用MapReduce查询计算引擎,输出结果汉字显示乱码
HIve 使用MapReduce查询计算引擎,输出结果汉字显示乱码在配置MultiDelimitSerDe后,建立hive多分隔符表,select * from tab1 正常显示汉字;但是select s2,substr(s2,3) from db_mul.multi_delimiter_test 通过MR 引擎处理后,查询结果出现乱码。建表语句如下: create table db_mul.multi_delimiter_test( s1 string, s2 string, s3 string)原创 2020-11-24 14:01:29 · 751 阅读 · 0 评论 -
Class org.apache.hadoop.hive.contrib.serde2.MultiDelimitSerDe not found
Class org.apache.hadoop.hive.contrib.serde2.MultiDelimitSerDe not foundTo resolve this issue, do the following:Option 1: For clusters without Sentry:Manually add the jar from Hive/ Beeline before running the query:ADD JAR /opt/cloudera/parcels/CDH原创 2020-11-24 13:35:38 · 1311 阅读 · 0 评论 -
kudu 文件描述符 更改
kudu 文件描述符超过阀值kudu 文件描述符缺省打开文件数为32768在/etc/security/limits.d/下找到了cloudera的limit配置文件,里面限制为32768/etc/security/limits.d/cloudera-scm.conf修改:32768会覆盖系统配置,cm启动的进程最大打开文件数都是32768.要修改这个配置,需要修改cm...原创 2019-11-26 15:51:37 · 1061 阅读 · 0 评论 -
CDH5 某机器节点每个角色都提示:此角色的主机的运行状况为存在隐患。 以下运行状况测试存在隐患 网络接口速度. 看看是不是网络问题
CDH5 某机器节点每个角色都提示:此角色的主机的运行状况为存在隐患。 以下运行状况测试存在隐患 网络接口速度. 看看是不是网络问题问题解决: 1、查找不是网络及网卡问题;2、查看防火前状态(OS:RHEL7.3) 发现防火墙是开着的 #systemctl status firewalld● firewalld.service - firewalld - dynamic...原创 2018-09-21 10:09:42 · 9345 阅读 · 0 评论 -
HIVE2 :beeline连接设置用户名和密码注意问题
beeline connect有几种方式,见hive-site.xml,缺省为NONE。 hive.server2.authentication NONE Expects one of [nosasl, none, ldap, kerberos, pam, custom]. Client authentication types原创 2016-12-19 17:26:17 · 35095 阅读 · 0 评论 -
HIVE2 Error: Failed to open new session: java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteExc
LF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]Connecting to jdbc:hive2://localhost:10原创 2016-12-19 17:00:44 · 7368 阅读 · 4 评论 -
HIVE2:ERROR [main]: ql.Driver (:()) - FAILED: Execution Error, return code 1 from org.apache.hadoop.
在Hive2.1 on Tez环境中运行select count(*) from students;时,遇到ERROR [main]: ql.Driver (:()) - FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask查看hive日志,具体问题是:2016-12原创 2016-12-21 11:31:53 · 8454 阅读 · 0 评论 -
hive2.1.insert、update、delete操作测试
hive2.1.insert、update、delete操作测试 在HIve缺省配置设置中,转换管理器不支持update跟delete操作。若要Hive支持update操作跟delete操作,必须额外再配置一些东西,详细见:https://cwiki.apache.org/confluence/display/Hive/Hive+TransactionsConfiguratio原创 2016-11-27 18:06:18 · 4424 阅读 · 0 评论 -
hive配置参数的说明
hive配置参数的说明: hive.ddl.output.format:hive的ddl语句的输出格式,默认是text,纯文本,还有json格式,这个是0.90以后才出的新配置;hive.exec.script.wrapper:hive调用脚本时的包装器,默认是null,如果设置为python的话,那么在做脚本调用操作时语句会变为python ,null的话就是直接执行;h转载 2016-11-26 09:03:42 · 402 阅读 · 0 评论 -
Hive2.1安装配置文件名称修改注意问题
注意问题: 要把hive-default.xml.template 改成hive-default.xml,发现此配置文件不会发生作用,还要把名称最终改为:hive-site.xml ,此名称的配置才会发生作用。原创 2016-11-25 16:38:00 · 374 阅读 · 0 评论 -
Hive2.1:Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException:
Exception in thread "main" java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D at org.apache.hadoop.原创 2016-11-25 16:34:12 · 3191 阅读 · 0 评论 -
Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveExcept
[root@master apache-hive-2.1.0-bin]# hiveSLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/home/hive/apache-hive-2.1.0-bin/lib/log4j-slf4j-impl-2.4.1.jar!/org/s原创 2016-11-25 16:30:00 · 14678 阅读 · 0 评论 -
Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException: java.net.
异常详情如下:Exception in thread "main" java.lang.RuntimeException: java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:us转载 2016-11-19 14:41:19 · 11677 阅读 · 0 评论 -
执行hive2.0中hplsql 遇到问题(未解决)
[root@master Desktop]# hplsql -f /home/hive/1.sqlSLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/home/hive/apache-hive-2.0.0-bin/lib/hive-jdbc-2.0.0-standalon原创 2016-11-19 14:40:29 · 2650 阅读 · 0 评论 -
Error: Failed to open new session: java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException
User root is not allowed to impersonate anonymous使用HiveServer2 and Beeline模式运行时,启动好HiveServer后运行beeline -u jdbc:hive2://localhost:10000 -n root 连接server时出现java.lang.RuntimeException: o转载 2016-11-19 14:38:42 · 11168 阅读 · 0 评论