HADOOP-8290. Remove remaining references to hadoop.native.lib (harsh) (fixed commit)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1327611 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
14c61e6504
commit
3ac28085a7
|
@ -63,8 +63,6 @@ Trunk (unreleased changes)
|
||||||
|
|
||||||
HADOOP-8117. Upgrade test build to Surefire 2.12 (todd)
|
HADOOP-8117. Upgrade test build to Surefire 2.12 (todd)
|
||||||
|
|
||||||
HADOOP-8290. Remove remaining references to hadoop.native.lib (harsh)
|
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
||||||
HADOOP-8177. MBeans shouldn't try to register when it fails to create MBeanName.
|
HADOOP-8177. MBeans shouldn't try to register when it fails to create MBeanName.
|
||||||
|
|
|
@ -756,8 +756,7 @@ public class TestCodec {
|
||||||
|
|
||||||
// Don't use native libs for this test.
|
// Don't use native libs for this test.
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
||||||
conf.setBoolean(CommonConfigurationKeys.IO_NATIVE_LIB_AVAILABLE_KEY,
|
conf.setBoolean("hadoop.native.lib", false);
|
||||||
false);
|
|
||||||
assertFalse("ZlibFactory is using native libs against request",
|
assertFalse("ZlibFactory is using native libs against request",
|
||||||
ZlibFactory.isNativeZlibLoaded(conf));
|
ZlibFactory.isNativeZlibLoaded(conf));
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,6 @@ import org.apache.commons.cli.Option;
|
||||||
import org.apache.commons.cli.OptionBuilder;
|
import org.apache.commons.cli.OptionBuilder;
|
||||||
import org.apache.commons.cli.Options;
|
import org.apache.commons.cli.Options;
|
||||||
import org.apache.commons.cli.ParseException;
|
import org.apache.commons.cli.ParseException;
|
||||||
import org.apache.hadoop.fs.CommonConfigurationKeys;
|
|
||||||
import org.apache.hadoop.conf.Configuration;
|
import org.apache.hadoop.conf.Configuration;
|
||||||
import org.apache.hadoop.fs.FSDataInputStream;
|
import org.apache.hadoop.fs.FSDataInputStream;
|
||||||
import org.apache.hadoop.fs.FSDataOutputStream;
|
import org.apache.hadoop.fs.FSDataOutputStream;
|
||||||
|
@ -238,8 +237,7 @@ public class TestTFileSeqFileComparison extends TestCase {
|
||||||
public SeqFileAppendable(FileSystem fs, Path path, int osBufferSize,
|
public SeqFileAppendable(FileSystem fs, Path path, int osBufferSize,
|
||||||
String compress, int minBlkSize) throws IOException {
|
String compress, int minBlkSize) throws IOException {
|
||||||
Configuration conf = new Configuration();
|
Configuration conf = new Configuration();
|
||||||
conf.setBoolean(CommonConfigurationKeys.IO_NATIVE_LIB_AVAILABLE_KEY,
|
conf.setBoolean("hadoop.native.lib", true);
|
||||||
true);
|
|
||||||
|
|
||||||
CompressionCodec codec = null;
|
CompressionCodec codec = null;
|
||||||
if ("lzo".equals(compress)) {
|
if ("lzo".equals(compress)) {
|
||||||
|
|
Loading…
Reference in New Issue