java.lang.IllegalArgumentException: java.net.UnknownHostException: <MyHostName>

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, 6 months ago
java.net.UnknownHostException: MYHOSTNAME
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.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.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 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 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 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.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.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:728)
at org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:505)
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:561)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
5 more bugmates

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