javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '9.3.168.192.in-addr.arpa' A dig and nslookup both show that the reverse and forward look-ups both get good responses with no errors from within the cluster. Shortly after these messages, the job runs...but every once in awhile we get a NPE: Exception in thread "main" java.lang.NullPointerException

Server Fault | phodamentals | 3 years ago
  1. 0

    Reverse and Forward DNS set up correctly but sometimes MapReduce job fails

    Server Fault | 3 years ago | phodamentals
    javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '9.3.168.192.in-addr.arpa' A dig and nslookup both show that the reverse and forward look-ups both get good responses with no errors from within the cluster. Shortly after these messages, the job runs...but every once in awhile we get a NPE: Exception in thread "main" java.lang.NullPointerException
  2. 0
    Make sure you use the same name for your database everywhere in context.xml.
  3. 0
    Add localDataSource="true" to the realm when using local database.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Predictionio training error

    Google Groups | 11 months ago | vikrant shimikeri
    javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '1.1.0.127.in-addr.arpa' Exception in thread "main" java.lang.IllegalArgumentException: requirement failed: users in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.
  6. 0

    if the local IPAddr is loopback, then reverse DNS lookup fails. It may be better to recognise this state and return localhost in such a situation, rather than try to look up 1.1.0.127.in-addr.arpa

    Apache's JIRA Issue Tracker | 8 years ago | Steve Loughran
    javax.naming.NameNotFoundException: DNS name not found [response code 3]; remaining name '1.1.0.127.in-addr.arpa'

    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. javax.naming.NameNotFoundException

      DNS name not found [response code 3]; remaining name '9.3.168.192.in-addr.arpa' A dig and nslookup both show that the reverse and forward look-ups both get good responses with no errors from within the cluster. Shortly after these messages, the job runs...but every once in awhile we get a NPE: Exception in thread "main" java.lang.NullPointerException

      at org.apache.hadoop.net.DNS.reverseDns()
    2. Hadoop
      DNS.reverseDns
      1. org.apache.hadoop.net.DNS.reverseDns(DNS.java:93)
      1 frame
    3. HBase
      TableInputFormatBase.getSplits
      1. org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.reverseDNS(TableInputFormatBase.java:219)
      2. org.apache.hadoop.hbase.mapreduce.TableInputFormatBase.getSplits(TableInputFormatBase.java:184)
      2 frames
    4. Hadoop
      JobClient$2.run
      1. org.apache.hadoop.mapred.JobClient.writeNewSplits(JobClient.java:1063)
      2. org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:1080)
      3. org.apache.hadoop.mapred.JobClient.access$600(JobClient.java:174)
      4. org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:992)
      5. org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:945)
      5 frames
    5. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:415)
      2 frames
    6. Hadoop
      UserGroupInformation.doAs
      1. org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
      1 frame
    7. Hadoop
      Job.waitForCompletion
      1. org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:945)
      2. org.apache.hadoop.mapreduce.Job.submit(Job.java:566)
      3. org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:596)
      3 frames