You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by GitBox <gi...@apache.org> on 2022/02/17 08:45:19 UTC

[GitHub] [incubator-seatunnel] liujinhui1994 opened a new issue #1273: [Bug] [Connector] Use Hudi source Serializable Exception

liujinhui1994 opened a new issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### What happened
   
   Use Hudi source  Serializable Exception!
   
   ### SeaTunnel Version
   
   2.0.5-SNAPSHOT
   
   ### SeaTunnel Config
   
   ```conf
   env {
     spark.app.name = "SeaTunnel"
     spark.master = local
   }
   
   source {
     hudi {
         hoodie.datasource.read.paths = "path"
         result_table_name="view_20220215"
     }
   }
   
   transform {
   }
   
   sink {
     Console {}
   }
   ```
   
   
   ### Running Command
   
   ```shell
   org.apache.seatunnel.example.spark.LocalSparkExample
   Use this class to run locally
   ```
   
   
   ### Error Exception
   
   ```log
   Caused by: org.apache.spark.SparkException: Job aborted due to stage failure: Failed to serialize task 1, not attempting to retry it. Exception during serialization: java.io.NotSerializableException: org.apache.hadoop.fs.Path
   Serialization stack:
   	- object not serializable (class: org.apache.hadoop.fs.Path, value: file:/G:/tmp/2022)
   	- element of array (index: 0)
   	- array (class [Ljava.lang.Object;, size 1)
   	- field (class: scala.collection.mutable.WrappedArray$ofRef, name: array, type: class [Ljava.lang.Object;)
   	- object (class scala.collection.mutable.WrappedArray$ofRef, WrappedArray(file:/G:/tmp/2022))
   	- writeObject data (class: org.apache.spark.rdd.ParallelCollectionPartition)
   	- object (class org.apache.spark.rdd.ParallelCollectionPartition, org.apache.spark.rdd.ParallelCollectionPartition@6e3)
   	- field (class: org.apache.spark.scheduler.ResultTask, name: partition, type: interface org.apache.spark.Partition)
   	- object (class org.apache.spark.scheduler.ResultTask, ResultTask(1, 0))
   	at org.apache.spark.scheduler.DAGScheduler.org$apache$spark$scheduler$DAGScheduler$$failJobAndIndependentStages(DAGScheduler.scala:1887)
   	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1875)
   	at org.apache.spark.scheduler.DAGScheduler$$anonfun$abortStage$1.apply(DAGScheduler.scala:1874)
   	at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
   	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
   	at org.apache.spark.scheduler.DAGScheduler.abortStage(DAGScheduler.scala:1874)
   	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:926)
   	at org.apache.spark.scheduler.DAGScheduler$$anonfun$handleTaskSetFailed$1.apply(DAGScheduler.scala:926)
   	at scala.Option.foreach(Option.scala:257)
   	at org.apache.spark.scheduler.DAGScheduler.handleTaskSetFailed(DAGScheduler.scala:926)
   	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.doOnReceive(DAGScheduler.scala:2108)
   	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2057)
   	at org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onReceive(DAGScheduler.scala:2046)
   	at org.apache.spark.util.EventLoop$$anon$1.run(EventLoop.scala:49)
   	at org.apache.spark.scheduler.DAGScheduler.runJob(DAGScheduler.scala:737)
   	at org.apache.spark.SparkContext.runJob(SparkContext.scala:2061)
   ```
   
   
   ### Flink or Spark Version
   
   2.0.5-SNAPSHOT run,unmodified version
   
   ### Java or Scala Version
   
   2.0.5-SNAPSHOT run,unmodified version
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] liujinhui1994 commented on issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
liujinhui1994 commented on issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273#issuecomment-1042833425


   The error reported above should not be related to this problem https://github.com/apache/incubator-seatunnel/issues/1164


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] liujinhui1994 commented on issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
liujinhui1994 commented on issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273#issuecomment-1046518313


   I already know what the problem is, it's a small problem with seatunnel, I will file a PR to fix it


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] simon824 commented on issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
simon824 commented on issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273#issuecomment-1042754745


   Please check `hoodie.datasource.read.paths`, does the path you configured stored the hudi table?
   BTW, this bug (#1164 ) about hudi was not fixed yet. You can manually downgrade the hudi version to fix it temporarily.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] leo65535 commented on issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
leo65535 commented on issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273#issuecomment-1046523825


   > I already know what the problem is, it's a small problem with seatunnel, I will file a PR to fix it
   
   👍 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] liujinhui1994 commented on issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
liujinhui1994 commented on issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273#issuecomment-1042738607


   If you don't rely on seatunnel, it's ok. I looked through the source code and I didn't find the problem, can you remind me?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] liujinhui1994 commented on issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
liujinhui1994 commented on issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273#issuecomment-1042756006


   This is of course, it must be the hudi path @simon824 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] liujinhui1994 commented on issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
liujinhui1994 commented on issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273#issuecomment-1042716018


   @CalvinKirs    @leo65535 @simon824 @wuchunfu   please help me,am I missing something?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] simon824 edited a comment on issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
simon824 edited a comment on issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273#issuecomment-1042754745


   @liujinhui1994  Please check `hoodie.datasource.read.paths`, does the path you configured stored the hudi table?
   BTW, this bug (#1164 ) about hudi was not fixed yet. You can manually downgrade the hudi version to fix it temporarily.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] wuchunfu commented on issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
wuchunfu commented on issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273#issuecomment-1057918181


   Fixed #1310


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-seatunnel] wuchunfu closed issue #1273: [Bug] [connector] Use Hudi source Serializable Exception

Posted by GitBox <gi...@apache.org>.
wuchunfu closed issue #1273:
URL: https://github.com/apache/incubator-seatunnel/issues/1273


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org