我在编译 ES 源代码时遇到了一些困难。
1.我从https://github.com/elastic/elasticsearch/tree/v5.2.1获得了 elasticsearch-5.2.1 源代码。
2.我解压了elasticsearch-5.2.1.zip。
3.我使用“gradle build”命令在elasticsearch-5.2.1的根目录下构建。
4.我的gradle版本是“Gradle 3.3”,java版本是“java 1.8.0_271”。我的操作系统是ubuntu 20.04。
当我在elasticsearch-5.2.1的根目录下运行“gradle build”命令构建。结果是:</p>
'''
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':test:framework:test'.
There were test failures: 23 suites, 132 tests, 4 failures, 3 ignored (3 assumptions) [seed: 121BC3D9A1F658B1]
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
'''
谁能帮我解决这个问题?非常感谢