You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "whua3 (via GitHub)" <gi...@apache.org> on 2026/06/28 10:09:12 UTC
[I] [Bug report] GravitinoVirtualFileSystem.getScheme() throws UnsupportedOperationException, breaking Spark/MapReduce commit jobs [gravitino]
whua3 opened a new issue, #11813:
URL: https://github.com/apache/gravitino/issues/11813
### Version
main branch
### Describe what's wrong
`GravitinoVirtualFileSystem` extends `org.apache.hadoop.fs.FileSystem` but does not override `getScheme()`. The base implementation throws `UnsupportedOperationException`, so any caller that invokes `fs.getScheme()` on a `gvfs://` filesystem fails.
It should simply return the GVFS scheme (`gvfs`, already defined as `GravitinoVirtualFileSystemConfiguration.GVFS_SCHEME`), consistent with other Hadoop `FileSystem` implementations (HDFS → `hdfs`, S3A → `s3a`, etc.).
### Error message and/or stacktrace
```
java.lang.UnsupportedOperationException: Not implemented by the GravitinoVirtualFileSystem FileSystem implementation
at org.apache.hadoop.fs.FileSystem.getScheme(FileSystem.java:226)
...
```
### How to reproduce
```java
Configuration conf = new Configuration();
// ... GVFS configuration ...
FileSystem fs = FileSystem.get(URI.create("gvfs://fileset/metalake/catalog/schema/fs1"), conf);
fs.getScheme(); // throws UnsupportedOperationException
```
### Additional context
_No response_
--
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@gravitino.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug report] GravitinoVirtualFileSystem.getScheme() throws UnsupportedOperationException, breaking Spark/MapReduce commit jobs [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 closed issue #11813: [Bug report] GravitinoVirtualFileSystem.getScheme() throws UnsupportedOperationException, breaking Spark/MapReduce commit jobs
URL: https://github.com/apache/gravitino/issues/11813
--
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@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org