Skip to content

Commit

Permalink
Removes log level hacks from TestHiveContext
Browse files Browse the repository at this point in the history
  • Loading branch information
liancheng committed Oct 10, 2014
1 parent d116405 commit af2b5a9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,6 @@ class TestHiveContext(sc: SparkContext) extends HiveContext(sc) {
*/
def reset() {
try {
// HACK: Hive is too noisy by default.
org.apache.log4j.LogManager.getCurrentLoggers.foreach { log =>
log.asInstanceOf[org.apache.log4j.Logger].setLevel(org.apache.log4j.Level.WARN)
}

clearCache()
loadedTables.clear()
catalog.client.getAllTables("default").foreach { t =>
Expand Down

0 comments on commit af2b5a9

Please sign in to comment.