CiscoCloud/mantl-hdfs

Name: mantl-hdfs

Owner: CiscoCloud

Description: Builds a custom scheduler package for HA HDFS on Apache Mesos that is compatible with Mantl

Created: 2015-10-05 18:31:10.0

Updated: 2015-10-05 18:44:01.0

Pushed: 2015-10-05 18:31:51.0

Homepage:

Size: 112

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

mantl-hdfs

Build Status

Builds a custom scheduler package for HA HDFS on Apache Mesos that is compatible with Mantl. This is intended to be used with the DCOS HDFS Package.

The configuration files in the conf directory are modified from the default DCOS distribution to leverage Consul DNS.

Usage
ild the docker container
er build -t mantl-hdfs .

ild the package
er run --rm -it -v $(pwd):/output mantl-hdfs

If everything works successfully, you should have a package called hdfs-mesos-$version.tgz in your current directory.

You can upload the package to a public location and add the url to the hdfs.scheduler-uris setting in an options.json file used when installing the HDFS package. See the Installing HDFS on DCOS documentation for more information.

Configuration Change Reference
hdfs-site.xml

| Property Name | Property Value | |————————————|——————————————————————————————————————–| | dfs.namenode.rpc-address.hdfs.nn1 | namenode1.service.consul:50071 | | dfs.namenode.http-address.hdfs.nn1 | namenode1.service.consul:50070 | | dfs.namenode.rpc-address.hdfs.nn2 | namenode2.service.consul:50071 | | dfs.namenode.http-address.hdfs.nn2 | namenode2.service.consul:50070 | | dfs.namenode.shared.edits.dir | qjournal://journalnode1.service.consul:8485;journalnode2.service.consul:8485;journalnode3.service.consul:8485/hdfs | | ha.zookeeper.quorum | zookeeper.service.consul:2181 |

mesos-site.xml

| Property Name | Property Value | |————————————-|——————————————| | mesos.hdfs.state.zk | zookeeper.service.consul:2181 | | mesos.master.uri | zk://zookeeper.service.consul:2181/mesos | | mesos.hdfs.zkfc.ha.zookeeper.quorum | zookeeper.service.consul:2181 | | mesos.hdfs.mesosdns | false | | mesos.hdfs.native-hadoop-binaries | false | | mesos.native.library | /usr/local/lib/libmesos.so | | mesos.hdfs.ld-library-path | /usr/local/lib |


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.