SQuirreL连接Phoenix报java.util.concurrent.TimeoutException

Posted hixiaowei

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SQuirreL连接Phoenix报java.util.concurrent.TimeoutException相关的知识,希望对你有一定的参考价值。

1.表象

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.深究原因,找到日志在

启动SQuirreL,可以通过Windows->View SQuirrel Logs查看运行日志。
看到 could not resolve do2cloud02 , please check your network
在hosts文件加了记录后问题解决

参考:https://yq.aliyun.com/articles/630486

           http://hbase.group/question/200

以上是关于SQuirreL连接Phoenix报java.util.concurrent.TimeoutException的主要内容,如果未能解决你的问题,请参考以下文章

squirrel sql client 连接phoenix

Phoenix和SQuirrel安装详解

Phoenix实践——Phoenix图形化工具SQuirrel SQL安装使用小记

squirrel-sql.jar 操作Phoenix

Squirrel 设置连接到 Phoenix - HBASE: 错误 java.util.concurrent.ExecutionException: java.lang.RuntimeExcepti

phoenix连接hbase数据库,创建二级索引报错:Error: org.apache.phoenix.exception.PhoenixIOException: Failed after atte