ClassNotFoundException when using GCS Bucket as Distributed Storage Type

Hello,

I am getting the below error when I try to use GCS bucket as distributed storage type.

Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class com.dremio.plugins.gcs.GoogleBucketFileSystem not found
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2051)
at com.google.common.cache.LocalCache.get(LocalCache.java:3953)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3976)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4960)
at com.dremio.exec.store.dfs.FileSystemPlugin.newFileSystem(FileSystemPlugin.java:328)
at com.dremio.exec.store.dfs.FileSystemPlugin.createFS(FileSystemPlugin.java:316)
at com.dremio.exec.store.dfs.FileSystemPlugin.createFS(FileSystemPlugin.java:312)
at com.dremio.exec.store.dfs.FileSystemPlugin.createFS(FileSystemPlugin.java:308)
at com.dremio.exec.store.dfs.FileSystemPlugin.start(FileSystemPlugin.java:644)
at com.dremio.dac.homefiles.HomeFileSystemStoragePlugin.start(HomeFileSystemStoragePlugin.java:101)
at com.dremio.exec.catalog.ManagedStoragePlugin.lambda$newStartSupplier$1(ManagedStoragePlugin.java:523)
at com.dremio.exec.catalog.ManagedStoragePlugin.lambda$nameSupplier$3(ManagedStoragePlugin.java:591)
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604)
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:748)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: Class com.dremio.plugins.gcs.GoogleBucketFileSystem not found
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2638)
at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:3269)
at com.dremio.exec.store.dfs.FileSystemPlugin$1.lambda$load$0(FileSystemPlugin.java:205)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)
at com.dremio.exec.store.dfs.FileSystemPlugin$1.load(FileSystemPlugin.java:212)
at com.dremio.exec.store.dfs.FileSystemPlugin$1.load(FileSystemPlugin.java:189)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
… 15 more
Caused by: java.lang.ClassNotFoundException: Class com.dremio.plugins.gcs.GoogleBucketFileSystem not found
at org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2542)
at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2636)
… 26 more

I am using the Dremio’s Helm Chart V2 to deploy the Dremio cluster.
Ref: dremio-cloud-tools/charts/dremio_v2 at master · dremio/dremio-cloud-tools · GitHub

GCS storage plugin is supported in Dremio starting from 16.0 version.
Could you please mention what Dremio version was deployed using Helm Chart?

Hello,

I am using the 15.7.0 version. I see that the dremio/dremio-oss image doesn’t have the 16.0.0 version available at the moment.