各位大佬好:
在本地编译flink源码包的时候当编译到flink-runtime-web的时候报如下错误:请问这是需要什么单独的设置嘛?还没有修改任何东西,只是clone下来之后编译,编译命令mvn clean install -DskipTests
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) on project flink-runtime-web_2.11: Could not download Node.js: Could not download https://nodejs.org/dist/v10.9.0/node-v10.9.0-darwin-x64.tar.gz: Connect to nodejs.org:443 [nodejs.org/104.20.23.46, nodejs.org/104.20.22.46] failed: Operation timed out (Connection timed out) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :flink-runtime-web_2.11
[INFO] force-shading ...................................... SUCCESS [01:03 min] [INFO] flink .............................................. SUCCESS [ 45.293 s] [INFO] flink-annotations .................................. SUCCESS [ 5.576 s] [INFO] flink-test-utils-parent ............................ SUCCESS [ 0.056 s] [INFO] flink-test-utils-junit ............................. SUCCESS [ 0.689 s] [INFO] flink-metrics ...................................... SUCCESS [ 0.048 s] [INFO] flink-metrics-core ................................. SUCCESS [ 5.653 s] [INFO] flink-core ......................................... SUCCESS [ 13.689 s] [INFO] flink-java ......................................... SUCCESS [ 2.711 s] [INFO] flink-queryable-state .............................. SUCCESS [ 0.055 s] [INFO] flink-queryable-state-client-java .................. SUCCESS [ 0.574 s] [INFO] flink-filesystems .................................. SUCCESS [ 0.047 s] [INFO] flink-hadoop-fs .................................... SUCCESS [ 4.960 s] [INFO] flink-runtime ...................................... SUCCESS [01:15 min] [INFO] flink-scala ........................................ SUCCESS [ 36.561 s] [INFO] flink-mapr-fs ...................................... SUCCESS [ 0.628 s] [INFO] flink-filesystems :: flink-fs-hadoop-shaded ........ SUCCESS [ 4.035 s] [INFO] flink-s3-fs-base ................................... SUCCESS [ 0.853 s] [INFO] flink-s3-fs-hadoop ................................. SUCCESS [ 16.576 s] [INFO] flink-s3-fs-presto ................................. SUCCESS [ 12.533 s] [INFO] flink-swift-fs-hadoop .............................. SUCCESS [ 21.483 s] [INFO] flink-oss-fs-hadoop ................................ SUCCESS [ 8.157 s] [INFO] flink-azure-fs-hadoop .............................. SUCCESS [ 30.624 s] [INFO] flink-optimizer .................................... SUCCESS [ 1.716 s] [INFO] flink-streaming-java ............................... SUCCESS [ 6.684 s] [INFO] flink-clients ...................................... SUCCESS [ 14.102 s] [INFO] flink-test-utils ................................... SUCCESS [ 0.893 s] [INFO] flink-runtime-web .................................. FAILURE [11:39 min] [INFO] flink-examples ..................................... SKIPPED [INFO] flink-examples-batch ............................... SKIPPED [INFO] flink-connectors ................................... SKIPPED [INFO] flink-hadoop-compatibility ......................... SKIPPED [INFO] flink-state-backends ............................... SKIPPED [INFO] flink-statebackend-rocksdb ......................... SKIPPED [INFO] flink-tests ........................................ SKIPPED [INFO] flink-streaming-scala .............................. SKIPPED [INFO] flink-table ........................................ SKIPPED [INFO] flink-table-common ................................. SKIPPED [INFO] flink-table-api-java ............................... SKIPPED [INFO] flink-table-api-java-bridge ........................ SKIPPED [INFO] flink-table-api-scala .............................. SKIPPED [INFO] flink-table-api-scala-bridge ....................... SKIPPED [INFO] flink-sql-parser ................................... SKIPPED [INFO] flink-libraries .................................... SKIPPED [INFO] flink-cep .......................................... SKIPPED [INFO] flink-table-planner ................................ SKIPPED [INFO] flink-sql-parser-hive .............................. SKIPPED [INFO] flink-table-runtime-blink .......................... SKIPPED [INFO] flink-table-planner-blink .......................... SKIPPED [INFO] flink-jdbc ......................................... SKIPPED [INFO] flink-hbase ........................................ SKIPPED [INFO] flink-hcatalog ..................................... SKIPPED [INFO] flink-metrics-jmx .................................. SKIPPED [INFO] flink-formats ...................................... SKIPPED [INFO] flink-json ......................................... SKIPPED [INFO] flink-connector-kafka-base ......................... SKIPPED [INFO] flink-connector-kafka-0.10 ......................... SKIPPED [INFO] flink-connector-kafka-0.11 ......................... SKIPPED [INFO] flink-connector-elasticsearch-base ................. SKIPPED [INFO] flink-connector-elasticsearch5 ..................... SKIPPED [INFO] flink-connector-elasticsearch6 ..................... SKIPPED [INFO] flink-connector-elasticsearch7 ..................... SKIPPED [INFO] flink-orc .......................................... SKIPPED [INFO] flink-orc-nohive ................................... SKIPPED [INFO] flink-avro ......................................... SKIPPED [INFO] flink-parquet ...................................... SKIPPED [INFO] flink-csv .......................................... SKIPPED [INFO] flink-connector-hive ............................... SKIPPED [INFO] flink-connector-rabbitmq ........................... SKIPPED [INFO] flink-connector-twitter ............................ SKIPPED [INFO] flink-connector-nifi ............................... SKIPPED [INFO] flink-connector-cassandra .......................... SKIPPED [INFO] flink-connector-filesystem ......................... SKIPPED [INFO] flink-connector-kafka .............................. SKIPPED [INFO] flink-connector-gcp-pubsub ......................... SKIPPED [INFO] flink-connector-kinesis ............................ SKIPPED [INFO] flink-sql-connector-elasticsearch7 ................. SKIPPED [INFO] flink-connector-base ............................... SKIPPED [INFO] flink-sql-connector-elasticsearch6 ................. SKIPPED [INFO] flink-sql-connector-kafka-0.10 ..................... SKIPPED [INFO] flink-sql-connector-kafka-0.11 ..................... SKIPPED [INFO] flink-sql-connector-kafka .......................... SKIPPED [INFO] flink-sql-connector-hive-1.2.2 ..................... SKIPPED [INFO] flink-sql-connector-hive-2.2.0 ..................... SKIPPED [INFO] flink-sql-connector-hive-2.3.6 ..................... SKIPPED [INFO] flink-sql-connector-hive-3.1.2 ..................... SKIPPED [INFO] flink-avro-confluent-registry ...................... SKIPPED [INFO] flink-sequence-file ................................ SKIPPED [INFO] flink-compress ..................................... SKIPPED [INFO] flink-examples-streaming ........................... SKIPPED [INFO] flink-examples-table ............................... SKIPPED [INFO] flink-examples-build-helper ........................ SKIPPED [INFO] flink-examples-streaming-twitter ................... SKIPPED [INFO] flink-examples-streaming-state-machine ............. SKIPPED [INFO] flink-examples-streaming-gcp-pubsub ................ SKIPPED [INFO] flink-container .................................... SKIPPED [INFO] flink-queryable-state-runtime ...................... SKIPPED [INFO] flink-end-to-end-tests ............................. SKIPPED [INFO] flink-cli-test ..................................... SKIPPED [INFO] flink-parent-child-classloading-test-program ....... SKIPPED [INFO] flink-parent-child-classloading-test-lib-package ... SKIPPED [INFO] flink-dataset-allround-test ........................ SKIPPED [INFO] flink-dataset-fine-grained-recovery-test ........... SKIPPED [INFO] flink-datastream-allround-test ..................... SKIPPED [INFO] flink-batch-sql-test ............................... SKIPPED [INFO] flink-stream-sql-test .............................. SKIPPED [INFO] flink-bucketing-sink-test .......................... SKIPPED [INFO] flink-distributed-cache-via-blob ................... SKIPPED [INFO] flink-high-parallelism-iterations-test ............. SKIPPED [INFO] flink-stream-stateful-job-upgrade-test ............. SKIPPED [INFO] flink-queryable-state-test ......................... SKIPPED [INFO] flink-local-recovery-and-allocation-test ........... SKIPPED [INFO] flink-elasticsearch5-test .......................... SKIPPED [INFO] flink-elasticsearch6-test .......................... SKIPPED [INFO] flink-quickstart ................................... SKIPPED [INFO] flink-quickstart-java .............................. SKIPPED [INFO] flink-quickstart-scala ............................. SKIPPED [INFO] flink-quickstart-test .............................. SKIPPED [INFO] flink-confluent-schema-registry .................... SKIPPED [INFO] flink-stream-state-ttl-test ........................ SKIPPED [INFO] flink-sql-client-test .............................. SKIPPED [INFO] flink-streaming-file-sink-test ..................... SKIPPED [INFO] flink-state-evolution-test ......................... SKIPPED [INFO] flink-rocksdb-state-memory-control-test ............ SKIPPED [INFO] flink-mesos ........................................ SKIPPED [INFO] flink-kubernetes ................................... SKIPPED [INFO] flink-yarn ......................................... SKIPPED [INFO] flink-gelly ........................................ SKIPPED [INFO] flink-gelly-scala .................................. SKIPPED [INFO] flink-gelly-examples ............................... SKIPPED [INFO] flink-metrics-dropwizard ........................... SKIPPED [INFO] flink-metrics-graphite ............................. SKIPPED [INFO] flink-metrics-influxdb ............................. SKIPPED [INFO] flink-metrics-prometheus ........................... SKIPPED [INFO] flink-metrics-statsd ............................... SKIPPED [INFO] flink-metrics-datadog .............................. SKIPPED [INFO] flink-metrics-slf4j ................................ SKIPPED [INFO] flink-cep-scala .................................... SKIPPED [INFO] flink-table-uber ................................... SKIPPED [INFO] flink-table-uber-blink ............................. SKIPPED [INFO] flink-python ....................................... SKIPPED [INFO] flink-sql-client ................................... SKIPPED [INFO] flink-state-processor-api .......................... SKIPPED [INFO] flink-ml-parent .................................... SKIPPED [INFO] flink-ml-api ....................................... SKIPPED [INFO] flink-ml-lib ....................................... SKIPPED [INFO] flink-ml-uber ...................................... SKIPPED [INFO] flink-scala-shell .................................. SKIPPED [INFO] flink-dist ......................................... SKIPPED [INFO] flink-end-to-end-tests-common ...................... SKIPPED [INFO] flink-metrics-availability-test .................... SKIPPED [INFO] flink-metrics-reporter-prometheus-test ............. SKIPPED [INFO] flink-heavy-deployment-stress-test ................. SKIPPED [INFO] flink-connector-gcp-pubsub-emulator-tests .......... SKIPPED [INFO] flink-streaming-kafka-test-base .................... SKIPPED [INFO] flink-streaming-kafka-test ......................... SKIPPED [INFO] flink-streaming-kafka011-test ...................... SKIPPED [INFO] flink-streaming-kafka010-test ...................... SKIPPED [INFO] flink-plugins-test ................................. SKIPPED [INFO] dummy-fs ........................................... SKIPPED [INFO] another-dummy-fs ................................... SKIPPED [INFO] flink-tpch-test .................................... SKIPPED [INFO] flink-streaming-kinesis-test ....................... SKIPPED [INFO] flink-elasticsearch7-test .......................... SKIPPED [INFO] flink-end-to-end-tests-common-kafka ................ SKIPPED [INFO] flink-tpcds-test ................................... SKIPPED [INFO] flink-netty-shuffle-memory-control-test ............ SKIPPED [INFO] flink-statebackend-heap-spillable .................. SKIPPED [INFO] flink-contrib ...................................... SKIPPED [INFO] flink-connector-wikiedits .......................... SKIPPED [INFO] flink-yarn-tests ................................... SKIPPED [INFO] flink-fs-tests ..................................... SKIPPED [INFO] flink-docs ......................................... SKIPPED [INFO] flink-walkthroughs ................................. SKIPPED [INFO] flink-walkthrough-common ........................... SKIPPED [INFO] flink-walkthrough-table-java ....................... SKIPPED [INFO] flink-walkthrough-table-scala ...................... SKIPPED [INFO] flink-walkthrough-datastream-java .................. SKIPPED [INFO] flink-walkthrough-datastream-scala ................. SKIPPED
来自志愿者整理的flink邮件归档来自志愿者整理的flink邮件归档
这个问题我遇见过,就是网络连接超时了,编译的时候会从https://nodejs.org/dist/v10.9.0/node-v10.9.0-darwin-x64.tar.gz 下载这个tar文件,因为是外网的原因下载失败了,要么你手动下载这个文件放在对应的目录下,要么设置一个nodejs.org的代理*来自志愿者整理的flink
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。