-Re: Copy table between clusters
Roshan Punnoose 2013-10-22, 20:24
That looks exactly like the problem I'm seeing. Great that it is fixed! I
ended up just writing a DistCpTable MR job similar to the Hadoop DistCp job
for now. I'd rather just move the tablet files over, but for now this
works. When we upgrade to 1.6.0 I'll switch to using export/import table.
On Tue, Oct 22, 2013 at 3:56 PM, Keith Turner <[EMAIL PROTECTED]> wrote:
> Do you know if you are running into ACCUMULO-1558? I fixed that recently.
> If for some reason import table can not find a file listed in the import
> file, it just silently ignores the problem.
> On Tue, Oct 22, 2013 at 2:25 PM, Roshan Punnoose <[EMAIL PROTECTED]>
> > Whenever I try to import the table on the other cluster, the table comes
> > up; however, the tablet files in HDFS are empty. The tablet directories
> > exist, but no "rf" files are in there. I distcp'd all the locations
> > specified in the distcp.txt file, and then ran the importtable on the
> > second cluster.
> > On Tue, Oct 22, 2013 at 10:40 AM, Eric Newton <[EMAIL PROTECTED]>
> > wrote:
> > > Clone the table, offline the clone, export the clone, distcp, and
> > > import the table. Optionally, delete the clone when you are done with
> > > the distcp.
> > >
> > > -Eric
> > >
> > >
> > > On Tue, Oct 22, 2013 at 10:03 AM, Roshan Punnoose <[EMAIL PROTECTED]>
> > > wrote:
> > > > What is the best way to copy a table between two separate Accumulo
> > > > clusters. My initial thought was to export the table, use the Hadoop
> > > DistCp
> > > > to copy the files over to the new cluster, and then import the table.
> > >