code: public static FileSystem connect() throws IOException {
  	Configuration configuration = HadoopClientHelper.createConfiguration();
  	return FileSystem.get(configuration);
      }
docs: This method connects to Hadoop. The configuration for the client is looked up
  in /opt/hadoop. The Hadoop etc directory is expected there.
  
  @return A {@link FileSystem} object is returned to be used from the client.
  @throws IOException
  is thrown in cases of unexpected events.