java.lang.IllegalArgumentException: Unable to construct journal, qjournal://journalnode1.service.consul:8485;journalnode2.service.consul:8485;journalnode3.service.consul:8485/hdfs

GitHub | aitzkowi | 5 months ago
  1. 0

    HDFS fails to activate namenode2 when namenode1 is down

    GitHub | 5 months ago | aitzkowi
    java.lang.IllegalArgumentException: Unable to construct journal, qjournal://journalnode1.service.consul:8485;journalnode2.service.consul:8485;journalnode3.service.consul:8485/hdfs
  2. 0

    [HDFS-4210] NameNode Format should not fail for DNS resolution on minority of JournalNode - ASF JIRA

    apache.org | 12 months ago
    java.lang.IllegalArgumentException: Unable to construct journal, qjournal://cdh4master01:8485;cdh4master02:8485;cdh4worker03:8485/hdfscluster
  3. 0

    Setting : qjournal://cdh4master01:8485;cdh4master02:8485;cdh4worker03:8485/hdfscluster cdh4master01 and cdh4master02 JournalNode up and running, cdh4worker03 not yet provisionning (no DNS entrie) With : `hadoop namenode -format` fails with : 12/11/19 14:42:42 FATAL namenode.NameNode: Exception in namenode join java.lang.IllegalArgumentException: Unable to construct journal, qjournal://cdh4master01:8485;cdh4master02:8485;cdh4worker03:8485/hdfscluster at org.apache.hadoop.hdfs.server.namenode.FSEditLog.createJournal(FSEditLog.java:1235) at org.apache.hadoop.hdfs.server.namenode.FSEditLog.initJournals(FSEditLog.java:226) at org.apache.hadoop.hdfs.server.namenode.FSEditLog.initJournalsForWrite(FSEditLog.java:193) at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:745) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1099) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1204) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.apache.hadoop.hdfs.server.namenode.FSEditLog.createJournal(FSEditLog.java:1233) ... 5 more Caused by: java.lang.NullPointerException at org.apache.hadoop.hdfs.qjournal.client.IPCLoggerChannelMetrics.getName(IPCLoggerChannelMetrics.java:107) at org.apache.hadoop.hdfs.qjournal.client.IPCLoggerChannelMetrics.create(IPCLoggerChannelMetrics.java:91) at org.apache.hadoop.hdfs.qjournal.client.IPCLoggerChannel.<init>(IPCLoggerChannel.java:161) at org.apache.hadoop.hdfs.qjournal.client.IPCLoggerChannel$1.createLogger(IPCLoggerChannel.java:141) at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.createLoggers(QuorumJournalManager.java:353) at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.createLoggers(QuorumJournalManager.java:135) at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.<init>(QuorumJournalManager.java:104) at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.<init>(QuorumJournalManager.java:93) ... 10 more I suggest that if quorum is up format should not fails.

    Apache's JIRA Issue Tracker | 4 years ago | Damien Hardy
    java.lang.IllegalArgumentException: Unable to construct journal, qjournal://cdh4master01:8485;cdh4master02:8485;cdh4worker03:8485/hdfscluster
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [HDFS-issues] [jira] [Created] (HDFS-4210) NameNode Format should not fail for DNS resolution on minority of JournalNode - Grokbase

    grokbase.com | 8 months ago
    java.lang.IllegalArgumentException: Unable to construct journal, qjournal://cdh4master01:8485;cdh4master02:8485;cdh4worker03:8485/hdfscluster
  6. 0

    关于hadoop2.71格式化提示Unable to construct journal, qjournal - Hadoop分布式数据分析平台-炼数成金-Dataguru专业数据分析社区

    dataguru.cn | 8 months ago
    java.lang.IllegalArgumentException: Unable to construct journal, qjournal://Slave1:8485;Slave2:8485;Slave3:8485/zfcluster

    1 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.NullPointerException

      No message provided

      at org.apache.hadoop.hdfs.qjournal.client.IPCLoggerChannelMetrics.getName()
    2. Apache Hadoop HDFS
      QuorumJournalManager.<init>
      1. org.apache.hadoop.hdfs.qjournal.client.IPCLoggerChannelMetrics.getName(IPCLoggerChannelMetrics.java:107)
      2. org.apache.hadoop.hdfs.qjournal.client.IPCLoggerChannelMetrics.create(IPCLoggerChannelMetrics.java:91)
      3. org.apache.hadoop.hdfs.qjournal.client.IPCLoggerChannel.<init>(IPCLoggerChannel.java:178)
      4. org.apache.hadoop.hdfs.qjournal.client.IPCLoggerChannel$1.createLogger(IPCLoggerChannel.java:156)
      5. org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.createLoggers(QuorumJournalManager.java:367)
      6. org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.createLoggers(QuorumJournalManager.java:149)
      7. org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.<init>(QuorumJournalManager.java:116)
      8. org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.<init>(QuorumJournalManager.java:105)
      8 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      4. java.lang.reflect.Constructor.newInstance(Unknown Source)
      4 frames
    4. Apache Hadoop HDFS
      NameNode.main
      1. org.apache.hadoop.hdfs.server.namenode.FSEditLog.createJournal(FSEditLog.java:1580)
      2. org.apache.hadoop.hdfs.server.namenode.FSEditLog.initJournals(FSEditLog.java:275)
      3. org.apache.hadoop.hdfs.server.namenode.FSEditLog.initSharedJournalsForRead(FSEditLog.java:253)
      4. org.apache.hadoop.hdfs.server.namenode.FSImage.initEditLog(FSImage.java:772)
      5. org.apache.hadoop.hdfs.server.namenode.FSImage.loadFSImage(FSImage.java:620)
      6. org.apache.hadoop.hdfs.server.namenode.FSImage.recoverTransitionRead(FSImage.java:281)
      7. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFSImage(FSNamesystem.java:1005)
      8. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:735)
      9. org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:531)
      10. org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:587)
      11. org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:754)
      12. org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:738)
      13. org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1427)
      14. org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1493)
      14 frames