# Unable to access iceberg data created through AWS glue and stored in s3

**URL:** <https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953>\
**Category:** Dremio Cloud\
**Created:** [August 31, 2023, 10:50am UTC](https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953 "2023-08-31T10:50:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anechi](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@anechi](https://community.dremio.com/u/anechi)\
**Post date:** [August 31, 2023, 10:50am UTC](https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953/1 "2023-08-31T10:50:11Z")

</div>

Hi, I’ve had this error that’ been bogging me for some time! Would appreciate any help / guidance.

**error** I get:  
Something went wrong. Please check the log file for details, see [https://docs.dremio.com/advanced-administration/log-files.html.Show](https://docs.dremio.com/advanced-administration/log-files.html.Show) more

on **server.log:**  
nable to get table: java.lang.NullPointerException  
at com.amazonaws.glue.catalog.metastore.GlueMetastoreClientDelegate.getTable(GlueMetastoreClientDelegate.java:435)  
at com.amazonaws.glue.catalog.metastore.AWSCatalogMetastoreClient.getTable(AWSCatalogMetastoreClient.java:1023)  
at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)  
…

2023-08-31 10:45:36,463 [qtp449668621-1416] WARN c.d.e.store.hive.HiveStoragePlugin - Plugin ‘titanic\_s3’, database ‘titanic\_iceberg’, table ‘funds’, DatasetHandle empty, table not found.

**context** :  
We have an iceberg Datalake stored on S3 and being written / read from Glue. I am exploring the possibility to read and more importantly write on the tables created with Glue through Dremio.  
on the dremio GUI, I connected to the dataset through Glue Catalog (dremio is deployed on the same account as the glue context).  
Then I clicked on the table I want to interact with in dremio. And I get the error mentioned above.

Looking forward to any reply!  
Thanks.

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [August 31, 2023, 12:28pm UTC](https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953/2 "2023-08-31T12:28:43Z")

</div>

@anechi Happy to Help ! WOndering if you would be able to upload the below 2

- Job profile of the failed job
- server.log from the coordinator when this error happened

Thanks  
Bali

---

<div class="post-metadata">

**Author:** ![anechi](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@anechi](https://community.dremio.com/u/anechi)\
**Post date:** [September 4, 2023, 2:15pm UTC](https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953/4 "2023-09-04T14:15:03Z")

</div>

Hi Balaji,

1. I am not sure how to generate the job profile, the interface is not loading because of the error I reported.
2. I will join only 10 relevant lines of the server.log because I keep getting blocked by the moderator for trying to copy paste more.

Something went wrong. Please check the log file for details, see [https://docs.dremio.com/advanced-administration/log-files.html.Show](https://docs.dremio.com/advanced-administration/log-files.html.Show) more

 ![image](https://us1.discourse-cdn.com/flex020/uploads/dremio/original/2X/c/c046fea4809da356d2252c7fdbc199bf9ff9081e.png)

server.log:

```auto
2023-09-01 14:23:56,834 [qtp449668621-1705] WARN c.d.e.store.hive.HiveStoragePlugin - Plugin 'titanic_s3', database 'titanic_iceberg', table 'funds', DatasetHandleempty, table not found.
2023-09-01 14:27:27,666 [scheduler-16] INFO c.d.e.w.p.ActiveQueryListService - Starting activeQueryListTask on this coordinator.
2023-09-01 14:27:27,667 [FABRIC-rpc-event-queue] INFO com.dremio.sabot.exec.MaestroProxy - There are no active queries on this executor. So nothing to reconcile.

```

```auto
2023-09-01 14:23:56,834 [qtp449668621-1705] INFO c.d.exec.store.hive.HiveClientImpl - Failure while trying to read table 'funds' from db 'titanic_iceberg'
org.apache.hadoop.hive.metastore.api.MetaException: Unable to get table: java.lang.NullPointerException

```

Thanks, Aziz.

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [September 7, 2023, 4:53am UTC](https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953/5 "2023-09-07T04:53:43Z")

</div>

I am attaching a simple screen recording of how to download job profile

[download-profile.mov.zip](https://community.dremio.com/uploads/short-url/fpRqFrMquGoDOn4K5YtNS0IsZcN.zip) (3.2 MB)

---

<div class="post-metadata">

**Author:** ![anechi](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@anechi](https://community.dremio.com/u/anechi)\
**Post date:** [September 8, 2023, 3:56pm UTC](https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953/6 "2023-09-08T15:56:21Z")

</div>

Thank you for the small demio. Here’s the profile.

[5178a8b0-1e43-4e9f-a1ea-dc2ac1419c39.zip](https://community.dremio.com/uploads/short-url/h7n8JMJoNlB4Yv0nnXMJ2CyZiMO.zip) (7.1 KB)

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [September 11, 2023, 10:59pm UTC](https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953/7 "2023-09-11T22:59:54Z")

</div>

@anechi I see you are on 20.x which was one of the earlier versions to support Iceberg and by default is false. I see you have made it truem Are you able to upgrade to a higher version like 23 or 24 and retry the query. Even if it fails again but since the feature is on by default and code has changed, it is easier to troubleshoot

---

<div class="post-metadata">

**Author:** ![anechi](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@anechi](https://community.dremio.com/u/anechi)\
**Post date:** [September 13, 2023, 3:15pm UTC](https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953/8 "2023-09-13T15:15:53Z")

</div>

Issue was solved by upgrading to dremio 24.0  
Thanks a lot @balaji.ramaswamy !

---

<div class="post-metadata">

**Author:** ![balaji.ramaswamy](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/balaji.ramaswamy/32/843_2.png) [@balaji.ramaswamy](https://community.dremio.com/u/balaji.ramaswamy)\
**Post date:** [September 14, 2023, 4:10pm UTC](https://community.dremio.com/t/unable-to-access-iceberg-data-created-through-aws-glue-and-stored-in-s3/10953/9 "2023-09-14T16:10:19Z")

</div>

@anechi Thanks for the update, glad you are unblocked now
