Description
The ClientDSL for HDFS shoud provide the rename method.
It could be easily done with something like that :
protected Callable<Rename.Response> callable() { return new Callable<Rename.Response>() { @Override public Rename.Response call() throws Exception { URIBuilder uri = uri( Hdfs.SERVICE_PATH, file ); addQueryParam( uri, "op", "RENAME" ); addQueryParam( uri, "destination", to ); HttpPut request = new HttpPut( uri.build() ); return new Rename.Response( execute( request ) ); } }; }