Red Sqirl MapR Container
What is this image
NB: The start up is longer than the cloudera image, so if you want the fastest path to Red Sqirl check this project.
docker run -it --rm -p 8443:8443 redsqirl/mapr
- Red Sqirl 8842
- MapR Control System 8443
- Install docker
Configure your docker daemon settings required to run MapR sandbox. For example in my case, I had to edit the file
/etc/default/docker, so that it looks like:
DOCKER_OPTS="--storage-opt dm.basesize=30G --storage-opt dm.loopdatasize=256G --selinux-enabled"
Restart docker, in my case
sudo service docker restartand check if the changes have been taken into account
ps aux | grep docker
- Get the image:
docker pull redsqirl/mapr
- Create the image:
docker run -it --rm -p 8443:8443 redsqirl/mapr, you can dismiss the udev error message. The server will take a while to start up, once it does it will display the MCS URL:
- Register your cluster on the mapr website
i. Login to the MapR Control System: https://localhost:8443/, as mapr (password:mapr), you will have to dismiss the warnings about the unsafe host.
ii.Click on Register Now on top and follow the instructions
iii. Once it is finished, when you come back the MCS, you should see a green message "License Applied".
- SSH the docker container while forwarding the Red Sqirl port:
ssh -L 8842:localhost:8842 mapr@<IP container>(password: mapr)
- Install Oozie (Red Sqirl Requirement):
./bin/install_configure_oozie.sh(sudo is used in this script, therefore the password will be required again)
- Start and initialise Red Sqirl:
- Open your browser and go to the url: http://localhost:8842/redsqirl
- Register an online Red Sqirl Account if necessary
- Do not install the default packages, Spark and Hive are not installed
- Install the Pig package
- Sign Out
- Login with the OS user mapr (password: mapr)
If you don't have enough resources available when you submit a job to run, Oozie may stall.