public boolean setReplication ( String src , short replication ) throws IOException { try { return namenode . setReplication ( src , replication ) ; } catch ( RemoteException re ) { throw re . unwrapRemoteException ( AccessControlException . class , NSQuotaExceededException . class , DSQuotaExceededException . class ) ; } }
Set replication for an existing file .