hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Beaudreault <bbeaudrea...@hubspot.com>
Subject ExportSnapshot very slow. bug?
Date Fri, 08 Nov 2013 18:54:23 GMT
Hello all.  I'm trying out the ExportSnapshot tool and it is extremely
slow.  I took a look at the code and I think I know why.


In step 1 it is for some reason copying from fs1 to fs2.  This basically
means in a single threaded process we are copying an entire hbase table to
another cluster.  I can understand wanting to copy from fs1 to fs1 (i.e.
different path on same fs), so as to dereference all the soft links of the
snapshots.  But why between filesystems?

In step 2 you finally do the MR job, which makes much more sense, but as
far as I can tell all of the files would already exist, as FileUtils.copy
just does a recursive copy of all paths in a tree.

Am I missing something?  I appreciate any input.

- Bryan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message