java.net.UnknownHostException: hadoop: hadoop: Temporary failure in name resolution

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts

Solutions on the web

via thegeekstuff.com by Unknown author, 1 year ago
hadoop: hadoop: Temporary failure in name resolution
via thegeekstuff.com by Unknown author, 1 year ago
hadoop: hadoop: Temporary failure in name resolution
via thegeekstuff.com by Unknown author, 1 year ago
hadoop: hadoop: Temporary failure in name resolution
via Stack Overflow by user3737906
, 2 years ago
thebox: thebox: Temporary failure in name resolution
via Stack Overflow by Vijay
, 2 years ago
via mathworks.com by Unknown author, 2 years ago
java.net.UnknownHostException: hadoop: hadoop: Temporary failure in name resolution
at java.net.InetAddress.getLocalHost(InetAddress.java:1438)
at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:815)

Users with the same issue

5 times, 3 months ago
2 times, 5 months ago
2 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
10 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.