Skip to content

Commit

Permalink
use conf from state
Browse files Browse the repository at this point in the history
  • Loading branch information
ericl committed Jun 24, 2015
1 parent 0e3a74e commit 2d54b55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private[hive] class ClientWrapper(
s"(${retryLimit - numTries} tries remaining)", e)
Thread.sleep(retryDelayMillis)
try {
client = Hive.get(conf, true)
client = Hive.get(state.getConf, true)
} catch {
case e: Exception if causedByThrift(e) =>
logWarning("Failed to refresh hive client, will retry.", e)
Expand Down

0 comments on commit 2d54b55

Please sign in to comment.