Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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

New Contributor

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

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

@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.

.

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

New Contributor

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

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

Super Collaborator

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

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

New Contributor

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

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

@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. :)