HADOOP-7102. Remove "fs.ramfs.impl" field from core-deafult.xml. Contributed by Konstantin Shvachko.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1058343 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
db70f56cb7
commit
f395f67d62
|
@ -258,6 +258,8 @@ Release 0.22.0 - Unreleased
|
||||||
HADOOP-6811. Remove EC2 bash scripts. They are replaced by Apache Whirr
|
HADOOP-6811. Remove EC2 bash scripts. They are replaced by Apache Whirr
|
||||||
(incubating, http://incubator.apache.org/whirr). (tomwhite)
|
(incubating, http://incubator.apache.org/whirr). (tomwhite)
|
||||||
|
|
||||||
|
HADOOP-7102. Remove "fs.ramfs.impl" field from core-deafult.xml (shv)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..).
|
HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..).
|
||||||
|
|
|
@ -297,12 +297,6 @@
|
||||||
</description>
|
</description>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property>
|
|
||||||
<name>fs.ramfs.impl</name>
|
|
||||||
<value>org.apache.hadoop.fs.InMemoryFileSystem</value>
|
|
||||||
<description>The FileSystem for ramfs: uris.</description>
|
|
||||||
</property>
|
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
<name>fs.har.impl</name>
|
<name>fs.har.impl</name>
|
||||||
<value>org.apache.hadoop.fs.HarFileSystem</value>
|
<value>org.apache.hadoop.fs.HarFileSystem</value>
|
||||||
|
|
|
@ -3371,9 +3371,6 @@ public class SequenceFile {
|
||||||
public boolean nextRawKey() throws IOException {
|
public boolean nextRawKey() throws IOException {
|
||||||
if (in == null) {
|
if (in == null) {
|
||||||
int bufferSize = getBufferSize(conf);
|
int bufferSize = getBufferSize(conf);
|
||||||
if (fs.getUri().getScheme().startsWith("ramfs")) {
|
|
||||||
bufferSize = conf.getInt("io.bytes.per.checksum", 512);
|
|
||||||
}
|
|
||||||
Reader reader = new Reader(conf,
|
Reader reader = new Reader(conf,
|
||||||
Reader.file(segmentPathName),
|
Reader.file(segmentPathName),
|
||||||
Reader.bufferSize(bufferSize),
|
Reader.bufferSize(bufferSize),
|
||||||
|
|
Loading…
Reference in New Issue