Hi Martin, Have a look at the waitForReplication() function in FsShell.java in hadoop-common. It does what you're looking for.
-Todd On Mon, Mar 28, 2011 at 1:18 PM, Martin Serrano <mar...@attivio.com> wrote: > Is there a way to determine how many complete replicas there are of a > file? That is, can I find out that the async replication has completed? > And how many replicas are complete? I’d like to do this via the Java API. > > > > Thanks, > > Martin > > > -- Todd Lipcon Software Engineer, Cloudera