Tsz-wo Sze
|
5980139140
|
HDFS-4809. When a QuotaExceededException is thrown during rename, the quota usage should be subtracted back. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1480508 13f79535-47bb-0310-9956-ffa450edef68
|
2013-05-09 00:23:57 +00:00 |
|
Tsz-wo Sze
|
08ec505d6b
|
HDFS-4806. In INodeDirectoryWithSnapshot, use isInLatestSnapshot() to determine if an added/removed child should be recorded in the snapshot diff. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1480146 13f79535-47bb-0310-9956-ffa450edef68
|
2013-05-08 01:17:24 +00:00 |
|
Tsz-wo Sze
|
41312abe84
|
HDFS-4802. Disallowing snapshot on / twice should throw SnapshotException but not IllegalStateException. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1480015 13f79535-47bb-0310-9956-ffa450edef68
|
2013-05-07 18:45:03 +00:00 |
|
Tsz-wo Sze
|
98b416f5ac
|
HDFS-4801. lsSnapshottableDir throws IllegalArgumentException when root is snapshottable. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1479709 13f79535-47bb-0310-9956-ffa450edef68
|
2013-05-06 22:48:54 +00:00 |
|
Tsz-wo Sze
|
0aab1ef996
|
HDFS-4800. Fix INodeDirectoryWithSnapshot#cleanDeletedINode. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1479707 13f79535-47bb-0310-9956-ffa450edef68
|
2013-05-06 22:45:00 +00:00 |
|
Tsz-wo Sze
|
424b270c94
|
HDFS-4798. Update computeContentSummary() for the reference nodes in snapshots.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1479671 13f79535-47bb-0310-9956-ffa450edef68
|
2013-05-06 18:48:24 +00:00 |
|
Tsz-wo Sze
|
72d783374c
|
HDFS-4791. Update and fix deletion of reference inode. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1479198 13f79535-47bb-0310-9956-ffa450edef68
|
2013-05-04 22:10:55 +00:00 |
|
Tsz-wo Sze
|
7c14f1557b
|
HDFS-4781. Fix a NullPointerException when listing .snapshot under a non-existing directory.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1478135 13f79535-47bb-0310-9956-ffa450edef68
|
2013-05-01 18:33:08 +00:00 |
|
Tsz-wo Sze
|
98c0421fbf
|
HDFS-4758. Disallow nested snapshottable directories and unwrap RemoteException.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1477867 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-30 22:55:38 +00:00 |
|
Tsz-wo Sze
|
3a3e0f5731
|
HDFS-4760. Update inodeMap after node replacement. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1477827 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-30 21:05:20 +00:00 |
|
Tsz-wo Sze
|
e097f8404b
|
HDFS-4773. Fix bugs in quota usage computation and OfflineImageViewer. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1477367 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-29 22:03:23 +00:00 |
|
Tsz-wo Sze
|
884cbb681a
|
HDFS-4578. Restrict snapshot IDs to 24-bit wide. Contributed by Arpit Agarwal
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1477181 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-29 16:37:30 +00:00 |
|
Tsz-wo Sze
|
5276f4e04d
|
HDFS-4767. If a directory is snapshottable, do not replace it when clearing quota. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1476454 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-27 00:05:49 +00:00 |
|
Tsz-wo Sze
|
a5ae562d70
|
HDFS-4650. When passing two non-existing snapshot names to snapshotDiff, it returns success if the names are the same. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1476408 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-26 21:30:53 +00:00 |
|
Tsz-wo Sze
|
9da3865841
|
HDFS-4650. Fix a bug in FSDirectory and add more unit tests for rename with existence of snapshottable directories and snapshots. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1476012 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-26 01:31:43 +00:00 |
|
Tsz-wo Sze
|
76b80b48ec
|
HDFS-4755. Fix AccessControlException message and moves "implements LinkedElement" from INode to INodeWithAdditionalFields.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1476009 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-26 01:05:47 +00:00 |
|
Tsz-wo Sze
|
36f43dcb4f
|
HDFS-4742. Fix appending to a renamed file with snapshot. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1475903 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-25 18:53:14 +00:00 |
|
Tsz-wo Sze
|
745bfa0311
|
HDFS-4749. Use INodeId to identify the corresponding directory node in FSImage saving/loading. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1475902 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-25 18:51:00 +00:00 |
|
Tsz-wo Sze
|
e8b64d3851
|
HDFS-4729. Fix OfflineImageViewer and permission checking for snapshot operations. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1471665 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-24 20:47:13 +00:00 |
|
Tsz-wo Sze
|
0fa5cad0b2
|
HDFS-4686. Update quota computation for rename and INodeReference. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1471647 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-24 20:31:06 +00:00 |
|
Tsz-wo Sze
|
3a812e9f3a
|
HDFS-4738. Changes AbstractINodeDiff to implement Comparable<Integer>, and fix javadoc and other warnings.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1471228 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-24 02:11:18 +00:00 |
|
Tsz-wo Sze
|
65752c09ab
|
HDFS-4735. DisallowSnapshot throws IllegalStateException for nested snapshottable directories. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1471214 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-24 00:28:07 +00:00 |
|
Tsz-wo Sze
|
10a2d82b45
|
HDFS-4719. Remove AbstractINodeDiff.Factory and move its methods to AbstractINodeDiffList. Contributed by Arpit Agarwal
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1470759 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-23 00:11:51 +00:00 |
|
Tsz-wo Sze
|
92e0416ced
|
HDFS-4727. Update inodeMap after deleting files/directories/snapshots. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1470756 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-23 00:00:47 +00:00 |
|
Tsz-wo Sze
|
43bdc22e92
|
HDFS-4726. Fix test failures after merging the INodeId-INode mapping from trunk. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1470735 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-22 22:13:58 +00:00 |
|
Tsz-wo Sze
|
cb229db4bd
|
HDFS-4708. Add snapshot user documentation.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1470665 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-22 19:13:18 +00:00 |
|
Tsz-wo Sze
|
9ab8fa36f2
|
HDFS-4717. Change the path parameter type of the snapshot methods in HdfsAdmin from String to Path.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1469664 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-19 02:07:52 +00:00 |
|
Tsz-wo Sze
|
419fd3999c
|
HDFS-4706. Do not replace root inode for disallowSnapshot.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1469122 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-18 01:39:12 +00:00 |
|
Tsz-wo Sze
|
0ad27ad3e3
|
HDFS-4707. Add snapshot methods to FilterFileSystem and fix findbugs warnings.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1469119 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-18 01:28:00 +00:00 |
|
Tsz-wo Sze
|
9280468b1a
|
HDFS-4550. Refactor INodeDirectory.INodesInPath to a standalone class.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1468725 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-17 02:41:38 +00:00 |
|
Tsz-wo Sze
|
38bd7061c1
|
HDFS-4529. Disallow concat when one of the src files is in some snapshot.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1468667 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-16 23:16:02 +00:00 |
|
Tsz-wo Sze
|
6bda1f20ad
|
HDFS-4700. Fix the undo section of rename with snapshots. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1468632 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-16 22:03:58 +00:00 |
|
Tsz-wo Sze
|
d13f6ebe20
|
HDFS-4666. Define ".snapshot" as a reserved inode name so that users cannot create a file/directory with ".snapshot" as the name. If ".snapshot" is used in a previous version of HDFS, it must be renamed before upgrade; otherwise, upgrade will fail.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1468238 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-15 21:42:06 +00:00 |
|
Tsz-wo Sze
|
0f78c50ea7
|
HDFS-4692. Use timestamp as default snapshot names.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1467706 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-13 21:41:33 +00:00 |
|
Tsz-wo Sze
|
9c6a7bebe2
|
HDFS-4675. Fix rename across snapshottable directories. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1467540 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-13 02:48:34 +00:00 |
|
Tsz-wo Sze
|
4c00514ede
|
HDFS-4684. Use INode id for image serialization when writing INodeReference.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1466718 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-10 22:24:30 +00:00 |
|
Tsz-wo Sze
|
ca848beb53
|
HDFS-4647. Rename should call setLocalName after an inode is removed from snapshots. Contributed by Arpit Agarwal
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1464795 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-04 23:52:38 +00:00 |
|
Tsz-wo Sze
|
1096917649
|
HDFS-4611. Update FSImage for INodeReference.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1463332 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-01 23:24:42 +00:00 |
|
Tsz-wo Sze
|
8ee6ecaea4
|
HDFS-4637. INodeDirectory#replaceSelf4Quota may incorrectly convert a newly created directory to an INodeDirectoryWithSnapshot. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1463075 13f79535-47bb-0310-9956-ffa450edef68
|
2013-04-01 01:53:21 +00:00 |
|
Tsz-wo Sze
|
9602869d19
|
HDFS-4648. For snapshot deletion, when merging the diff from to-delete snapshot to the prior snapshot, make sure files/directories created after the prior snapshot get deleted. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1462865 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-30 23:57:27 +00:00 |
|
Tsz-wo Sze
|
25aab4203c
|
HDFS-4636. Update quota usage when deleting files/dirs that were created after taking the latest snapshot. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1462192 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-28 16:18:04 +00:00 |
|
Tsz-wo Sze
|
cc2f96f655
|
HDFS-4612. Not to use INode.getParent() when generating snapshot diff report. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1460590 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-25 10:21:30 +00:00 |
|
Suresh Srinivas
|
993a76f2dd
|
HDFS-4627. Fix FSImageFormat#Loader NPE and synchronization issues. Contributed by Jing Zhao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1460389 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-24 14:53:52 +00:00 |
|
Tsz-wo Sze
|
ca7c588185
|
HDFS-4616. Update the FilesDeleted metric while deleting file/dir in the current tree. Contributed by Jing Zhao
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1459485 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-21 19:30:35 +00:00 |
|
Tsz-wo Sze
|
9701555899
|
HDFS-4534. Add INodeReference in order to support rename with snapshots.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1458164 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-19 06:27:26 +00:00 |
|
Tsz-wo Sze
|
77f7bfa9ef
|
HDFS-4556. Add snapshotdiff and LsSnapshottableDir tools to hdfs script. Contributed by Arpit Agarwal
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1457712 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-18 11:36:59 +00:00 |
|
Suresh Srinivas
|
719c313be1
|
HDFS-4144. Create test for all snapshot-related metrics. Contributed by Jing Zhao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1455805 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-13 06:05:00 +00:00 |
|
Tsz-wo Sze
|
3b3ea5c422
|
HDFS-4563. Update namespace/diskspace usage after deleting snapshots.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1455396 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-12 02:41:25 +00:00 |
|
Tsz-wo Sze
|
43f8d0b9c9
|
HDFS-4574. Move Diff to the util package.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1454988 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-11 03:45:52 +00:00 |
|
Suresh Srinivas
|
d32fb8a62b
|
HDFS-4579. Annotate snapshot tests. Contributed by Arpit Agarwal.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-2802@1454748 13f79535-47bb-0310-9956-ffa450edef68
|
2013-03-09 18:14:30 +00:00 |
|