Commit Graph

495 Commits

Author SHA1 Message Date
Suresh Srinivas
0d55e1a144 HADOOP-6949. Reduce RPC packet size of primitive arrays using ArrayPrimitiveWritable instead of ObjectWritable. Contributed by Matt Foley.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1083957 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 21:10:06 +00:00
Tsz-wo Sze
1187d69eed Commit the missing file TestCommandFormat.java for HADOOP-7180.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1082788 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 01:49:31 +00:00
Tsz-wo Sze
16593c1f13 HADOOP-7180. Better support on CommandFormat on the API and exceptions. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1082787 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 01:48:15 +00:00
Tsz-wo Sze
872ef2d623 HADOOP-7117. Remove fs.checkpoint.* from core-default.xml and replace fs.checkpoint.* with dfs.namenode.checkpoint.* in documentations. Contributed by Harsh J Chouraria
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1082329 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 22:41:07 +00:00
Tsz-wo Sze
e3b587e56f HADOOP-7175. Add isEnabled() to Trash. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1081598 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 22:42:53 +00:00
Todd Lipcon
a02641cfa5 HADOOP-7167. Amend previous commit under this JIRA to fix issue on cygwin. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080817 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 00:24:30 +00:00
Eli Collins
fbc110758b HADOOP-7177. CodecPool should report which compressor it is using. Contributed by Allen Wittenauer
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080797 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 23:40:28 +00:00
Jitendra Nath Pandey
05704fe46e HADOOP-7166. Add DaemonFactory to common. Contributed by Erik Steffl and jitendra.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080775 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 21:57:21 +00:00
Todd Lipcon
96da4be11c HADOOP-7156. Workaround for unsafe implementations of getpwuid_r. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080723 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 18:44:25 +00:00
Jakob Homan
527bac7e22 HADOOP-7133. Batch the calls in DataStorage to FileUtil.createHardLink(). Contributed by Matt Foley.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1080396 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 23:33:52 +00:00
Jitendra Nath Pandey
aac5472491 HADOOP-6912. Guard against NPE when calling UGI.isLoginKeytabBased(). Contributed by Kan Zhang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1079068 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 01:19:09 +00:00
Todd Lipcon
69fe37a007 HADOOP-7159. RPC server should log the client hostname when read exception happened. Contributed by Scott Chen.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1078669 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 03:44:30 +00:00
Todd Lipcon
97dcf05fde HADOOP-7131. Exceptions thrown by Text methods should include the causing exception. Contributed by Uma Maheswara Rao G.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1078660 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 03:16:27 +00:00
Tsz-wo Sze
f2ff6cca37 HADOOP-7162. Rmove a duplicated call FileSystem.listStatus(..) in FsShell. Contributed by Alexey Diomin
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1078148 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 21:41:57 +00:00
Thomas White
420a029b75 HADOOP-6754. DefaultCodec.createOutputStream() leaks memory. Contributed by Aaron Kimball.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1076314 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 18:01:11 +00:00
Thomas White
2fbd0bfbeb HADOOP-7114. FsShell should dump all exceptions at DEBUG level. Contributed by todd.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1076296 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 17:09:08 +00:00
Thomas White
d97ab376d2 HADOOP-7112. Issue a warning when GenericOptionsParser libjars are not on local filesystem.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1075554 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 21:48:49 +00:00
Todd Lipcon
4d53649f49 HADOOP-7151. Document need for stable hashCode() in WritableComparable. Contributed by Dmitriy V. Ryaboy.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1074241 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 18:05:46 +00:00
Todd Lipcon
27df75e6bb HADOOP-7153. MapWritable violates contract of Map interface for equals() and hashCode(). Contributed by Nicholas Telford.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1074239 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 17:59:04 +00:00
Konstantin Boudnik
84ce62149c HADOOP-7094. hadoop.css got lost during project split
Committing missed folder


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1071084 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 22:01:23 +00:00
Todd Lipcon
02f996d594 HADOOP-7145. Configuration.getLocalPath should trim whitespace from the provided directories. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1071035 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 20:19:33 +00:00
Todd Lipcon
ae8b2310d8 HADOOP-7140. IPC Reader threads do not stop when server stops. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1070790 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 07:16:15 +00:00
Nigel Daley
96dd151504 HADOOP-7136. Remove failmon contrib component. (nigel)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1070008 13f79535-47bb-0310-9956-ffa450edef68
2011-02-12 01:58:08 +00:00
Thomas White
ab611ed091 HADOOP-7048. Wrong description of Block-Compressed SequenceFile Format in SequenceFile's javadoc. Contributed by Jingguo Yao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1069677 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 05:54:34 +00:00
Todd Lipcon
223f651118 HADOOP-7096. Allow setting of end-of-record delimiter for TextInputFormat. Contributed by Ahmed Radwan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1068729 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 01:41:08 +00:00
Todd Lipcon
a805223b4e HADOOP-7129. Complete patch by removing the transitional method name. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1068728 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 01:39:02 +00:00
Jitendra Nath Pandey
449478c832 HADOOP-6432. Add Statistics support in FileContext. Contributed by jitendra.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1066282 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 00:11:44 +00:00
Todd Lipcon
f593f14bfb HADOOP-7129. Fix typo in method name getProtocolSigature. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1066248 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 22:25:26 +00:00
Konstantin Shvachko
7fc59af99c HADOOP-6642. Fix javac, javadoc, findbugs warnings related to security work. Contributed by Chris Douglas, Po Cheung.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1065959 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 09:38:31 +00:00
Konstantin Shvachko
e82df7e7f7 HADOOP-7126. Fix file permission setting for RawLocalFileSystem on Windows. Contributed by Po Cheung.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1065901 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 03:02:06 +00:00
Eli Collins
9d615bd67d HADOOP-6436. Remove auto-generated native build files. Contributed by Roman Shaposhnik
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1065858 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 23:43:37 +00:00
Hairong Kuang
b1e3037296 HADOOP-6904. Support method based RPC compatiblity. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1064919 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 22:45:58 +00:00
Konstantin Shvachko
077bc4af3c HADOOP-6812. Change documentation for correct placement of configuration variables: mapreduce.reduce.input.buffer.percent, mapreduce.task.io.sort.factor, mapreduce.task.io.sort.mb. Contributed by Chris Douglas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1064917 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 22:40:42 +00:00
Todd Lipcon
c60feead5e HADOOP-7122. Fix thread leak when shell commands time out. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1064403 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 01:12:59 +00:00
Tsz-wo Sze
d2e07d27a5 HADOOP-7120. Fix a syntax error in test-patch.sh.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1064373 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 00:12:04 +00:00
Todd Lipcon
160b6fd496 HADOOP-7118. Fix NPE in Configuration.writeXml. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1063613 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 06:59:14 +00:00
Todd Lipcon
448f8dbb9f HADOOP-7110. Implement chmod with JNI. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1063090 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 01:15:41 +00:00
Konstantin Shvachko
a15d473c46 HADOOP-7046. Fix Findbugs warning in Configuration. Contributed by Po Cheung.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1063006 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 21:58:18 +00:00
Todd Lipcon
c3fdd289cf HADOOP-7104. Remove unnecessary DNS reverse lookups from RPC layer. Contributed by Kan Zhang
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1059235 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 02:40:51 +00:00
Todd Lipcon
ebb7b7f088 HADOOP-7101. UserGroupInformation.getCurrentUser() fails when called from non-Hadoop JAAS context. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1058875 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 07:17:06 +00:00
Todd Lipcon
ee27b8ea64 HADOOP-7093. Servlets should default to text/plain. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1058822 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 01:08:18 +00:00
Konstantin Shvachko
f395f67d62 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
2011-01-12 22:42:25 +00:00
Thomas White
f015768d3f HADOOP-6811. Remove EC2 bash scripts.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1057795 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 18:50:24 +00:00
Todd Lipcon
496b24d30b HADOOP-7087. SequenceFile.createWriter ignores FileSystem parameter. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1057789 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 18:35:53 +00:00
Jakob Homan
a42c891055 HADOOP-7091. reloginFromKeytab() should happen even if TGT can't be found. Contribued by Kan Zhang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1057455 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 02:43:15 +00:00
Todd Lipcon
c04751b1b4 HADOOP-6995. Allow wildcards to be used in ProxyUsers configurations. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1056006 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 18:45:15 +00:00
Todd Lipcon
c9fb201099 HADOOP-7070. JAAS configuration should delegate unknown application names to pre-existing configuration. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1055996 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 18:33:24 +00:00
Todd Lipcon
717579f3bd HADOOP-7082. Configuration.writeXML should not hold lock while outputting. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1055206 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 22:12:22 +00:00
Eli Collins
168bf7b71d HADOOP-6578. Configuration should trim whitespace around a lot of value types. Contributed by Michele Catasta
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1054903 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 05:28:54 +00:00
Konstantin Boudnik
93f2dfcdb4 HADOOP-7072. Fixing incorrect count of parameters.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1054853 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 01:34:32 +00:00