Example usage for org.apache.hadoop.fs.permission FsPermission read

List of usage examples for org.apache.hadoop.fs.permission FsPermission read

Introduction

In this page you can find the example usage for org.apache.hadoop.fs.permission FsPermission read.

Prototype

public static FsPermission read(DataInput in) throws IOException 

Source Link

Document

Create and initialize a FsPermission from DataInput .

Usage

From source file:gobblin.data.management.copy.OwnerAndPermission.java

License:Apache License

@Override
public void readFields(DataInput dataInput) throws IOException {
    this.owner = Text.readString(dataInput);
    this.group = Text.readString(dataInput);
    this.fsPermission = FsPermission.read(dataInput);
}