HBASE-19848 Zookeeper thread leaks in hbase-spark bulkLoad method (Key Hutu)
This commit is contained in:
parent
2f4d0b94bc
commit
8143d5afa4
|
@ -706,6 +706,7 @@ class HBaseContext(@transient sc: SparkContext,
|
||||||
compactionExclude)
|
compactionExclude)
|
||||||
rollOverRequested = false
|
rollOverRequested = false
|
||||||
})
|
})
|
||||||
|
if(null != conn) conn.close()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -868,6 +869,7 @@ class HBaseContext(@transient sc: SparkContext,
|
||||||
compactionExclude)
|
compactionExclude)
|
||||||
rollOverRequested = false
|
rollOverRequested = false
|
||||||
})
|
})
|
||||||
|
if(null != conn) conn.close()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue