Java org.apache.hadoop.hdfs DFSUtil fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.hdfs DFSUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.hdfs DFSUtil.

The text is from its open source code.

Method

StringaddKeySuffixes(String key, String... suffixes)
Return configuration key of format key.suffix1.suffix2...suffixN
Stringbytes2String(byte[] bytes)
Converts a byte array to a string using UTF8 encoding.
URIgetInfoServer(InetSocketAddress namenodeAddr, Configuration conf, String scheme)
return server http or https address from the configuration for a given namenode rpc address.
StringgetNamenodeNameServiceId(Configuration conf)
Get nameservice Id for the NameNode based on namenode RPC address matching the local node address.
StringgetNamenodeServiceAddr(final Configuration conf, String nsId, String nnId)
Map a logical namenode ID to its service address.
booleanisValidName(String src)
Whether the pathname is valid.
booleanparseHelpArgument(String[] args, String helpDescription, PrintStream out, boolean printGenericCommandUsage)
Parse the arguments for commands
voidsetGenericConf(Configuration conf, String nameserviceId, String nnId, String... keys)
Sets the node specific setting into generic configuration key.
byte[]string2Bytes(String str)
Converts a string to a byte array using UTF8 encoding.