You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "labbedaine (via GitHub)" <gi...@apache.org> on 2023/01/27 20:18:05 UTC

[GitHub] [iceberg] labbedaine opened a new issue, #6681: ClassCastException: SerializableTableWithSize cannot be cast to org.apache.iceberg.Table

labbedaine opened a new issue, #6681:
URL: https://github.com/apache/iceberg/issues/6681

   Hello.
   
   I am using **AWS Glue 3.0** in a Docker container and I am getting an error.  Iceberg table creation is working but throws an error when trying to **_insert_** data.  The same code works in Glue (when running in AWS)
   
   > java.lang.ClassCastException: org.apache.iceberg.spark.source.SerializableTableWithSize cannot be cast to org.apache.iceberg.Table
   >         at org.apache.iceberg.spark.source.SparkWrite$WriterFactory.createWriter(SparkWrite.java:588)
   >         at org.apache.iceberg.spark.source.SparkWrite$WriterFactory.createWriter(SparkWrite.java:583)
   >         at org.apache.spark.sql.execution.datasources.v2.DataWritingSparkTask$.run(WriteToDataSourceV2Exec.scala:408)
   >         at org.apache.spark.sql.execution.datasources.v2.V2TableWriteExec.$anonfun$writeWithV2$2(WriteToDataSourceV2Exec.scala:360)
   >         at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:90)
   >         at org.apache.spark.scheduler.Task.run(Task.scala:131)
   >         at org.apache.spark.executor.Executor$TaskRunner.$anonfun$run$3(Executor.scala:497)
   >         at org.apache.spark.util.Utils$.tryWithSafeFinally(Utils.scala:1439)
   >         at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:500)
   >         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   >         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   >         at java.lang.Thread.run(Thread.java:750)
   
   Any help would be much appreciated. Thanks!


-- 
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: issues-unsubscribe@iceberg.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] github-actions[bot] commented on issue #6681: ClassCastException: SerializableTableWithSize cannot be cast to org.apache.iceberg.Table

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6681:
URL: https://github.com/apache/iceberg/issues/6681#issuecomment-1652711567

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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: issues-unsubscribe@iceberg.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org