Issue:
java.net.UnknownHostException: abc-026bf227b: abc-026bf227b: nodename nor servname provided, or not known at java.net.InetAddress.getLocalHost(InetAddress.java:1473)
Fix:
Fixed by simple command in vi editor
echo "127.0.0.1 $HOSTNAME" | sudo tee -a /etc/hosts
This makes and entry in /etc/hosts
127.0.0.1 abc-026bf227b