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

  1. ,
    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 Jenkins JIRA by Luis Cardozo, 1 year ago
CentOSNode.localdomain: CentOSNode.localdomain: Name or service not known
via Jenkins JIRA by Luis Cardozo, 2 years ago
CentOSNode.localdomain: CentOSNode.localdomain: Name or service not known
via Stack Overflow by oscar
, 8 months ago
fooHostName: fooHostName: Name or service not known
via GitHub by litaonet
, 1 year ago
localhost.localdomain: localhost.localdomain: Name or service not known
via Google Groups by Bruno Steven, 2 years ago
new-host-11: new-host-11: Name or service not known
via prelert.com by Unknown author, 2 years ago
Davids-Macbook-Pro: Davids-Macbook-Pro: nodename nor servname provided, or not known
java.net.UnknownHostException: CentOSNode.localdomain: Name or service not known	at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)	at java.net.InetAddress$1.lookupAllHostAddr(Unknown Source)	at java.net.InetAddress.getAddressesFromNameService(Unknown Source)	at java.net.InetAddress.getLocalHost(Unknown Source)	at org.codehaus.xfire.addressing.RandomGUID.(RandomGUID.java:115)	at org.codehaus.xfire.addressing.AddressingInHandler.(AddressingInHandler.java:26)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Unknown Source)	at org.codehaus.xfire.client.CorrelatorHandler.class$(CorrelatorHandler.java:14)	at org.codehaus.xfire.client.CorrelatorHandler.(CorrelatorHandler.java:24)	at org.codehaus.xfire.client.Client.(Client.java:84)	at org.codehaus.xfire.client.Client.(Client.java:180)	at org.codehaus.xfire.client.Client.(Client.java:125)	at org.codehaus.xfire.client.XFireProxyFactory.create(XFireProxyFactory.java:78)	at com.soasta.common.xfire.ClientFactory.a(ClientFactory.java:139)	at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:51)	at com.soasta.common.repository.webservice.RepositoryServiceClientFactory.getRepositoryServiceClient(RepositoryServiceClientFactory.java:41)	at com.soasta.tools.scommand.commands.a.n(a.java:415)	at com.soasta.tools.scommand.commands.c.c(c.java:119)	at com.soasta.tools.scommand.a.a(a.java:124)	at com.soasta.tools.scommand.Main.main(Main.java:25)