-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 ?

Ani Menon
  • 27,209
  • 16
  • 105
  • 126

2 Answers2

2

Your command

brew install hadoop 

has worked for me in the past: it should work for you. Maybe try following exactly what the message says: "try again".

WestCoastProjects
  • 58,982
  • 91
  • 316
  • 560
0

The location (url)

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

Points to a list of mirror sites.

1) Pick one (a Mirror) and use that url; for me that would be

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

I'd also check your location/locale setting with the following command

locale 

Brew does not ask for the locale to be set in the setup, so I assume its picked up from your locale settings..

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

Hope this helps