gpt4 book ai didi

maven - 色相由于缺少Thrift类而无法构建。

转载 作者:行者123 更新时间:2023-12-02 20:13:53 27 4
gpt4 key购买 nike

我正在尝试构建Hue,它似乎需要我缺少的Thrift二进制文件。

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile 

(default-compile) on project hue-plugins: Compilation failure: Compilation failure:
[ERROR] /Users/kramachandran/Sandbox/hue/hue/desktop/libs/hadoop/java/src/main/java/org/apache/hadoop/thriftfs/DatanodePlugin.java:[32,29] cannot find symbol
[ERROR] symbol : class BlockReader
[ERROR] location: package org.apache.hadoop.hdfs
[ERROR] /Users/kramachandran/Sandbox/hue/hue/desktop/libs/hadoop/java/src/main/java/org/apache/hadoop/thriftfs/DatanodePlugin.java:[33,39] cannot find symbol
[ERROR] symbol : class RemoteBlockReader
[ERROR] location: class org.apache.hadoop.hdfs.DFSClient
[ERROR] /Users/kramachandran/Sandbox/hue/hue/desktop/libs/hadoop/java/src/main/java/org/apache/hadoop/thriftfs/DatanodePlugin.java:[91,10] cannot find symbol
[ERROR] symbol: class BlockReader
[ERROR] BlockReader reader = null;
[ERROR] /Users/kramachandran/Sandbox/hue/hue/desktop/libs/hadoop/java/src/main/java/org/apache/hadoop/thriftfs/DatanodePlugin.java:[95,21] cannot find symbol
[ERROR] symbol: variable RemoteBlockReader
[ERROR] reader = RemoteBlockReader.newBlockReader(getSocket(), block.path, block.blockId,

但是,没有关于色调和节俭如何相互作用的文档。具体来说,哪些版本的节俭二进制文件需要重新定义以及应将其放置在何处。

最佳答案

依赖关系在hue pom.xml文件中

      <dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>0.5.0-cdh</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libfb303</artifactId>
<version>0.5.0-cdh</version>
</dependency>

关于maven - 色相由于缺少Thrift类而无法构建。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8619281/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com