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

[BigPetStore] build.gradle - wrong variable name (hadoopClusterRuntime instead of runtime)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: backlog
    • Fix Version/s: 0.8.0
    • Component/s: blueprints
    • Environment:

      Gradle

      Description

      build.gradle of Big PetStore - line 255 : should be configurations.runtime instead of configuration.hadoopClusterRuntime

        Activity

        Hide
        jayunit100 jay vyas added a comment -

        hi Jörn Franke thanks for noting this. why is that ? The build worked for me IIRC, when i ran it. but you might be right. any details on this?

        Show
        jayunit100 jay vyas added a comment - hi Jörn Franke thanks for noting this. why is that ? The build worked for me IIRC, when i ran it. but you might be right. any details on this?
        Hide
        jornfranke Jörn Franke added a comment -

        Hi,
        I am not sure, maybe because I used the github mirror?
        https://github.com/apache/bigtop/blob/master/bigtop-bigpetstore/build.gradle
        Check there line 255

        Show
        jornfranke Jörn Franke added a comment - Hi, I am not sure, maybe because I used the github mirror? https://github.com/apache/bigtop/blob/master/bigtop-bigpetstore/build.gradle Check there line 255
        Hide
        jayunit100 jay vyas added a comment -

        Jörn Franke you might be right.

        Can you please paste the actual error your getting with it though? I don't recall its been over a week and a half since i tested and ran this patch.

        Show
        jayunit100 jay vyas added a comment - Jörn Franke you might be right. Can you please paste the actual error your getting with it though? I don't recall its been over a week and a half since i tested and ran this patch.
        Hide
        jornfranke Jörn Franke added a comment -

        Yes, of course. I use the Cloudera 5.1 Quickstart VM - I installed gradle 2.0 on it.

        • Where:
          Build file '/home/cloudera/git/bigtop/bigtop-bigpetstore/build.gradle' line: 255
        • What went wrong:
          Execution failed for task ':build'.
          > Could not find property 'hadoopClusterRuntime' on configuration container.
        • Try:
          Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
        Show
        jornfranke Jörn Franke added a comment - Yes, of course. I use the Cloudera 5.1 Quickstart VM - I installed gradle 2.0 on it. Where: Build file '/home/cloudera/git/bigtop/bigtop-bigpetstore/build.gradle' line: 255 What went wrong: Execution failed for task ':build'. > Could not find property 'hadoopClusterRuntime' on configuration container. Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
        Hide
        jayunit100 jay vyas added a comment -

        Gotcha. we have to uncomment the hadoopClusterRuntime configuration before running the build.

        -    /* hadoopClusterRuntime */ runtime { 
        + hadoopClusterRuntime {
        

        like that.

        We forgot to add that in the README . I think your right, its better if we just fix it here.

        I'll test this fix later if you don't beat me to it !

        Thanks Jörn Franke for noting this !

        Show
        jayunit100 jay vyas added a comment - Gotcha. we have to uncomment the hadoopClusterRuntime configuration before running the build. - /* hadoopClusterRuntime */ runtime { + hadoopClusterRuntime { like that. We forgot to add that in the README . I think your right, its better if we just fix it here. I'll test this fix later if you don't beat me to it ! Thanks Jörn Franke for noting this !
        Hide
        jayunit100 jay vyas added a comment -

        heres the one liner to fix.
        can i get a quick +1 from someone
        thanks!

        Show
        jayunit100 jay vyas added a comment - heres the one liner to fix. can i get a quick +1 from someone thanks!
        Hide
        jornfranke Jörn Franke added a comment -

        +1

        Show
        jornfranke Jörn Franke added a comment - +1
        Hide
        jayunit100 jay vyas added a comment -

        commited ! thanks for finding this jorn. Looking forward to BIGTOP-1414 , and let us know if any other issues come up !

        Show
        jayunit100 jay vyas added a comment - commited ! thanks for finding this jorn. Looking forward to BIGTOP-1414 , and let us know if any other issues come up !
        Hide
        mgrover Mark Grover added a comment -

        +1

        Jay, you typically need a committer +1 before committing, fyi

        Show
        mgrover Mark Grover added a comment - +1 Jay, you typically need a committer +1 before committing, fyi
        Hide
        jayunit100 jay vyas added a comment -

        thanks mark ,,, just saw

        Show
        jayunit100 jay vyas added a comment - thanks mark ,,, just saw

          People

          • Assignee:
            jayunit100 jay vyas
            Reporter:
            jornfranke Jörn Franke
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development