quickstep-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zuyu <...@git.apache.org>
Subject [GitHub] incubator-quickstep pull request #150: Added DistributedCli executable.
Date Tue, 29 Nov 2016 09:39:39 GMT
GitHub user zuyu opened a pull request:


    Added DistributedCli executable.

    Hi, @pateljm 
    This PR added a single binary for the distributed version. Note that it requires `proto3`
and `grpc` to build. On Mac, we could simply [use `brew`](https://github.com/grpc/homebrew-grpc)
to install them.
    To run the multiple-`Shiftboss`, distributed Quickstep, we use the following commands:
    $ cd build
    $ mkdir distributed
    $ cd distributed
    $ mkdir cli cli2 conductor executor executor2
    Terminal0 $ ../third_party/tmb/tmb_net_server --tmb_implementation=purememory
    Terminal1 $ cd conductor && ../../quickstep_distributed_cli_shell --role=conductor
    Terminal2 $ cd executor && ../../quickstep_distributed_cli_shell --role=executor
    Terminal3 $ cd cli && ../../quickstep_distributed_cli_shell --role=cli
    Terminal4 $ cd executor2 && ../../quickstep_distributed_cli_shell --role=executor
    Terminal5 $ cd cli2 && ../../quickstep_distributed_cli_shell --role=cli
    Note that this is for a simple demo, so we do not need to create storage paths. In addition,
we could add more `Shiftboss`es, as long as there is no query running (we should relax this
requirement in the future). Finally, we could add `cli` on the fly, and the distributed version
allows multiple concurrent analytical queries submitted from different `cli`s to execute.

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

    $ git pull https://github.com/apache/incubator-quickstep dist-executable

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


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

    This closes #150
commit c91a53234cfe5d84add9f3b549fce04388892038
Author: Zuyu Zhang <zuyuz@apache.org>
Date:   2016-11-28T06:32:24Z

    Added DistributedCli executable.


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message