You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2020/10/13 09:35:45 UTC
[GitHub] [iceberg] wg1026688210 opened a new issue #1605: Flink iceberg hive catalog don't load hive config
wg1026688210 opened a new issue #1605:
URL: https://github.com/apache/iceberg/issues/1605
Caused by: java.lang.IllegalArgumentException: Can not create a Path from a null string
at org.apache.hadoop.fs.Path.checkPathArg(Path.java:122) ~[hadoop-common-2.7.2.jar:?]
at org.apache.hadoop.fs.Path.<init>(Path.java:134) ~[hadoop-common-2.7.2.jar:?]
at org.apache.hadoop.fs.Path.<init>(Path.java:88) ~[hadoop-common-2.7.2.jar:?]
at org.apache.iceberg.hive.HiveCatalog.convertToDatabase(HiveCatalog.java:460) ~[iceberg-flink-runtime-9d6318f.dirty.jar-1602570143989.jar:?]
at org.apache.iceberg.hive.HiveCatalog.lambda$createNamespace$5(HiveCatalog.java:215) ~[iceberg-flink-runtime-9d6318f.dirty.jar-1602570143989.jar:?]
at org.apache.iceberg.hive.ClientPool.run(ClientPool.java:54) ~[iceberg-flink-runtime-9d6318f.dirty.jar-1602570143989.jar:?]
at org.apache.iceberg.hive.HiveCatalog.createNamespace(HiveCatalog.java:214) ~[iceberg-flink-runtime-9d6318f.dirty.jar-1602570143989.jar:?]
at org.apache.iceberg.flink.FlinkCatalog.createDatabase(FlinkCatalog.java:197) ~[iceberg-flink-runtime-9d6318f.dirty.jar-1602570143989.jar:?]
at org.apache.iceberg.flink.FlinkCatalog.open(FlinkCatalog.java:118) ~[iceberg-flink-runtime-9d6318f.dirty.jar-1602570143989.jar:?]
at org.apache.flink.table.catalog.CatalogManager.registerCatalog(CatalogManager.java:191) ~[flink-table_2.11-1.11.2.jar:1.11.2]
at org.apache.flink.table.api.internal.TableEnvironmentImpl.createCatalog(TableEnvironmentImpl.java:1086) ~[flink-table_2.11-1.11.2.jar:1.11.2]
at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeOperation(TableEnvironmentImpl.java:1019) ~[flink-table_2.11-1.11.2.jar:1.11.2]
at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeSql(TableEnvironmentImpl.java:690) ~[flink-table_2.11-1.11.2.jar:1.11.2]
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] wg1026688210 commented on issue #1605: Flink iceberg hive catalog don't load hive config
Posted by GitBox <gi...@apache.org>.
wg1026688210 commented on issue #1605:
URL: https://github.com/apache/iceberg/issues/1605#issuecomment-707834359
environment:
centos 7
jdk8
hadoop2.7
code
```
tableEnvironment.executeSql("create catalog iceberg_catalog with ('type'='iceberg', 'catalog-type'='hive', 'uri'='xxx' ,'property-version'='1' ,'clients'='5')");
tableEnvironment.executeSql("use catalog iceberg_catalog");
tableEnvironment.executeSql(
"CREATE TABLE iceberg_catalog.flink_origin_db.hive_1result_table (\n" +
" id STRING COMMENT 'unique id',\n" +
" data STRING\n" +
")\n"
);
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] wg1026688210 closed issue #1605: Flink iceberg hive catalog don't load hive config
Posted by GitBox <gi...@apache.org>.
wg1026688210 closed issue #1605:
URL: https://github.com/apache/iceberg/issues/1605
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] wg1026688210 commented on issue #1605: Flink iceberg hive catalog don't load hive config
Posted by GitBox <gi...@apache.org>.
wg1026688210 commented on issue #1605:
URL: https://github.com/apache/iceberg/issues/1605#issuecomment-708110875
lgtm
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] zhangjun0x01 commented on issue #1605: Flink iceberg hive catalog don't load hive config
Posted by GitBox <gi...@apache.org>.
zhangjun0x01 commented on issue #1605:
URL: https://github.com/apache/iceberg/issues/1605#issuecomment-708100835
This is a known issue and I am working on it,You can follow https://github.com/apache/iceberg/pull/1558
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
[GitHub] [iceberg] wg1026688210 commented on issue #1605: Flink iceberg hive catalog don't load hive config
Posted by GitBox <gi...@apache.org>.
wg1026688210 commented on issue #1605:
URL: https://github.com/apache/iceberg/issues/1605#issuecomment-707622294
HiveCatalog will find the option 'hive.metastore.warehouse.dir' which should exist in hive-site.xml config
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org