Skip to content

Commit c5eeadf

Browse files
committed
HADOOP-6989. Correct the parameter for SetFile to set the value type
for SetFile to be NullWritable instead of the key. (jghoman via omalley) git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1004539 13f79535-47bb-0310-9956-ffa450edef68
1 parent 65238ea commit c5eeadf

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

CHANGES.txt

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ Trunk (unreleased changes)
146146

147147
BUG FIXES
148148

149-
HADOOP-6638. try to relogin in a case of failed RPC connection (expired tgt)
150-
only in case the subject is loginUser or proxyUgi.realUser. (boryas)
149+
HADOOP-6638. try to relogin in a case of failed RPC connection (expired
150+
tgt) only in case the subject is loginUser or proxyUgi.realUser. (boryas)
151151

152152
HADOOP-6781. security audit log shouldn't have exception in it. (boryas)
153153

@@ -156,8 +156,8 @@ Trunk (unreleased changes)
156156

157157
HADOOP-6764. Remove verbose logging from the Groups class. (Boris Shkolnik)
158158

159-
HADOOP-6730. Bug in FileContext#copy and provide base class for FileContext
160-
tests. (Ravi Phulari via jghoman)
159+
HADOOP-6730. Bug in FileContext#copy and provide base class for
160+
FileContext tests. (Ravi Phulari via jghoman)
161161

162162
HADOOP-6669. Respect compression configuration when creating DefaultCodec
163163
instances. (Koji Noguchi via cdouglas)
@@ -169,7 +169,8 @@ Trunk (unreleased changes)
169169
glob pattern code less restrictive and more POSIX standard
170170
compliant. (Luke Lu via eli)
171171

172-
HADOOP-6649. login object in UGI should be inside the subject (jnp via boryas)
172+
HADOOP-6649. login object in UGI should be inside the subject (jnp via
173+
boryas)
173174

174175
HADOOP-6687. user object in the subject in UGI should be reused in case
175176
of a relogin. (jnp via boryas)
@@ -186,8 +187,8 @@ Trunk (unreleased changes)
186187
HADOOP-6682. NetUtils:normalizeHostName does not process hostnames starting
187188
with [a-f] correctly. (jghoman)
188189

189-
HADOOP-6652. Removes the unnecessary cache from ShellBasedUnixGroupsMapping.
190-
(ddas)
190+
HADOOP-6652. Removes the unnecessary cache from
191+
ShellBasedUnixGroupsMapping. (ddas)
191192

192193
HADOOP-6815. refreshSuperUserGroupsConfiguration should use server side
193194
configuration for the refresh (boryas)
@@ -216,8 +217,8 @@ Trunk (unreleased changes)
216217
HADOOP-6715. Fixes AccessControlList.toString() to return a descriptive
217218
String representation of the ACL. (Ravi Gummadi via amareshwari)
218219

219-
HADOOP-6885. Fix java doc warnings in Groups and RefreshUserMappingsProtocol.
220-
(Eli Collins via jghoman)
220+
HADOOP-6885. Fix java doc warnings in Groups and
221+
RefreshUserMappingsProtocol. (Eli Collins via jghoman)
221222

222223
HADOOP-6482. GenericOptionsParser constructor that takes Options and
223224
String[] ignores options. (Eli Collins via jghoman)
@@ -249,15 +250,18 @@ Trunk (unreleased changes)
249250
HADOOP-6930. AvroRpcEngine doesn't work with generated Avro code.
250251
(sharad)
251252

252-
HADOOP-6940. RawLocalFileSystem's markSupported method misnamed markSupport.
253-
(Tom White via eli).
253+
HADOOP-6940. RawLocalFileSystem's markSupported method misnamed
254+
markSupport. (Tom White via eli).
254255

255256
HADOOP-6951. Distinct minicluster services (e.g. NN and JT) overwrite each
256257
other's service policies. (Aaron T. Myers via tomwhite)
257258

258259
HADOOP-6879. Provide SSH based (Jsch) remote execution API for system
259260
tests (cos)
260261

262+
HADOOP-6989. Correct the parameter for SetFile to set the value type
263+
for SetFile to be NullWritable instead of the key. (jghoman via omalley)
264+
261265
Release 0.21.0 - Unreleased
262266

263267
INCOMPATIBLE CHANGES

src/java/org/apache/hadoop/io/SetFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public Writer(Configuration conf, FileSystem fs, String dirName,
5959
SequenceFile.CompressionType compress) throws IOException {
6060
super(conf, new Path(dirName),
6161
comparator(comparator),
62-
keyClass(NullWritable.class),
62+
valueClass(NullWritable.class),
6363
compressionType(compress));
6464
}
6565

0 commit comments

Comments
 (0)