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

GitHub | ligadata-ahmad | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SmartFileAdapter Failed to connect to HDFS with hadoop High availability enabled

    GitHub | 8 months ago | ligadata-ahmad
    java.lang.IllegalArgumentException: java.net.UnknownHostException: <MyHostName>
  2. 0

    Solr - User - problems running solr 4.4 with HDFS HA

    nabble.com | 1 year ago
    org.apache.solr.common.SolrException: java.net.UnknownHostException: nameservice1
  3. 0

    GitHub comment 76#243124232

    GitHub | 7 months ago | jecos
    org.apache.kafka.connect.errors.ConnectException: java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 974#237806062

    GitHub | 8 months ago | anupash147
    java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice1
  6. 0

    In presto i keep getting java.net.UnknownHostException: nameservice1

    Stack Overflow | 8 months ago | Anup Ash
    java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice1

  1. Anup Ash 1 times, last 8 months ago
13 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    java.net.UnknownHostException: <MyHostName>

    at org.apache.hadoop.security.SecurityUtil.buildTokenService()
  2. Hadoop
    SecurityUtil.buildTokenService
    1. org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:378)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    1 frame
  3. Apache Hadoop HDFS
    DistributedFileSystem.initialize
    1. org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:310)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2. org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:176)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    3. org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:678)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    4. org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:619)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    5. org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:149)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    5 frames
  4. Hadoop
    FileSystem.newInstance
    1. org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2653)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2. org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    3. org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    4. org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:2675)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    5. org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:418)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    6. org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:426)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    6 frames
  5. com.ligadata.InputAdapters
    MonitorController$$anonfun$checkConfigDirsAccessibility$1.apply
    1. com.ligadata.InputAdapters.hdfs.HdfsFileHandler.<init>(HdfsChangesMonitor.scala:52)[KamanjaInternalDeps_2.11-1.5.0.jar:0.1-SNAPSHOT]
    2. com.ligadata.InputAdapters.SmartFileHandlerFactory$.createSmartFileHandler(MonitorUtils.scala:102)[KamanjaInternalDeps_2.11-1.5.0.jar:0.1-SNAPSHOT]
    3. com.ligadata.InputAdapters.MonitorController$$anonfun$checkConfigDirsAccessibility$1.apply(MonitorController.scala:49)[KamanjaInternalDeps_2.11-1.5.0.jar:0.1-SNAPSHOT]
    4. com.ligadata.InputAdapters.MonitorController$$anonfun$checkConfigDirsAccessibility$1.apply(MonitorController.scala:48)[KamanjaInternalDeps_2.11-1.5.0.jar:0.1-SNAPSHOT]
    4 frames
  6. Scala
    ArrayOps$ofRef.foreach
    1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2 frames
  7. com.ligadata.InputAdapters
    SmartFileConsumer.StartProcessing
    1. com.ligadata.InputAdapters.MonitorController.checkConfigDirsAccessibility(MonitorController.scala:48)[KamanjaInternalDeps_2.11-1.5.0.jar:0.1-SNAPSHOT]
    2. com.ligadata.InputAdapters.SmartFileConsumer.initializeNode(SmartFileConsumer.scala:203)[KamanjaInternalDeps_2.11-1.5.0.jar:0.1-SNAPSHOT]
    3. com.ligadata.InputAdapters.SmartFileConsumer.StartProcessing(SmartFileConsumer.scala:1255)[KamanjaInternalDeps_2.11-1.5.0.jar:0.1-SNAPSHOT]
    3 frames
  8. com.ligadata.KamanjaManager
    KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply
    1. com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply(KamanjaLeader.scala:585)[kamanjamanager_2.11-1.5.0.jar:1.5.0]
    2. com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$StartNodeKeysMap$1.apply(KamanjaLeader.scala:554)[kamanjamanager_2.11-1.5.0.jar:1.5.0]
    2 frames
  9. Scala
    ArrayOps$ofRef.foreach
    1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2 frames
  10. com.ligadata.KamanjaManager
    KamanjaLeader$$anonfun$Init$2.apply
    1. com.ligadata.KamanjaManager.KamanjaLeader$.StartNodeKeysMap(KamanjaLeader.scala:554)[kamanjamanager_2.11-1.5.0.jar:1.5.0]
    2. com.ligadata.KamanjaManager.KamanjaLeader$.liftedTree3$1(KamanjaLeader.scala:821)[kamanjamanager_2.11-1.5.0.jar:1.5.0]
    3. com.ligadata.KamanjaManager.KamanjaLeader$.ActionOnAdaptersDistImpl(KamanjaLeader.scala:672)[kamanjamanager_2.11-1.5.0.jar:1.5.0]
    4. com.ligadata.KamanjaManager.KamanjaLeader$.com$ligadata$KamanjaManager$KamanjaLeader$$ActionOnAdaptersDistribution(KamanjaLeader.scala:871)[kamanjamanager_2.11-1.5.0.jar:1.5.0]
    5. com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$Init$2.apply(KamanjaLeader.scala:1294)[kamanjamanager_2.11-1.5.0.jar:1.5.0]
    6. com.ligadata.KamanjaManager.KamanjaLeader$$anonfun$Init$2.apply(KamanjaLeader.scala:1294)[kamanjamanager_2.11-1.5.0.jar:1.5.0]
    6 frames
  11. com.ligadata.ZooKeeper
    ZooKeeperListener$$anon$1.nodeChanged
    1. com.ligadata.ZooKeeper.ZooKeeperListener.com$ligadata$ZooKeeper$ZooKeeperListener$$ProcessData(ZooKeeperListener.scala:54)[KamanjaInternalDeps_2.11-1.5.0.jar:0.1-SNAPSHOT]
    2. com.ligadata.ZooKeeper.ZooKeeperListener$$anon$1.nodeChanged(ZooKeeperListener.scala:72)[KamanjaInternalDeps_2.11-1.5.0.jar:0.1-SNAPSHOT]
    2 frames
  12. Fabric8
    NodeCache$4.apply
    1. org.apache.curator.framework.recipes.cache.NodeCache$4.apply(NodeCache.java:294)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2. org.apache.curator.framework.recipes.cache.NodeCache$4.apply(NodeCache.java:288)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2 frames
  13. Curator Framework
    ListenerContainer$1.run
    1. org.apache.curator.framework.listen.ListenerContainer$1.run(ListenerContainer.java:92)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    1 frame
  14. Guava
    MoreExecutors$SameThreadExecutorService.execute
    1. com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    1 frame
  15. Curator Framework
    ListenerContainer.forEach
    1. org.apache.curator.framework.listen.ListenerContainer.forEach(ListenerContainer.java:84)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    1 frame
  16. Fabric8
    NodeCache$3.processResult
    1. org.apache.curator.framework.recipes.cache.NodeCache.setNewData(NodeCache.java:286)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2. org.apache.curator.framework.recipes.cache.NodeCache.processBackgroundResult(NodeCache.java:253)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    3. org.apache.curator.framework.recipes.cache.NodeCache.access$300(NodeCache.java:54)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    4. org.apache.curator.framework.recipes.cache.NodeCache$3.processResult(NodeCache.java:112)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    4 frames
  17. Curator Framework
    GetDataBuilderImpl$3.processResult
    1. org.apache.curator.framework.imps.CuratorFrameworkImpl.sendToBackgroundCallback(CuratorFrameworkImpl.java:728)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2. org.apache.curator.framework.imps.CuratorFrameworkImpl.processBackgroundOperation(CuratorFrameworkImpl.java:505)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    3. org.apache.curator.framework.imps.GetDataBuilderImpl$3.processResult(GetDataBuilderImpl.java:254)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    3 frames
  18. Zookeeper
    ClientCnxn$EventThread.run
    1. org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:561)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2. org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)[ExtDependencyLibs2_2.11-1.5.0.jar:1.0]
    2 frames