yoda-mon opened a new pull request, #1050:
URL: https://github.com/apache/bigtop/pull/1050

   
   <!--
     Thanks for sending a pull request!
       1. If this is your first time, please read our contributor guidelines: 
https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
       2. Make sure your PR title starts with JIRA issue id, e.g., 
'BIGTOP-3638: Your PR title ...'.
   -->
   
   ### Description of PR
   If users use docker provisioner from gradle, it fails. This is because 
`docker-hadoop.sh` returns 1 even if the provisioning was secceeded.
   
   ```sh
   $ ./gradlew -Pstack=zookeeper docker-provisioner
   ...
   Notice: Finished catalog run in 74.78 seconds
   > Task :docker-provisioner FAILED
   ```
   
   This PR add an error message check before printing the file, to avoid the 
error exit.
   
   ### How was this patch tested?
   ```sh
   $ ./gradlew -Pstack=zookeeper docker-provisioner
   ...
   Notice: Finished catalog run in 65.20 seconds
   
   BUILD SUCCESSFUL in 1m 29s
   ```
   
   ### For code changes:
   
   - [ ] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'BIGTOP-3638. Your PR title ...')?
   - [ ] Make sure that newly added files do not have any licensing issues. 
When in doubt refer to https://www.apache.org/licenses/


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to