AntiO2 commented on issue #96:
URL: https://github.com/apache/paimon-trino/issues/96#issuecomment-3087963196

   总结一下怎么运行起来。
   
   我用的版本:
   
   | Version      | Jar                                                         
                                                                                
                                                      |                        |
   | ------------ | 
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 | ---------------------- |
   | Trino        | [Central Repository: 
io/trino/trino-server/440](https://repo1.maven.org/maven2/io/trino/trino-server/440/)
                                                                                
        |                        |
   | Paimon Trino | [Index of 
/repositories/snapshots/org/apache/paimon/paimon-trino-440/1.0-SNAPSHOT](https://repository.apache.org/content/repositories/snapshots/org/apache/paimon/paimon-trino-440/1.0-SNAPSHOT/)
 |                        |
   | gauva        | [Central Repository: 
com/google/guava/guava/31.0-jre](https://repo1.maven.org/maven2/com/google/guava/guava/31.0-jre/)
                                                                            | 
put in `plugin/paimon` |
   | failure      | [Maven Repository: com.google.guava » failureaccess » 
1.0.1](https://mvnrepository.com/artifact/com.google.guava/failureaccess/1.0.1) 
                                                            | put in 
`plugin/paimon` |
   
   接着重新build的jar包trino-filesystem-manager
   
   
   ```bash
   git clone [email protected]:trinodb/trino.git
   git fetch origin tags
   git checkout tags/440
   
   cd lib/trino-filesystem-manager
   ```
   
   `vi src/main/java/io/trino/filesystem/manager/HdfsFileSystemLoader.java` 
注释掉57行的verify ` // verify(clazz == null, "HDFS should not be on the plugin 
classpath");` 
   
   
   ```bash
   mvn package
   cp target/trino-filesystem-manager-440.jar 
${TRINO_INSTALL_DIR}/plugin/paimon/
   
   cd ${TRINO_INSTALL_DIR}/plugin/paimon
   mkdir hdfs
   cp *.jar hdfs/
   ```
   
   我还需要删除一些插件来解决冲突才能启动: 
   `rm -rf plugin/tpcds plugin/tpch` 


-- 
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]

Reply via email to