Azure Kubernetes上Apache Ignite的连接错误

问题描述 投票:0回答:1

我是Ignite和Kubernetes的新手。我尝试将本地解决方案移至Microsoft Cloud。第一步是将Apache Ignite迁移到Azure Kubernetes。

我按照说明(Apache Ignite Instructions)并在Azure Kubernetes上设置了ignite应用程序。当我从控制面板控制服务时,该服务正在运行,并且服务如下图所示。

Please see the ignite service image

但是最后,我尝试在Ignite上创建示例数据,但出现错误。

我尝试从电源外壳这样连接:

PS az login     
PS C:\apache-ignite-2.8.0-bin\bin> ./sqlline.bat --verbose=true -u jdbc:ignite:thin://{MyExternalIP}:10800

此后,我从电源外壳收到此消息

发出:!connect jdbc:ignite:thin:// {MyExternalIP}:10800''''org.apache.ignite.IgniteJdbcThinDriver连接到jdbc:ignite:thin:// {MyExternalIP}:10800已连接到:Apache Ignite(版本2.6.0#20180710-sha1:669feacc)驱动程序:Apache Ignite Thin JDBC驱动程序(版本2.8.0#20200226-sha1:341b01df)自动提交状态:true事务隔离:TRANSACTION_REPEATABLE_READ sqlline版本1.3.0 0:jdbc:ignite:thin:// {MyExternalIP}:10800>

最后,我运行最新的命令以根据说明进行测试

!run ../examples/sql/world.sql 

这里是此命令的错误消息。

错误:语句已关闭。 (状态=,代码= 0)java.sql.SQLException:语句已关闭。在org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.ensureNotClosed(JdbcThinStatement.java:934)在org.apache.ignite.internal.jdbc.thin.JdbcThinStatement.getWarnings(JdbcThinStatement.java:538)在sqlline.Commands.execute(Commands.java:849)在sqlline.Commands.sql(Commands.java:733)在sqlline.SqlLine.dispatch(SqlLine.java:795)在sqlline.SqlLine.runCommands(SqlLine.java:1706)在sqlline.Commands.run(Commands.java:1317)在sun.reflect.NativeMethodAccessorImpl.invoke0(本机方法)处在sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)在sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)在java.lang.reflect.Method.invoke(Method.java:498)在sqlline.ReflectiveCommandHandler.execute(ReflectiveCommandHandler.java:38)在sqlline.SqlLine.dispatch(SqlLine.java:791)在sqlline.SqlLine.begin(SqlLine.java:668)在sqlline.SqlLine.start(SqlLine.java:373)在sqlline.SqlLine.main(SqlLine.java:265)处中止命令集,因为“ force”为false且命令失败:“ DROP TABLE IF EXISTS国家;“

The All power shell is like this

我不知道怎么了?

azure kubernetes .net-core ignite
1个回答
0
投票

我可以看到您具有Ignite 2.6,但驱动程序版本是2.8。您是否尝试过使用相同的版本?我们认为该驱动程序可能在版本之间兼容,但是不建议安装。

© www.soinside.com 2019 - 2024. All rights reserved.