@@ -277,31 +277,29 @@ public final class HadoopFileSystem extends FileSystem implements HadoopFileSyst
}
if(configEntry==null){
thrownewIOException(getMissingAuthorityErrorPrefix(path)+"Either no default hdfs configuration was registered, "+
"or that configuration did not contain an entry for the default hdfs.");
thrownewIOException(getMissingAuthorityErrorPrefix(path)+"Either no default file system (hdfs) configuration was registered, "+
"or that configuration did not contain an entry for the default file system (usually 'fs.defaultFS').");
}else{
try{
URIinitURI=URI.create(configEntry);
if(initURI.getAuthority()==null){
thrownewIOException(getMissingAuthorityErrorPrefix(path)+"Either no default hdfs configuration was registered, "+
"or the provided configuration contains no valid hdfs namenode address (fs.default.name or fs.defaultFS) describing the hdfs namenode host and port.");