code: @Override
    protected DFSClient getDFSClient(HttpServletRequest request)
        throws IOException {
      ServletContext context = getServletContext();
      Configuration conf = new Configuration((Configuration) context
          .getAttribute("name.conf"));
      UnixUserGroupInformation.saveToConf(conf,
          UnixUserGroupInformation.UGI_PROPERTY_NAME, getUGI(request));
      InetSocketAddress nameNodeAddr = (InetSocketAddress) context
          .getAttribute("name.node.address");
      return new DFSClient(nameNodeAddr, conf);
    }
docs: {@inheritDoc}