You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "nastra (via GitHub)" <gi...@apache.org> on 2023/04/14 08:53:24 UTC

[GitHub] [iceberg] nastra opened a new issue, #7345: ThreadLocal in ObjectStoreLocationProvider isn't serializable

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

   ### Apache Iceberg version
   
   main (development)
   
   ### Query engine
   
   None
   
   ### Please describe the bug 🐞
   
   It appears that this has been introduced as part of #7128 
   ```
   java.io.NotSerializableException: java.lang.ThreadLocal$SuppliedThreadLocal
   Serialization stack:
   	- object not serializable (class: java.lang.ThreadLocal$SuppliedThreadLocal, value: java.lang.ThreadLocal$SuppliedThreadLocal@b11d2ad)
   	- field (class: org.apache.iceberg.LocationProviders$ObjectStoreLocationProvider, name: temp, type: class java.lang.ThreadLocal)
   	- object (class org.apache.iceberg.LocationProviders$ObjectStoreLocationProvider, org.apache.iceberg.LocationProviders$ObjectStoreLocationProvider@7c47ae7d)
   	- field (class: org.apache.iceberg.SerializableTable, name: locationProvider, type: interface org.apache.iceberg.io.LocationProvider)
   	- object (class org.apache.iceberg.spark.source.SerializableTableWithSize, org.apache.iceberg.spark.source.SerializableTableWithSize@706b68e6)
   ```
   
   @singhpk234 could you take a look please?


-- 
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] singhpk234 commented on issue #7345: ThreadLocal in ObjectStoreLocationProvider isn't serializable

Posted by "singhpk234 (via GitHub)" <gi...@apache.org>.
singhpk234 commented on issue #7345:
URL: https://github.com/apache/iceberg/issues/7345#issuecomment-1513915127

   can be marked as fixed. 


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


[GitHub] [iceberg] singhpk234 commented on issue #7345: ThreadLocal in ObjectStoreLocationProvider isn't serializable

Posted by "singhpk234 (via GitHub)" <gi...@apache.org>.
singhpk234 commented on issue #7345:
URL: https://github.com/apache/iceberg/issues/7345#issuecomment-1509826248

   Thanks @nastra for reporting this, apologies couldn't catch this earlier. Have added a fix for it as well test's which could catch this going forward, as by default ObjectStoreLocationProvider is not used by iceberg. Please take a pass when you have some cycles :) !


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


[GitHub] [iceberg] nastra commented on issue #7345: ThreadLocal in ObjectStoreLocationProvider isn't serializable

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra commented on issue #7345:
URL: https://github.com/apache/iceberg/issues/7345#issuecomment-1514162875

   fixed by #7353 


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


[GitHub] [iceberg] nastra closed issue #7345: ThreadLocal in ObjectStoreLocationProvider isn't serializable

Posted by "nastra (via GitHub)" <gi...@apache.org>.
nastra closed issue #7345: ThreadLocal in ObjectStoreLocationProvider isn't serializable
URL: https://github.com/apache/iceberg/issues/7345


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