mesosphere-backup / hdfs-deprecated

[DEPRECATED] This project is deprecated. It will be archived on December 1, 2017.
Apache License 2.0
147 stars 52 forks source link

hdfs mesos try to download java 7 #247

Open vgkowski opened 8 years ago

vgkowski commented 8 years ago

Hi all, The framework tries to download Java 7 at the startup. Is there any possibility to disable this because the cluster is in an offline network ?

VG

asdfsx commented 8 years ago

the framework needs to install a jre in the mesos container. I solve this problem by setuping the following parameters in mesos-site.xml

<property>
    <name>mesos.hdfs.jre-url</name>
    <description>The jre download by mesos container</description>
    <value>http://192.168.2.36/jre-7u76-linux-x64.tar.gz</value>
</property>

But you need to build a download server by nginx for example. The jre you can download as following

wget https://downloads.mesosphere.io/java/jre-7u76-linux-x64.tar.gz