I have the following configuration in my tachyon-env.sh
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export TACHYON_MASTER_ADDRESS=10.20.67.2
export TACHYON_WORKER_MEMORY_SIZE=4GB
export TACHYON_UNDERFS_ADDRESS=/tmp
export TACHYON_RAM_FOLDER=/usr/local/share/tachyonRAMFS
I have also specified the IP addresses of the workers in the /conf/workers file
I'm trying to get Tachyon to work with an Apache Spark 1.6.0 Stand alone Cluster. I haven't yet linked Spark with Tachyon. I wanted to test tachyon first but I'm getting the error below when I run
./bin/tachyon format
---------------------------------------------------------------------------------------------------------------------------------------
Connecting to XX.XX.XX.XX as root...
hostname: Name or service not known
Formatting Tachyon Worker @
Exception in thread "main" java.lang.ExceptionInInitializerError
at tachyon.Constants.<clinit>(Constants.java:328)
at tachyon.Format.<clinit>(Format.java:32)
Caused by: java.lang.RuntimeException: java.net.UnknownHostException: cluster-01: cluster-01
at com.google.common.base.Throwables.propagate(Throwables.java:160)
at tachyon.util.network.NetworkAddressUtils.getLocalIpAddress(NetworkAddressUtils.java:398)
at tachyon.util.network.NetworkAddressUtils.getLocalHostName(NetworkAddressUtils.java:320)
at tachyon.conf.TachyonConf.<init>(TachyonConf.java:122)
at tachyon.conf.TachyonConf.<init>(TachyonConf.java:111)
at tachyon.Version.<clinit>(Version.java:27)
... 2 more
Caused by: java.net.UnknownHostException: cluster-01: cluster-01
at java.net.InetAddress.getLocalHost(InetAddress.java:1496)
at tachyon.util.network.NetworkAddressUtils.getLocalIpAddress(NetworkAddressUtils.java:355)
... 6 more
Caused by: java.net.UnknownHostException: cluster-01
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:922)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1316)
at java.net.InetAddress.getLocalHost(InetAddress.java:1492)
... 7 more
Connection to XX.XX.XX.XX closed.
Formatting Tachyon Master @ 10.20.67.2.
--------------------------------------------------------------------------------------------------------------------------------------------
Could some please help? I also need some detailed documentation/outline on how to configure Tachyon on a Standalone Cluster with multiple nodes.
Thanks,
Nashe