java.net.UnknownHostException: RHEL: RHEL

tecadmin.net | 6 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    How to Setup Hadoop 2.7.1 on CentOS & Ubuntu

    tecadmin.net | 6 months ago
    java.net.UnknownHostException: RHEL: RHEL
  2. 0
    samebug 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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Issues running grails on a remote environment

    Stack Overflow | 6 years ago | Josh K
    java.net.UnknownHostException: zaftra: zaftra
  5. 0

    "It seems like your Graylog2 server is not running."

    Google Groups | 6 years ago | Matt
    java.net.UnknownHostException: server1.: server1.

  1. nasimk 2 times, last 5 months ago
  2. mortalman7 1 times, last 10 months ago
11 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.net.UnknownHostException

    RHEL: RHEL

    at java.net.InetAddress.getLocalHost()
  2. Java RT
    InetAddress.getLocalHost
    1. java.net.InetAddress.getLocalHost(InetAddress.java:1426)
    1 frame
  3. Hadoop
    DNS.<init>
    1. org.apache.hadoop.net.DNS.resolveLocalHostname(DNS.java:264)
    2. org.apache.hadoop.net.DNS.<init>(DNS.java:57)
    2 frames
  4. Apache Hadoop HDFS
    NameNode.main
    1. org.apache.hadoop.hdfs.server.namenode.NNStorage.newBlockPoolID(NNStorage.java:914)
    2. org.apache.hadoop.hdfs.server.namenode.NNStorage.newNamespaceInfo(NNStorage.java:550)
    3. org.apache.hadoop.hdfs.server.namenode.FSImage.format(FSImage.java:144)
    4. org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:837)
    5. org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1213)
    6. org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1320)
    6 frames