MAPREDUCE-7285. Junit class missing from hadoop-mapreduce-client-jobclient-*-tests jar. (#2139)

This commit is contained in:
Masatake Iwasaki 2020-07-15 15:24:34 +09:00 committed by GitHub
parent 8980c23fc2
commit 80046d1c8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,15 +31,12 @@
import java.util.TreeSet; import java.util.TreeSet;
import java.util.Vector; import java.util.Vector;
import junit.framework.TestCase;
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.SequenceFile; import org.apache.hadoop.io.SequenceFile;
import org.apache.hadoop.io.Text; import org.apache.hadoop.io.Text;
import org.apache.hadoop.io.SequenceFile.CompressionType; import org.apache.hadoop.io.SequenceFile.CompressionType;
import org.apache.hadoop.mapred.*; import org.apache.hadoop.mapred.*;
import org.junit.Ignore;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -53,8 +50,7 @@
* Optionally displays statistics on read performance. * Optionally displays statistics on read performance.
* *
*/ */
@Ignore public class DistributedFSCheck {
public class DistributedFSCheck extends TestCase {
// Constants // Constants
private static final Logger LOG = private static final Logger LOG =
LoggerFactory.getLogger(DistributedFSCheck.class); LoggerFactory.getLogger(DistributedFSCheck.class);