Published on Aug 07,2017
18.3K Views
Email Post

This blog describes step by step procedure to  transfer files from windows to Cloudera Demo VM. To achieve this task, you need an FTP (File Transfer Protocol) software such as FileZilla or WinSCP. In  this blog, we will use FileZilla to demonstrate the whole procedure.

Tutorial for Transfering files from Windows to Cloudera Demo VM

Step1: Download and Install FileZilla

  • Download and install FileZilla for Windows from this link.
  • Open FileZilla. The following screen will appear:

Step 2: Establish Connection with Cloudera

To establish the connection we need  four parameters:

  • Hostname:  In this field we should give the IP address of Cloudera.
  • Username: This is the username of Cloudera Demo VM. By default it is ‘cloudera ’.
  • Password:  By default the password for Cloudera demo VM is ‘cloudera’.
  • Port Number: We need to mention the port number to access the file transfer service on the Cloudera Demo VM. As it is a SSH connection, use the port number ‘22’.

Find the IP address of the host in Cloudera Demo VM. Open a terminal in Cloudera and execute the following command: ifconfig

It will display the host IP address as shown in the following image:

Step 2: Establish Connection with Cloudera

The circled number in the image is the IP address of your Cloudera Host.

Now, we have all the four values that need to be specified for the Windows and FileZilla connection.
The values are:

Host: 192.168.126.174
Username: cloudera
Password: cloudera
Port Number: 22

Step 2: Establish Connection with Cloudera

Update these parameters in the appropriate fields of FileZilla and click on Quick Connect as shown in the above image.

Once you click on Quick connect a message will pop up as shown in the below image.

Step 2: Establish Connection with Cloudera

Click OK.

You will receive a message informing the successful connection.

Filezilla-3

You can observe in the above figure that under the left side  panel, it lists the directories and files present in that directory of Windows and under the right side panel of the FileZilla, it lists the directory and files present in that directory of Cloudera.

Step 3: Transferring the File to Cloudera.

Select the directory on your local system that contains the file(s) you would like to transfer to ClouderaWe will transfer the file “input.txt” present in location ‘D: \sample\’ to Cloudera VM host.

Similarly, select the location/directory of Cloudera to which you would like to transfer the “input.txt” file. We will transfer the file to Desktop of Cloudera host.

Step 3: Transferring the File to Cloudera.

Right Click on input.txt file click the option “upload”.

Step 3: Transferring the File to Cloudera.

Observe that the fileinput.txt under the Cloudera Host Desktop as shown in the following image. You will also receive the success status image as highlighted in the image.

Step 3: Transferring the File to Cloudera.

Congratulations! You have successfully transferred the files from your Windows PC to Cloudera Demo VM host.

Got a question for us? Please mention them in the comments section.

Related Posts:

Install Hadoop Cluster on Amazon EC2

Helpful Hadoop Shell commands

Hadoop 2.0 – Setting Up Single Node Cluster

About Author
Priyanka
Published on Aug 07,2017

Share on

Browse Categories

Comments
16 Comments