Big Data Hadoop Certification Training
- 159k Enrolled Learners
- Live Class
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.
Step1: Download and Install FileZilla
Step 2: Establish Connection with Cloudera
To establish the connection we need four parameters:
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:
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:
Port Number: 22
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.
You will receive a message informing the successful connection.
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 Cloudera. We 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.
Right Click on input.txt file click the option “upload”.
Observe that the file “input.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.
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.