当我在 hawq 中 rpm pxf 服务时,我得到了一些错误:
error: Failed dependencies:
hadoop >= 2.6.0 is needed by pxf-service-0:3.0.0-root.noarch
hadoop-hdfs >= 2.6.0 is needed by pxf-service-0:3.0.0-root.noarch
你在这里有什么建议?
当我在 hawq 中 rpm pxf 服务时,我得到了一些错误:
error: Failed dependencies:
hadoop >= 2.6.0 is needed by pxf-service-0:3.0.0-root.noarch
hadoop-hdfs >= 2.6.0 is needed by pxf-service-0:3.0.0-root.noarch
你在这里有什么建议?
您能否确定您在集群中运行的 hadoop 版本。我猜您可能运行的是较低版本的 hadoop。您必须运行至少 2.6 版本的 hadoop 才能运行当前版本的 pxf。
请确保 PXF rpm 操作系统架构版本匹配。例如,如果 PXF rpm 是为 RHEL6 构建的,并且您正在 RHEL7 上安装,那么您可能会看到一些依赖问题
此处的 wiki 使用 rpm bigtop(hadoop)。 https://cwiki.apache.org/confluence/display/HAWQ/Build+Package+and+Install+with+RPM
这意味着如果我使用 rpm(HAWQ 2.2.0)安装,则不支持其他方式(使用二进制 hadoop 而没有 rpm 安装,如 tar)。
如果我安装 hadoop 使用 tar,我现在必须从源代码构建 HAWQ。