You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/07/06 11:11:01 UTC

[GitHub] [doris] myfjdthink commented on issue #10452: [Feature] Doris support read iceberg table on google cloud storage

myfjdthink commented on issue #10452:
URL: https://github.com/apache/doris/issues/10452#issuecomment-1176093319

   this is the error logs
   
   ```
   2022-07-06 10:58:25,295 WARN (doris-mysql-nio-pool-3736|10326) [StmtExecutor.handleDdlStmt():1543] DDL statement(/* ApplicationName=DBeaver 22.1.1 - SQLEditor <Script-43.sql> */ CREATE TABLE `gs_table`
   ENGINE = ICEBERG
   PROPERTIES (
   "iceberg.database" = "gsdb",
   "iceberg.table" = "gs_table",
   "iceberg.hive.metastore.uris" = "thrift://10.201.0.104:9083",
   "iceberg.catalog.type"  =  "HIVE_CATALOG"
   )) process failed.
   org.apache.iceberg.exceptions.RuntimeIOException: Failed to get file system for path: gs://iceberg-spark-warehouse/datasets/gsdb.db/gs_table/metadata/00001-8ee13c7f-f1ad-4ca1-b88f-1d06a0f4899b.metadata.json
       at org.apache.iceberg.hadoop.Util.getFs(Util.java:53) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.hadoop.HadoopInputFile.fromLocation(HadoopInputFile.java:54) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.hadoop.HadoopFileIO.newInputFile(HadoopFileIO.java:59) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.TableMetadataParser.read(TableMetadataParser.java:252) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.BaseMetastoreTableOperations.lambda$refreshFromMetadataLocation$0(BaseMetastoreTableOperations.java:179) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.util.Tasks$Builder.runTaskWithRetry(Tasks.java:405) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.util.Tasks$Builder.runSingleThreaded(Tasks.java:214) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:198) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.util.Tasks$Builder.run(Tasks.java:190) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.BaseMetastoreTableOperations.refreshFromMetadataLocation(BaseMetastoreTableOperations.java:178) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.BaseMetastoreTableOperations.refreshFromMetadataLocation(BaseMetastoreTableOperations.java:160) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.hive.HiveTableOperations.doRefresh(HiveTableOperations.java:200) ~[iceberg-hive-metastore-0.12.0.jar:?]
       at org.apache.iceberg.BaseMetastoreTableOperations.refresh(BaseMetastoreTableOperations.java:94) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.BaseMetastoreTableOperations.current(BaseMetastoreTableOperations.java:77) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.BaseMetastoreCatalog.loadTable(BaseMetastoreCatalog.java:93) ~[iceberg-core-0.12.0.jar:?]
       at org.apache.iceberg.catalog.Catalog.tableExists(Catalog.java:270) ~[iceberg-api-0.12.0.jar:?]
       at org.apache.doris.external.iceberg.HiveCatalog.tableExists(HiveCatalog.java:57) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.external.iceberg.IcebergCatalogMgr.getTableFromIceberg(IcebergCatalogMgr.java:151) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.external.iceberg.IcebergCatalogMgr.createIcebergTable(IcebergCatalogMgr.java:201) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.catalog.Catalog.createTable(Catalog.java:3059) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.qe.DdlExecutor.execute(DdlExecutor.java:130) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.qe.StmtExecutor.handleDdlStmt(StmtExecutor.java:1533) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:438) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:308) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:212) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.qe.ConnectProcessor.dispatch(ConnectProcessor.java:349) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.qe.ConnectProcessor.processOnce(ConnectProcessor.java:538) ~[palo-fe.jar:0.15-SNAPSHOT]
       at org.apache.doris.mysql.nio.ReadListener.lambda$handleEvent$0(ReadListener.java:50) ~[palo-fe.jar:0.15-SNAPSHOT]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
       at java.lang.Thread.run(Thread.java:834) ~[?:?]
   Caused by: java.io.IOException: No FileSystem for scheme: gs
       at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2798) ~[hadoop-common-2.8.0.jar:?]
       at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2809) ~[hadoop-common-2.8.0.jar:?]
       at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:100) ~[hadoop-common-2.8.0.jar:?]
       at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2848) ~[hadoop-common-2.8.0.jar:?]
       at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2830) ~[hadoop-common-2.8.0.jar:?]
       at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:389) ~[hadoop-common-2.8.0.jar:?]
       at org.apache.hadoop.fs.Path.getFileSystem(Path.java:356) ~[hadoop-common-2.8.0.jar:?]
       at org.apache.iceberg.hadoop.Util.getFs(Util.java:51) ~[iceberg-core-0.12.0.jar:?]
       ... 30 more
   ```


-- 
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@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org