Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress parquet logging in FieldEnumerationSuite #30

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
*/
package edu.berkeley.cs.amplab.adam.projections

import edu.berkeley.cs.amplab.adam.util.SparkFunSuite
import edu.berkeley.cs.amplab.adam.util.{ParquetLogger, SparkFunSuite}
import edu.berkeley.cs.amplab.adam.rdd.AdamContext._
import edu.berkeley.cs.amplab.adam.avro.{ADAMVariant, ADAMRecord}
import org.apache.spark.rdd.RDD
import java.io.File
import org.scalatest.BeforeAndAfter
import java.util.logging.Level

class FieldEnumerationSuite extends SparkFunSuite with BeforeAndAfter {

Expand All @@ -29,6 +30,8 @@ class FieldEnumerationSuite extends SparkFunSuite with BeforeAndAfter {
var variantsParquetFile : File = null

sparkBefore("fieldenumerationsuite_before") {
ParquetLogger.hadoopLoggerLevel(Level.SEVERE)

readsFilepath = ClassLoader.getSystemClassLoader.getResource("reads12.sam").getFile
val file = new File(readsFilepath)

Expand Down