运行ignite-ssh测试时IgniteCheckedException

时间:2018-11-27 12:04:50

标签: ignite

我已经从源代码构建了Apache Ignite,并且当前正在运行测试。测试执行长期停留在ignite-core模块中。因此,通过对单个模块进行cd'运行并运行mvn test来运行模块明智的测试。 但是在ignite-ssh模块中面临如下测试错误:

IgniteProjectionStartStopRestartSelfTest>GridAbstractTest.access$000:140->GridAbstractTest.runTestInternal:2087->testCustomScript:498->startNod?s:1054
[ERROR] testCustomScript(org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest)  Time elapsed: 0.11 s  <<< ERROR!
org.apache.ignite.IgniteException: Password or private key file must be specified.
        at org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest.startNodes(IgniteProjectionStartStopRestartSelfTest.java:1054)
        at org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest.testCustomScript(IgniteProjectionStartStopRestartSelfTest.java:498)
**Caused by: org.apache.ignite.IgniteCheckedException: Password or private key file must be specified.**
        at org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest.startNodes(IgniteProjectionStartStopRestartSelfTest.java:1054)
        at org.apache.ignite.internal.IgniteProjectionStartStopRestartSelfTest.testCustomScript(IgniteProjectionStartStopRestartSelfTest.java:498)

我想念什么吗?测试之前需要提供SSH凭据吗?

1 个答案:

答案 0 :(得分:0)

您使用哪个版本?

https://issues.apache.org/jira/browse/IGNITE-9545中完成了对该测试的最新更新。新文档似乎对所需参数有很好的描述。