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
This commit is contained in:
Owen O'Malley 2010-10-05 06:54:38 +00:00
parent 95649aca30
commit 4bb06fbd0a
2 changed files with 16 additions and 12 deletions

View File

@ -146,8 +146,8 @@ Trunk (unreleased changes)
BUG FIXES BUG FIXES
HADOOP-6638. try to relogin in a case of failed RPC connection (expired tgt) HADOOP-6638. try to relogin in a case of failed RPC connection (expired
only in case the subject is loginUser or proxyUgi.realUser. (boryas) tgt) only in case the subject is loginUser or proxyUgi.realUser. (boryas)
HADOOP-6781. security audit log shouldn't have exception in it. (boryas) HADOOP-6781. security audit log shouldn't have exception in it. (boryas)
@ -156,8 +156,8 @@ Trunk (unreleased changes)
HADOOP-6764. Remove verbose logging from the Groups class. (Boris Shkolnik) HADOOP-6764. Remove verbose logging from the Groups class. (Boris Shkolnik)
HADOOP-6730. Bug in FileContext#copy and provide base class for FileContext HADOOP-6730. Bug in FileContext#copy and provide base class for
tests. (Ravi Phulari via jghoman) FileContext tests. (Ravi Phulari via jghoman)
HADOOP-6669. Respect compression configuration when creating DefaultCodec HADOOP-6669. Respect compression configuration when creating DefaultCodec
instances. (Koji Noguchi via cdouglas) instances. (Koji Noguchi via cdouglas)
@ -169,7 +169,8 @@ Trunk (unreleased changes)
glob pattern code less restrictive and more POSIX standard glob pattern code less restrictive and more POSIX standard
compliant. (Luke Lu via eli) compliant. (Luke Lu via eli)
HADOOP-6649. login object in UGI should be inside the subject (jnp via boryas) HADOOP-6649. login object in UGI should be inside the subject (jnp via
boryas)
HADOOP-6687. user object in the subject in UGI should be reused in case HADOOP-6687. user object in the subject in UGI should be reused in case
of a relogin. (jnp via boryas) of a relogin. (jnp via boryas)
@ -186,8 +187,8 @@ Trunk (unreleased changes)
HADOOP-6682. NetUtils:normalizeHostName does not process hostnames starting HADOOP-6682. NetUtils:normalizeHostName does not process hostnames starting
with [a-f] correctly. (jghoman) with [a-f] correctly. (jghoman)
HADOOP-6652. Removes the unnecessary cache from ShellBasedUnixGroupsMapping. HADOOP-6652. Removes the unnecessary cache from
(ddas) ShellBasedUnixGroupsMapping. (ddas)
HADOOP-6815. refreshSuperUserGroupsConfiguration should use server side HADOOP-6815. refreshSuperUserGroupsConfiguration should use server side
configuration for the refresh (boryas) configuration for the refresh (boryas)
@ -216,8 +217,8 @@ Trunk (unreleased changes)
HADOOP-6715. Fixes AccessControlList.toString() to return a descriptive HADOOP-6715. Fixes AccessControlList.toString() to return a descriptive
String representation of the ACL. (Ravi Gummadi via amareshwari) String representation of the ACL. (Ravi Gummadi via amareshwari)
HADOOP-6885. Fix java doc warnings in Groups and RefreshUserMappingsProtocol. HADOOP-6885. Fix java doc warnings in Groups and
(Eli Collins via jghoman) RefreshUserMappingsProtocol. (Eli Collins via jghoman)
HADOOP-6482. GenericOptionsParser constructor that takes Options and HADOOP-6482. GenericOptionsParser constructor that takes Options and
String[] ignores options. (Eli Collins via jghoman) String[] ignores options. (Eli Collins via jghoman)
@ -249,8 +250,8 @@ Trunk (unreleased changes)
HADOOP-6930. AvroRpcEngine doesn't work with generated Avro code. HADOOP-6930. AvroRpcEngine doesn't work with generated Avro code.
(sharad) (sharad)
HADOOP-6940. RawLocalFileSystem's markSupported method misnamed markSupport. HADOOP-6940. RawLocalFileSystem's markSupported method misnamed
(Tom White via eli). markSupport. (Tom White via eli).
HADOOP-6951. Distinct minicluster services (e.g. NN and JT) overwrite each HADOOP-6951. Distinct minicluster services (e.g. NN and JT) overwrite each
other's service policies. (Aaron T. Myers via tomwhite) other's service policies. (Aaron T. Myers via tomwhite)
@ -258,6 +259,9 @@ Trunk (unreleased changes)
HADOOP-6879. Provide SSH based (Jsch) remote execution API for system HADOOP-6879. Provide SSH based (Jsch) remote execution API for system
tests (cos) tests (cos)
HADOOP-6989. Correct the parameter for SetFile to set the value type
for SetFile to be NullWritable instead of the key. (jghoman via omalley)
Release 0.21.0 - Unreleased Release 0.21.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -59,7 +59,7 @@ public Writer(Configuration conf, FileSystem fs, String dirName,
SequenceFile.CompressionType compress) throws IOException { SequenceFile.CompressionType compress) throws IOException {
super(conf, new Path(dirName), super(conf, new Path(dirName),
comparator(comparator), comparator(comparator),
keyClass(NullWritable.class), valueClass(NullWritable.class),
compressionType(compress)); compressionType(compress));
} }