Github user huawei-flink commented on the issue:
https://github.com/apache/flink/pull/3459
Related to the building failure - I see that this fails only for one
particular case. I looked into the error and it is not related to my
modifications as you cans see below. In fact I did not touch on the Cassandra
connector which is the one failing nor I caused, I would say, any things to
conflict with it.
From my point of view this could be pulled in
[INFO] flink-libraries .................................... SUCCESS [
0.271 s]
[INFO] flink-table ........................................ SUCCESS [02:44
min]
[INFO] flink-jdbc ......................................... SUCCESS [
0.898 s]
[INFO] flink-hbase ........................................ SUCCESS [
48.336 s]
[INFO] flink-hcatalog ..................................... SUCCESS [
8.864 s]
[INFO] flink-metrics-jmx .................................. SUCCESS [
0.487 s]
[INFO] flink-connector-kafka-base ......................... SUCCESS [
4.050 s]
[INFO] flink-connector-kafka-0.8 .......................... SUCCESS [
3.325 s]
[INFO] flink-connector-kafka-0.9 .......................... SUCCESS [
3.302 s]
[INFO] flink-connector-kafka-0.10 ......................... SUCCESS [
1.495 s]
[INFO] flink-connector-elasticsearch-base ................. SUCCESS [
5.535 s]
[INFO] flink-connector-elasticsearch ...................... SUCCESS [01:07
min]
[INFO] flink-connector-elasticsearch2 ..................... SUCCESS [
14.613 s]
[INFO] flink-connector-rabbitmq ........................... SUCCESS [
0.493 s]
[INFO] flink-connector-twitter ............................ SUCCESS [
2.241 s]
[INFO] flink-connector-nifi ............................... SUCCESS [
0.816 s]
[INFO] flink-connector-cassandra .......................... FAILURE [02:15
min]
[INFO] flink-connector-filesystem ......................... SKIPPED
[INFO] flink-connector-kinesis ............................ SKIPPED
[INFO] flink-connector-elasticsearch5 ..................... SKIPPED
[INFO] flink-examples-streaming ........................... SKIPPED
[INFO] flink-gelly ........................................ SKIPPED
[INFO] flink-gelly-scala .................................. SKIPPED
[INFO] flink-gelly-examples ............................... SKIPPED
[INFO] flink-python ....................................... SKIPPED
[INFO] flink-ml ........................................... SKIPPED
[INFO] flink-cep .......................................... SKIPPED
[INFO] flink-cep-scala .................................... SKIPPED
[INFO] flink-scala-shell .................................. SKIPPED
[INFO] flink-quickstart ................................... SKIPPED
[INFO] flink-quickstart-java .............................. SKIPPED
[INFO] flink-quickstart-scala ............................. SKIPPED
[INFO] flink-storm ........................................ SKIPPED
[INFO] flink-storm-examples ............................... SKIPPED
[INFO] flink-streaming-contrib ............................ SKIPPED
[INFO] flink-tweet-inputformat ............................ SKIPPED
[INFO] flink-connector-wikiedits .......................... SKIPPED
[INFO] flink-mesos ........................................ SKIPPED
[INFO] flink-yarn ......................................... SKIPPED
[INFO] flink-metrics-dropwizard ........................... SKIPPED
[INFO] flink-metrics-ganglia .............................. SKIPPED
[INFO] flink-metrics-graphite ............................. SKIPPED
[INFO] flink-metrics-statsd ............................... SKIPPED
[INFO] flink-dist ......................................... SKIPPED
[INFO] flink-fs-tests ..................................... SKIPPED
[INFO] flink-yarn-tests ................................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 25:31 min
[INFO] Finished at: 2017-03-06T12:07:47+00:00
[INFO] Final Memory: 161M/493M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (integration-tests)
on project flink-connector-cassandra_2.10: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/travis/build/apache/flink/flink-connectors/flink-connector-cassandra/target/surefire-reports
for the individual test results.
[ERROR] -> [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 <goals> -rf :flink-connector-cassandra_2.10
Trying to KILL watchdog (1345).
./tools/travis_mvn_watchdog.sh: line 210: 1345 Terminated
watchdog
MVN exited with EXIT CODE: 1.
java.io.FileNotFoundException: build-target/lib/flink-dist-*.jar (No such
file or directory)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:220)
at java.util.zip.ZipFile.<init>(ZipFile.java:150)
at java.util.zip.ZipFile.<init>(ZipFile.java:121)
at sun.tools.jar.Main.list(Main.java:1060)
at sun.tools.jar.Main.run(Main.java:291)
at sun.tools.jar.Main.main(Main.java:1233)
find: `./flink-yarn-tests/target/flink-yarn-tests*': No such file or
directory
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---