自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 资源 (1)
  • 收藏
  • 关注

原创 spring-cloud the method getXxx() is undefined for the type XXX

环境 springcloud+lombok+idea2019.1.3 eclipse compiler启动spring报错 2019-07-23 09:38:03.339 WARN 17904 — [ main] ConfigServletWebServerApplicationContext : Exception encountered during context...

2019-07-23 10:16:09 903

转载 hive分桶事务表Demo

hive会话中设置如下SET hive.support.concurrency=true;SET hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;SET hive.enforce.bucketing=true;SET hive.exec.dynamic.partition.mode=nostrict;事务表...

2019-05-16 18:02:53 587

原创 Output Hive table XXX is bucketed but Spark currently does NOT populate bucketed output...

error spark分桶保存hive失败Output Hive table XXX is bucketed but Spark currently does NOT populate bucketed output which is compatible with Hive;source codetable.bucketSpec match { case Some(buck...

2019-05-13 17:32:32 1901

原创 es解析json JsonGe报错 nerationException: Can not start an object, expecting field name

Maven center

2019-05-12 17:08:39 2587 3

原创 org.apache.hadoop.hdfs.server.namenode.LeaseExpiredException

describe启动spark程序,有一些打印日志无法正常输出.查找hdfs报错路径/tmp/spark_stream/TrackAddDevInfo/temp,发现路径无法找到.将整个父路径/tmp/删除,重新查看发现目录残留文件,再次删除,还是有残留文件.观察发现文件名不一致,有可能有其他spark任务在执行,关闭所有任务发现文件依然在生成.将checkpoint目录更换为其他名字,执行成功...

2018-12-12 20:23:32 968

原创 Failed to execute goal org.apache.maven.plugins:maven-clean

mvn clean多次尝试失败,在测试maven profile时,打开了打包好的jar包 ,将其关闭即可== too young too native[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on project platform-...

2018-11-22 16:03:06 446

原创 kafka重复消费

待解决

2018-10-03 20:50:38 226

原创 flink入门教程

单机模式 解压后直接启动,不需要修改配置文件 ./bin/start-local.sh 开启监听端口 nc -l 9000 将代码上传后运行(代码中的依赖改为 <scope>provided</scope>) ./bin/flink run XX.jar --port 9000 访问主节点UI网页 --> node1:8081 ...

2018-10-03 20:49:25 716

原创 Fastjson解析错误---NumberFormatException: For input string: "Nov 11, 2015 12:22:12 PM"

desc1.在写storm demo时,spount随机生成对象,利用Gson将其转化为json字符串,通过Fastjson将spout传过来的字符串解析为对象时报错.method1.更换fastjson版本,无效2.使用同一种解析方式Gson或者fastjson对其解析,成功....

2018-09-28 23:53:16 3020

原创 win下使用hadoop,报错内容截取如下UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0

##解决:在根路径下创建类 \org\apache\hadoop\io\nativeio\NativeIO.java##用此类替换默认源码中的类即可(只需创建类)/**Licensed to the Apache Software Foundation (ASF) under oneor more contributor license agreements. See the NOTI...

2018-09-27 15:39:39 1073

原创 fastjson将获取字符串data数据的方法

String str = "[{\"_id\":\"80302050\",\"name\":\"光照\",\"begin_time\":\"2018-06-12T00:00:00\",\"end_time\":\"2018-

2018-08-22 23:10:40 1204

原创 日期递增递减--GregorianCalendar 使用

@Test public void demo01(){ //日期递增递减 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd"); Date date = new Date();//递增前的数 System.out.println(dateFormat.f...

2018-08-22 22:23:02 340

原创 spring卡在读取配置文件

public static void main(String[] args) { ApplicationContext context = new ClassPathXmlApplicationContext("classpath*:spring/applicationContext*.xml"); //System.out.println("555"); //SolrUt...

2018-08-13 11:57:35 357

原创 IllegalStateException

IllegalStateExceptionjava.lang.IllegalStateException: Optional long parameter 'id' is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring...

2018-08-06 20:19:11 3584

原创 dubbo运行时报错Failed to invoke the method findAll in the service

dubbo-Failed to invoke the methodcom.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findAll in the service com.XXX.sellergoods.service.BrandService. Tried 3 times of the providers [192....

2018-08-02 18:45:46 10672 6

Hbase实际应用

Hbase代码及解释说明,通过编码(java)的形式对HBase进行一系列的管理涉及到对表的管理、数据的操作等。对表的创建、删除、显示以及修改等,可以用HBaseAdmin,一旦创建了表,那么可以通过HTable的实例来访问表,每次可以往表里增加数据。

2018-10-10

空空如也

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

TA关注的人

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