LutzWeischerFujitsu commented on issue #2818:
URL: https://github.com/apache/iotdb/issues/2818#issuecomment-800076833


   Thanks, that helped a lot. 
   I get now only this error: 
   [jw@cn05 iotdb]$ mvn install 
-Dthrift.download-url=http://apache.org/licenses/LICENSE-2.0.txt 
-Dthrift.exec.absolute.path=/usr/bin/thrift 
   ... 
   INFO  [2021-03-16 09:20:13,985] [main] 
org.apache.iotdb.db.engine.merge.task.RecoverMergeTask:71 - 
root.stats-0-1615882813985 no merge.log, merge recovery ends
   WARN  [2021-03-16 09:20:13,996] [main] 
org.apache.iotdb.db.utils.EnvironmentUtils:91 - EnvironmentUtil cleanEnv...
   INFO  [2021-03-16 09:20:14,000] [main] 
org.apache.iotdb.db.engine.merge.manage.MergeManager:211 - Waiting for task 
pool to shut down
   INFO  [2021-03-16 09:20:14,001] [main] 
org.apache.iotdb.db.engine.merge.manage.MergeManager:233 - MergeManager stopped
   INFO  [2021-03-16 09:20:14,001] [main] 
org.apache.iotdb.db.service.RegisterManager:67 - deregister all service.
   [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.519 
s - in org.apache.iotdb.db.monitor.IoTDBStatMonitorTest
   [INFO] Running org.apache.iotdb.db.cost.statistic.PerformanceStatTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.007 
s - in org.apache.iotdb.db.cost.statistic.PerformanceStatTest
   [INFO]
   [INFO] Results:
   [INFO]
   [ERROR] Failures:
   [ERROR]   GroupByEngineDataSetTest.testGroupByMonth1:253 
expected:<04/01/2020:1[9]:57:18> but was:<04/01/2020:1[8]:57:18>
   [ERROR]   GroupByEngineDataSetTest.testGroupByMonth2:308 
expected:<03/31/2020:1[9]:57:18> but was:<03/31/2020:1[8]:57:18>
   [ERROR]   GroupByEngineDataSetTest.testGroupByMonth3:349 
expected:<03/31/2020:1[9]:57:18> but was:<03/31/2020:1[8]:57:18>
   [ERROR]   GroupByEngineDataSetTest.testGroupByMonth4:403 
expected:<03/31/2020:1[9]:57:18> but was:<03/31/2020:1[8]:57:18>
   [ERROR]   GroupByEngineDataSetTest.testGroupByMonthDescending1:458 
expected:<03/31/2020:1[9]:57:18> but was:<03/31/2020:1[8]:57:18>
   [ERROR]   GroupByEngineDataSetTest.testGroupByMonthDescending2:499 
expected:<03/31/2020:1[9]:57:18> but was:<03/31/2020:1[8]:57:18>
   [INFO]
   [ERROR] Tests run: 531, Failures: 6, Errors: 0, Skipped: 2
   [INFO]
   [INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary for Apache IoTDB Project Parent POM 0.12.0-SNAPSHOT:
   [INFO]
   [INFO] Apache IoTDB Project Parent POM .................... SUCCESS [ 21.143 
s]
   [INFO] TsFile ............................................. SUCCESS [14:27 
min]
   [INFO] sql-antlr .......................................... SUCCESS [ 11.782 
s]
   [INFO] rpc-thrift ......................................... SUCCESS [01:11 
min]
   [INFO] Service-rpc ........................................ SUCCESS [  3.478 
s]
   [INFO] IoTDB Jdbc ......................................... SUCCESS [  7.789 
s]
   [INFO] IoTDB Server ....................................... FAILURE [07:54 
min]
   [INFO] IoTDB Session ...................................... SKIPPED
   [INFO] IoTDB Cli .......................................... SKIPPED
   [INFO] IoTDB Examples ..................................... SKIPPED
   [INFO] IoTDB-Kafka Examples ............................... SKIPPED
   [INFO] IoTDB-RocketMQ Examples ............................ SKIPPED
   [INFO] client-example ..................................... SKIPPED
   [INFO] tsfile-example ..................................... SKIPPED
   [INFO] jdbc example ....................................... SKIPPED
   [INFO] IoTDB Hadoop-Tsfile ................................ SKIPPED
   [INFO] hadoop-example ..................................... SKIPPED
   [INFO] flink-iotdb-connector .............................. SKIPPED
   [INFO] flink-tsfile-connector ............................. SKIPPED
   [INFO] IoTDB-Flink Examples ............................... SKIPPED
   [INFO] IoTDB-MQTT Examples ................................ SKIPPED
   [INFO] IoTDB-Pulsar Examples .............................. SKIPPED
   [INFO] udf-example ........................................ SKIPPED
   [INFO] IoTDB Grafana ...................................... SKIPPED
   [INFO] IoTDB Spark-TsFile ................................. SKIPPED
   [INFO] spark-iotdb-connector .............................. SKIPPED
   [INFO] cluster ............................................ SKIPPED
   [INFO] Compile Tools ...................................... SKIPPED
   [INFO] Tools: Thrift ...................................... SKIPPED
   [INFO] Client for cpp ..................................... SKIPPED
   [INFO] IoTDB Distribution ................................. SKIPPED
   [INFO] hive-connector ..................................... SKIPPED
   [INFO] cross-tests ........................................ SKIPPED
   [INFO] Zeppelin: Apache IoTDB interpreter ................. SKIPPED
   [INFO] python-api ......................................... SKIPPED
   [INFO] IoTDB-Client CPP Examples .......................... SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  24:19 min
   [INFO] Finished at: 2021-03-16T09:20:19+01:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on 
project iotdb-server: There are test failures.
   [ERROR]
   [ERROR] Please refer to /home/jw/apache/iotdb/server/target/surefire-reports 
for the individual test results.
   [ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, 
[date].dumpstream and [date]-jvmRun[N].dumpstream.
   [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 <args> -rf :iotdb-server
   [jw@cn05 iotdb]$ 
   
   This is for Java 1.8, for 11 it is: 
   ... 
   [INFO] -------------------< org.apache.iotdb:iotdb-thrift 
>--------------------
   [INFO] Building rpc-thrift 0.12.0-SNAPSHOT                               
[4/36]
   [INFO] --------------------------------[ jar 
]---------------------------------
   [INFO]
   [INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ iotdb-thrift ---
   [INFO]
   [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (enforce-maven-version) @ 
iotdb-thrift ---
   [INFO] Skipping Rule Enforcement.
   [INFO]
   [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce 
(enforce-version-convergence) @ iotdb-thrift ---
   [INFO] Skipping Rule Enforcement.
   [INFO]
   [INFO] --- maven-enforcer-plugin:3.0.0-M2:enforce (vulnerability-checks) @ 
iotdb-thrift ---
   [INFO] Skipping Rule Enforcement.
   [INFO]
   [INFO] --- spotless-maven-plugin:2.4.2:check (spotless-check) @ iotdb-thrift 
---
   [INFO]
   [INFO] --- download-maven-plugin:1.3.0:wget (get-thrift-executable) @ 
iotdb-thrift ---
   [INFO] File already exist, skipping
   [INFO]
   [INFO] --- exec-maven-plugin:1.6.0:exec (make-thrift-executable-executable) 
@ iotdb-thrift ---
   [ERROR] Command execution failed.
   java.io.IOException: Stream closed
       at java.lang.ProcessBuilder$NullOutputStream.write 
(ProcessBuilder.java:442)
       at java.io.OutputStream.write (OutputStream.java:157)
       at java.io.BufferedOutputStream.flushBuffer 
(BufferedOutputStream.java:81)
       at java.io.BufferedOutputStream.flush (BufferedOutputStream.java:142)
       at java.io.FilterOutputStream.close (FilterOutputStream.java:182)
       at org.apache.commons.exec.DefaultExecutor.closeProcessStreams 
(DefaultExecutor.java:306)
       at org.apache.commons.exec.DefaultExecutor.executeInternal 
(DefaultExecutor.java:387)
       at org.apache.commons.exec.DefaultExecutor.execute 
(DefaultExecutor.java:166)
       at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:804)
       at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:751)
       at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:313)
       at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo 
(DefaultBuildPluginManager.java:137)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:210)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:156)
       at org.apache.maven.lifecycle.internal.MojoExecutor.execute 
(MojoExecutor.java:148)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:117)
       at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject 
(LifecycleModuleBuilder.java:81)
       at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
 (SingleThreadedBuilder.java:56)
       at org.apache.maven.lifecycle.internal.LifecycleStarter.execute 
(LifecycleStarter.java:128)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
       at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
       at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
       at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
       at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
       at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke (Method.java:566)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:282)
       at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:225)
       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:406)
       at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:347)
   [INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary for Apache IoTDB Project Parent POM 0.12.0-SNAPSHOT:
   [INFO]
   [INFO] Apache IoTDB Project Parent POM .................... SUCCESS [ 22.224 
s]
   [INFO] TsFile ............................................. SUCCESS [14:33 
min]
   [INFO] sql-antlr .......................................... SUCCESS [ 12.200 
s]
   [INFO] rpc-thrift ......................................... FAILURE [  1.485 
s]
   [INFO] Service-rpc ........................................ SKIPPED
   [INFO] IoTDB Jdbc ......................................... SKIPPED
   [INFO] IoTDB Server ....................................... SKIPPED
   [INFO] IoTDB Session ...................................... SKIPPED
   [INFO] IoTDB Cli .......................................... SKIPPED
   [INFO] IoTDB Examples ..................................... SKIPPED
   [INFO] IoTDB-Kafka Examples ............................... SKIPPED
   [INFO] IoTDB-RocketMQ Examples ............................ SKIPPED
   [INFO] client-example ..................................... SKIPPED
   [INFO] tsfile-example ..................................... SKIPPED
   [INFO] jdbc example ....................................... SKIPPED
   [INFO] IoTDB Hadoop-Tsfile ................................ SKIPPED
   [INFO] hadoop-example ..................................... SKIPPED
   [INFO] flink-iotdb-connector .............................. SKIPPED
   [INFO] flink-tsfile-connector ............................. SKIPPED
   [INFO] IoTDB-Flink Examples ............................... SKIPPED
   [INFO] IoTDB-MQTT Examples ................................ SKIPPED
   [INFO] IoTDB-Pulsar Examples .............................. SKIPPED
   [INFO] udf-example ........................................ SKIPPED
   [INFO] IoTDB Grafana ...................................... SKIPPED
   [INFO] IoTDB Spark-TsFile ................................. SKIPPED
   [INFO] spark-iotdb-connector .............................. SKIPPED
   [INFO] cluster ............................................ SKIPPED
   [INFO] Compile Tools ...................................... SKIPPED
   [INFO] Tools: Thrift ...................................... SKIPPED
   [INFO] Client for cpp ..................................... SKIPPED
   [INFO] IoTDB Distribution ................................. SKIPPED
   [INFO] hive-connector ..................................... SKIPPED
   [INFO] cross-tests ........................................ SKIPPED
   [INFO] Zeppelin: Apache IoTDB interpreter ................. SKIPPED
   [INFO] python-api ......................................... SKIPPED
   [INFO] IoTDB-Client CPP Examples .......................... SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  15:10 min
   [INFO] Finished at: 2021-03-16T09:52:25+01:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.6.0:exec 
(make-thrift-executable-executable) on project iotdb-thrift: Command execution 
failed.: Stream closed -> [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/MojoExecutionException
   [ERROR]
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <args> -rf :iotdb-thrift
   [jw@cn05 iotdb]$ 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to