Example usage for org.apache.hadoop.hdfs.web.resources ConcatSourcesParam ConcatSourcesParam

List of usage examples for org.apache.hadoop.hdfs.web.resources ConcatSourcesParam ConcatSourcesParam

Introduction

In this page you can find the example usage for org.apache.hadoop.hdfs.web.resources ConcatSourcesParam ConcatSourcesParam.

Prototype

public ConcatSourcesParam(Path[] paths) 

Source Link

Usage

From source file:com.bigstep.datalake.DLFileSystem.java

License:Apache License

@Override
public void concat(final Path trg, final Path[] srcs) throws IOException {
    statistics.incrementWriteOps(1);/*w w  w  .j  a v  a  2 s .  c  om*/
    final HttpOpParam.Op op = PostOpParam.Op.CONCAT;
    new FsPathRunner(op, trg, new ConcatSourcesParam(srcs)).run();
}