Wednesday, 17 December 2014

Configuring Your MapR Cluster for Splice Machine

We recommend using the MapR Quick Installer instructions.
The remainder of this section provides a summarized walk-through of using the MapR Quick Installer and setting the configuration up correctly for Splice Machine:
1. Prepare for your installation:
Prepare for installing MapR by following these steps:
  1. Download the mapr-setup file for your version of Linux:
    Linux VersionDownload
    CentOS / RHELDownload the setup file from this URL:
    UbuntuUse this shell command to download the setup file
  2. Navigate to the directory to which you downloaded the file.
  3. Execute permissions on the downloaded setup file:
    chmod 755 mapr-setup
  4. Run mapr-setup to extract the installer files to the /opt/mapr-installer directory:
    sudo ./mapr-setup
2. Start the MapR Interactive Quick Installer:
Invoke the installer, using the private SSH key file you created (id_rsa in the following example):
sudo /opt/mapr-installer/bin/install -s -U root --private id_rsa new
The installer asks you a set of configuration questions; make sure that you substitute your node names and disk paths instead of the highlighted values shown here:
An Installer config file is typically used by experienced MapR admins to skip through the interview process.
Do you have a config file (y/n) [n]: n
Enter the hostnames of all the control nodes separated by spaces or commas []: control-node

Enter the hostnames of all the data nodes separated by spaces or commas []: data-node1, data-node2, data-node3, ...

Set MapR User Name [mapr]: <press enter to accept default>
Set MapR User Password [mapr]: <press enter to accept default>
Is this cluster going to run YARN? (y/n) [y]:n
Is this cluster going to run MapReduce1? (y/n) [n]:y
Is this cluster going to run Apache HBase? (y/n) [y]:y
Is this cluster going to run MapR-DB? (y/n) [n]: n
Enter the full path of disks for hosts separated by spaces or commas []: /dev/sdb, /dev/sdc, /dev/sdd, ...
3. Modify options
When the MapR installer prompts you about whether to continue, modify, or abort, select modify options:
(c)ontinue with install, (m)odify options, or save current configuration and (a)bort? (c/m/a)? m
Select the Force Format Disks option
Force Format Disks [n]: y
Set MapR Ecosystem Repo URL []:
4. Confirm your configuration:
MapR asks you to verify your configuration before continuing with the installation. After confirming that your options are like the following, enter cont to continue the installation.
And then select the MapR Ecosystem Repository URL and modify its value:
Pick an option to modify
N] Cluster Name: ""
u] MapR User Name: "mapr"
g] MapR Group Name: "mapr"
U] MapR User UID: "2000"
G] MapR User GID: "2000"
p] MapR User Password: "****"
S] WireLevel Security: "n"
d] Disk Settings: "/dev/sdb,/dev/sdc,/dev/sdd"
sw] Disk Stripe Width: ""
F] Force Format Disks: "y"
c] Client Nodes: ""
C] Control Nodes: "control-node"
D] Data Nodes: "data-node1,data-node2,data-node3"
b] Control Nodes to function as Data Nodes: "n"
v] Version: "4.0.1"
L] Local Repository: "n"
mr] MapReduce1: "y"
db] MapR-DB: "n"
hb] HBase: "y"
y] YARN: "n"
uc] Core Repo URL: ""
ue] Ecosystem Repo URL: ""
dbh] Metrics DB Host and Port: ""
dbu] Metrics DB User: ""
dbp] Metrics DB Password: ""
dbs] Metrics DB Schema: ""
cont] Continue
: cont
5. Enter the administrative username
When the MapR installer prompts you about whether to continue, modify, or abort, select continue, and when prompted for the SSH Username, enter the username that you have set up for password-less sudo privileges; we use clusteradmin for our examples:
(c)ontinue with install, (m)odify options, or save current configuration and (a)bort? (c/m/a)? [c]: c
SSH Username: clusteradmin
6. Wait for the MapR installation to complete
After a few minutes, you should see the following message:
MapR Installation Successful on Control Nodes. Please login via the web console at https://control-node:8443 or manage the cluster using 'maprcli' or 'hadoop' commands
The MapR installer then exits and returns you to the shell prompt.

Log into the MapR Web Console

Once you have MapR installed, it's a good idea to log into their web console, which they call the MapR Command System (MCS). You can log into the MCS as follows:
  1. Point your browser at https://control-node:8443.
  2. Use username=mapr and password=mapr, unless you modified these when running mapr-setup.

Next Steps in Clustered Version Installation

Follow these steps to continue installing the clustered version of Splice Machine:
  1. Install Splice Machine (remaining steps):
    1. Extract and install the Splice Machine jar
    2. Install the Splice Machine database tools
    3. Update Configuration Files
  2. Stop and then restart Hadoop services
  3. Start using Splice Machine!

No comments:

Post a Comment