Example usage for org.apache.hadoop.hdfs.web.resources UserParam NAME

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

Introduction

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

Prototype

String NAME

To view the source code for org.apache.hadoop.hdfs.web.resources UserParam NAME.

Click Source Link

Document

Parameter name.

Usage

From source file:com.wandisco.s3hdfs.rewrite.wrapper.WebHdfsRequestWrapper.java

License:Apache License

@Override
public String getParameter(final String name) {
    if (name.equals(UserParam.NAME))
        return s3HdfsPath.getUserName();
    return super.getParameter(name);
}