Hey Jason,

There are some non-public APIs to do this -- have a look at how the
Balancer works - the dispatch() function is the guts you're looking
for. It might be nice to expose this functionality as a "limited
private evolving" API.

In general, though, keep in mind that, whenever you write data, you'll
get a local copy first, if the writer is in the cluster. That's how
HBase gets locality for most of its accesses.

-Todd

On Thu, May 26, 2011 at 11:36 AM, Jason Rutherglen
<jason.rutherg...@gmail.com> wrote:
> Is there a way to send a request to the name node to replicate
> block(s) to a specific DataNode?  If not, what would be a way to do
> this?  -Thanks
>



-- 
Todd Lipcon
Software Engineer, Cloudera

Reply via email to