Commit Graph

226 Commits

Author SHA1 Message Date
Amareshwari Sri Ramadasu
bd121ed635 HADOOP-6862. Adds api to add/remove user and group to AccessControlList. Contributed by Amareshwari Sriramadasu
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@983877 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 08:10:40 +00:00
Hairong Kuang
714e5f7165 HADOOP-6889. Make RPC to have an option to timeout. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@982681 13f79535-47bb-0310-9956-ffa450edef68
2010-08-05 16:39:10 +00:00
Hairong Kuang
666a8e1600 HADOOP-6890. Part 2: Incoport the change made in FileContext into FileSystem. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@981676 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 20:25:44 +00:00
Hairong Kuang
d0ba178800 HADOOP-6890. Improve listFiles API introduced by HADOOP-6870. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@980953 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 20:52:08 +00:00
Boris Shkolnik
c15ae29a90 HADOOP-6873. using delegation token over hftp for long running clients
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@980648 13f79535-47bb-0310-9956-ffa450edef68
2010-07-30 04:55:23 +00:00
Tsz-wo Sze
ff8b7bc253 HADOOP-6888. Add a new FileSystem API closeAllForUGI(..) for closing all file systems associated with a particular UGI. Contributed by Kan Zhang
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@980523 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 17:58:55 +00:00
Devaraj Das
1a6ed79ebf HADOOP-6656. Adds a thread in the UserGroupInformation to renew TGTs periodically. Contributed by Owen O'Malley and Devaraj Das.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@980518 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 17:29:51 +00:00
Hairong Kuang
19eea554e3 HADOOP-6870. Add a new API getFiles to FileSystem and FileContext. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@980271 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 00:14:36 +00:00
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
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
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
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
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
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
167bbd1c6e HADOOP-6825. FileStatus needs unit tests. Contributed by Rodrigo Schmidt.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@963587 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 02:29:59 +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
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
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
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
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
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
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
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
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
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
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
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
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