I think you can do something along the lines of:

echo "use <namespace>; select * from <table> DISPLAY_TIMESTAMPS;" |
 /opt/hypertable/current/bin/ht shell --batch |
 /opt/hypertable/current/bin/ht shell --batch -e 'load data infile "-" into
<table>;' --Hypertable.Master.Host <remote-master-host>
--Hypertable.Master.Port 38050 --Hyperspace.Replica.Host
<remote-master-host> --Hyperspace.Replica.Port 38040

Where <namespace> is be replaced with the namespace that contains your
table and <table> is replaced with your table name, and
<remote-master-host>is replaced with the hostname of the master of the
new cluster you would
like to populate.

- Doug


On Wed, Sep 11, 2013 at 1:21 AM, Mehmet Ali Cetinkaya <
[email protected]> wrote:

> Hi,
>
> We have 1 master + 7 datanode cluster. And we want to take a mirror of all
> hypertable datas. Because, we need 2 different test cluster but same datas
> .
>
> what's the best and easy solution?
>
> Best regards,
> mali
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hypertable Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/hypertable-dev.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Doug Judd
CEO, Hypertable Inc.

-- 
You received this message because you are subscribed to the Google Groups 
"Hypertable Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hypertable-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to