Microsoft Azure Data Engineering Certificatio ...
- 14k Enrolled Learners
- Weekend/Weekday
- 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.
Master the art of cloud computing with our Cloud Architect Courses.
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
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.
Click OK.
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.
Find out our Cloud Architect Training in Top Cities
India |
Bangalore |
Hyderabad |
Pune |
Mumbai |
Delhi |
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.
Are you ready to take your IT skills to the next level? Look no further than our comprehensive Cloud Computing Course. Whether you’re a beginner or an experienced professional, this course is designed to equip you with the knowledge and skills needed to excel in the world of cloud computing.
Got a question for us? Please mention them in the comments section.
Related Posts:
edureka.co
I have to transfer the ojdbc.jar to vmware workstation. I am using ubuntu14.04 on vm ware workstation where i can execute sqoop commands.
But I am stucked with some errors while using FileZilla.
I put the values of username,password,port,host and encountered the below error.
please help.
Status: Connection attempt failed with “ECONNREFUSED – Connection refused by server”.
Error: Could not connect to server
Status: Waiting to retry…
Status: Connecting to 192.168.43.130:9000…
Status: Connection attempt failed with “ECONNREFUSED – Connection refused by server”.
Error: Could not connect to server
when i was connecting through Winscp…my laptop was connected with my Blackberry hotspot so i chose following adapters https://uploads.disquscdn.com/images/dda28728f836378ea42d4e92ba1346d4656311375c766735472f6dce39fe2a00.png
Image provided by Edureka gives IP address as inet6, how to get IP address? when I run ifconfig on VM Terminal, it gives this:
inet6 addr: fe80::a00:27ff:fe70:7b0d/64
I am unable to connect on Cloudera CDH via Oracle VM. This keeps on moving this way:
Status: Waiting to retry…
Status: Connecting to 10.0.2.15…
Response: fzSftp started, protocol_version=7
Command: open “cloudera@10.0.2.15” 22
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server
I don’t know what next to be done to connect.
Hey Anil, thanks for checking out our blog. With regard to your query, please follow the below given steps:
(i) Power off the VM and then go to network settings in Virtual box
(ii) Set Adapter 1 as NAT and Adapter 2 as Hosts Only Adapter as shown below:
https://uploads.disquscdn.com/images/df9ad41eb326067ec2f7d2481c6b97621cfade147875aae4ec9253850cba1c8d.png
https://uploads.disquscdn.com/images/b36b30e1dda63c67ba22f7098f75344b4df8d88917c4ca95687449f87567f77a.png
(iii) Then open the VM and click on the Small Monitors present on the right top of VM. After that, click on System eth0 to enable it.
https://uploads.disquscdn.com/images/4f7e5ac3740294dca487e1ef98877cd8d9bb7e66a3347a823ab32dc44a8ed7aa.png
Now, open the terminal and give ifconfig for the ip address.
You will get ipaddress of the form 192.168.x.x, you will need to use this ip to transfer files from local to vm using filezilla.
Hope this helps. Cheers!
I followed the same steps but this didn’t help. I got the ip 192.168.xx.xxx on port 22 but still I was not able to connect. Can you please help.
Hey Abhishek, thanks for checking out our blog. Could you please share more information on the error? Preferably a screenshot with details so we can understand the error better and support you accordingly. Cheers!
https://uploads.disquscdn.com/images/886ccc5a71ea811689f5e3558eccac9afa72ad80d681ffa7c3e2c6551266c303.png https://uploads.disquscdn.com/images/d26076a48786bc3f707dda4ca94b1f8500801ca0171371d0e443a6a747eacd5f.jpg Hi,
I am still facing same issue, after changing adapter 1 and 2 both. Please see screen of the IP and error I m getting
Awesome it works :)
Thanks for checking out the blog, Zujer! We’re glad you found it useful. Do subscribe to stay posted on upcoming blogs. Cheers!
I am using MacBook air and when I tried to ftp I got below error
Status: Connecting to XX.X.X.15…
Response: fzSftp started
Command: open “cloudera@XX.X.X.15” 22
Error: Connection timed out
Error: Could not connect to server
Can you help?
Hi Gopi, You can try by changing the network adapter to bridged/different adapters and check if you are able to connect to Cloudera using FileZilla.
thanks a lot it worked for me…the only thing i was doing wrong after changing adapter was entering old ip address….thnks mentors
hey when iclick on quickconnect it says
Error: Connection timed out
Error: Could not connect to server
what to do ?
my host address is 10.0.2.15
Hi Vijay,
It might be because of two reasons. 1) Your system is not able to connect to that IP. To do this please follow the steps as in the screenshot- network0 and network1. 2)VMWare adapters
might not be able to connect. Hence we need to upgrade the VMWare player by clicking on the option the Download and Install when we receive a reminder as in the screenshot ” software update”. Hope this helps.
Hi,
At step 3 when I try to transfer my files to the cloudera server, I am getting a permission denied error.
I noticed that when I try to copy files from one folder to another folder in the cloudera server itself thru command line (using cp command) I am getting the permission denied error and I have to use sudo cp command to copy the files.
My question is how to overcome the permission denied error when copying files thru FTP when i am not the root user.