LOG.debug("Enabling OAuth2 in WebHDFS"); connectionFactory = URLConnectionFactory .newOAuth2URLConnectionFactory(connectTimeout, readTimeout, conf); } else { LOG.debug("Not enabling OAuth2 in WebHDFS");
LOG.debug("Enabling OAuth2 in WebHDFS"); connectionFactory = URLConnectionFactory .newOAuth2URLConnectionFactory(connectTimeout, readTimeout, conf); } else { LOG.debug("Not enabling OAuth2 in WebHDFS");