Konstantin Boudnik
d010dd60e1
HADOOP-6869. Functionality to creating file or folder on a remote daemon side. Contributed by Vinay Thota.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@979942 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 03:19:02 +00:00
Jakob Homan
5c5c163aa3
HADOOP-6475. Adding some javadoc to Server.RpcMetrics, UGI. Contributed by Jitendra Pandey and borya.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@979919 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 00:56:50 +00:00
Doug Cutting
fa49f7349d
HADOOP-6881. Move change message to section for earliest version it
...
will appear in, 0.20.3.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@979785 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 17:58:37 +00:00
Doug Cutting
ba54f8b7e7
HADOOP-6881. Make WritableComparator initialize classes when looking for their raw comparator, as classes often register raw comparators in their initializer, which are no longer automatically run in Java 6 when a class is referenced. Contributed by omalley.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@979485 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 23:17:05 +00:00
Jakob Homan
0d005c52ae
HADOOP-6877. Common part of HDFS-1178. Contributed by Kan Zhang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@979387 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 17:54:01 +00:00
Konstantin Boudnik
f22e332ddd
HADOOP-6875. [Herriot] Cleanup of temp. configurations is needed upon restart of a cluster. Contributed by Vinay Thota.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@967220 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 19:37:08 +00:00
Konstantin Boudnik
d6ef66abb7
Fixing the order of records in the file
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@966919 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 00:56:39 +00:00
Devaraj Das
eb10b152fe
HADOOP-6861. Adds new non-static methods in Credentials to read and write token storage file. Contributed by Jitendra Pandey & Owen O'Malley.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@966911 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 00:05:32 +00:00
Konstantin Boudnik
bd802429c1
HADOOP-6790. Instrumented (Herriot) build uses too wide mask to include aspect files. Contributed by Konstantin Boudnik.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@966508 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 05:48:10 +00:00
Amareshwari Sri Ramadasu
2c0598a964
HADOOP-6536. Fixes FileUtil.fullyDelete() not to delete the contents of the sym-linked directory. Contributed by Ravi Gummadi
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@965725 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 05:21:56 +00:00
Devaraj Das
fa3a3bf5d8
HADOOP-6632. Adds support for using different keytabs for different servers in a Hadoop cluster. In the earier implementation, all servers of a certain type \(like TaskTracker\), would have the same keytab and the same principal. Now the principal name is a pattern that has _HOST in it. Contributed by Kan Zhang & Jitendra Pandey.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@965696 13f79535-47bb-0310-9956-ffa450edef68
2010-07-20 00:46:19 +00:00
Boris Shkolnik
75e78e0484
HADOOP-6805. add buildDTServiceName method to SecurityUtil (as part of MAPREDUCE-1718)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@965556 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 16:51:16 +00:00
Devaraj Das
02b87fc6b3
HADOOP-6670. Use the UserGroupInformation's Subject as the criteria for equals and hashCode. Contributed by Owen O'Malley and Kan Zhang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@964993 13f79535-47bb-0310-9956-ffa450edef68
2010-07-17 01:42:22 +00:00
Konstantin Boudnik
44c364d632
HADOOP-6860. 'compile-fault-inject' should never be called directly. Contributed by Konstantin Boudnik.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@964939 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 20:26:05 +00:00
Mahadev Konar
1b354e2bd5
HADOOP-6834. TFile.append compares initial key against null lastKey (hong tang via mahadev)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@964897 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 18:37:50 +00:00
Suresh Srinivas
0ac05814c2
HADOOP-6859 - Introduce additional statistics to FileSystem to track file system operations. Contributed by Suresh Srinivas.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@964689 13f79535-47bb-0310-9956-ffa450edef68
2010-07-16 06:07:06 +00:00
Konstantin Boudnik
7f14e37076
HADOOP-6836. [Herriot]: Generic method for adding/modifying the attributes for new configuration. Contributed by Vinay Thota.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@964134 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 18:48:35 +00:00
Konstantin Boudnik
a73dfef140
HADOOP-6839. [Herriot] Implement a functionality for getting the user list for creating proxy users. Contributed by Vinay Thota.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@964130 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 18:44:12 +00:00
Eli Collins
c757b9bf8a
Update CHANGES.txt to reflect previous commit.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@963593 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 03:47:48 +00:00
Boris Shkolnik
6ba9b70d85
HADOOP-6647. balancer fails with "is not authorized for protocol interface NamenodeProtocol" in secure environment
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@963490 13f79535-47bb-0310-9956-ffa450edef68
2010-07-12 21:18:47 +00:00
Devaraj Das
4ff2991849
HADOOP-6648. Adds a check for null tokens in Credentials.addToken api. Contributed by Owen O'Malley and Devaraj Das.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@962998 13f79535-47bb-0310-9956-ffa450edef68
2010-07-11 06:43:18 +00:00
Konstantin Boudnik
0ae9cbb3a4
HADOOP-6819. [Herriot] Shell command for getting the new exceptions in
...
the logs returning exitcode 1 after executing successfully. Contributed
by Vinay Thota.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@962914 13f79535-47bb-0310-9956-ffa450edef68
2010-07-10 20:55:45 +00:00
Devaraj Das
d2ade6aec5
HADOOP-6845. Renames the TokenStorage class to Credentials. Contributed by Jitendra Pandey.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@962677 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 20:07:45 +00:00
Jakob Homan
86e833858c
HADOOP-6853. Common component of HDFS-1045.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@961911 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 20:02:29 +00:00
Konstantin Boudnik
038d399389
HADOOP-6847. Problem staging 0.21.0 artifacts to Apache Nexus Maven Repository. Contributed by Giridharan Kesavan
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@961559 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 02:29:15 +00:00
Christopher Douglas
2a248dfc32
HADOOP-6835. Add support for concatenated gzip input. Contributed by Greg Roelofs
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@961532 13f79535-47bb-0310-9956-ffa450edef68
2010-07-07 23:22:28 +00:00
Jakob Homan
4b34109a72
HADOOP-6584. Provide Kerberized SSL encryption for webservices.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@960137 13f79535-47bb-0310-9956-ffa450edef68
2010-07-03 00:02:03 +00:00
Konstantin Shvachko
05b1f87909
HADOOP-6756. Documentation for common configuration keys. Contributed by Erik Steffl.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@960079 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 18:16:30 +00:00
Thomas White
451c8ae5e8
HADOOP-6800. Harmonize JAR library versions.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@959501 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 04:32:47 +00:00
Boris Shkolnik
8970e93b01
HADOOP-6815. refreshSuperUserGroupsConfiguration should use server side configuration for the refresh
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@957074 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 23:04:33 +00:00
Thomas White
35a4624771
HADOOP-6826. Revert FileSystem create method that takes CreateFlags.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@956710 13f79535-47bb-0310-9956-ffa450edef68
2010-06-21 21:45:47 +00:00
Amareshwari Sri Ramadasu
4b8e1bda2d
HADOOP-6748. Removes hadoop.cluster.administrators, cluster administrators acl is passed as parameter in constructor. Contributed by Amareshwari Sriramadasu
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@955975 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 12:30:36 +00:00
Konstantin Boudnik
5807065a5b
HADOOP-6828. Herrior uses old way of accessing logs directories. Contributed by Sreekanth Ramakrishnan
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@955438 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 01:34:08 +00:00
Thomas White
c6b8095b02
HADOOP-6821. Document changes to memory monitoring. Contributed by Hemanth Yamijala.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@954647 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 21:16:47 +00:00
Devaraj Das
e89ac4b077
HADOOP-6652. Removes the unnecessary cache from ShellBasedUnixGroupsMapping. Contributed by Devaraj Das.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@954612 13f79535-47bb-0310-9956-ffa450edef68
2010-06-14 20:02:56 +00:00
Eli Collins
6749f0275c
HADOOP-6796. Reverting the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@954165 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 04:38:37 +00:00
Jakob Homan
687d4dbd1d
HADOOP-6682. NetUtils:normalizeHostName does not process hostnames starting with [a-f] correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953929 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 02:12:16 +00:00
Devaraj Das
8fa094ad6a
HADOOP-6613. Moves the RPC version check ahead of the AuthMethod check. Contributed by Kan Zhang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953910 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 00:13:15 +00:00
Jakob Homan
fbdb249460
HADOOP-6620. NPE if renewer is passed as null in getDelegationToken. Contributed by Jitendra Pandey.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953896 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 22:48:15 +00:00
Thomas White
6378822a67
HADOOP-6668. Apply audience and stability annotations to classes in common.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953881 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 21:34:56 +00:00
Thomas White
4164d25db6
Move entries for HADOOP-6769 and HADOOP-6813 to 0.21 section of CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953874 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 21:16:35 +00:00
Devaraj Das
755a5d8c9b
HADOOP-6814. Adds an API in UserGroupInformation to get the real authentication method of a passed UGI. Contributed by Jitendra Pandey.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953863 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 20:32:26 +00:00
Jakob Homan
754ea912b9
HADOOP-6603. Provide workaround for issue with Kerberos not resolving cross-realm principal. Contributed by Kan Zhang and Jitendra Pandey.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953517 13f79535-47bb-0310-9956-ffa450edef68
2010-06-11 00:40:05 +00:00
Thomas White
222bd68293
HADOOP-6403. Deprecate EC2 bash scripts.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953504 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 23:52:34 +00:00
Thomas White
32469f1bdf
HADOOP-6794. Move configuration and script files post split. Includes HDFS-1181, MAPREDUCE-1033.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953490 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 23:01:33 +00:00
Boris Shkolnik
f07af58599
HADOOP-6526. Need mapping from long principal names to local OS user names
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953388 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 16:54:06 +00:00
Eli Collins
b78612c4e2
HADOOP-6796. FileStatus allows null srcPath but crashes if that's done. Contributed by Rodrigo Schmidt.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@953100 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 17:57:49 +00:00
Boris Shkolnik
2232093326
HADOOP-6813. Add a new newInstance method in FileSystem that takes a user as argument
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@952471 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 22:55:13 +00:00
Boris Shkolnik
42a38a4b58
HADOOP-6687. user object in the subject in UGI should be reused in case of a relogin.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@952454 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 21:50:05 +00:00
Devaraj Das
4b9c956bc5
HADOOP-6674. Makes use of the SASL authentication options in the SASL RPC. Contributed by Jitendra Pandey.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@951624 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 00:34:36 +00:00
Boris Shkolnik
56b15e9e8f
HADOOP-6649. login object in UGI should be inside the subject (jnp via boryas)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@951618 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 00:10:13 +00:00
Thomas White
bb29ad17db
HADOOP-6780. Move Hadoop cloud scripts to Whirr.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@951614 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 23:42:14 +00:00
Thomas White
ea5200d922
HADOOP-6738. Move cluster_setup.xml, hod_scheduler, commands_manual from MapReduce to Common.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@951480 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 16:34:18 +00:00
Konstantin Boudnik
04a00b74f5
HADOOP-6788. [Herriot] Exception exclusion functionality is not working
...
correctly. Contributed by Vinay Kumar Thota.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@951259 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 04:10:17 +00:00
Jakob Homan
908fd4506f
HADOOP-6661. User document for UserGroupInformation.doAs. Contributed by Jitendra Pandey.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@951227 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 00:41:13 +00:00
Eli Collins
c6bc36580a
HADOOP-6787. Factor out glob pattern code from FileContext and FileSystem. Contributed by Luke Lu.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@951207 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 23:39:33 +00:00
Boris Shkolnik
9e2c3bf9ed
HADOOP-6791. Refresh for proxy superuser config
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@951081 13f79535-47bb-0310-9956-ffa450edef68
2010-06-03 17:32:35 +00:00
Thomas White
da60eca889
HADOOP-6461. Webapps aren't located correctly post-split. Contributed by Todd Lipcon and Steve Loughran.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@950605 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 15:43:51 +00:00
Konstantin Boudnik
f0331cfd01
HADOOP-6798. Align Ivy version for all Hadoop subprojects. Contributed by Konstantin Boudnik.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@950309 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 23:37:20 +00:00
Thomas White
7578282edc
HADOOP-6585. Add FileStatus#isDirectory and isFile. Contributed by Eli Collins.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@949658 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 03:14:18 +00:00
Jakob Homan
aecf7afba6
HADOOP-6747. TestNetUtils fails on Mac OS X (Todd Lipcon via jghoman)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@949330 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 00:49:54 +00:00
Thomas White
9dd25df80e
HADOOP-6404. Rename the generated artifacts to common instead of core.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@949032 13f79535-47bb-0310-9956-ffa450edef68
2010-05-27 22:46:48 +00:00
Jakob Homan
24a2f1fafe
HADOOP-6581. Add authenticated TokenIdentifiers to UGI so that they can be used for authorization. Kan Zhang and Jitendra Pandey via jghoman.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@948573 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 20:31:48 +00:00
Boris Shkolnik
e346c2f4e0
HADOOP-6644. util.Shell getGROUPS_FOR_USER_COMMAND method name - should use common naming convention
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@948528 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 18:35:50 +00:00
Boris Shkolnik
a7aacdc2d6
HADOOP6638. try to relogin in a case of failed RPC connection (expired tgt) only in case the subject is loginUser or proxyUgi.realUser.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@948523 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 18:29:30 +00:00
Konstantin Boudnik
73643f4211
HADOOP-6777. Implement a functionality for suspend and resume a process. Contributed by Vinay Thota.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@948242 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 23:00:40 +00:00
Konstantin Boudnik
5392319a24
HADOOP-6772. Utilities for system tests specific. Contributed by Vinay Thota.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@948237 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 22:54:40 +00:00
Konstantin Boudnik
1739f7388f
HADOOP-6773. Ivy folder contains redundant files. Contributed by Konstantin Boudnik.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@948174 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 19:10:06 +00:00
Konstantin Boudnik
8a98e683ed
HADOOP-6771. Herriot's artifact id for Maven deployment should be set to
...
hadoop-core-instrumented. Contributed by Konstantin Boudnik.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@947882 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 01:00:14 +00:00
Thomas White
2786e80436
HADOOP-6723. Unchecked exceptions thrown in IPC Connection should not orphan clients. Contributed by Todd Lipcon.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@947747 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 18:24:16 +00:00
Konstantin Boudnik
70d7790cef
HADOOP-6760. Moving the entry to the correct base release 0.20.3
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@947222 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 00:45:34 +00:00
Konstantin Boudnik
4e5bdc46bc
HADOOP-6760. WebServer shouldn't increase port number in case of
...
negative port setting caused by Jetty's race. Contributed by Konstantin
Boudnik.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@947218 13f79535-47bb-0310-9956-ffa450edef68
2010-05-22 00:27:05 +00:00
Boris Shkolnik
ec1a112a1d
HADOOP-6778. add isRunning() method to AbstractDelegationTokenSecretManager (for HDFS-1044)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@947203 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 22:21:13 +00:00
Christopher Douglas
af3fef3463
HADOOP-6714. Resolve compressed files using CodecFactory in FsShell::text. Contributed by Patrick Angeles
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@946976 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 11:45:12 +00:00
Boris Shkolnik
f4998a7813
HADOOP-6781. security audit log shouldn't have exception in it.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@946815 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 23:11:08 +00:00
Boris Shkolnik
78778a158c
HADOOP-6633. normalize property names for JT/NN kerberos principal names in configuration
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@946487 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 00:03:22 +00:00
Konstantin Boudnik
847e009e1c
HADOOP-6752. CHANGES.txt should be updated in 0.21 section instead of 0.22
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@945953 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 23:19:42 +00:00
Konstantin Boudnik
578ea5580f
HADOOP-6752. Remote cluster control functionality needs JavaDocs improvement. Contributed by Balaji Rajagopalan.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@945949 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 23:16:20 +00:00
Boris Shkolnik
0b14427e6c
HADOOP-6627. 'Bad Connection to FS' message in FSShell should print message from the exception
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@945940 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 22:38:07 +00:00
Boris Shkolnik
759494f3a1
HADOOP-6769. Add an API in FileSystem to get FileSystem instances based on users
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@945735 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 16:21:24 +00:00
Dhruba Borthakur
175a92850d
HADOOP-6761. The Trash Emptier has the ability to run more frequently.
...
(Dmytro Molkov via dhruba)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@945439 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 23:51:56 +00:00
Konstantin Boudnik
69693b6a86
HADOOP-6332. Large-scale Automated Test Framework. Contributed by Sharad Agarwal, Sreekanth Ramakrishnan, Konstantin Boudnik, at all.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@944521 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 23:56:34 +00:00
Boris Shkolnik
1e15cf0355
HADOOP-6612. Protocols RefreshUserToGroupMappingsProtocol and RefreshAuthorizationPolicyProtocol will fail with security enabled (boryas)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@944397 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14 19:00:18 +00:00
Boris Shkolnik
d9b6103f8f
HADOOP-6600. mechanism for authorization check for inter-server protocols
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@944012 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 20:52:59 +00:00
Boris Shkolnik
21476f0b09
HADOOP-6763. Remove verbose logging from the Groups class
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@944009 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 20:44:52 +00:00
Sharad Agarwal
44ebf5db23
HADOOP-6631. Fix FileUtil.fullyDelete() to continue deleting other files despite failure at any level. Contributed by Ravi Gummadi and Vinod Kumar Vavilapalli.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@941662 13f79535-47bb-0310-9956-ffa450edef68
2010-05-06 11:18:12 +00:00
Thomas White
fe34ccdda8
HADOOP-6623. Add StringUtils.split for non-escaped single-character separator. Contributed by Todd Lipcon.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@941508 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 21:46:31 +00:00
Christopher Douglas
06a13750a5
HADOOP-6669. Respect compression configuration when creating DefaultCodec
...
instances. Contributed by Koji Noguchi
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@940989 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 18:21:48 +00:00
Thomas White
322f9ac7b1
HADOOP-6727. Remove UnresolvedLinkException from public FileContext APIs. Contributed by Eli Collins.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@940527 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 17:36:07 +00:00
Jakob Homan
fe49f6e473
HADOOP-6730. Bug in FileContext#copy and provide base class for FileContext tests. (Ravi Phulari via jghoman)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@940112 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 21:08:34 +00:00
Thomas White
14f02ef0f5
Preparing for 0.22.0 development
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939917 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 04:53:36 +00:00
Thomas White
4d04914ff4
Preparing for release 0.21.0
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939911 13f79535-47bb-0310-9956-ffa450edef68
2010-05-01 04:42:51 +00:00
Thomas White
494ef1e48c
HADOOP-6742. Add methods HADOOP-6709 from to TestFilterFileSystem. Contributed by Eli Collins.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939864 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 22:49:08 +00:00
Suresh Srinivas
704e919a9b
HADOOP-6563. Add more symlink tests to cover intermediate symlinks in paths. Contributed by Eli Collins.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939827 13f79535-47bb-0310-9956-ffa450edef68
2010-04-30 21:40:56 +00:00
Thomas White
f8f275c1ad
HADOOP-6630. hadoop-config.sh fails to get executed if hadoop wrapper scripts are in path. Contributed by Allen Wittenauer.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939510 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 23:23:53 +00:00
Zheng Shao
f6acb32e06
HADOOP-6515. Make maximum number of http threads configurable (Scott Chen via zshao)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939486 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 21:32:54 +00:00
Thomas White
b56827c591
HADOOP-6709. Re-instate deprecated FileSystem methods that were removed after 0.20.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939470 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 19:55:44 +00:00
Thomas White
750fb2dbc1
HADOOP-6698. Revert the io.serialization package to 0.20.2's api. Reverted HADOOP-6165, HADOOP-6443, HADOOP-6323, and HADOOP-6420.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939412 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 18:09:56 +00:00
Sharad Agarwal
00cb892150
HADOOP-6634. Fix AccessControlList to use short names to verify access control. Contributed by Vinod Kumar Vavilapalli.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939242 13f79535-47bb-0310-9956-ffa450edef68
2010-04-29 09:31:30 +00:00
Hairong Kuang
8991eb7959
HADOOP-6678. Remove FileContext#isFile, isDirectory and exists. Contributed by Eli Collins.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939140 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 23:58:25 +00:00
Thomas White
c59b4cd966
HADOOP-6722. NetUtils.connect should check that it hasn't connected a socket to itself. Contributed by Todd Lipcon.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939026 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 17:46:06 +00:00
Thomas White
cd85fc46dc
HADOOP-6724. IPC doesn't properly handle IOEs thrown by socket factory. Contributed by Todd Lipcon.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939018 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 17:34:55 +00:00
Suresh Srinivas
f1fee1804a
Fixed incorrect description in CHANGES.txt for Hadoop-6701.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939017 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 17:30:48 +00:00
Suresh Srinivas
d2ca51b859
HADOOP-6701. Fix incorrect exit codes returned from chgrp, chown and chgrp commands from FsShell. Contributed by Ravi Phulari.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@939016 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 17:27:01 +00:00
Suresh Srinivas
e333072144
HADOOP-6703. Prevent renaming a file, directory or symbolic link to itself. Contributed by Eli Collins.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@938788 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28 05:45:40 +00:00
Hairong Kuang
b212ed99c5
HADOOP-6713. The RPC server Listener thread is a scalability bottleneck. Contributed by Dmytro Molkov.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@938590 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 18:13:12 +00:00
Thomas White
9ad633f011
HADOOP-6677. InterfaceAudience.LimitedPrivate should take a string not an enum.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@938563 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 16:53:40 +00:00
Thomas White
2bec54de58
HADOOP-6667. RPC.waitForProxy should retry through NoRouteToHostException. Contributed by Todd Lipcon.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@938322 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 04:38:23 +00:00
Hairong Kuang
75e0b765ea
Move the change log of HADOOP-6692 to the right section.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@938264 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 22:52:30 +00:00
Hairong Kuang
33e3f7949b
HADOOP-6692. Add FileContext#listStatus that returns an iterator. Contributed by Hairong Kuang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@938136 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 17:32:17 +00:00
Jakob Homan
5075d7dbde
HADOOP-6717. Log levels in o.a.h.security.Groups too high. Todd Lipcon via jghoman.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@937881 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 21:23:30 +00:00
Jakob Homan
18262cc096
HADOOP-6635. Install/deploy source jars to Maven repo. (Patrick Angeles via jghoman)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@937853 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 18:58:13 +00:00
Suresh Srinivas
27a9fce10d
HADOOP-6710. Symbolic umask for file creation is not conformant with posix. Contributed by Suresh Srinivas.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@937577 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24 02:04:20 +00:00
Suresh Srinivas
67c006c322
HADOOP-6521. User specified umask using deprecated dfs.umask must override server configured using new dfs.umaskmode for backward compatibility. Contributed by Suresh Srinivas.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@937559 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24 00:01:27 +00:00
Suresh Srinivas
50f24d774e
HADOOP-6686. Remove redundant exception class name from the exception message for the exceptions thrown at RPC client. Contributed by Suresh Srinivas.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@937183 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 08:05:30 +00:00
Dhruba Borthakur
1e82194428
HADOOP-6719. Insert all missing methods in FilterFs.
...
(Rodrigo Schmidt via dhruba)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@937093 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 22:47:44 +00:00
Dhruba Borthakur
b183665c7f
HADOOP-6690. FilterFileSystem correctly handles setTimes call.
...
(Rodrigo Schmidt via dhruba)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@937092 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 22:40:23 +00:00
Thomas White
980f99bfb7
HADOOP-6658. Exclude Private elements from generated Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@937052 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 20:48:04 +00:00
Hemanth Yamijala
97c38f94f5
HADOOP-6439. Fixes handling of deprecated keys to follow order in which keys are defined. Contributed by V.V.Chaitanya Krishna.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@936463 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 19:32:32 +00:00
Steve Loughran
6f89a64657
HADOOP-6657. Add a capitalization method to StringUtils for MAPREDUCE-1545
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@934619 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 22:06:52 +00:00
Giridharan Kesavan
a0ef69df26
HADOOP-6705. Fix to work with 1.5 version of jiracli
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@934273 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15 03:08:09 +00:00
Boris Shkolnik
b802476d9d
HADOOP-6580. UGI should contain authentication method.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@933810 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 23:01:43 +00:00
Suresh Srinivas
87c788d2e1
HADOOP-6689. Add directory renaming test to existing FileContext tests. Contributed by Eli Collins.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@933705 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 17:00:26 +00:00
Thomas White
631f45618d
HADOOP-6507. Hadoop Common Docs - delete 3 doc files that do not belong under Common. Contributed by Corinne Chandel.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@933406 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 20:57:27 +00:00
Hairong Kuang
fb154e3a03
HADOOP-6691. TestFileSystemCaching sometimes hangs. Contributed by Hairong Kuang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@932115 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 21:13:58 +00:00
Thomas White
4c062c79c3
HADOOP-6680. hadoop-cloud push command invokes proxy creation. Contributed by Andrew Klochkov.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@931226 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 17:05:11 +00:00
Hairong Kuang
7b1ac5ac13
HADOOP-6640. FileSystem.get() does RPC retries within a static synchronized block. Contributed by Hairong Kuang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@930096 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 20:58:10 +00:00
Tsz-wo Sze
6f35c10aab
HADOOP-6654. Fix code example in WritableComparable javadoc. Contributed by Tom White
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@927979 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 17:38:47 +00:00
Christopher Douglas
f4d31cd029
HADOOP-6566. Add methods supporting, enforcing narrower permissions on local daemon directories.
...
Contributed by Arun Murthy and Luke Lu
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@927728 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 08:25:00 +00:00
Mahadev Konar
980f819047
HADOOP-6646. Move HarfileSystem out of Hadoop Common. (mahadev)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@927193 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 21:43:24 +00:00
Mahadev Konar
e381af1e1e
HADOOP-6645. Re: Bugs on listStatus for HarFileSystem (rodrigo via mahadev)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@927134 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 17:51:38 +00:00
Mahadev Konar
35de12b8ed
HADOOP-6645. Bugs on listStatus for HarFileSystem (rodrigo via mahadev)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@926421 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 01:16:03 +00:00
Thomas White
0485fe23ba
HADOOP-6471. StringBuffer -> StringBuilder - conversion of references as necessary. Contributed by Kay Kay.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@926256 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 19:08:03 +00:00
Thomas White
124137ff01
HADOOP-6175. Incorrect version compilation with es_ES.ISO8859-15 locale on Solaris 10. Contributed by Urko Benito.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@926252 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 18:46:44 +00:00
Konstantin Shvachko
81c448ae85
HADOOP-6637. Benchmark for establishing RPC session. Contributed by Konstantin Shvachko.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@925528 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 02:17:38 +00:00
Thomas White
f32ffc750a
HADOOP-6593. TextRecordInputStream doesn't close SequenceFile.Reader. Contributed by Chase Bradford.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@925487 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:52:51 +00:00
Thomas White
c8ffb2249a
HADOOP-6546. BloomMapFile can return false negatives. Contributed by Clark Jefcoat.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@925479 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 23:19:13 +00:00
Thomas White
a0a4bf08d3
HADOOP-3659. Patch to allow hadoop native to compile on Mac OS X. Contributed by Colin Evans and Allen Wittenauer.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@925468 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 22:51:29 +00:00
Thomas White
b769d6463b
HADOOP-6407. Have a way to automatically update Eclipse .classpath file when new libs are added to the classpath through Ivy.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@925465 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 22:39:28 +00:00
Dhruba Borthakur
637cf89e18
HADOOP-6591. HarFileSystem can handle paths with the whitespace characters.
...
(Rodrigo Schmidt via dhruba)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@923619 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 08:03:38 +00:00
Thomas White
74d409c4bb
HADOOP-6486. fix common classes to work with Avro 1.3 reflection. Contributed by cutting.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@921577 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 21:24:13 +00:00
Thomas White
fe01f920a1
HADOOP-6504. Invalid example in the documentation of org.apache.hadoop.util.Tool. Contributed by Benoit Sigoure.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@921542 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 20:06:07 +00:00
Owen O'Malley
b1ec35e60c
HADOOP-6609. Fixed deadlock in RPC by replacing shared static
...
DataOutputBuffer in the UTF8 class with a thread local variable. (omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@918880 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 07:20:29 +00:00
Hairong Kuang
393baff732
HADOOP-6569. FsShell#cat should avoid calling unecessary getFileStatus before opening a file to read. Contributed by Hairong Kuang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@918624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 18:49:26 +00:00
Sanjay Radia
1ab5aa5279
HADOOP-6537 Declare more detailed exceptions in FileContext and AbstractFileSystem
...
(Suresh Srinivas via Sanjay Radia)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@918309 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 02:48:49 +00:00
Sanjay Radia
6b9fb8c78b
HADOOP-6599 Split existing RpcMetrics into RpcMetrics & RpcDetailedMetrics.
...
(Suresh Srinivas via Sanjay Radia)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@917737 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 21:36:23 +00:00
Owen O'Malley
c93a9128ff
HADOOP-6589. Provide better error messages when RPC authentication fails.
...
(Kan Zhang via omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@916915 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 06:17:00 +00:00
Arun Murthy
1d8cb8b785
HADOOP-6594. Provide a fetchdt tool via bin/hdfs. Contributed by Jakob Homan.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@916907 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 03:31:19 +00:00
Boris Shkolnik
c4c122a0de
HADOOP-6586. Log authentication and authorization failures and successes for RPC
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@916779 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 18:35:54 +00:00
Konstantin Shvachko
ea650d8d6c
HADOOP-1849. Add undocumented configuration parameter for per handler call queue size in IPC Server. Contributed by Konstantin Shvachko.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@916529 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 01:37:57 +00:00
Konstantin Shvachko
27ab7f3db9
HADOOP-6573. Support for persistent delegation tokens. Contributed by Jitendra Pandey.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@916468 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 21:43:20 +00:00
Devaraj Das
7785232da5
HADOOP-6568. Adds authorization for the default servlets. Contributed by Vinod Kumar Vavilapalli.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@916467 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 21:39:38 +00:00
Owen O'Malley
37214591e9
HADOOP-6596. Add a version field to the AbstractDelegationTokenIdentifier's
...
serialized value. (omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@916390 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 18:34:05 +00:00
Owen O'Malley
831da66493
HADOOP-6579. Provide a mechanism for encoding/decoding Tokens from
...
a url-safe string and change the commons-code library to 1.4. (omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@916290 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 14:14:18 +00:00
Tsz-wo Sze
4eedc77275
HADOOP-6467. Improve the performance on HarFileSystem.listStatus(..). Contributed by mahadev
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@915168 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 03:54:14 +00:00
Devaraj Das
c5622e5d4d
HADOOP-6543. Allows secure clients to talk to unsecure clusters. Contributed by Kan Zhang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@915097 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 22:28:29 +00:00
Devaraj Das
ffdde40b9f
HADOOP-6583. Captures authentication and authorization metrics. Contributed by Devaraj Das.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@915095 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 22:26:03 +00:00
Devaraj Das
115ef5b8c7
HADOOP-6545. Changes the Key for the FileSystem cache to be UGI. Contributed by Devaraj Das.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@912207 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 20:13:26 +00:00
Suresh Srinivas
9871771bb5
HADOOP-6577. Add hidden configuration option "ipc.server.max.response.size" to change the default 1 MB, the maximum size when large IPC handler response buffer is reset. Contributed by Suresh Srinivas.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@912056 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 01:23:26 +00:00
Devaraj Das
d099c1c78a
HADOOP-6572. Makes sure that SASL encryption and push to responder queue for the RPC response happens atomically. Contributed by Kan Zhang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@911748 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 09:04:47 +00:00
Owen O'Malley
a417a8faea
HADOOP-6551. Delegation token renewing and cancelling should provide
...
meaningful exceptions when there are failures instead of returning
false. (omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@911743 13f79535-47bb-0310-9956-ffa450edef68
2010-02-19 08:49:22 +00:00
Tsz-wo Sze
50dcc335be
HADOOP-6558. Return null in HarFileSystem.getFileChecksum(..) since no checksum algorithm is implemented.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@911646 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 23:22:52 +00:00
Hairong Kuang
4b4e9d741e
HADOOP-6570. RPC#stopProxy throws NPE if getProxyEngine(proxy) returns null. Contributed by Hairong Kuang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@911134 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 18:22:40 +00:00
Boris Shkolnik
3a7841aeb8
HADOOP-6549. TestDoAsEffectiveUser should use ip address of the host for superuser ip check
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@910741 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 22:46:36 +00:00
Tsz-wo Sze
18c6d65749
HADOOP-6560. Handle invalid har:// uri in HarFileSystem.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@910726 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 22:17:54 +00:00
Owen O'Malley
44185c3874
prep for making 0.20.2 rc2
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@910709 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 21:53:15 +00:00
Sanjay Radia
ea605b8cd7
HADOOP-6421 Adds Symbolic links to FileContext, AbstractFileSystem.
...
It also adds a limited implementation for the local file system
(RawLocalFs) that allows local symlinks. (Eli Collins via Sanjay Radia)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@910706 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 21:43:30 +00:00
Devaraj Das
8b4b190cbd
HADOOP-6559. Makes the RPC client automatically re-login when the SASL connection setup fails. This is applicable only to keytab based logins. Contributed by Devaraj Das.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@910169 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 07:28:17 +00:00
Christopher Douglas
96a1477d02
HADOOP-6534. Trim whitespace from directory lists initializing
...
LocalDirAllocator. Contributed by Todd Lipcon
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@909806 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 12:46:38 +00:00
Christopher Douglas
fc83909c3f
HADOOP-6548. Replace mortbay imports with commons logging.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@909802 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 12:21:26 +00:00
Christopher Douglas
e0a0e6b9f5
HADOOP-6505. Use tr rather than sed to effect literal substitution in the
...
build script. Contributed by Allen Wittenauer
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@909801 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 12:16:52 +00:00
Christopher Douglas
139b2ea1a2
HADOOP-5612. Commit to branch 0.20
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@909721 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 04:05:08 +00:00
Christopher Douglas
e9ff6510bd
HADOOP-5611. Commit to branch 0.20
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@909242 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 05:28:35 +00:00
Doug Cutting
8061821ca2
HADOOP-6522. Fix decoding of codepoint zero in UTF8.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@908661 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 21:58:11 +00:00
Devaraj Das
cfbdd1aff4
HADOOP-6552. Puts renewTGT=true and useTicketCache=true for the keytab kerberos options. Contributed by Devaraj Das.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@908353 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 05:01:27 +00:00
Owen O'Malley
38c59c0af7
HADOOP-6547. Move DelegationToken into Common, so that it can be used by
...
MapReduce also. (devaraj via omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@907956 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 08:10:37 +00:00
Thomas White
5b0d8a0162
HADOOP-6540. Contrib unit tests have invalid XML for core-site, etc. Contributed by Aaron Kimball.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@907939 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 06:03:59 +00:00
Devaraj Das
1793e7d909
HADOOP-6510. Adds a way for superusers to impersonate other users in a secure environment. Contributed by Jitendra Nath Pandey.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@907549 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 04:55:11 +00:00
Devaraj Das
f786508cd3
HADOOP-6538. Sets hadoop.security.authentication to simple by default. Contributed by Devaraj Das.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@906388 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 07:46:20 +00:00
Hemanth Yamijala
9f7a07f908
HADOOP-6531. Enhance FileUtil with an API to delete all contents of a directory. Contributed by Amareshwari Sriramadasu.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@906177 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 19:04:36 +00:00
Devaraj Das
940389afce
HADOOP-6419. Adds SASL based authentication to RPC. Contributed by Kan Zhang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@905860 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 01:30:25 +00:00
Devaraj Das
fe0ddc03e1
HADOOP-6518. Makes the UGI honor the env var KRB5CCNAME. Contributed by Owen O'Malley.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@904975 13f79535-47bb-0310-9956-ffa450edef68
2010-01-31 04:04:38 +00:00
Devaraj Das
ba8647f511
HADOOP-6520. Adds APIs to read/write Token and secret keys. Also adds the automatic loading of tokens into UserGroupInformation upon login. The tokens are read from a file specified in the environment variable. Contributed by Devaraj Das.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@904861 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 19:57:39 +00:00
Devaraj Das
611340714b
HADOOP-6517. Fix UserGroupInformation so that tokens are saved/retrieved to/from the embedded Subject. Contributed by Owen O'Malley & Kan Zhang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@904339 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 01:56:57 +00:00
Owen O'Malley
0c5734e4ac
HADOOP-6299. Reimplement the UserGroupInformation to use the OS
...
specific and Kerberos JAAS login. (omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@903560 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 08:08:29 +00:00
Hairong Kuang
34d1b39c75
HADOOP-6498. IPC client bug may cause rpc call hang. Contributed by Ruyue Ma and Hairong Kuang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@903471 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 22:55:17 +00:00
Hairong Kuang
d6f4cf3dfe
Revert commit 903015 because it was tagged with the wrong jira number HADOOP-6459.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@903468 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 22:52:05 +00:00
Hairong Kuang
3ef40e1344
HADOOP-6459. IPC client bug may cause rpc call hang. Contributed by Hairong Kuang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@903015 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 23:51:13 +00:00
Christopher Douglas
f38a996b4c
HADOOP-6290. Prevent duplicate slf4j-simple jar via Avro's classpath.
...
Contributed by Owen O'Malley
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@902745 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 09:29:09 +00:00
Boris Shkolnik
aaf3b6c6ff
HADOOP-6495. Identifier should be serialized after the password is
...
created In Token constructor (jnp via boryas)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@901924 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 23:36:13 +00:00
Konstantin Boudnik
c7a3c785f8
HADOOP-6374. JUnit tests should never depend on anything in conf. Contributed by Anatoli Fomenko.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@901540 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 05:57:30 +00:00
Doug Cutting
f3477eb324
HADOOP-6497. Add an adapter for Avro's SeekableInput interface, so that Avro can read FileSystem data. Contributed by Aaron Kimball.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@900607 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 23:39:04 +00:00
Doug Cutting
4cd159e83e
HADOOP-6492. Make some Avro serialization APIs public. Contributed by Aaron Kimball.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@899866 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 01:06:57 +00:00
Suresh Srinivas
a90d3205d2
HADOOP-6489. Fix 3 findbugs warnings. Contributed by Erik Steffl.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@899856 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 00:44:40 +00:00
Christopher Douglas
08561f76db
HADOOP-6155. Deprecate RecordIO anticipating Avro. Contributed by Tom White
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@898740 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 13:26:11 +00:00
Christopher Douglas
daed679fc1
HADOOP-6451. Fix build to run contrib unit tests. Contributed by Tom White
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@898736 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 13:14:29 +00:00
Christopher Douglas
4cecab7c10
HADOOP-6315. Avoid incorrect use of BuiltInflater/BuiltInDeflater in
...
GzipCodec. Contributed by Aaron Kimball
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@898711 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 10:46:39 +00:00
Thomas White
8942119b04
HADOOP-6464. Write a Rackspace cloud provider.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@897023 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 21:43:38 +00:00
Christopher Douglas
1ca1bfb2e5
HADOOP-6420. Add functionality permitting subsets of Configuration to be
...
interpreted as Map<String,String>. Contributed by Aaron Kimball
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@896966 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 18:55:45 +00:00
Thomas White
dec4c1614e
HADOOP-6479. TestUTF8 assertions could fail with better text. Contributed by Steve Loughran.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@896691 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06 22:03:33 +00:00