Sign inSign up

edrusb/mapr-client

By edrusb

Updated over 5 years ago

container with sshd server and mapr client setup and ready to access HDFS of a remote mapr cluster

Image
0

61

edrusb/mapr-client repository overview

Several environment variable must be set to define the mapr cluster to connect to:

Usage for docker container "edrusb/mapr-client"

Expecting the following ENV variable set to configure the MAPR client:

  • MAPR_UID default to 5000
  • MAPR_GID default to 5000
  • MAPR_CLUSTERNAME must be set
  • MAPR_CLDB coma separated lists of the CLDB hosts
  • MAPR_PWD the mapr password to connect to the mapr cluster
  • ROOT_PASSWORD to set the root password of the container to something else than the top secured default 'toto'

  • = optional

  • = mandatory

exemple of use:

# cat docker.env
MAPR_UID=3000
MAPR_GID=3000
MAPR_CLUSTERNAME=mapr.ezmeral.denis.hpedemo.fr
MAPR_CLDB=10.13.25.131,10.13.25.132,10.13.25.133
MAPR_PWD=****
ROOT_PASSWORD=unsecured_password
#
# docker run --rm -d -p 2222:22 --env-file docker.env edrusb/mapr-client:1.0
f5504be389b27d4605d8296000dcf50e082ce4765f2a3e0829da6327ccb4b21e
# ssh mapr@localhost -p 2222
mapr@localhost's password:
Last login: Fri Jun 18 21:39:30 2021
[mapr@f5504be389b2 ~]$ hadoop fs -ls /
Found 7 items
drwxr-xr-x - mapr mapr 3 2021-04-23 16:00 /apps
drwxr-xr-x - mapr mapr 9 2021-06-14 10:39 /hbase
drwxr-xr-x - mapr mapr 0 2021-04-23 16:03 /opt
drwxr-xr-x - mapr mapr 1 2021-06-16 17:03 /tenant1
drwxrwxrwx - mapr mapr 0 2021-04-23 16:14 /tmp
drwxr-xr-x - mapr mapr 2 2021-04-26 10:04 /user
drwxr-xr-x - mapr mapr 1 2021-04-23 16:01 /var
[mapr@f5504be389b2 ~]$

Tag summary

Content type

Image

Digest

Size

734.6 MB

Last updated

over 5 years ago

docker pull edrusb/mapr-client:1.1