Example usage for org.apache.hadoop.hdfs DFSConfigKeys DFS_NAMENODE_HTTP_PORT_DEFAULT

List of usage examples for org.apache.hadoop.hdfs DFSConfigKeys DFS_NAMENODE_HTTP_PORT_DEFAULT

Introduction

In this page you can find the example usage for org.apache.hadoop.hdfs DFSConfigKeys DFS_NAMENODE_HTTP_PORT_DEFAULT.

Prototype

int DFS_NAMENODE_HTTP_PORT_DEFAULT

To view the source code for org.apache.hadoop.hdfs DFSConfigKeys DFS_NAMENODE_HTTP_PORT_DEFAULT.

Click Source Link

Usage

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

License:Apache License

@Override
@VisibleForTesting/*from  ww  w  . ja va2  s  . co m*/
public int getDefaultPort() {
    return getConf().getInt(DFSConfigKeys.DFS_NAMENODE_HTTP_PORT_KEY,
            DFSConfigKeys.DFS_NAMENODE_HTTP_PORT_DEFAULT);
}