SlideShare ist ein Scribd-Unternehmen logo
1 von 1
LAB: NFS                                                                    July 2012



LAB: NFS
Goal
In these exercises you will transfer data to and from your cluster via two separate
methods to understand the differences between each of these processes.

Exercise: hadoopfs
       Connect to your node via ssh
       Create a text file in the pwd of your local filesystem
           o touch test.txt
       List the contents of your local pwd
           o ls
       List the contents of your volume on the cluster
           o hadoopfs -ls /<your_volume>
       Create a directory within your volume on the cluster
           o hadoopfs -mkdir /<your_volume>/<some_dir>
       Copy the local text file you created in the previous step to the directory
       within your volume on the cluster
           o hadoopfs -put test.txt /<your_volume>/<some_dir>
       List the contents of the directory within your volume on the cluster to verify
       that the copy was successful
           o hadoopfs –ls /<your_volume>/<some_dir>

Exercise: Mount the Cluster to Itself and Copy a File
       Connect to your node via ssh
       List the NFS shares currently exported on the node
           sudoshowmount -e <your_node_hostname>
       Set up a mount point for the NFS share
           sudomkdir /<cluster_mount_point>
       Mount the cluster via NFS
           sudo mount –o
           nolock<your_node_hostname>:/<cluster_mount_point>
       Copy a file from your local node filesystem to the cluster
           sudocp
           /tmp/test.txt/<cluster_mount_point>/<cluster_name>/<
           your_volume>/<some_dir>/
       Verify that the file is now in the cluster with hadoopfs
           hadoopfs -ls /<your_volume>/<some_dir>




© 2012 by MapR Technologies                                                Page 1 of 1

Weitere ähnliche Inhalte

Was ist angesagt?

Docker: Aspects of Container Isolation
Docker: Aspects of Container IsolationDocker: Aspects of Container Isolation
Docker: Aspects of Container Isolationallingeek
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboardsDenis Ristic
 
GlusterFS As an Object Storage
GlusterFS As an Object StorageGlusterFS As an Object Storage
GlusterFS As an Object StorageKeisuke Takahashi
 
Linux Containers From Scratch
Linux Containers From ScratchLinux Containers From Scratch
Linux Containers From Scratchjoshuasoundcloud
 
Learning of docker storage driver (container file system)
Learning of docker storage driver  (container file system)Learning of docker storage driver  (container file system)
Learning of docker storage driver (container file system)Deepak Kumar
 
CoreOS introduction - Johann Romefort
CoreOS introduction - Johann RomefortCoreOS introduction - Johann Romefort
CoreOS introduction - Johann RomefortStylight
 
Union FileSystem - A Building Blocks Of a Container
Union FileSystem - A Building Blocks Of a ContainerUnion FileSystem - A Building Blocks Of a Container
Union FileSystem - A Building Blocks Of a ContainerKnoldus Inc.
 
The basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemThe basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemHungWei Chiu
 
Your 1st Ceph cluster
Your 1st Ceph clusterYour 1st Ceph cluster
Your 1st Ceph clusterMirantis
 
Declare your infrastructure: InfraKit, LinuxKit and Moby
Declare your infrastructure: InfraKit, LinuxKit and MobyDeclare your infrastructure: InfraKit, LinuxKit and Moby
Declare your infrastructure: InfraKit, LinuxKit and MobyMoby Project
 
GCE NFS HA
GCE NFS HAGCE NFS HA
GCE NFS HASimon Su
 
Linux presentation
Linux presentationLinux presentation
Linux presentationNikhil Jain
 
Archiving in linux tar
Archiving in linux tarArchiving in linux tar
Archiving in linux tarInfoExcavator
 

Was ist angesagt? (20)

Docker: Aspects of Container Isolation
Docker: Aspects of Container IsolationDocker: Aspects of Container Isolation
Docker: Aspects of Container Isolation
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards
 
Basics of-linux
Basics of-linuxBasics of-linux
Basics of-linux
 
GlusterFS As an Object Storage
GlusterFS As an Object StorageGlusterFS As an Object Storage
GlusterFS As an Object Storage
 
Linux Containers From Scratch
Linux Containers From ScratchLinux Containers From Scratch
Linux Containers From Scratch
 
Docker internals
Docker internalsDocker internals
Docker internals
 
Learning of docker storage driver (container file system)
Learning of docker storage driver  (container file system)Learning of docker storage driver  (container file system)
Learning of docker storage driver (container file system)
 
Flourish16
Flourish16Flourish16
Flourish16
 
CoreOS introduction - Johann Romefort
CoreOS introduction - Johann RomefortCoreOS introduction - Johann Romefort
CoreOS introduction - Johann Romefort
 
Linux basic commands tutorial
Linux basic commands tutorialLinux basic commands tutorial
Linux basic commands tutorial
 
Union FileSystem - A Building Blocks Of a Container
Union FileSystem - A Building Blocks Of a ContainerUnion FileSystem - A Building Blocks Of a Container
Union FileSystem - A Building Blocks Of a Container
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
The basic concept of Linux FIleSystem
The basic concept of Linux FIleSystemThe basic concept of Linux FIleSystem
The basic concept of Linux FIleSystem
 
Your 1st Ceph cluster
Your 1st Ceph clusterYour 1st Ceph cluster
Your 1st Ceph cluster
 
Declare your infrastructure: InfraKit, LinuxKit and Moby
Declare your infrastructure: InfraKit, LinuxKit and MobyDeclare your infrastructure: InfraKit, LinuxKit and Moby
Declare your infrastructure: InfraKit, LinuxKit and Moby
 
Docker techzone
Docker techzoneDocker techzone
Docker techzone
 
Linux basics
Linux basicsLinux basics
Linux basics
 
GCE NFS HA
GCE NFS HAGCE NFS HA
GCE NFS HA
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Archiving in linux tar
Archiving in linux tarArchiving in linux tar
Archiving in linux tar
 

Andere mochten auch

Andere mochten auch (17)

Dli book 01 lesson 3.homework
Dli book 01 lesson 3.homeworkDli book 01 lesson 3.homework
Dli book 01 lesson 3.homework
 
20a installation
20a installation20a installation
20a installation
 
Rialto Area - California Retail 6.7% CAP Rate With Upside
Rialto Area - California Retail 6.7% CAP Rate With UpsideRialto Area - California Retail 6.7% CAP Rate With Upside
Rialto Area - California Retail 6.7% CAP Rate With Upside
 
Dimensiones de la didactica
Dimensiones de la didacticaDimensiones de la didactica
Dimensiones de la didactica
 
Rialto retail center
Rialto retail centerRialto retail center
Rialto retail center
 
Get started with dropbox
Get started with dropboxGet started with dropbox
Get started with dropbox
 
Campaña misionera 2016
Campaña misionera 2016Campaña misionera 2016
Campaña misionera 2016
 
42 lab-managing services
42 lab-managing services42 lab-managing services
42 lab-managing services
 
Citlali marisol prieto lópez mapa p laboral
Citlali marisol prieto lópez mapa  p laboralCitlali marisol prieto lópez mapa  p laboral
Citlali marisol prieto lópez mapa p laboral
 
DLI BOOK 04 lesson 2 grammar
DLI BOOK  04 lesson 2 grammarDLI BOOK  04 lesson 2 grammar
DLI BOOK 04 lesson 2 grammar
 
Dli book 01 lesson 1.vocab
Dli book 01 lesson 1.vocabDli book 01 lesson 1.vocab
Dli book 01 lesson 1.vocab
 
Memoria descriptiva del proyecto de creatividad e inventiva
Memoria descriptiva del proyecto de creatividad e inventivaMemoria descriptiva del proyecto de creatividad e inventiva
Memoria descriptiva del proyecto de creatividad e inventiva
 
Cortland Hooper Overall Resume Power Point
Cortland Hooper Overall Resume Power PointCortland Hooper Overall Resume Power Point
Cortland Hooper Overall Resume Power Point
 
Los plásticos
Los plásticosLos plásticos
Los plásticos
 
Atenas
AtenasAtenas
Atenas
 
Metal free ceramics / dental ceramic lab courses
Metal free ceramics / dental ceramic lab coursesMetal free ceramics / dental ceramic lab courses
Metal free ceramics / dental ceramic lab courses
 
Himel_Sen_Resume
Himel_Sen_ResumeHimel_Sen_Resume
Himel_Sen_Resume
 

Ähnlich wie 53 lab-nfs

Big data using Hadoop, Hive, Sqoop with Installation
Big data using Hadoop, Hive, Sqoop with InstallationBig data using Hadoop, Hive, Sqoop with Installation
Big data using Hadoop, Hive, Sqoop with Installationmellempudilavanya999
 
Single node setup
Single node setupSingle node setup
Single node setupKBCHOW123
 
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...Simplilearn
 
Hadoop at a glance
Hadoop at a glanceHadoop at a glance
Hadoop at a glanceTan Tran
 
Top 10 Hadoop Shell Commands
Top 10 Hadoop Shell Commands Top 10 Hadoop Shell Commands
Top 10 Hadoop Shell Commands SimoniShah6
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)abdullah roomi
 
Apache HDFS - Lab Assignment
Apache HDFS - Lab AssignmentApache HDFS - Lab Assignment
Apache HDFS - Lab AssignmentFarzad Nozarian
 
Docker storage designing a platform for persistent data
Docker storage designing a platform for persistent dataDocker storage designing a platform for persistent data
Docker storage designing a platform for persistent dataDocker, Inc.
 
DockerCon 18 docker storage
DockerCon 18 docker storageDockerCon 18 docker storage
DockerCon 18 docker storageDaniel Finneran
 
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLabIntroduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLabCloudxLab
 
Linux basic for CADD biologist
Linux basic for CADD biologistLinux basic for CADD biologist
Linux basic for CADD biologistAjay Murali
 
Configure h base hadoop and hbase client
Configure h base hadoop and hbase clientConfigure h base hadoop and hbase client
Configure h base hadoop and hbase clientShashwat Shriparv
 
RH-302 Exam-Red Hat Certified Engineer on Redhat Enterprise Linux 4 (Labs)
RH-302 Exam-Red Hat Certified Engineer on Redhat Enterprise Linux 4 (Labs)RH-302 Exam-Red Hat Certified Engineer on Redhat Enterprise Linux 4 (Labs)
RH-302 Exam-Red Hat Certified Engineer on Redhat Enterprise Linux 4 (Labs)Isabella789
 
Configuring and manipulating HDFS files
Configuring and manipulating HDFS filesConfiguring and manipulating HDFS files
Configuring and manipulating HDFS filesRupak Roy
 
Hadoop Installation presentation
Hadoop Installation presentationHadoop Installation presentation
Hadoop Installation presentationpuneet yadav
 
Hadoop Interacting with HDFS
Hadoop Interacting with HDFSHadoop Interacting with HDFS
Hadoop Interacting with HDFSApache Apex
 

Ähnlich wie 53 lab-nfs (20)

Run wordcount job (hadoop)
Run wordcount job (hadoop)Run wordcount job (hadoop)
Run wordcount job (hadoop)
 
Big data using Hadoop, Hive, Sqoop with Installation
Big data using Hadoop, Hive, Sqoop with InstallationBig data using Hadoop, Hive, Sqoop with Installation
Big data using Hadoop, Hive, Sqoop with Installation
 
Single node setup
Single node setupSingle node setup
Single node setup
 
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
 
Hadoop at a glance
Hadoop at a glanceHadoop at a glance
Hadoop at a glance
 
Top 10 Hadoop Shell Commands
Top 10 Hadoop Shell Commands Top 10 Hadoop Shell Commands
Top 10 Hadoop Shell Commands
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)
 
Unit 1
Unit 1Unit 1
Unit 1
 
Apache HDFS - Lab Assignment
Apache HDFS - Lab AssignmentApache HDFS - Lab Assignment
Apache HDFS - Lab Assignment
 
Docker storage designing a platform for persistent data
Docker storage designing a platform for persistent dataDocker storage designing a platform for persistent data
Docker storage designing a platform for persistent data
 
DockerCon 18 docker storage
DockerCon 18 docker storageDockerCon 18 docker storage
DockerCon 18 docker storage
 
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLabIntroduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
Introduction to Linux | Big Data Hadoop Spark Tutorial | CloudxLab
 
Linux basic for CADD biologist
Linux basic for CADD biologistLinux basic for CADD biologist
Linux basic for CADD biologist
 
Configure h base hadoop and hbase client
Configure h base hadoop and hbase clientConfigure h base hadoop and hbase client
Configure h base hadoop and hbase client
 
RH-302 Exam-Red Hat Certified Engineer on Redhat Enterprise Linux 4 (Labs)
RH-302 Exam-Red Hat Certified Engineer on Redhat Enterprise Linux 4 (Labs)RH-302 Exam-Red Hat Certified Engineer on Redhat Enterprise Linux 4 (Labs)
RH-302 Exam-Red Hat Certified Engineer on Redhat Enterprise Linux 4 (Labs)
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Configuring and manipulating HDFS files
Configuring and manipulating HDFS filesConfiguring and manipulating HDFS files
Configuring and manipulating HDFS files
 
Hadoop Installation presentation
Hadoop Installation presentationHadoop Installation presentation
Hadoop Installation presentation
 
Hadoop Interacting with HDFS
Hadoop Interacting with HDFSHadoop Interacting with HDFS
Hadoop Interacting with HDFS
 
Belvedere
BelvedereBelvedere
Belvedere
 

Mehr von mapr-academy

80a disaster recovery
80a disaster recovery80a disaster recovery
80a disaster recoverymapr-academy
 
70a monitoring & troubleshooting
70a monitoring & troubleshooting70a monitoring & troubleshooting
70a monitoring & troubleshootingmapr-academy
 
55a remote cluster
55a remote cluster55a remote cluster
55a remote clustermapr-academy
 
41a managing services
41a managing services41a managing services
41a managing servicesmapr-academy
 
30a accessing your cluster
30a accessing your cluster30a accessing your cluster
30a accessing your clustermapr-academy
 
3 map r installation & setup administration course description
3 map r installation & setup administration course description3 map r installation & setup administration course description
3 map r installation & setup administration course descriptionmapr-academy
 

Mehr von mapr-academy (16)

52 nfs
52 nfs52 nfs
52 nfs
 
80a disaster recovery
80a disaster recovery80a disaster recovery
80a disaster recovery
 
70a monitoring & troubleshooting
70a monitoring & troubleshooting70a monitoring & troubleshooting
70a monitoring & troubleshooting
 
58a migration
58a migration58a migration
58a migration
 
55a remote cluster
55a remote cluster55a remote cluster
55a remote cluster
 
51 lab-volumes
51 lab-volumes51 lab-volumes
51 lab-volumes
 
50a volumes
50a volumes50a volumes
50a volumes
 
48a tuning
48a tuning48a tuning
48a tuning
 
41a managing services
41a managing services41a managing services
41a managing services
 
30a accessing your cluster
30a accessing your cluster30a accessing your cluster
30a accessing your cluster
 
22 configuration
22 configuration22 configuration
22 configuration
 
14 lab-planing
14 lab-planing14 lab-planing
14 lab-planing
 
13c planning
13c planning13c planning
13c planning
 
12a architecture
12a architecture12a architecture
12a architecture
 
10c introduction
10c introduction10c introduction
10c introduction
 
3 map r installation & setup administration course description
3 map r installation & setup administration course description3 map r installation & setup administration course description
3 map r installation & setup administration course description
 

53 lab-nfs

  • 1. LAB: NFS July 2012 LAB: NFS Goal In these exercises you will transfer data to and from your cluster via two separate methods to understand the differences between each of these processes. Exercise: hadoopfs Connect to your node via ssh Create a text file in the pwd of your local filesystem o touch test.txt List the contents of your local pwd o ls List the contents of your volume on the cluster o hadoopfs -ls /<your_volume> Create a directory within your volume on the cluster o hadoopfs -mkdir /<your_volume>/<some_dir> Copy the local text file you created in the previous step to the directory within your volume on the cluster o hadoopfs -put test.txt /<your_volume>/<some_dir> List the contents of the directory within your volume on the cluster to verify that the copy was successful o hadoopfs –ls /<your_volume>/<some_dir> Exercise: Mount the Cluster to Itself and Copy a File Connect to your node via ssh List the NFS shares currently exported on the node sudoshowmount -e <your_node_hostname> Set up a mount point for the NFS share sudomkdir /<cluster_mount_point> Mount the cluster via NFS sudo mount –o nolock<your_node_hostname>:/<cluster_mount_point> Copy a file from your local node filesystem to the cluster sudocp /tmp/test.txt/<cluster_mount_point>/<cluster_name>/< your_volume>/<some_dir>/ Verify that the file is now in the cluster with hadoopfs hadoopfs -ls /<your_volume>/<some_dir> © 2012 by MapR Technologies Page 1 of 1