Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
/ mantl-hdfs Public archive
forked from CiscoCloud/mantl-hdfs

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

Notifications You must be signed in to change notification settings

mantl/mantl-hdfs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

# Build the docker container
docker build -t mantl-hdfs .

# Build the package
docker 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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%