alberttwong commented on issue #460:
URL: 
https://github.com/apache/incubator-xtable/issues/460#issuecomment-2151366328

   won't work in Trino
   
   ```
   atwong@Coolidgelabs demo-s3 % cat trino/catalog/hudi.properties
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements.  See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License.  You may obtain a copy of the License at
   #
   #     http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   connector.name=hudi
   hive.metastore.uri=thrift://hive-metastore:9083
   hive.s3.aws-access-key=admin
   hive.s3.aws-secret-key=password
   hive.s3.endpoint=http://minio:9000
   hoodie.metadata.enable=true
   ```
   
   ```
   2024-06-05 20:48:11 2024-06-06T03:48:11.571Z    ERROR   main    
io.trino.server.Server  Configuration errors:
   2024-06-05 20:48:11 
   2024-06-05 20:48:11 1) Error: Configuration property 
'hoodie.metadata.enable' was not used
   2024-06-05 20:48:11 
   2024-06-05 20:48:11 1 error
   2024-06-05 20:48:11 io.airlift.bootstrap.ApplicationConfigurationException: 
Configuration errors:
   2024-06-05 20:48:11 
   2024-06-05 20:48:11 1) Error: Configuration property 
'hoodie.metadata.enable' was not used
   2024-06-05 20:48:11 
   2024-06-05 20:48:11 1 error
   2024-06-05 20:48:11     at 
io.airlift.bootstrap.Bootstrap.initialize(Bootstrap.java:232)
   2024-06-05 20:48:11     at 
io.trino.plugin.hudi.InternalHudiConnectorFactory.createConnector(InternalHudiConnectorFactory.java:95)
   2024-06-05 20:48:11     at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   2024-06-05 20:48:11     at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   2024-06-05 20:48:11     at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   2024-06-05 20:48:11     at 
java.base/java.lang.reflect.Method.invoke(Method.java:568)
   2024-06-05 20:48:11     at 
io.trino.plugin.hudi.HudiConnectorFactory.create(HudiConnectorFactory.java:48)
   2024-06-05 20:48:11     at 
io.trino.connector.DefaultCatalogFactory.createConnector(DefaultCatalogFactory.java:224)
   2024-06-05 20:48:11     at 
io.trino.connector.DefaultCatalogFactory.createCatalog(DefaultCatalogFactory.java:133)
   2024-06-05 20:48:11     at 
io.trino.connector.LazyCatalogFactory.createCatalog(LazyCatalogFactory.java:45)
   2024-06-05 20:48:11     at 
io.trino.connector.StaticCatalogManager.lambda$loadInitialCatalogs$1(StaticCatalogManager.java:157)
   2024-06-05 20:48:11     at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   2024-06-05 20:48:11     at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
   2024-06-05 20:48:11     at 
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   2024-06-05 20:48:11     at 
com.google.common.util.concurrent.DirectExecutor.execute(DirectExecutor.java:31)
   2024-06-05 20:48:11     at 
java.base/java.util.concurrent.ExecutorCompletionService.submit(ExecutorCompletionService.java:184)
   2024-06-05 20:48:11     at 
io.trino.util.Executors.executeUntilFailure(Executors.java:41)
   2024-06-05 20:48:11     at 
io.trino.connector.StaticCatalogManager.loadInitialCatalogs(StaticCatalogManager.java:151)
   2024-06-05 20:48:11     at io.trino.server.Server.doStart(Server.java:144)
   2024-06-05 20:48:11     at 
io.trino.server.Server.lambda$start$0(Server.java:91)
   2024-06-05 20:48:11     at 
io.trino.$gen.Trino_428____20240606_034757_1.run(Unknown Source)
   2024-06-05 20:48:11     at io.trino.server.Server.start(Server.java:91)
   2024-06-05 20:48:11     at 
io.trino.server.TrinoServer.main(TrinoServer.java:38)
   ```


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

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

Reply via email to