List of usage examples for org.apache.hadoop.hdfs.server.namenode NameNode DEFAULT_PORT
int DEFAULT_PORT
To view the source code for org.apache.hadoop.hdfs.server.namenode NameNode DEFAULT_PORT.
Click Source Link
From source file:com.mellanox.r4h.DistributedFileSystem.java
License:Apache License
@Override protected int getDefaultPort() { return NameNode.DEFAULT_PORT; }
From source file:org.apache.solr.hadoop.PathParts.java
License:Apache License
public int getPort() { int port = normalizedPath.toUri().getPort(); if (port == -1) { port = fs.getWorkingDirectory().toUri().getPort(); if (port == -1) { port = NameNode.DEFAULT_PORT; }// w w w .j a va 2 s .c o m } return port; }