Example usage for Java org.apache.hadoop.hdfs DFSUtil fields, constructors, methods, implement or subclass
The text is from its open source code.
String | addKeySuffixes(String key, String... suffixes) Return configuration key of format key.suffix1.suffix2...suffixN |
String | bytes2String(byte[] bytes) Converts a byte array to a string using UTF8 encoding. |
URI | getInfoServer(InetSocketAddress namenodeAddr, Configuration conf, String scheme) return server http or https address from the configuration for a given namenode rpc address. |
String | getNamenodeNameServiceId(Configuration conf) Get nameservice Id for the NameNode based on namenode RPC address matching the local node address. |
String | getNamenodeServiceAddr(final Configuration conf, String nsId, String nnId) Map a logical namenode ID to its service address. |
boolean | isValidName(String src) Whether the pathname is valid. |
boolean | parseHelpArgument(String[] args, String helpDescription, PrintStream out, boolean printGenericCommandUsage) Parse the arguments for commands |
void | setGenericConf(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. |