-1

I'm using ubuntu 14.10 (64-bit) and trying to install hadoop using brew.But I'm experiencing this error.

brew install hadoop
==> Downloading http://www.apache.org/dyn/closer.cgi?path=hadoop/common/hadoop-2.6.0/hadoop-2.6.0.tar.gz
Error: Failed to download resource "hadoop"
Download failed: Couldn't determine mirror, try again later.

Is this a server error or the command 'brew install hadoop' needs correction ?

4

2 回答 2

2

你的命令

brew install hadoop 

过去对我有用:它应该对你有用。也许尝试完全按照消息所说的内容:“再试一次”。

于 2015-01-28T10:30:01.577 回答
0

位置(网址)

http://www.apache.org/dyn/closer.cgi?path=hadoop/common/hadoop-2.6.0/hadoop-2.6.0.tar.gz

指向镜像站点列表。

1)选择一个(镜子)并使用该网址;对我来说那将是

http://mirror.ox.ac.uk/sites/rsync.apache.org/hadoop/common/hadoop-2.6.0/hadoop-2.6.0.tar.gz

我还将使用以下命令检查您的位置/语言环境设置

locale 

Brew 不要求在设置中设置语言环境,所以我假设它是从您的语言环境设置中提取的。

参考https://github.com/Homebrew/linuxbrew/wiki/Standalone-Installation

希望这可以帮助

于 2016-01-08T16:49:48.063 回答