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

Solutions on the web

via Stack Overflow by Rich
, 2 years ago
java.net.UnknownHostException: resistance-prediction
via nabble.com by Unknown author, 11 months ago
java.net.UnknownHostException: MYHOSTNAME
via Stack Overflow by JuhiKude
, 8 months ago
via GitHub by akiezun
, 1 year ago
java.net.UnknownHostException: null
via GitHub by sirusdv
, 1 year ago
java.net.UnknownHostException: user
java.lang.IllegalArgumentException: java.net.UnknownHostException: <MyHostName>	at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:378)	at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:310)	at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:176)	at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:678)	at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:619)	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:149)	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2653)	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92)	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687)	at org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:2675)	at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:418)	at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:426)	at com.ligadata.InputAdapters.hdfs.HdfsFileHandler.(HdfsChangesMonitor.scala:52)	at com.ligadata.InputAdapters.SmartFileHandlerFactory$.createSmartFileHandler(MonitorUtils.scala:102)	at com.ligadata.InputAdapters.MonitorController$$anonfun$checkConfigDirsAccessibility$1.apply(MonitorController.scala:49)	at com.ligadata.InputAdapters.MonitorController$$anonfun$checkConfigDirsAccessibility$1.apply(MonitorController.scala:48)	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)	at com.ligadata.InputAdapters.MonitorController.checkConfigDirsAccessibility(MonitorController.scala:48)	at com.ligadata.InputAdapters.SmartFileConsumer.initializeNode(SmartFileConsumer.scala:203)	at com.ligadata.InputAdapters.SmartFileConsumer.StartProcessing(SmartFileConsumer.scala:1255)	at com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply(KamanjaLeader.scala:585)	at com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply(KamanjaLeader.scala:554)	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)	at com.ligadata.KamanjaManager.KamanjaLeader$.StartNodeKeysMap(KamanjaLeader.scala:554)	at com.ligadata.KamanjaManager.KamanjaLeader$.liftedTree3$1(KamanjaLeader.scala:821)	at com.ligadata.KamanjaManager.KamanjaLeader$.ActionOnAdaptersDistImpl(KamanjaLeader.scala:672)	at com.ligadata.KamanjaManager.KamanjaLeader$.com$ligadata$KamanjaManager$KamanjaLeader$$ActionOnAdaptersDistribution(KamanjaLeader.scala:871)	at com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$Init$2.apply(KamanjaLeader.scala:1294)	at com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$Init$2.apply(KamanjaLeader.scala:1294)	at com.ligadata.ZooKeeper.ZooKeeperListener.com$ligadata$ZooKeeper$ZooKeeperListener$$ProcessData(ZooKeeperListener.scala:54)	at com.ligadata.ZooKeeper.ZooKeeperListener$$anon$1.nodeChanged(ZooKeeperListener.scala:72)	at org.apache.curator.framework.recipes.cache.NodeCache$4.apply(NodeCache.java:294)	at org.apache.curator.framework.recipes.cache.NodeCache$4.apply(NodeCache.java:288)	at org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92)	at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)	at org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:84)	at org.apache.curator.framework.recipes.cache.NodeCache.setNewData(NodeCache.java:286)	at org.apache.curator.framework.recipes.cache.NodeCache.processBackgroundResult(NodeCache.java:253)	at org.apache.curator.framework.recipes.cache.NodeCache.access$300(NodeCache.java:54)	at org.apache.curator.framework.recipes.cache.NodeCache$3.processResult(NodeCache.java:112)	at org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:728)	at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:505)	at org.apache.curator.framework.imps.GetDataBuilderImpl$3.processResult(GetDataBuilderImpl.java:254)	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:561)	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)