原创 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 — [

原创 dubbo運行時報錯Failed to invoke the method findAll in the service

dubbo-Failed to invoke the method com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findAll in the se

原创 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 — [

原创 hive分桶事務表Demo

hive會話中設置如下 SET hive.support.concurrency=true; SET hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;

原创 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

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

Error log Exception in thread “main” com.fasterxml.jackson.core.JsonGenerationException: Can not start an object, exp

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

describe 啓動spark程序,有一些打印日誌無法正常輸出.查找hdfs報錯路徑/tmp/spark_stream/TrackAddDevInfo/temp,發現路徑無法找到.將整個父路徑/tmp/刪除,重新查看發現目錄殘留文件

原创 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.apach

原创 flink入門教程

單機模式 解壓後直接啓動,不需要修改配置文件 ./bin/start-local.sh 開啓監聽端口 nc -l 9000 將代碼上傳後運行(代碼中的依賴改爲 <scope>provided</scope>

原创 kafka重複消費

待解決

原创 win下使用hadoop,報錯內容截取如下UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0

解決:在根路徑下創建類 \org\apache\hadoop\io\nativeio\NativeIO.java #用此類替換默認源碼中的類即可(只需創建類) /** * Licensed to the Apache Softwar

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

desc 1.在寫storm demo時,spount隨機生成對象,利用Gson將其轉化爲json字符串,通過Fastjson將spout傳過來的字符串解析爲對象時報錯. method 1.更換fastjson版本,無效 2.使用同一

原创 IllegalStateException

IllegalStateException java.lang.IllegalStateException: Optional long parameter 'id' is present but cannot be translated

原创 fastjson將獲取字符串data數據的方法

[{ "_id": "80302050", "name": "光照", "begin_time": "2018-08-21T21:00:00", "end_time": "2018-08-23T21:00:

原创 日期遞增遞減--GregorianCalendar 使用

@Test public void demo01(){ //日期遞增遞減 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd"