You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Jeff Jones <jj...@adaptivebiotech.com> on 2015/08/12 20:45:08 UTC

UnknownHostNameException looking up host name with > 64 characters

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.