Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3868

Docker provisioner fails when it is executed from gradle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • None

    Description

      How to reproduce

      $ ./gradlew -Pstack=zookeeper docker-provisioner
      ...
      Notice: Finished catalog run in 74.78 seconds
      > Task :docker-provisioner FAILED

       

      However the stack creation was suceeded.

      If you run from docker-hadoop.sh directly, there is no error message and can run smoke-tests

      $ ./docker-hadoop.sh -d -c 1 --stack zookeeper --smoke-tests zookeeper
      ...
      Notice: Finished catalog run in 71.51 seconds

       

      This seems caused by printing error message file that does not exist

      # with printing error message and each line
      $ bash -xe ./docker-hadoop.sh -d -c 1 --stack zookeeper
      ...
      Notice: Finished catalog run in 84.98 seconds
      + cat '.error_msg_*'

      Attachments

        Issue Links

          Activity

            People

              yoda-mon Leona Yoda
              yoda-mon Leona Yoda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m