Accessing your Cluster
  7/6/2012

© 2012 MapR Technologies   Accessing your Cluster 1
Accessing your Cluster
   Agenda
   • Administrative Access: the MapR Control System (MCS)
   • Exercise: The MCS
   • The MapR Client
   • Exercise: The MapR Client
   • Direct Access NFS
   • Exercise: NFS
   • The Hive ODBC Connector



© 2012 MapR Technologies   Accessing your Cluster 2
Accessing your Cluster
   Objectives
   At the end of this module you will be able to:
   • Manage your cluster with the MapR Control System
   • Copy files to and from your cluster via NFS
   • Use the MapR Client to access your cluster
   • Explain the steps involved in using the Hive ODBC Connector with a BI
     application




© 2012 MapR Technologies      Accessing your Cluster 3
The MapR Control
                                System



© 2012 MapR Technologies      Accessing your Cluster 4
The MapR Control System
       https://<web_server>:8443
       Can manage multiple clusters
        –   Defined in mapr-clusters.conf
       Standard set of tools to manage cluster




© 2012 MapR Technologies          Accessing your Cluster 5
Instructor Demo:
                               The MCS




© 2012 MapR Technologies      Accessing your Cluster 6
Exercise:
                             The MCS
            Connect to the MCS with a browser
            Navigate to the Dashboard, Nodes,
             Volumes, JobTracker and other pages




© 2012 MapR Technologies   Accessing your Cluster 7
The MapR Client




© 2012 MapR Technologies     Accessing your Cluster 8
The MapR Client
                                               A MapR distribution of the
                                                Hadoop shell
                                               A tool to submit jobs to the
                                                cluster from your workstation
                                               Compatible with:
                                                –   Windows
                                                –   Mac
                                                –   Linux
                                               Permissions/Credentials the
                                                same as the cluster

                      Work with the cluster from your laptop

© 2012 MapR Technologies       Accessing your Cluster 9
Exercise:
                           The MapR Client
            Install the MapR Client
            Submit a MapReduce job to the cluster
             from your client




© 2012 MapR Technologies     Accessing your Cluster 10
Direct Access NFS




© 2012 MapR Technologies      Accessing your Cluster 11
Direct Access NFS
                                            Drag and drop
                                            Open files and apps
                                            Watch live data come in
                                            Fully read/write
                                            Multiple concurrent reads/writes
                                            Easy to get data in/out
                                            Same namespace paths as Hadoop
                                          Mount with
                                          -o tcp,ver=3,nolock

                            Mount a cluster like a disk!

© 2012 MapR Technologies       Accessing your Cluster 12
Exercise:
                                NFS
            Install an NFS client
            Mount the cluster via NFS
            Copy a text file to the cluster filesystem




© 2012 MapR Technologies   Accessing your Cluster 13
The Hive ODBC
                             Connector



© 2012 MapR Technologies    Accessing your Cluster 14
© 2012 MapR Technologies   Accessing your Cluster 15
Instructor Demo:
                            The Hive ODBC
                               Connector



© 2012 MapR Technologies     Accessing your Cluster 16
Questions




© 2012 MapR Technologies   Accessing your Cluster 17

30a accessing your cluster

  • 1.
    Accessing your Cluster 7/6/2012 © 2012 MapR Technologies Accessing your Cluster 1
  • 2.
    Accessing your Cluster Agenda • Administrative Access: the MapR Control System (MCS) • Exercise: The MCS • The MapR Client • Exercise: The MapR Client • Direct Access NFS • Exercise: NFS • The Hive ODBC Connector © 2012 MapR Technologies Accessing your Cluster 2
  • 3.
    Accessing your Cluster Objectives At the end of this module you will be able to: • Manage your cluster with the MapR Control System • Copy files to and from your cluster via NFS • Use the MapR Client to access your cluster • Explain the steps involved in using the Hive ODBC Connector with a BI application © 2012 MapR Technologies Accessing your Cluster 3
  • 4.
    The MapR Control System © 2012 MapR Technologies Accessing your Cluster 4
  • 5.
    The MapR ControlSystem  https://<web_server>:8443  Can manage multiple clusters – Defined in mapr-clusters.conf  Standard set of tools to manage cluster © 2012 MapR Technologies Accessing your Cluster 5
  • 6.
    Instructor Demo: The MCS © 2012 MapR Technologies Accessing your Cluster 6
  • 7.
    Exercise: The MCS  Connect to the MCS with a browser  Navigate to the Dashboard, Nodes, Volumes, JobTracker and other pages © 2012 MapR Technologies Accessing your Cluster 7
  • 8.
    The MapR Client ©2012 MapR Technologies Accessing your Cluster 8
  • 9.
    The MapR Client  A MapR distribution of the Hadoop shell  A tool to submit jobs to the cluster from your workstation  Compatible with: – Windows – Mac – Linux  Permissions/Credentials the same as the cluster Work with the cluster from your laptop © 2012 MapR Technologies Accessing your Cluster 9
  • 10.
    Exercise: The MapR Client  Install the MapR Client  Submit a MapReduce job to the cluster from your client © 2012 MapR Technologies Accessing your Cluster 10
  • 11.
    Direct Access NFS ©2012 MapR Technologies Accessing your Cluster 11
  • 12.
    Direct Access NFS  Drag and drop  Open files and apps  Watch live data come in  Fully read/write  Multiple concurrent reads/writes  Easy to get data in/out  Same namespace paths as Hadoop  Mount with -o tcp,ver=3,nolock Mount a cluster like a disk! © 2012 MapR Technologies Accessing your Cluster 12
  • 13.
    Exercise: NFS  Install an NFS client  Mount the cluster via NFS  Copy a text file to the cluster filesystem © 2012 MapR Technologies Accessing your Cluster 13
  • 14.
    The Hive ODBC Connector © 2012 MapR Technologies Accessing your Cluster 14
  • 15.
    © 2012 MapRTechnologies Accessing your Cluster 15
  • 16.
    Instructor Demo: The Hive ODBC Connector © 2012 MapR Technologies Accessing your Cluster 16
  • 17.
    Questions © 2012 MapRTechnologies Accessing your Cluster 17

Editor's Notes

  • #8 Look at the volume via both NFS and hadoopfs commands.Put some stuff in there—a text file or whatever
  • #11 Look at the volume via both NFS and hadoopfs commands.Put some stuff in there—a text file or whateverMount points:node:/maprnfs://node/mapr (Mac)
  • #14 Look at the volume via both NFS and hadoopfs commands.Put some stuff in there—a text file or whateverMount points:node:/maprnfs://node/mapr (Mac)