简体   繁体   English

在没有互联网连接的计算机上安装Apache Giraph

[英]Install Apache Giraph on a machine with no internet connection

I want to install Apache Giraph 1.1.0 on a RedHat cluster, Hadoop 2.7.1 is already installed and configured on the cluster. 我想在RedHat群集上安装Apache Giraph 1.1.0 ,已经在群集上安装并配置了Hadoop 2.7.1 In the official tutorial http://giraph.apache.org/quick_start.html , it is recommended to download source code of Giraph and use Apache Maven to compile Giraph (needs internet connection), However, The cluster is not connected to internet. 在官方教程http://giraph.apache.org/quick_start.html中 ,建议下载Giraph的源代码并使用Apache Maven编译Giraph(需要Internet连接),但是,群集未连接到Internet。 My question is : Is there any way to install Giraph on a machine without internet connection? 我的问题是:有没有办法在没有互联网连接的机器上安装Giraph?

Build the Giraph source code on a machine with Internet connection according to your hadoop version. 根据您的hadoop版本,在具有Internet连接的计算机上构建Giraph源代码。 Then, copy the jar file (I guess giraph-1.1.0-for-hadoop-2.7.1.0-jar-with-dependencies.jar) to the master machine of your RedHat cluster. 然后,将jar文件(我猜是giraph-1.1.0-for-hadoop-2.7.1.0-jar-with-dependencies.jar)复制到RedHat集群的主计算机上。 Add this jar file to the hadoop classpath. 将此jar文件添加到hadoop类路径。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM