heziyi399 commented on issue #4586:
URL: https://github.com/apache/gravitino/issues/4586#issuecomment-2303584879
@jerryshao yes,the problem has been resolved. May I ask another question?I
want to know if the file system can be converted to Hadoop's Distributed
FileSystem, because when I try the following code:
`
conf.set("fs.AbstractFileSystem.gvfs.impl","com.datastrato.gravitino.filesystem.hadoop.Gvfs");
conf.set("fs.gvfs.impl","com.datastrato.gravitino.filesystem.hadoop.GravitinoVirtualFileSystem");
conf.set("fs.gravitino.server.uri","http://localhost:8090");
conf.set("fs.gravitino.client.metalake","metalake_demo");
Path filesetPath = new
Path("gvfs://fileset/test_catalog/hzySchema/example_fileset/");
FileSystem fs = filesetPath.getFileSystem(conf);
DistributedFileSystem dfs = (DistributedFileSystem) fs;`
an error message will appear
"com.datastrato.gravitino.filesystem.hadoop.GravitinoVirtualFileSystem cannot
be cast to org.apache.hadoop.hdfs.DistributedFileSystem"
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]