Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.4.0
    • Component/s: Tests
    • Labels:

      Description

      Adding an HBase balancer smoke test.

      This test exercises the balancer tool through the HBase shell. Currently, it checks that the balance_switch correctly enables/disables the balancer, and attempts to run the balancer.

      For reasons such as regions stuck in transition or cluster already balanced, the balancer might not run. Future balancer tests will unbalance the cluster and make sure the balancer finishes before completing the test.

        Activity

        Hide
        Stephen Chu added a comment -

        Attached is a patch that adds the HBase balancer smoke test.

        Show
        Stephen Chu added a comment - Attached is a patch that adds the HBase balancer smoke test.
        Hide
        Roman Shaposhnik added a comment -

        I can't seem to be able to compile it:

        $ cd bigtop-tests/test-artifacts/hbase]
        $ mvn clean install
        ....
        [INFO] ------------------------------------------------------------------------
        [INFO] BUILD FAILURE
        [INFO] ------------------------------------------------------------------------
        [INFO] Total time: 3.191s
        [INFO] Finished at: Fri Jun 15 12:21:41 PDT 2012
        [INFO] Final Memory: 14M/212M
        [INFO] ------------------------------------------------------------------------
        [ERROR] Failed to execute goal org.codehaus.groovy.maven:gmaven-plugin:1.0:generateStubs (default) on project hbase-smoke: syntax error @[21,1] in UNKNOWN SOURCE -> [Help 1]
        org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.groovy.maven:gmaven-plugin:1.0:generateStubs (default) on project hbase-smoke: syntax error @[21,1] in UNKNOWN SOURCE
        
        Show
        Roman Shaposhnik added a comment - I can't seem to be able to compile it: $ cd bigtop-tests/test-artifacts/hbase] $ mvn clean install .... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.191s [INFO] Finished at: Fri Jun 15 12:21:41 PDT 2012 [INFO] Final Memory: 14M/212M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.groovy.maven:gmaven-plugin:1.0:generateStubs (default) on project hbase-smoke: syntax error @[21,1] in UNKNOWN SOURCE -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.groovy.maven:gmaven-plugin:1.0:generateStubs (default) on project hbase-smoke: syntax error @[21,1] in UNKNOWN SOURCE
        Hide
        Stephen Chu added a comment -

        I'll look into it. Sorry about the trouble.

        Show
        Stephen Chu added a comment - I'll look into it. Sorry about the trouble.
        Hide
        Stephen Chu added a comment -

        One of the multi-line comments opened with "/" instead of "/*".

        I remember fixing this, but I probably didn't git add this change before doing "git diff --cached --no-prefix".

        Sorry about the trouble. Attached is the fixed patch.

        Show
        Stephen Chu added a comment - One of the multi-line comments opened with "/ " instead of "/ *". I remember fixing this, but I probably didn't git add this change before doing "git diff --cached --no-prefix". Sorry about the trouble. Attached is the fixed patch.
        Hide
        Roman Shaposhnik added a comment -

        No problem at all – thanks for taking care of this. +1 and committed.

        Show
        Roman Shaposhnik added a comment - No problem at all – thanks for taking care of this. +1 and committed.

          People

          • Assignee:
            Stephen Chu
            Reporter:
            Stephen Chu
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development