SQuirreL connection Phoenix newspaper java.util.concurrent.TimeoutException

1. Representation

java.util.concurrent.TimeoutException
 at java.util.concurrent.FutureTask.get(FutureTask.java:205)
 at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.awaitConnection(OpenConnectionCommand.java:113)
 at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.lambda$execute$1(OpenConnectionCommand.java:97)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 at java.lang.Thread.run(Thread.java:745)

2. go into the causes and find the log in

Start SQuirreL, by Windows-> View SQuirrel Logs View the Run Log. 
See could not resolve do2cloud02, please check your network
in the hosts file to add the records after the problem is solved

Reference: https://yq.aliyun.com/articles/630486

           http://hbase.group/question/200

Guess you like

Origin www.cnblogs.com/hixiaowei/p/11427260.html