spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Jones <jjo...@adaptivebiotech.com>
Subject UnknownHostNameException looking up host name with > 64 characters
Date Wed, 12 Aug 2015 18:45:08 GMT
I've got a Spark application running on a host with > 64 character FQDN.  When running with
Spark master "local[*]" I get the following error.  Note, the host name should be ip-10-248-0-177.us-west-2.compute.internaldna.corp.adaptivebiotech.com
but the last 6 characters are missing. The same application works fine if the host name is
less than 64 characters. Any help is appreciated.

n.s.e.Cache - Unable to set localhost. This prevents creation of a GUID. Cause was: ip-10-248-0-177.us-west-2.compute.internaldna.corp.adaptivebiote:
ip-10-248-0-177.us-west-2.compute.internaldna.corp.adaptivebiote: unknown error
java.net.UnknownHostException: ip-10-248-0-177.us-west-2.compute.internaldna.corp.adaptivebiote:
ip-10-248-0-177.us-west-2.compute.internaldna.corp.adaptivebiote: unknown error
        at java.net.InetAddress.getLocalHost(InetAddress.java:1484) ~[na:1.8.0_40]
        at net.sf.ehcache.Cache.<clinit>(Cache.java:214) ~[net.sf.ehcache.ehcache-core-2.6.8.jar:na]
        at net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:296)
[net.sf.ehcache.ehcache-core-2.6.8.jar:na]
        at net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:219)
[net.sf.ehcache.ehcache-core-2.6.8.jar:na]
        at net.sf.ehcache.CacheManager.configure(CacheManager.java:722) [net.sf.ehcache.ehcache-core-2.6.8.jar:na]
Caused by: java.net.UnknownHostException: ip-10-248-0-177.us-west-2.compute.internaldna.corp.adaptivebiote:
unknown error
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[na:1.8.0_40]
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:907) ~[na:1.8.0_40]
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1302) ~[na:1.8.0_40]
        at java.net.InetAddress.getLocalHost(InetAddress.java:1479) ~[na:1.8.0_40]
        at net.sf.ehcache.Cache.<clinit>(Cache.java:214) ~[net.sf.ehcache.ehcache-core-2.6.8.jar:na]

Thanks,
Jeff


This message (and any attachments) is intended only for the designated recipient(s). It
may contain confidential or proprietary information, or have other limitations on use as
indicated by the sender. If you are not a designated recipient, you may not review, use,
copy or distribute this message. If you received this in error, please notify the sender by
reply e-mail and delete this message.

Mime
View raw message