[
https://issues.apache.org/jira/browse/PARQUET-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320014#comment-17320014
]
ASF GitHub Bot commented on PARQUET-2023:
-----------------------------------------
martin-g edited a comment on pull request #890:
URL: https://github.com/apache/parquet-mr/pull/890#issuecomment-818532217
I have (maybe?!) a better solution:
`mvn clean ... -Dorg.slf4j.simpleLogger.logFile=maven.log`
This will write all the output to `./maven.log`. In combination with
`travis_wait` and `after_failure` we could achieve what you wanted to do with
`pv`. What do you think ?
Another useful setting is `org.slf4j.simpleLogger.defaultLogLevel` if later
we decide to reduce the logs to warns and errors. All settings could be found
[here](http://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html)
--
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]
> TravisCI builds do not fail even when there is a compilation error
> ------------------------------------------------------------------
>
> Key: PARQUET-2023
> URL: https://issues.apache.org/jira/browse/PARQUET-2023
> Project: Parquet
> Issue Type: Improvement
> Reporter: Martin Tzvetanov Grigorov
> Priority: Minor
>
> As noticed at [https://github.com/apache/parquet-mr/pull/840] the build at
> TravisCI didn't fail despite the compilation errors.
>
> The reason is the piping to 'pv' for progress monitoring. The exit status of
> 'mvn' command is ignored and the exit status of 'pv' is 0, i.e. success.
> Currently the build at TravisCI takes around 40 minutes
> ([https://travis-ci.org/github/apache/parquet-mr/builds/765496614)] so there
> are 10 more minutes before the upper limit at TravisCI.
> Maven will be run with '–quiet' option to prevent another error - too much
> output.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)