Commit Graph

451 Commits

Author SHA1 Message Date
Doug Cutting
6285cbb499 HADOOP-7011. Fix KerberosName.main() to not throw an NPE. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028938 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 22:55:53 +00:00
Owen O'Malley
0c462b223f HADOOP-6991. Fix SequenceFile::Reader to honor file lengths and call
openFile (cdouglas via omalley)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028473 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 20:54:17 +00:00
Owen O'Malley
7afa9466f7 HADOOP-6991. Move testcase from mapreduce to common, since it tests
SequenceFile.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028430 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 19:00:38 +00:00
Hairong Kuang
f6a6c6e577 HADOOP-7009. MD5Hash provides a public factory method that creates an instance of MessageDigest. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028427 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 18:49:39 +00:00
Thomas White
4be1688c53 HADOOP-6663. BlockDecompressorStream get EOF exception when decompressing the file compressed from empty file. Contributed by Kang Xiao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028390 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 17:16:59 +00:00
Eli Collins
c4e049e0ba HADOOP-7010. Typo in FileSystem.java. Contributed by Jingguo Yao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1028167 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 01:53:36 +00:00
Doug Cutting
0d8d3d03e4 HADOOP-7006. Fix 'fs -getmerge' command to not be a no-op. Contributed by Chris Nauroth.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027748 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 21:15:36 +00:00
Thomas White
da234df25d HADOOP-6947. Kerberos relogin should set refreshKrb5Config to true. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027654 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 17:04:51 +00:00
Thomas White
3d27eaad25 Reverting HADOOP-6663.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027316 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 23:50:05 +00:00
Thomas White
17f9e57f7c HADOOP-6663. BlockDecompressorStream get EOF exception when decompressing the file compressed from empty file. Contributed by Kang Xiao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027312 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 23:34:18 +00:00
Giridharan Kesavan
768cf339f3 HADOOP-7007: Update the hudson-test-patch ant target. Contributed by Giridharan Kesavan.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027296 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 23:07:57 +00:00
Nigel Daley
217ce2dcf3 HADOOP-7005: Update test-patch.sh to remove callback to Hudson master. Contributed by nigel.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1027235 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 18:59:28 +00:00
Hairong Kuang
13fcef246e HADOOP-6996. Allow CodecFactory to return a codec object given a codec' class name. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1022697 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 20:35:53 +00:00
Konstantin Boudnik
e050832c93 HADOOP-6944. [Herriot] Implement a functionality for getting proxy users
definitions like groups and hosts. Contributed by Vinay Thota.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1006356 13f79535-47bb-0310-9956-ffa450edef68
2010-10-10 21:51:03 +00:00
Jakob Homan
5fe802ea0a HADOOP-6987. Use JUnit Rule to optionally fail test cases that run more than 10 seconds.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1005977 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 19:21:42 +00:00
Thomas White
a503521a2c HADOOP-6933. TestListFiles is flaky. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1005581 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 19:11:45 +00:00
Eli Collins
bf9fccca0c HADOOP-6993. Broken link on cluster setup page of docs. Contributed by Eli Collins.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1005545 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 17:54:18 +00:00
Owen O'Malley
5001565459 HADOOP-6984. Combine the compress kind and the codec in the same option
for SequenceFiles. (cdouglas via omalley)


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1004900 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 06:16:31 +00:00
Owen O'Malley
4bb06fbd0a 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
2010-10-05 06:54:38 +00:00
Konstantin Boudnik
95649aca30 HADOOP-6879. Provide SSH based (Jsch) remote execution API for system tests. Contributed by Konstantin Boudnik.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1004118 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 05:10:06 +00:00
Owen O'Malley
c7e1a1c4c1 HADOOP-6856. Simplify constructors for SequenceFile, and MapFile. (omalley)
-- Missed some files


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1002940 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 03:13:29 +00:00
Owen O'Malley
6333b3e485 HADOOP-6856. Simplify constructors for SequenceFile, and MapFile. (omalley)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1002937 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 02:59:32 +00:00
Thomas White
642ed17a48 HADOOP-6951. Distinct minicluster services (e.g. NN and JT) overwrite each other's service policies. Contributed by Aaron T. Myers.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1002896 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 23:49:32 +00:00
Devaraj Das
8db4b543b9 HADOOP-6965. Introduces checks for whether the original tgt is valid in the reloginFromKeytab method. Contributed by Jitendra Pandey.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1002343 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 20:18:37 +00:00
Thomas White
47d4ebebac Reverting commit 1001067 while related HDFS and MR JIRAs are tested (HADOOP-6951).
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1001127 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 02:41:10 +00:00
Thomas White
0fd49b3537 HADOOP-6951. Distinct minicluster services (e.g. NN and JT) overwrite each other's service policies. Contributed by Aaron T. Myers
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1001067 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 20:48:59 +00:00
Vinod Kumar Vavilapalli
e9c1efd4cc HADOOP-6922. COMMON part of MAPREDUCE-1664. Makes AccessControlList a writable and updates documentation for Job ACLs. Contributed by Ravi Gummadi.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@998001 13f79535-47bb-0310-9956-ffa450edef68
2010-09-17 07:25:57 +00:00
Eli Collins
8a85347554 HADOOP-6940. RawLocalFileSystem's markSupported method misnamed markSupport. Contributed by Tom White.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@995285 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 23:47:28 +00:00
Sharad Agarwal
086223892e HADOOP-6930. AvroRpcEngine doesn't work with generated Avro code. Contributed by Sharad Agarwal.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@993529 13f79535-47bb-0310-9956-ffa450edef68
2010-09-07 20:49:23 +00:00
Hairong Kuang
becf8e919a HADOOP-6938. ConnectionId.getRemotePrincipal() should check if security is enabled. Contributed by Kan Zhang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@992479 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 21:24:29 +00:00
Eli Collins
fa75e35f9e HADOOP-6934. Test for ByteWritable comparator. Contributed by Johannes Zillmann.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@991821 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 06:26:43 +00:00
Hairong Kuang
1c75bcc76b HADOOP-6907. Rpc client doesn't use the per-connection conf to figure out server's Kerberos principal. Contributed by Kan Zhang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@991780 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 00:35:30 +00:00
Boris Shkolnik
5c8d9aecf7 HADOOP-6913. Circular initialization between UserGroupInformation and KerberosName
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@991038 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 00:10:05 +00:00
Boris Shkolnik
4f79b07e17 HADOOP-6932. Namenode start (init) fails because of invalid kerberos key, even when security set to simple
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@991030 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 23:42:17 +00:00
Konstantin Boudnik
a89fb4dcdc HADOOP-6786. test-patch needs to verify Herriot integrity. Contributed by Konstantin Boudnik
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@990681 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 01:31:56 +00:00
Tsz-wo Sze
7efb9640be HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..). Contributed by Erik Steffl
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@990460 13f79535-47bb-0310-9956-ffa450edef68
2010-08-28 22:44:10 +00:00
Eli Collins
97ce72a97e HADOOP-6833. IPC leaks call parameters when exceptions thrown. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@989999 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 02:53:20 +00:00
Eli Collins
19e46e358e HADOOP-6925. BZip2Codec incorrectly implements read(). Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@988748 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 22:40:05 +00:00
Mahadev Konar
ad5306f24c HADOOP-6906. FileContext copy() utility doesn't work with recursive copying of directories. (vinod k v via mahadev)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@987374 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 03:46:07 +00:00
Jakob Homan
0acb205a4b HADOOP-6482. GenericOptionsParser constructor that takes Options and String[] ignores options. Contributed by Eli Collins.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@986971 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 22:50:57 +00:00
Thomas White
f74a3e4f60 HADOOP-6803. Add native gzip read/write coverage to TestCodec. Contributed by Eli Collins.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@986964 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 21:57:18 +00:00
Jakob Homan
76e22cc8bf HADOOP-6885. Fix java doc warnings in Groups and RefreshUserMappingsProtocol. Contributed by Eli Collins.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@986961 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 21:50:11 +00:00
Suresh Srinivas
6fe92180fa HADOOP-6693. Add metrics to track kerberol login activity. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@986469 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 20:03:39 +00:00
Jakob Homan
9950db1817 HADOOP-6905. Better logging messages when a delegation token is invalid. Contributed by Kan Zhang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@986172 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 02:37:26 +00:00
Amareshwari Sri Ramadasu
4c940af714 HADOOP-6715. Fixes AccessControlList.toString() to return a descriptive String representation of the ACL. Contributed by Ravi Gummadi
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@984652 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 06:34:53 +00:00
Hairong Kuang
dc2a3d1ca3 HADOOP-6900. Make the iterator returned by FileSystem#listLocatedStatus to throw IOException rather than RuntimeException when there is an IO error fetching the next file. Contributed by Hairong Kuang.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@984301 13f79535-47bb-0310-9956-ffa450edef68
2010-08-11 04:43:26 +00:00
Boris Shkolnik
ccbdfba7d1 HADOOP-6911. doc update for DelegationTokenFetcher
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@984250 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 22:35:15 +00:00
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
Devaraj Das
c47d34a866 HADOOP-6706. Improves the sasl failure handling due to expired tickets, and other server detected failures. Contributed by Jitendra Pandey and Devaraj Das.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@981714 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 00:51:57 +00:00
Jakob Homan
1035138b4c HADOOP-6892. Common component of HDFS-1150 (Verify datanodes' identities to clients in secure clusters).
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@981688 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 21:10:21 +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
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
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
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
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
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
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
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
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