Skip to content

Commit

Permalink
BUGFIX Updating AnalyticJobGeneratorHadoop2.java to resolve the Job l…
Browse files Browse the repository at this point in the history
…isting Conflict (#302)
  • Loading branch information
shahrukhkhan489 authored and akshayrai committed Nov 7, 2017
1 parent bac4079 commit 25fdefa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ private void updateAuthToken() {
*/
private JsonNode readJsonNode(URL url)
throws IOException, AuthenticationException {
HttpURLConnection conn = _authenticatedURL.openConnection(url, _token);
return _objectMapper.readTree(conn.getInputStream());
return _objectMapper.readTree(url.openStream());
}

/**
Expand Down

0 comments on commit 25fdefa

Please sign in to comment.