Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Couldn't resolve host 'raw.githubusercontent.com'

avatar

While taking Hbase tutorial from link: http://hortonworks.com/hadoop-tutorial/introduction-apache-hbase-concepts-apache-phoenix-new-backup-...

and while downloading data file (dataset) using command:

curl -o ~/data.csv https://raw.githubusercontent.com/hortonworks/tutorials/hdp/assets/data.csv

I am getting below error message:

curl: (6) Couldn't resolve host 'raw.githubusercontent.com'

Could someone tell how to proceed ahead

5 REPLIES 5

avatar

@Pankaj Panjiar

I checked that the hostname is correct and it allows the mentioned csv file download.

The only reason i see there that you might have some N/W issue at your end. Please check from the browser if you can download from the same URL: https://raw.githubusercontent.com/hortonworks/tutorials/hdp/assets/data.csv

Please check if you are able to do following? If not then definitely this is related to your N/W setting or the internet access is not allowed from your host.

curl   www.google.com

Or there may be some proxyHost setting on your OS which is restricting some website access.

.

avatar

Its internet that is not working on my sandbox. Tried every network adapter setting possible with no success

avatar
Super Collaborator

@Pankaj Panjiar, this looks like a network issue. Can you please restart your VM and retry?

avatar

Done that and also tried all the network adapter setting. no success

avatar

@Pankaj Panjjar

Are you able to ping your base machine. If yes the put the following entry in file:-

vi /etc/resolve.com

nameserver 8.8.8.8

And then try to ping google.com.

I hope this will work for you. 🙂