Commit Graph

18205 Commits

Author SHA1 Message Date
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