Import/Export and Bulk operations

Dan Kerrigan dan.kerrigan at gmail.com
Tue Feb 26 15:21:20 EST 2013


Kevin -

There shouldn't be a major issue simply moving data from one place to
another if the app.config values are different.

Regarding the host, leave off the riak@ part.  The command would then be:

java -jar riak-data-migrator-0.1.3.jar  -d -a -r ~/riak-dump -h
172.16.33.107 <riak at 172.16.33.107>

- Dan


On Tue, Feb 26, 2013 at 3:04 PM, Kevin Burton <rkevinburton at charter.net>wrote:

> I have a question about the usage of this tool. I have data locally that I
> would like to export to another riak server to test the dataset. The local
> “server” is a cluster and the machine I want to transfer to is just a
> single machine. I notice in the documentation that there is a “warning”
> about the app.config values must be the same on the two machines before
> this tool can be used. Naturally since I have a cluster of 4 machines as
> the source and only one machine as the destination the app.config will be
> different. Is this a problem.  ****
>
> The cluster of machines all have basically private addresses the
> destination server has a public IP address. So I want to transfer from the
> source to the destination. I am assuming that I would run the tool on one
> of the source clusters and the –h option (for the host) would be the public
> IP address of the single Riak server. Right?****
>
> When I run it from the source to create file dumps with:****
>
> ** **
>
> java -jar riak-data-migrator-0.1.3.jar  -d -a -r ~/riak-dump -h
> riak at 172.16.33.107****
>
> ** **
>
> I get the following output:****
>
> ** **
>
> Port not specified, using the default: 8087****
>
> HTTP port not specified, using the default: 8098****
>
> Could not connect to Riak on PB port 8087****
>
> ** **
>
> So apparently it throw an error. If I look in the app.config it seems that
> the port is enabled. Any idea what the problem is?****
>
> ** **
>
> {riak_api, [****
>
> . . . .****
>
>             {pb_port, 8087 }****
>
>             ]},****
>
> ** **
>
> *From:* riak-users [mailto:riak-users-bounces at lists.basho.com] *On Behalf
> Of *Dmitri Zagidulin
> *Sent:* Friday, February 22, 2013 10:02 AM
> *To:* riak-users
> *Subject:* Re: Import/Export and Bulk operations****
>
> ** **
>
> Ok, the 0.1.4 binary download link should be working now.****
>
> On Fri, Feb 22, 2013 at 9:13 AM, Chris Read <chris.read at gmail.com> wrote:*
> ***
>
> The README on the git repo refers to version 0.1.4, but the link to the
> download is broken...****
>
> ** **
>
> On Wed, Feb 20, 2013 at 12:07 PM, Hector Castro <hector at basho.com> wrote:*
> ***
>
> Hi Kevin,****
>
> ** **
>
> The riak-data-migrator [0] is a tool used by our own professional services
> team for bulk data import/export. The prebuilt JAR can be downloaded here
> [1].****
>
> ** **
>
> [0] https://github.com/dankerrigan/riak-data-migrator****
>
> [1]
> http://ps-tools.data.riakcs.net:8080/riak-data-migrator-0.1.3-bin.tar.gz**
> **
>
> ** **
>
> --****
>
> Hector****
>
> ** **
>
> On Wed, Feb 20, 2013 at 5:33 AM, Kevin Burton <rkevinburton at charter.net>
> wrote:****
>
>  ****
>
> I was wondering if there were any import/export or bulk data operations
> that I was missing? I would like to “clone” a bucket from one machine to
> another but I would like to avoid having to do it one item at a time.****
>
> ** **
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com****
>
> ** **
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com****
>
> ** **
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com****
>
> ** **
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130226/f12b6187/attachment.html>


More information about the riak-users mailing list