自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

原创 Hadoop Yarn webUI启动报错:HTTP ERROR 500 Problem accessing /cluster. Reason: INTERNAL_SERVER_ERROR

问题:HTTP ERROR 500Problem accessing /cluster. Reason:INTERNAL_SERVER_ERRORCaused by:java.lang.NullPointerExceptionat org.apache.http.client.utils.URLEncodedUtils.parse(URLEncodedUtils.java:235)...

2019-09-12 11:37:01 3882 1

原创 IDEA activeCode激活码

Code:{ “licenseId”:“1337”, “licenseeName”:“Downloadly”, “assigneeName”:“Downloadly”, “assigneeEmail”:"Downloadly@Downloadly.ir", “licenseRestriction”:“Unlimited license till end of the century.”,...

2019-08-07 18:42:51 13147

原创 hiveOrg.Apache.calcite.runtime.CalciteException: Failed to encode '全国' in character set 'ISO-8859-1’

现象: HQL语句中包含中文,执行HQL时报错:Org.Apache.calcite.runtime.CalciteException: Failed to encode ‘全国’ in character set 'ISO-8859-1’原因: Hive从0.14.0开始引入CBO(Cost-Based Optimizer),对HQL查询语句进行性能优化,在Hive 1.1.0之后,默认...

2019-08-07 18:41:28 1759

原创 使用shell脚本运行hive语句时,报错:syntax error near unexpected token `$'\r''

使用shell脚本运行hive语句时,报错:syntax error near unexpected token `$’\r’’问题:脚本是在Windows环境下编辑的,要转成Unix格式解决:在nodepad++上点击 编辑-文档格式转换-转为Unix格式 在运行,解决...

2019-08-07 18:39:35 1304

原创 Hive: launch local task process map join; Exception:OutOfMemoryError: Java heap space

Hive运行任务报错: Starting to launch local task to process map join; maximum memory = 477626368Exception in thread “main” java.lang.OutOfMemoryError: Java heap space解决:关闭本地模式、mapjoin,或调高mapjoin最大内存使用...

2019-08-07 18:37:17 1020

原创 解决hive使用sqoop导入大表虚拟内存溢出,OOM,container killed问题:

FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask或 running beyond virtual memory limits. Current usage: 398.2 MB of 1 GB physical memory used; 3.9 GB of 2.1 GB...

2019-08-07 18:26:13 2891 1

原创 Hive元数据库字符集问题,hive drop table卡死不动问题,comment注解以及字段中文乱码问题:

hive的元数据metastore在mysql的数据库,不管是数据库本身,还是里面的表编码都必须是latin1解决hive drop table卡死不动问题,comment注解以及字段中文乱码问题:首先修改my.cnf文件然后重启mysql重启后删除原元数据库,创建新的元数据库修改hive-site.xml文件中为:注意是utf8而不是latin1重启hive进入mysql中hi...

2019-08-07 18:23:28 461

原创 Hive创建表时:报错 FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Me

Hive创建表时:报错FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:javax.jdo.JDODataStoreException: An exception was thrown while adding/validating c...

2019-08-07 18:19:48 1479

原创 元数据metaserver成功启动后,启动hive报错:Error communicating with the metastore

在 /tmp/root/hive.log查看日志显示:txn.CompactionTxnHandler (CompactionTxnHandler.java:findReadyToClean(283)) - Unable to select next element for cleaning, Table ‘hive.COMPACTION_QUEUE’ doesn’t exist解决:注释掉...

2019-08-07 18:11:20 2441

原创 Phoenix 启动报错: Error: ERROR 726 (43M10): Inconsistent namespace mapping properties. Cannot initiate

Phoenix 启动报错:Error: ERROR 726 (43M10): Inconsistent namespace mapping properties. Cannot initiate connection as SYSTEM:CATALOG is found but client does not have phoenix.schema.isNamespaceMappingEnab...

2019-08-07 18:05:05 7155 2

原创 报错:Job Submission failed with exception 'java.io.IOException(org.apache.hadoop.hive.ql.metadata.Hive

报错:Job Submission failed with exception ‘java.io.IOException(org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.IllegalArgumentException: Must specify table name)’FAILED: Execution Error, re...

2019-08-02 16:07:11 7996

原创 Hive对接hbase方式之一:建立关联表

一、hive与hbase版本兼容性:hive 1.2.x----hbase0.98.xhive 2.x—hbase 1.xhive 1.2.x与hbase1.x兼容要重新编译源码包hive-hbase-handler-1.2.1.jar安装Hbase:1 上传hbase安装到linux的路径下并解压sudo tar -zvxf hbase-0.98.24-bin.tar.gz -C /...

2019-08-02 16:05:14 315

原创 HBase启动regionserver报错;Caused by: java.lang.ClassNotFoundException: org.apache.htrace.SamplerBuilder

HBase启动不了regionserver,查看hbase-0.98.24-hadoop2/logs/hbase-root-regionserver-hadoop1.out日志,发现:ERROR [main] regionserver.HRegionServerCommandLine: Region server exitingjava.lang.NoClassDefFoundError: o...

2019-08-01 18:54:51 423 1

原创 sqoop对接SqlServer,Oracle,mysql数据库

一、安装sqoop:1、sqoop的解压并配置环境变量:tar -zxvf /bigdata/sqoop-1.4.6-cdh5.13.2.tar.gz -C /apps配置环境变量:vi /etc/profileexport SQOOP_HOME=/apps/sqoop-1.4.6-cdh5.13.2export PATH=PATH:PATH:PATH:SQOOP_HOME/bin:...

2019-06-19 16:33:30 1070

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除