安装Mapr时出错

时间:2014-07-22 03:57:47

标签: hadoop mapr

嗨我正在尝试在ubuntu 12.04上安装MapR精确但面临一些问题。我按照以下链接进行安装

http://doc.mapr.com/display/MapR/Quick+Installation+Guide

我按照链接中提到的所有步骤进行了以下是我得到的错误

* 16:15:50 Interrogating Node(s), Validating Prerequisites, and Starting Install
* 16:15:53 Installing Extra Package Repositories If Needed
* 16:15:55 Detecting Operating System
* 16:15:57 Installing Prerequisite Packages for Ubuntu/Debian
* 16:16:02 Detecting Operating System
* 16:16:06 Configuring Firewall for Ubuntu/Debian
* 16:16:08 Creating MapR User
* 16:16:23 Installing and Configuring NTP Service
* 16:16:29 Installing OpenJDK Packages If Needed
* 16:16:35 Detecting Operating System
* 16:16:37 Initializing MapR Repository for Ubuntu/Debian
ubuntu: error getting key id from url: http://package.mapr.com/releases/pub/gnugpg.key
failed: [ubuntu] => {"failed": true, "traceback": "Traceback (most recent call   last):\n  File     \"/home/pcadmin/.ansible/tmp/ansible-tmp-1405939599.14-281315531843819/apt_key\", line 158, in download_key\n    return rsp.read()\nAttributeError: 'NoneType' object has no attribute 'read'\n"}

FATAL: all hosts have already failed -- aborting
Host: ubuntu had 1 failures
Control Nodes have failures. Please fix the failures and re-run the installation.

请帮忙

1 个答案:

答案 0 :(得分:0)

我在安装elasticsearch时发现了类似的问题 - 在我的情况下,它是由出口过滤防火墙和没有设置代理的组合引起的。检查您的Ansible代理设置(如果相关),并且可以从相关计算机访问http://package.mapr.com/releases/pub/gnugpg.key