Thanks!
I will try it.

Gerald

On Wed, Dec 22, 2010 at 12:26 PM, Harsh J <[email protected]> wrote:
> Hi,
>
> DFSClient.setReplication(pathStr, repFactor); will do it.
>
> http://hadoop.apache.org/hdfs/docs/r0.21.0/api/org/apache/hadoop/hdfs/DFSClient.html#setReplication(java.lang.String,
> short) is the API you're looking for.
>
> --
> Harsh J
> www.harshj.com
>

Reply via email to