Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1065

The \admin -cluster argument doesn't run as expected.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: SQL Shell
    • Labels:

      Description

      Currently, tajo command-line interface provides utilities for administrator. But the -cluster argument doesn't run as expected. It just print zero even thought there are one or more running daemons as follows:

      default> \admin -cluster;
      Query Master
      ============
      
      Live  Dead  Tasks
      ----- ----- -----
      0     0     0    
      
      Live QueryMasters
      =================
      
      No Live QueryMasters
      Worker
      ======
      
      Live  Dead 
      ----- -----
      0     0    
      
      Live Workers
      ============
      
      No Live Workers
      
      Dead Workers
      ============
      
      No Dead Workers
       

        Issue Links

          Activity

          Hide
          eminency Jongyoung Park added a comment -

          The cause is set of worker status is different between one of client and one of server.

          For example, client was checking "LIVE", not "RUNNING". But, server sends a status "RUNNING" for a live node.

          Show
          eminency Jongyoung Park added a comment - The cause is set of worker status is different between one of client and one of server. For example, client was checking "LIVE", not "RUNNING". But, server sends a status "RUNNING" for a live node.
          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user eminency opened a pull request:

          https://github.com/apache/tajo/pull/173

          TAJO-1065: The \admin -cluster argument doesn't run as expected.

          Worker status strings are fixed corresponding to information server providing.

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/eminency/tajo TAJO-1065

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/tajo/pull/173.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #173


          commit 2d4e08fc0a47495d2a476c8a7ca54679d645d827
          Author: Jongyoung Park <eminency@gmail.com>
          Date: 2014-09-30T14:10:24Z

          cluster info displaying is fixed in Tsql


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user eminency opened a pull request: https://github.com/apache/tajo/pull/173 TAJO-1065 : The \admin -cluster argument doesn't run as expected. Worker status strings are fixed corresponding to information server providing. You can merge this pull request into a Git repository by running: $ git pull https://github.com/eminency/tajo TAJO-1065 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tajo/pull/173.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #173 commit 2d4e08fc0a47495d2a476c8a7ca54679d645d827 Author: Jongyoung Park <eminency@gmail.com> Date: 2014-09-30T14:10:24Z cluster info displaying is fixed in Tsql
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user hyunsik commented on the pull request:

          https://github.com/apache/tajo/pull/173#issuecomment-57910880

          +1 LGTM!

          Show
          githubbot ASF GitHub Bot added a comment - Github user hyunsik commented on the pull request: https://github.com/apache/tajo/pull/173#issuecomment-57910880 +1 LGTM!
          Hide
          hyunsik Hyunsik Choi added a comment -

          just committed. Thank you Jongyoung for your contribution.

          Show
          hyunsik Hyunsik Choi added a comment - just committed. Thank you Jongyoung for your contribution.
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/tajo/pull/173

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/tajo/pull/173
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Tajo-master-CODEGEN-build #29 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/29/)
          TAJO-1065: The \admin -cluster argument doesn't run as expected. (Jongyoung Park via hyunsik) (hyunsik: rev 68b44da57e53f53e88bedc0bb7ac763c97f069a9)

          • CHANGES
          • tajo-client/src/main/java/org/apache/tajo/client/TajoAdmin.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-CODEGEN-build #29 (See https://builds.apache.org/job/Tajo-master-CODEGEN-build/29/ ) TAJO-1065 : The \admin -cluster argument doesn't run as expected. (Jongyoung Park via hyunsik) (hyunsik: rev 68b44da57e53f53e88bedc0bb7ac763c97f069a9) CHANGES tajo-client/src/main/java/org/apache/tajo/client/TajoAdmin.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Tajo-master-build #387 (See https://builds.apache.org/job/Tajo-master-build/387/)
          TAJO-1065: The \admin -cluster argument doesn't run as expected. (Jongyoung Park via hyunsik) (hyunsik: rev 68b44da57e53f53e88bedc0bb7ac763c97f069a9)

          • tajo-client/src/main/java/org/apache/tajo/client/TajoAdmin.java
          • CHANGES
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Tajo-master-build #387 (See https://builds.apache.org/job/Tajo-master-build/387/ ) TAJO-1065 : The \admin -cluster argument doesn't run as expected. (Jongyoung Park via hyunsik) (hyunsik: rev 68b44da57e53f53e88bedc0bb7ac763c97f069a9) tajo-client/src/main/java/org/apache/tajo/client/TajoAdmin.java CHANGES
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Tajo-block_iteration-branch-build #15 (See https://builds.apache.org/job/Tajo-block_iteration-branch-build/15/)
          TAJO-1065: The \admin -cluster argument doesn't run as expected. (Jongyoung Park via hyunsik) (hyunsik: rev 68b44da57e53f53e88bedc0bb7ac763c97f069a9)

          • CHANGES
          • tajo-client/src/main/java/org/apache/tajo/client/TajoAdmin.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Tajo-block_iteration-branch-build #15 (See https://builds.apache.org/job/Tajo-block_iteration-branch-build/15/ ) TAJO-1065 : The \admin -cluster argument doesn't run as expected. (Jongyoung Park via hyunsik) (hyunsik: rev 68b44da57e53f53e88bedc0bb7ac763c97f069a9) CHANGES tajo-client/src/main/java/org/apache/tajo/client/TajoAdmin.java

            People

            • Assignee:
              eminency Jongyoung Park
              Reporter:
              blrunner Jaehwa Jung
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development