Project

General

Profile

Actions

Bug #12593

closed

Unable to resolve localhost in GATK4 log4j setup

Added by Brad Chapman over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-

Description

I'm running into an issue running bcbio workflows with GATK4, where they fail in a localhost lookup when setting up logging. This is an example run with a failed job:

https://cloud.curoverse.com/container_requests/qr1hi-xvhdp-r6aq106llhpnfg5#Log

Erroring out with:

Using GATK jar /usr/local/share/bcbio-nextgen/anaconda/share/gatk4-4.0b6-0/gatk-package-4.beta.6-local.jar
Running:
java -Dsamjdk.use_async_io_read_samtools=false -Dsamjdk.use_async_io_write_samtools=true -Dsamjdk.use_async_io_write_tribble=false -Dsamjdk.compression_level=1 -Xms500m -Xmx45864m -Djava.io.tmpdir=/var/spool/cwl/bcbiotx/tmpJVk4FE -jar /usr/local/share/bcbio-nextgen/anaconda/share/gatk4-4.0b6-0/gatk-package-4.beta.6-local.jar BaseRecalibratorSpark -I /keep/4261647a740c6eb75fea9494de0bf667+5868/NA12878-sort.bam --sparkMaster local[16] --output /var/spool/cwl/bcbiotx/tmpJVk4FE/NA12878-sort-recal.grp --reference /keep/38a3166acddf30ff581c249ece68e7f5+47411/collections/hg38/ucsc/hg38.2bit --conf spark.local.dir=/var/spool/cwl/bcbiotx/tmpJVk4FE --knownSites /keep/349e8c8ef6d90edc7a4a43153d160950+2339/dbsnp-147.vcf.gz -L /keep/0211312cfad709cd84f418f8749671a5+1388/bedprep/Exome-AZ_V2_pluschr20-hg38.bed --interval_set_rule INTERSECTION
ERROR Could not determine local host name java.net.UnknownHostException: 8b29e178684a: 8b29e178684a: Temporary failure in name resolution
at java.net.InetAddress.getLocalHost(InetAddress.java:1505)
at org.apache.logging.log4j.core.util.NetUtils.getLocalHostname(NetUtils.java:53)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:486)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:562)
at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:578)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:214)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:145)
at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:41)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:182)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:455)
at org.broadinstitute.hellbender.utils.Utils.<clinit>(Utils.java:72)
at org.broadinstitute.hellbender.Main.<clinit>(Main.java:43)
Caused by: java.net.UnknownHostException: 8b29e178684a: Temporary failure in name resolution
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getLocalHost(InetAddress.java:1500)

Thanks for any tips or tricks to avoid the issue.

Actions

Also available in: Atom PDF