I'm trying to install Hadoop 2.7.3. on Elementary OS (which ~ Ubuntu, I believe) following the instructions in the BUILDING.txt that came with the Hadoop files.
The file indicates that I need to install Oracle JDK 1.7 by going through the following steps:
$ sudo apt-get purge openjdk* $ sudo apt-get install software-properties-common $ sudo add-apt-repository ppa:webupd8team/java $ sudo apt-get update $ sudo apt-get install oracle-java7-installer
All works well until the last step, where it exits with an error message which I'm not sure what to make of (sorry if paste is too long; I'd be happy to edit it but Idk what's relevant):
--2017-05-26 10:58:06-- http://download.oracle.com/otn-pub/java/jdk/7u80- b15/jdk-7u80-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 18.104.22.168, 22.214.171.124
Connecting to download.oracle.com (download.oracle.com)|126.96.36.199|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz [following]
--2017-05-26 10:58:06-- http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1495814405_54d4699c133b9ceee2666c152616ece6 Connecting to download.oracle.com (download.oracle.com)|188.8.131.52|:80... connected.
HTTP request sent, awaiting response... 404 Not Found 2017-05-26 10:58:07 ERROR 404: Not Found.
Oracle JDK 7 is NOT installed.
dpkg: error processing package oracle-java7-installer (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of oracle-jdk7-installer: oracle-jdk7-installer depends on oracle-java7-installer; however: Package oracle-java7-installer is not configured yet.
- the 404 is the main issue - it's looking for files but can't find them
So my question is
Is that even true? What is the roadblock here?
How can I fix it, or do I have to take another path?
(I am following White's Hadoop - The Definitive Guide for the overall approach. )