hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [10/50] git commit: Merge trunk into HDFS-6584
Date Fri, 19 Sep 2014 05:28:12 GMT
Merge trunk into HDFS-6584


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/300cb12b
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/300cb12b
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/300cb12b

Branch: refs/heads/HDFS-6581
Commit: 300cb12bef9802f328cfb37aaab5af71137504ff
Parents: 185200e 9e941d9
Author: Jing Zhao <jing9@apache.org>
Authored: Fri Sep 5 11:37:22 2014 -0700
Committer: Jing Zhao <jing9@apache.org>
Committed: Fri Sep 5 11:37:22 2014 -0700

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/CHANGES.txt |   14 +
 .../dev-support/findbugsExcludeFile.xml         |    2 +-
 .../hadoop/crypto/key/KeyProviderFactory.java   |   36 +-
 .../crypto/key/kms/KMSClientProvider.java       |   57 +-
 .../hadoop/crypto/random/OsSecureRandom.java    |   21 +-
 .../DelegationTokenAuthenticationFilter.java    |   15 +-
 .../DelegationTokenAuthenticationHandler.java   |    6 +-
 .../web/DelegationTokenAuthenticator.java       |   20 +-
 .../apache/hadoop/util/HttpExceptionUtils.java  |  185 ++++
 .../apache/hadoop/crypto/TestCryptoCodec.java   |   69 +-
 .../apache/hadoop/crypto/TestCryptoStreams.java |    2 +-
 .../crypto/key/TestKeyProviderFactory.java      |   13 +
 .../crypto/random/TestOsSecureRandom.java       |   15 +
 ...tionTokenAuthenticationHandlerWithMocks.java |   35 +-
 .../hadoop/util/TestHttpExceptionUtils.java     |  167 +++
 hadoop-common-project/hadoop-kms/pom.xml        |    1 +
 .../key/kms/server/KMSExceptionsProvider.java   |   12 +-
 .../hadoop/fs/http/client/HttpFSFileSystem.java |   70 +-
 .../hadoop/fs/http/client/HttpFSUtils.java      |   50 -
 .../hadoop/lib/wsrs/ExceptionProvider.java      |   14 +-
 .../fs/http/client/BaseTestHttpFSWith.java      |    4 +-
 .../fs/http/server/TestHttpFSServerNoACLs.java  |   10 +-
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt     |   23 +
 .../org/apache/hadoop/hdfs/DFSConfigKeys.java   |    3 +
 .../java/org/apache/hadoop/hdfs/DFSUtil.java    |   80 +-
 .../hadoop/hdfs/DistributedFileSystem.java      |   11 +-
 .../org/apache/hadoop/hdfs/inotify/Event.java   |   12 +
 .../apache/hadoop/hdfs/protocolPB/PBHelper.java |    6 +-
 .../hdfs/server/datanode/BlockPoolManager.java  |   12 +-
 .../hdfs/server/datanode/DataStorage.java       |    2 +-
 .../hdfs/server/namenode/FSDirectory.java       |    5 +-
 .../hadoop/hdfs/server/namenode/FSEditLog.java  |    6 +-
 .../hdfs/server/namenode/FSEditLogLoader.java   |    8 +-
 .../hdfs/server/namenode/FSEditLogOp.java       |   18 +
 .../server/namenode/FSImageSerialization.java   |   17 +
 .../hdfs/server/namenode/FSNamesystem.java      |   45 +-
 .../hdfs/server/namenode/INodeReference.java    |    3 +-
 .../namenode/InotifyFSEditLogOpTranslator.java  |    1 +
 .../server/namenode/NameNodeLayoutVersion.java  |    4 +-
 .../snapshot/DirectorySnapshottableFeature.java |    2 +-
 .../org/apache/hadoop/hdfs/tools/DFSAdmin.java  |  181 ++--
 .../org/apache/hadoop/hdfs/tools/GetConf.java   |    4 +-
 .../hadoop-hdfs/src/main/proto/inotify.proto    |    1 +
 .../src/main/resources/hdfs-default.xml         |   18 +
 .../hadoop/hdfs/TestBlocksScheduledCounter.java |   18 +-
 .../hdfs/TestDFSInotifyEventInputStream.java    |    8 +-
 .../org/apache/hadoop/hdfs/TestDFSUtil.java     |   26 +
 .../apache/hadoop/hdfs/TestFileCreation.java    |  119 ++
 .../org/apache/hadoop/hdfs/TestLocalDFS.java    |   29 +-
 .../server/datanode/TestBlockPoolManager.java   |   22 +
 .../hdfs/server/namenode/CreateEditsLog.java    |    2 +-
 .../hdfs/server/namenode/TestEditLog.java       |    2 +-
 .../snapshot/TestSnapshotDiffReport.java        |   36 +
 .../apache/hadoop/hdfs/tools/TestGetConf.java   |   26 +-
 .../java/org/apache/hadoop/tools/TestTools.java |    2 +-
 .../hadoop-hdfs/src/test/resources/editsStored  |  Bin 4918 -> 0 bytes
 .../src/test/resources/editsStored.xml          | 1013 ------------------
 hadoop-mapreduce-project/CHANGES.txt            |    6 +
 .../mapreduce/v2/app/job/impl/JobImpl.java      |    2 +
 .../java/org/apache/hadoop/mapred/MapTask.java  |    4 +-
 hadoop-yarn-project/CHANGES.txt                 |    9 +
 .../hadoop/yarn/conf/YarnConfiguration.java     |    8 +
 .../ApplicationHistoryServer.java               |   19 +-
 .../timeline/webapp/CrossOriginFilter.java      |   10 +-
 .../timeline/webapp/TestCrossOriginFilter.java  |   15 +
 .../nodemanager/LinuxContainerExecutor.java     |   11 +
 .../nodemanager/TestLinuxContainerExecutor.java |   60 ++
 67 files changed, 1278 insertions(+), 1449 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSConfigKeys.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DistributedFileSystem.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/PBHelper.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogLoader.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageSerialization.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
----------------------------------------------------------------------
diff --cc hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
index e0d0158,c1744f6..b90e2d5
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
@@@ -2542,11 -2497,11 +2543,11 @@@ public class FSNamesystem implements Na
            checkOperation(OperationCategory.WRITE);
            checkNameNodeSafeMode("Cannot create file" + src);
            src = resolvePath(src, pathComponents);
-           startFileInternal(pc, src, permissions, holder, clientMachine, create,
-               overwrite, createParent, replication, blockSize, suite, edek,
-               logRetryCache);
+           toRemoveBlocks = startFileInternal(pc, src, permissions, holder, 
+               clientMachine, create, overwrite, createParent, replication, 
+               blockSize, suite, edek, logRetryCache);
            stat = dir.getFileInfo(src, false,
 -              FSDirectory.isReservedRawName(srcArg));
 +              FSDirectory.isReservedRawName(srcArg), false);
          } catch (StandbyException se) {
            skipSync = true;
            throw se;

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeReference.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeLayoutVersion.java
----------------------------------------------------------------------
diff --cc hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeLayoutVersion.java
index ce6c9dc,1df6df4..c2896cf
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeLayoutVersion.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeLayoutVersion.java
@@@ -66,7 -66,8 +66,9 @@@ public class NameNodeLayoutVersion 
      ROLLING_UPGRADE(-55, -53, "Support rolling upgrade", false),
      EDITLOG_LENGTH(-56, "Add length field to every edit log op"),
      XATTRS(-57, "Extended attributes"),
-     BLOCK_STORAGE_POLICY(-58, "Block Storage policy");
+     CREATE_OVERWRITE(-58, "Use single editlog record for " +
 -        "creating file with overwrite");
++        "creating file with overwrite"),
++    BLOCK_STORAGE_POLICY(-59, "Block Storage policy");
      
      private final FeatureInfo info;
  

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
----------------------------------------------------------------------
diff --cc hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
index 0764fdc,13ccae5..10012c6
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java
@@@ -356,6 -353,40 +356,42 @@@ public class DFSAdmin extends FsShell 
    }
  
    /**
+    * Common usage summary shared between "hdfs dfsadmin -help" and
+    * "hdfs dfsadmin"
+    */
+   private static final String commonUsageSummary =
+     "\t[-report [-live] [-dead] [-decommissioning]]\n" +
+     "\t[-safemode <enter | leave | get | wait>]\n" +
+     "\t[-saveNamespace]\n" +
+     "\t[-rollEdits]\n" +
+     "\t[-restoreFailedStorage true|false|check]\n" +
+     "\t[-refreshNodes]\n" +
+     "\t[" + SetQuotaCommand.USAGE + "]\n" +
+     "\t[" + ClearQuotaCommand.USAGE +"]\n" +
+     "\t[" + SetSpaceQuotaCommand.USAGE + "]\n" +
+     "\t[" + ClearSpaceQuotaCommand.USAGE +"]\n" +
+     "\t[-finalizeUpgrade]\n" +
+     "\t[" + RollingUpgradeCommand.USAGE +"]\n" +
+     "\t[-refreshServiceAcl]\n" +
+     "\t[-refreshUserToGroupsMappings]\n" +
+     "\t[-refreshSuperUserGroupsConfiguration]\n" +
+     "\t[-refreshCallQueue]\n" +
+     "\t[-refresh <host:ipc_port> <key> [arg1..argn]\n" +
+     "\t[-printTopology]\n" +
+     "\t[-refreshNamenodes datanode_host:ipc_port]\n"+
+     "\t[-deleteBlockPool datanode_host:ipc_port blockpoolId [force]]\n"+
+     "\t[-setBalancerBandwidth <bandwidth in bytes per second>]\n" +
+     "\t[-fetchImage <local directory>]\n" +
+     "\t[-allowSnapshot <snapshotDir>]\n" +
+     "\t[-disallowSnapshot <snapshotDir>]\n" +
+     "\t[-shutdownDatanode <datanode_host:ipc_port> [upgrade]]\n" +
+     "\t[-getDatanodeInfo <datanode_host:ipc_port>]\n" +
+     "\t[-metasave filename]\n" +
++    "\t[-setStoragePolicy path policyName\n" +
++    "\t[-getStoragePolicy path\n" +
+     "\t[-help [cmd]]\n";
+ 
+   /**
     * Construct a DFSAdmin object.
     */
    public DFSAdmin() {
@@@ -1409,126 -1373,90 +1416,96 @@@
     */
    private static void printUsage(String cmd) {
      if ("-report".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-report] [-live] [-dead] [-decommissioning]");
      } else if ("-safemode".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-safemode enter | leave | get | wait]");
 +    } else if ("-setStoragePolicy".equals(cmd)) {
 +      System.err.println("Usage: java DFSAdmin"
 +          + " [-setStoragePolicy path policyName]");
 +    } else if ("-getStoragePolicy".equals(cmd)) {
 +      System.err.println("Usage: java DFSAdmin"
 +          + " [-getStoragePolicy path]");
      } else if ("-allowSnapshot".equalsIgnoreCase(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-allowSnapshot <snapshotDir>]");
      } else if ("-disallowSnapshot".equalsIgnoreCase(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-disallowSnapshot <snapshotDir>]");
      } else if ("-saveNamespace".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-saveNamespace]");
      } else if ("-rollEdits".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-rollEdits]");
      } else if ("-restoreFailedStorage".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-restoreFailedStorage true|false|check ]");
      } else if ("-refreshNodes".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-refreshNodes]");
      } else if ("-finalizeUpgrade".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-finalizeUpgrade]");
      } else if (RollingUpgradeCommand.matches(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [" + RollingUpgradeCommand.USAGE+"]");
      } else if ("-metasave".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-metasave filename]");
      } else if (SetQuotaCommand.matches(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [" + SetQuotaCommand.USAGE+"]");
      } else if (ClearQuotaCommand.matches(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " ["+ClearQuotaCommand.USAGE+"]");
      } else if (SetSpaceQuotaCommand.matches(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [" + SetSpaceQuotaCommand.USAGE+"]");
      } else if (ClearSpaceQuotaCommand.matches(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " ["+ClearSpaceQuotaCommand.USAGE+"]");
      } else if ("-refreshServiceAcl".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-refreshServiceAcl]");
      } else if ("-refreshUserToGroupsMappings".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-refreshUserToGroupsMappings]");
      } else if ("-refreshSuperUserGroupsConfiguration".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-refreshSuperUserGroupsConfiguration]");
      } else if ("-refreshCallQueue".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-refreshCallQueue]");
      } else if ("-refresh".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-refresh <hostname:port> <resource_identifier> [arg1..argn]");
      } else if ("-printTopology".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-printTopology]");
      } else if ("-refreshNamenodes".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                           + " [-refreshNamenodes datanode-host:port]");
      } else if ("-deleteBlockPool".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-deleteBlockPool datanode-host:port blockpoolId [force]]");
      } else if ("-setBalancerBandwidth".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
                    + " [-setBalancerBandwidth <bandwidth in bytes per second>]");
      } else if ("-fetchImage".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-fetchImage <local directory>]");
      } else if ("-shutdownDatanode".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-shutdownDatanode <datanode_host:ipc_port> [upgrade]]");
      } else if ("-getDatanodeInfo".equals(cmd)) {
-       System.err.println("Usage: java DFSAdmin"
+       System.err.println("Usage: hdfs dfsadmin"
            + " [-getDatanodeInfo <datanode_host:ipc_port>]");
      } else {
-       System.err.println("Usage: java DFSAdmin");
+       System.err.println("Usage: hdfs dfsadmin");
        System.err.println("Note: Administrative commands can only be run as the HDFS superuser.");
-       System.err.println("           [-report]");
-       System.err.println("           [-safemode enter | leave | get | wait]"); 
-       System.err.println("           [-allowSnapshot <snapshotDir>]");
-       System.err.println("           [-disallowSnapshot <snapshotDir>]");
-       System.err.println("           [-saveNamespace]");
-       System.err.println("           [-rollEdits]");
-       System.err.println("           [-restoreFailedStorage true|false|check]");
-       System.err.println("           [-refreshNodes]");
-       System.err.println("           [-finalizeUpgrade]");
-       System.err.println("           ["+RollingUpgradeCommand.USAGE+"]");
-       System.err.println("           [-metasave filename]");
-       System.err.println("           [-refreshServiceAcl]");
-       System.err.println("           [-refreshUserToGroupsMappings]");
-       System.err.println("           [-refreshSuperUserGroupsConfiguration]");
-       System.err.println("           [-refreshCallQueue]");
-       System.err.println("           [-refresh]");
-       System.err.println("           [-printTopology]");
-       System.err.println("           [-refreshNamenodes datanodehost:port]");
-       System.err.println("           [-deleteBlockPool datanode-host:port blockpoolId [force]]");
-       System.err.println("           ["+SetQuotaCommand.USAGE+"]");
-       System.err.println("           ["+ClearQuotaCommand.USAGE+"]");
-       System.err.println("           ["+SetSpaceQuotaCommand.USAGE+"]");
-       System.err.println("           ["+ClearSpaceQuotaCommand.USAGE+"]");      
-       System.err.println("           [-setBalancerBandwidth <bandwidth in bytes per second>]");
-       System.err.println("           [-fetchImage <local directory>]");
-       System.err.println("           [-shutdownDatanode <datanode_host:ipc_port> [upgrade]]");
-       System.err.println("           [-getDatanodeInfo <datanode_host:ipc_port>]");
-       System.err.println("           [-setStoragePolicy path policyName]");
-       System.err.println("           [-getStoragePolicy path]");
-       System.err.println("           [-help [cmd]]");
-       System.err.println();
+       System.err.println(commonUsageSummary);
        ToolRunner.printGenericCommandUsage(System.err);
      }
    }

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/CreateEditsLog.java
----------------------------------------------------------------------
diff --cc hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/CreateEditsLog.java
index 5201423,3f96c0c..94b139b
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/CreateEditsLog.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/CreateEditsLog.java
@@@ -97,9 -97,9 +97,9 @@@ public class CreateEditsLog 
          editLog.logMkDir(currentDir, dirInode);
        }
        INodeFile fileUc = new INodeFile(inodeId.nextValue(), null,
 -          p, 0L, 0L, BlockInfo.EMPTY_ARRAY, replication, blockSize);
 +          p, 0L, 0L, BlockInfo.EMPTY_ARRAY, replication, blockSize, (byte)0);
        fileUc.toUnderConstruction("", "");
-       editLog.logOpenFile(filePath, fileUc, false);
+       editLog.logOpenFile(filePath, fileUc, false, false);
        editLog.logCloseFile(filePath, inode);
  
        if (currentBlockId - bidAtSync >= 2000) { // sync every 2K blocks

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java
----------------------------------------------------------------------
diff --cc hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java
index d1bc211,7b62242..8070a5f
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestEditLog.java
@@@ -194,10 -194,10 +194,10 @@@ public class TestEditLog 
  
        for (int i = 0; i < numTransactions; i++) {
          INodeFile inode = new INodeFile(namesystem.allocateNewInodeId(), null,
 -            p, 0L, 0L, BlockInfo.EMPTY_ARRAY, replication, blockSize);
 +            p, 0L, 0L, BlockInfo.EMPTY_ARRAY, replication, blockSize, (byte)0);
          inode.toUnderConstruction("", "");
  
-         editLog.logOpenFile("/filename" + (startIndex + i), inode, false);
+         editLog.logOpenFile("/filename" + (startIndex + i), inode, false, false);
          editLog.logCloseFile("/filename" + (startIndex + i), inode);
          editLog.logSync();
        }

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored
----------------------------------------------------------------------
diff --cc hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored
index 227f363,5d93a50..e69de29
Binary files differ

http://git-wip-us.apache.org/repos/asf/hadoop/blob/300cb12b/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml
----------------------------------------------------------------------
diff --cc hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml
index 4b38ab4,977be98..e69de29
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml
@@@ -1,1013 -1,1069 +1,0 @@@
--<?xml version="1.0" encoding="UTF-8"?>
--<EDITS>
--  <EDITS_VERSION>-58</EDITS_VERSION>
--  <RECORD>
--    <OPCODE>OP_START_LOG_SEGMENT</OPCODE>
--    <DATA>
--      <TXID>1</TXID>
--    </DATA>
--  </RECORD>
--  <RECORD>
--    <OPCODE>OP_UPDATE_MASTER_KEY</OPCODE>
--    <DATA>
--      <TXID>2</TXID>
--      <DELEGATION_KEY>
--        <KEY_ID>1</KEY_ID>
-         <EXPIRY_DATE>1406369452622</EXPIRY_DATE>
-         <KEY>aabb8c7ee691798e</KEY>
-       </DELEGATION_KEY>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_UPDATE_MASTER_KEY</OPCODE>
-     <DATA>
-       <TXID>3</TXID>
-       <DELEGATION_KEY>
-         <KEY_ID>2</KEY_ID>
-         <EXPIRY_DATE>1406369452627</EXPIRY_DATE>
-         <KEY>d4f03dbd3c2c2c39</KEY>
-       </DELEGATION_KEY>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD</OPCODE>
-     <DATA>
-       <TXID>4</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>16386</INODEID>
-       <PATH>/file_create</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254112</MTIME>
-       <ATIME>1405678254112</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME>DFSClient_NONMAPREDUCE_1503354021_1</CLIENT_NAME>
-       <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>6</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_CLOSE</OPCODE>
-     <DATA>
-       <TXID>5</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>0</INODEID>
-       <PATH>/file_create</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254157</MTIME>
-       <ATIME>1405678254112</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME></CLIENT_NAME>
-       <CLIENT_MACHINE></CLIENT_MACHINE>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_RENAME_OLD</OPCODE>
-     <DATA>
-       <TXID>6</TXID>
-       <LENGTH>0</LENGTH>
-       <SRC>/file_create</SRC>
-       <DST>/file_moved</DST>
-       <TIMESTAMP>1405678254165</TIMESTAMP>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>8</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_DELETE</OPCODE>
-     <DATA>
-       <TXID>7</TXID>
-       <LENGTH>0</LENGTH>
-       <PATH>/file_moved</PATH>
-       <TIMESTAMP>1405678254190</TIMESTAMP>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>9</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_MKDIR</OPCODE>
-     <DATA>
-       <TXID>8</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>16387</INODEID>
-       <PATH>/directory_mkdir</PATH>
-       <TIMESTAMP>1405678254202</TIMESTAMP>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>493</MODE>
-       </PERMISSION_STATUS>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOW_SNAPSHOT</OPCODE>
-     <DATA>
-       <TXID>9</TXID>
-       <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_DISALLOW_SNAPSHOT</OPCODE>
-     <DATA>
-       <TXID>10</TXID>
-       <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOW_SNAPSHOT</OPCODE>
-     <DATA>
-       <TXID>11</TXID>
-       <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_CREATE_SNAPSHOT</OPCODE>
-     <DATA>
-       <TXID>12</TXID>
-       <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
-       <SNAPSHOTNAME>snapshot1</SNAPSHOTNAME>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>14</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_RENAME_SNAPSHOT</OPCODE>
-     <DATA>
-       <TXID>13</TXID>
-       <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
-       <SNAPSHOTOLDNAME>snapshot1</SNAPSHOTOLDNAME>
-       <SNAPSHOTNEWNAME>snapshot2</SNAPSHOTNEWNAME>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>15</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_DELETE_SNAPSHOT</OPCODE>
-     <DATA>
-       <TXID>14</TXID>
-       <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
-       <SNAPSHOTNAME>snapshot2</SNAPSHOTNAME>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>16</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD</OPCODE>
-     <DATA>
-       <TXID>15</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>16388</INODEID>
-       <PATH>/file_create</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254268</MTIME>
-       <ATIME>1405678254268</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME>DFSClient_NONMAPREDUCE_1503354021_1</CLIENT_NAME>
-       <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>17</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_CLOSE</OPCODE>
-     <DATA>
-       <TXID>16</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>0</INODEID>
-       <PATH>/file_create</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254272</MTIME>
-       <ATIME>1405678254268</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME></CLIENT_NAME>
-       <CLIENT_MACHINE></CLIENT_MACHINE>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_REPLICATION</OPCODE>
-     <DATA>
-       <TXID>17</TXID>
-       <PATH>/file_create</PATH>
-       <REPLICATION>1</REPLICATION>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_PERMISSIONS</OPCODE>
-     <DATA>
-       <TXID>18</TXID>
-       <SRC>/file_create</SRC>
-       <MODE>511</MODE>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_OWNER</OPCODE>
-     <DATA>
-       <TXID>19</TXID>
-       <SRC>/file_create</SRC>
-       <USERNAME>newOwner</USERNAME>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_TIMES</OPCODE>
-     <DATA>
-       <TXID>20</TXID>
-       <LENGTH>0</LENGTH>
-       <PATH>/file_create</PATH>
-       <MTIME>1285195527000</MTIME>
-       <ATIME>1285195527000</ATIME>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_QUOTA</OPCODE>
-     <DATA>
-       <TXID>21</TXID>
-       <SRC>/directory_mkdir</SRC>
-       <NSQUOTA>1000</NSQUOTA>
-       <DSQUOTA>-1</DSQUOTA>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_RENAME</OPCODE>
-     <DATA>
-       <TXID>22</TXID>
-       <LENGTH>0</LENGTH>
-       <SRC>/file_create</SRC>
-       <DST>/file_moved</DST>
-       <TIMESTAMP>1405678254305</TIMESTAMP>
-       <OPTIONS>NONE</OPTIONS>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>24</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD</OPCODE>
-     <DATA>
-       <TXID>23</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>16389</INODEID>
-       <PATH>/file_concat_target</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254312</MTIME>
-       <ATIME>1405678254312</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME>DFSClient_NONMAPREDUCE_1503354021_1</CLIENT_NAME>
-       <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>26</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>24</TXID>
-       <BLOCK_ID>1073741825</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>25</TXID>
-       <GENSTAMPV2>1001</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>26</TXID>
-       <PATH>/file_concat_target</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741825</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1001</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>27</TXID>
-       <BLOCK_ID>1073741826</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>28</TXID>
-       <GENSTAMPV2>1002</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>29</TXID>
-       <PATH>/file_concat_target</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741825</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1001</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741826</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1002</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>30</TXID>
-       <BLOCK_ID>1073741827</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>31</TXID>
-       <GENSTAMPV2>1003</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>32</TXID>
-       <PATH>/file_concat_target</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741826</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1002</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741827</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1003</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_CLOSE</OPCODE>
-     <DATA>
-       <TXID>33</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>0</INODEID>
-       <PATH>/file_concat_target</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254608</MTIME>
-       <ATIME>1405678254312</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME></CLIENT_NAME>
-       <CLIENT_MACHINE></CLIENT_MACHINE>
-       <BLOCK>
-         <BLOCK_ID>1073741825</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1001</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741826</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1002</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741827</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1003</GENSTAMP>
-       </BLOCK>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD</OPCODE>
-     <DATA>
-       <TXID>34</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>16390</INODEID>
-       <PATH>/file_concat_0</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254613</MTIME>
-       <ATIME>1405678254613</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME>DFSClient_NONMAPREDUCE_1503354021_1</CLIENT_NAME>
-       <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>39</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>35</TXID>
-       <BLOCK_ID>1073741828</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>36</TXID>
-       <GENSTAMPV2>1004</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>37</TXID>
-       <PATH>/file_concat_0</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741828</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1004</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>38</TXID>
-       <BLOCK_ID>1073741829</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>39</TXID>
-       <GENSTAMPV2>1005</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>40</TXID>
-       <PATH>/file_concat_0</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741828</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1004</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741829</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1005</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>41</TXID>
-       <BLOCK_ID>1073741830</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>42</TXID>
-       <GENSTAMPV2>1006</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>43</TXID>
-       <PATH>/file_concat_0</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741829</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1005</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741830</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1006</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_CLOSE</OPCODE>
-     <DATA>
-       <TXID>44</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>0</INODEID>
-       <PATH>/file_concat_0</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254721</MTIME>
-       <ATIME>1405678254613</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME></CLIENT_NAME>
-       <CLIENT_MACHINE></CLIENT_MACHINE>
-       <BLOCK>
-         <BLOCK_ID>1073741828</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1004</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741829</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1005</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741830</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1006</GENSTAMP>
-       </BLOCK>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD</OPCODE>
-     <DATA>
-       <TXID>45</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>16391</INODEID>
-       <PATH>/file_concat_1</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254727</MTIME>
-       <ATIME>1405678254727</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME>DFSClient_NONMAPREDUCE_1503354021_1</CLIENT_NAME>
-       <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>51</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>46</TXID>
-       <BLOCK_ID>1073741831</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>47</TXID>
-       <GENSTAMPV2>1007</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>48</TXID>
-       <PATH>/file_concat_1</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741831</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1007</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>49</TXID>
-       <BLOCK_ID>1073741832</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>50</TXID>
-       <GENSTAMPV2>1008</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>51</TXID>
-       <PATH>/file_concat_1</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741831</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1007</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741832</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1008</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>52</TXID>
-       <BLOCK_ID>1073741833</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>53</TXID>
-       <GENSTAMPV2>1009</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>54</TXID>
-       <PATH>/file_concat_1</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741832</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1008</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741833</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1009</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_CLOSE</OPCODE>
-     <DATA>
-       <TXID>55</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>0</INODEID>
-       <PATH>/file_concat_1</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254810</MTIME>
-       <ATIME>1405678254727</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME></CLIENT_NAME>
-       <CLIENT_MACHINE></CLIENT_MACHINE>
-       <BLOCK>
-         <BLOCK_ID>1073741831</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1007</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741832</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1008</GENSTAMP>
-       </BLOCK>
-       <BLOCK>
-         <BLOCK_ID>1073741833</BLOCK_ID>
-         <NUM_BYTES>512</NUM_BYTES>
-         <GENSTAMP>1009</GENSTAMP>
-       </BLOCK>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_CONCAT_DELETE</OPCODE>
-     <DATA>
-       <TXID>56</TXID>
-       <LENGTH>0</LENGTH>
-       <TRG>/file_concat_target</TRG>
-       <TIMESTAMP>1405678254815</TIMESTAMP>
-       <SOURCES>
-         <SOURCE1>/file_concat_0</SOURCE1>
-         <SOURCE2>/file_concat_1</SOURCE2>
-       </SOURCES>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>62</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SYMLINK</OPCODE>
-     <DATA>
-       <TXID>57</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>16392</INODEID>
-       <PATH>/file_symlink</PATH>
-       <VALUE>/file_concat_target</VALUE>
-       <MTIME>1405678254823</MTIME>
-       <ATIME>1405678254823</ATIME>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>511</MODE>
-       </PERMISSION_STATUS>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>63</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD</OPCODE>
-     <DATA>
-       <TXID>58</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>16393</INODEID>
-       <PATH>/hard-lease-recovery-test</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678254828</MTIME>
-       <ATIME>1405678254828</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME>DFSClient_NONMAPREDUCE_1503354021_1</CLIENT_NAME>
-       <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>64</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
-     <DATA>
-       <TXID>59</TXID>
-       <BLOCK_ID>1073741834</BLOCK_ID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>60</TXID>
-       <GENSTAMPV2>1010</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_BLOCK</OPCODE>
-     <DATA>
-       <TXID>61</TXID>
-       <PATH>/hard-lease-recovery-test</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741834</BLOCK_ID>
-         <NUM_BYTES>0</NUM_BYTES>
-         <GENSTAMP>1010</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_UPDATE_BLOCKS</OPCODE>
-     <DATA>
-       <TXID>62</TXID>
-       <PATH>/hard-lease-recovery-test</PATH>
-       <BLOCK>
-         <BLOCK_ID>1073741834</BLOCK_ID>
-         <NUM_BYTES>11</NUM_BYTES>
-         <GENSTAMP>1010</GENSTAMP>
-       </BLOCK>
-       <RPC_CLIENTID></RPC_CLIENTID>
-       <RPC_CALLID>-2</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
-     <DATA>
-       <TXID>63</TXID>
-       <GENSTAMPV2>1011</GENSTAMPV2>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_REASSIGN_LEASE</OPCODE>
-     <DATA>
-       <TXID>64</TXID>
-       <LEASEHOLDER>DFSClient_NONMAPREDUCE_1503354021_1</LEASEHOLDER>
-       <PATH>/hard-lease-recovery-test</PATH>
-       <NEWHOLDER>HDFS_NameNode</NEWHOLDER>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_CLOSE</OPCODE>
-     <DATA>
-       <TXID>65</TXID>
-       <LENGTH>0</LENGTH>
-       <INODEID>0</INODEID>
-       <PATH>/hard-lease-recovery-test</PATH>
-       <REPLICATION>1</REPLICATION>
-       <MTIME>1405678256966</MTIME>
-       <ATIME>1405678254828</ATIME>
-       <BLOCKSIZE>512</BLOCKSIZE>
-       <CLIENT_NAME></CLIENT_NAME>
-       <CLIENT_MACHINE></CLIENT_MACHINE>
-       <BLOCK>
-         <BLOCK_ID>1073741834</BLOCK_ID>
-         <NUM_BYTES>11</NUM_BYTES>
-         <GENSTAMP>1011</GENSTAMP>
-       </BLOCK>
-       <PERMISSION_STATUS>
-         <USERNAME>vb</USERNAME>
-         <GROUPNAME>supergroup</GROUPNAME>
-         <MODE>420</MODE>
-       </PERMISSION_STATUS>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_CACHE_POOL</OPCODE>
-     <DATA>
-       <TXID>66</TXID>
-       <POOLNAME>pool1</POOLNAME>
-       <OWNERNAME>vb</OWNERNAME>
-       <GROUPNAME>Administrators</GROUPNAME>
-       <MODE>493</MODE>
-       <LIMIT>9223372036854775807</LIMIT>
-       <MAXRELATIVEEXPIRY>2305843009213693951</MAXRELATIVEEXPIRY>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>71</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_MODIFY_CACHE_POOL</OPCODE>
-     <DATA>
-       <TXID>67</TXID>
-       <POOLNAME>pool1</POOLNAME>
-       <LIMIT>99</LIMIT>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>72</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ADD_CACHE_DIRECTIVE</OPCODE>
-     <DATA>
-       <TXID>68</TXID>
-       <ID>1</ID>
-       <PATH>/path</PATH>
-       <REPLICATION>1</REPLICATION>
-       <POOL>pool1</POOL>
-       <EXPIRATION>2305844414891951848</EXPIRATION>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>73</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_MODIFY_CACHE_DIRECTIVE</OPCODE>
-     <DATA>
-       <TXID>69</TXID>
-       <ID>1</ID>
-       <REPLICATION>2</REPLICATION>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>74</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_REMOVE_CACHE_DIRECTIVE</OPCODE>
-     <DATA>
-       <TXID>70</TXID>
-       <ID>1</ID>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>75</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_REMOVE_CACHE_POOL</OPCODE>
-     <DATA>
-       <TXID>71</TXID>
-       <POOLNAME>pool1</POOLNAME>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>76</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_ACL</OPCODE>
-     <DATA>
-       <TXID>72</TXID>
-       <SRC>/file_concat_target</SRC>
-       <ENTRY>
-         <SCOPE>ACCESS</SCOPE>
-         <TYPE>USER</TYPE>
-         <PERM>rw-</PERM>
-       </ENTRY>
-       <ENTRY>
-         <SCOPE>ACCESS</SCOPE>
-         <TYPE>USER</TYPE>
-         <NAME>user</NAME>
-         <PERM>rw-</PERM>
-       </ENTRY>
-       <ENTRY>
-         <SCOPE>ACCESS</SCOPE>
-         <TYPE>GROUP</TYPE>
-         <PERM>-w-</PERM>
-       </ENTRY>
-       <ENTRY>
-         <SCOPE>ACCESS</SCOPE>
-         <TYPE>MASK</TYPE>
-         <PERM>rw-</PERM>
-       </ENTRY>
-       <ENTRY>
-         <SCOPE>ACCESS</SCOPE>
-         <TYPE>OTHER</TYPE>
-         <PERM>---</PERM>
-       </ENTRY>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_XATTR</OPCODE>
-     <DATA>
-       <TXID>73</TXID>
-       <SRC>/file_concat_target</SRC>
-       <XATTR>
-         <NAMESPACE>USER</NAMESPACE>
-         <NAME>a1</NAME>
-         <VALUE>0x313233</VALUE>
-       </XATTR>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>78</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_SET_XATTR</OPCODE>
-     <DATA>
-       <TXID>74</TXID>
-       <SRC>/file_concat_target</SRC>
-       <XATTR>
-         <NAMESPACE>USER</NAMESPACE>
-         <NAME>a2</NAME>
-         <VALUE>0x373839</VALUE>
-       </XATTR>
-       <RPC_CLIENTID>c8e311d2-ca7a-42ad-9cd5-bb191c4b7041</RPC_CLIENTID>
-       <RPC_CALLID>79</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_REMOVE_XATTR</OPCODE>
-     <DATA>
-       <TXID>75</TXID>
-       <SRC>/file_concat_target</SRC>
-       <XATTR>
-         <NAMESPACE>USER</NAMESPACE>
-         <NAME>a2</NAME>
-       </XATTR>
-       <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
-       <RPC_CALLID>82</RPC_CALLID>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ROLLING_UPGRADE_START</OPCODE>
-     <DATA>
-       <TXID>76</TXID>
-       <STARTTIME>1405678257978</STARTTIME>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_ROLLING_UPGRADE_FINALIZE</OPCODE>
-     <DATA>
-       <TXID>77</TXID>
-       <FINALIZETIME>1405678257978</FINALIZETIME>
-     </DATA>
-   </RECORD>
-   <RECORD>
-     <OPCODE>OP_END_LOG_SEGMENT</OPCODE>
-     <DATA>
-       <TXID>78</TXID>
-     </DATA>
-   </RECORD>
- </EDITS>
 -        <EXPIRY_DATE>1403590428625</EXPIRY_DATE>
 -        <KEY>16f34bfba67b2552</KEY>
 -      </DELEGATION_KEY>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_UPDATE_MASTER_KEY</OPCODE>
 -    <DATA>
 -      <TXID>3</TXID>
 -      <DELEGATION_KEY>
 -        <KEY_ID>2</KEY_ID>
 -        <EXPIRY_DATE>1403590428631</EXPIRY_DATE>
 -        <KEY>dbe6282854469833</KEY>
 -      </DELEGATION_KEY>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD</OPCODE>
 -    <DATA>
 -      <TXID>4</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>16386</INODEID>
 -      <PATH>/file_create</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899229669</MTIME>
 -      <ATIME>1402899229669</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME>DFSClient_NONMAPREDUCE_1233039831_1</CLIENT_NAME>
 -      <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>8</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_CLOSE</OPCODE>
 -    <DATA>
 -      <TXID>5</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>0</INODEID>
 -      <PATH>/file_create</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899229711</MTIME>
 -      <ATIME>1402899229669</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME></CLIENT_NAME>
 -      <CLIENT_MACHINE></CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_RENAME_OLD</OPCODE>
 -    <DATA>
 -      <TXID>6</TXID>
 -      <LENGTH>0</LENGTH>
 -      <SRC>/file_create</SRC>
 -      <DST>/file_moved</DST>
 -      <TIMESTAMP>1402899229718</TIMESTAMP>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>10</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_DELETE</OPCODE>
 -    <DATA>
 -      <TXID>7</TXID>
 -      <LENGTH>0</LENGTH>
 -      <PATH>/file_moved</PATH>
 -      <TIMESTAMP>1402899229730</TIMESTAMP>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>11</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_MKDIR</OPCODE>
 -    <DATA>
 -      <TXID>8</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>16387</INODEID>
 -      <PATH>/directory_mkdir</PATH>
 -      <TIMESTAMP>1402899229748</TIMESTAMP>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>493</MODE>
 -      </PERMISSION_STATUS>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOW_SNAPSHOT</OPCODE>
 -    <DATA>
 -      <TXID>9</TXID>
 -      <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_DISALLOW_SNAPSHOT</OPCODE>
 -    <DATA>
 -      <TXID>10</TXID>
 -      <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOW_SNAPSHOT</OPCODE>
 -    <DATA>
 -      <TXID>11</TXID>
 -      <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_CREATE_SNAPSHOT</OPCODE>
 -    <DATA>
 -      <TXID>12</TXID>
 -      <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
 -      <SNAPSHOTNAME>snapshot1</SNAPSHOTNAME>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>16</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_RENAME_SNAPSHOT</OPCODE>
 -    <DATA>
 -      <TXID>13</TXID>
 -      <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
 -      <SNAPSHOTOLDNAME>snapshot1</SNAPSHOTOLDNAME>
 -      <SNAPSHOTNEWNAME>snapshot2</SNAPSHOTNEWNAME>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>17</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_DELETE_SNAPSHOT</OPCODE>
 -    <DATA>
 -      <TXID>14</TXID>
 -      <SNAPSHOTROOT>/directory_mkdir</SNAPSHOTROOT>
 -      <SNAPSHOTNAME>snapshot2</SNAPSHOTNAME>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>18</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD</OPCODE>
 -    <DATA>
 -      <TXID>15</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>16388</INODEID>
 -      <PATH>/file_create</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899229871</MTIME>
 -      <ATIME>1402899229871</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME>DFSClient_NONMAPREDUCE_1233039831_1</CLIENT_NAME>
 -      <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>19</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_CLOSE</OPCODE>
 -    <DATA>
 -      <TXID>16</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>0</INODEID>
 -      <PATH>/file_create</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899229881</MTIME>
 -      <ATIME>1402899229871</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME></CLIENT_NAME>
 -      <CLIENT_MACHINE></CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD</OPCODE>
 -    <DATA>
 -      <TXID>17</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>16388</INODEID>
 -      <PATH>/file_create</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899229912</MTIME>
 -      <ATIME>1402899229912</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME>DFSClient_NONMAPREDUCE_1233039831_1</CLIENT_NAME>
 -      <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
 -      <OVERWRITE>true</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>21</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_CLOSE</OPCODE>
 -    <DATA>
 -      <TXID>18</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>0</INODEID>
 -      <PATH>/file_create</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899229931</MTIME>
 -      <ATIME>1402899229912</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME></CLIENT_NAME>
 -      <CLIENT_MACHINE></CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_REPLICATION</OPCODE>
 -    <DATA>
 -      <TXID>19</TXID>
 -      <PATH>/file_create</PATH>
 -      <REPLICATION>1</REPLICATION>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_PERMISSIONS</OPCODE>
 -    <DATA>
 -      <TXID>20</TXID>
 -      <SRC>/file_create</SRC>
 -      <MODE>511</MODE>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_OWNER</OPCODE>
 -    <DATA>
 -      <TXID>21</TXID>
 -      <SRC>/file_create</SRC>
 -      <USERNAME>newOwner</USERNAME>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_TIMES</OPCODE>
 -    <DATA>
 -      <TXID>22</TXID>
 -      <LENGTH>0</LENGTH>
 -      <PATH>/file_create</PATH>
 -      <MTIME>1285195527000</MTIME>
 -      <ATIME>1285195527000</ATIME>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_QUOTA</OPCODE>
 -    <DATA>
 -      <TXID>23</TXID>
 -      <SRC>/directory_mkdir</SRC>
 -      <NSQUOTA>1000</NSQUOTA>
 -      <DSQUOTA>-1</DSQUOTA>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_RENAME</OPCODE>
 -    <DATA>
 -      <TXID>24</TXID>
 -      <LENGTH>0</LENGTH>
 -      <SRC>/file_create</SRC>
 -      <DST>/file_moved</DST>
 -      <TIMESTAMP>1402899229963</TIMESTAMP>
 -      <OPTIONS>NONE</OPTIONS>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>26</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD</OPCODE>
 -    <DATA>
 -      <TXID>25</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>16389</INODEID>
 -      <PATH>/file_concat_target</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899229981</MTIME>
 -      <ATIME>1402899229981</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME>DFSClient_NONMAPREDUCE_1233039831_1</CLIENT_NAME>
 -      <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>28</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>26</TXID>
 -      <BLOCK_ID>1073741825</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>27</TXID>
 -      <GENSTAMPV2>1001</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>28</TXID>
 -      <PATH>/file_concat_target</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741825</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1001</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>29</TXID>
 -      <BLOCK_ID>1073741826</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>30</TXID>
 -      <GENSTAMPV2>1002</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>31</TXID>
 -      <PATH>/file_concat_target</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741825</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1001</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741826</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1002</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>32</TXID>
 -      <BLOCK_ID>1073741827</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>33</TXID>
 -      <GENSTAMPV2>1003</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>34</TXID>
 -      <PATH>/file_concat_target</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741826</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1002</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741827</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1003</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_CLOSE</OPCODE>
 -    <DATA>
 -      <TXID>35</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>0</INODEID>
 -      <PATH>/file_concat_target</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899230219</MTIME>
 -      <ATIME>1402899229981</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME></CLIENT_NAME>
 -      <CLIENT_MACHINE></CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <BLOCK>
 -        <BLOCK_ID>1073741825</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1001</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741826</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1002</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741827</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1003</GENSTAMP>
 -      </BLOCK>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD</OPCODE>
 -    <DATA>
 -      <TXID>36</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>16390</INODEID>
 -      <PATH>/file_concat_0</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899230235</MTIME>
 -      <ATIME>1402899230235</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME>DFSClient_NONMAPREDUCE_1233039831_1</CLIENT_NAME>
 -      <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>41</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>37</TXID>
 -      <BLOCK_ID>1073741828</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>38</TXID>
 -      <GENSTAMPV2>1004</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>39</TXID>
 -      <PATH>/file_concat_0</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741828</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1004</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>40</TXID>
 -      <BLOCK_ID>1073741829</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>41</TXID>
 -      <GENSTAMPV2>1005</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>42</TXID>
 -      <PATH>/file_concat_0</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741828</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1004</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741829</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1005</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>43</TXID>
 -      <BLOCK_ID>1073741830</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>44</TXID>
 -      <GENSTAMPV2>1006</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>45</TXID>
 -      <PATH>/file_concat_0</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741829</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1005</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741830</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1006</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_CLOSE</OPCODE>
 -    <DATA>
 -      <TXID>46</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>0</INODEID>
 -      <PATH>/file_concat_0</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899230307</MTIME>
 -      <ATIME>1402899230235</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME></CLIENT_NAME>
 -      <CLIENT_MACHINE></CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <BLOCK>
 -        <BLOCK_ID>1073741828</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1004</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741829</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1005</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741830</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1006</GENSTAMP>
 -      </BLOCK>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD</OPCODE>
 -    <DATA>
 -      <TXID>47</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>16391</INODEID>
 -      <PATH>/file_concat_1</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899230320</MTIME>
 -      <ATIME>1402899230320</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME>DFSClient_NONMAPREDUCE_1233039831_1</CLIENT_NAME>
 -      <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>53</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>48</TXID>
 -      <BLOCK_ID>1073741831</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>49</TXID>
 -      <GENSTAMPV2>1007</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>50</TXID>
 -      <PATH>/file_concat_1</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741831</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1007</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>51</TXID>
 -      <BLOCK_ID>1073741832</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>52</TXID>
 -      <GENSTAMPV2>1008</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>53</TXID>
 -      <PATH>/file_concat_1</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741831</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1007</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741832</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1008</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>54</TXID>
 -      <BLOCK_ID>1073741833</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>55</TXID>
 -      <GENSTAMPV2>1009</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>56</TXID>
 -      <PATH>/file_concat_1</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741832</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1008</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741833</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1009</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_CLOSE</OPCODE>
 -    <DATA>
 -      <TXID>57</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>0</INODEID>
 -      <PATH>/file_concat_1</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899230383</MTIME>
 -      <ATIME>1402899230320</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME></CLIENT_NAME>
 -      <CLIENT_MACHINE></CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <BLOCK>
 -        <BLOCK_ID>1073741831</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1007</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741832</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1008</GENSTAMP>
 -      </BLOCK>
 -      <BLOCK>
 -        <BLOCK_ID>1073741833</BLOCK_ID>
 -        <NUM_BYTES>512</NUM_BYTES>
 -        <GENSTAMP>1009</GENSTAMP>
 -      </BLOCK>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_CONCAT_DELETE</OPCODE>
 -    <DATA>
 -      <TXID>58</TXID>
 -      <LENGTH>0</LENGTH>
 -      <TRG>/file_concat_target</TRG>
 -      <TIMESTAMP>1402899230394</TIMESTAMP>
 -      <SOURCES>
 -        <SOURCE1>/file_concat_0</SOURCE1>
 -        <SOURCE2>/file_concat_1</SOURCE2>
 -      </SOURCES>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>64</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SYMLINK</OPCODE>
 -    <DATA>
 -      <TXID>59</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>16392</INODEID>
 -      <PATH>/file_symlink</PATH>
 -      <VALUE>/file_concat_target</VALUE>
 -      <MTIME>1402899230406</MTIME>
 -      <ATIME>1402899230406</ATIME>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>511</MODE>
 -      </PERMISSION_STATUS>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>65</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD</OPCODE>
 -    <DATA>
 -      <TXID>60</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>16393</INODEID>
 -      <PATH>/hard-lease-recovery-test</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899230413</MTIME>
 -      <ATIME>1402899230413</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME>DFSClient_NONMAPREDUCE_1233039831_1</CLIENT_NAME>
 -      <CLIENT_MACHINE>127.0.0.1</CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>66</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ALLOCATE_BLOCK_ID</OPCODE>
 -    <DATA>
 -      <TXID>61</TXID>
 -      <BLOCK_ID>1073741834</BLOCK_ID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>62</TXID>
 -      <GENSTAMPV2>1010</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_BLOCK</OPCODE>
 -    <DATA>
 -      <TXID>63</TXID>
 -      <PATH>/hard-lease-recovery-test</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741834</BLOCK_ID>
 -        <NUM_BYTES>0</NUM_BYTES>
 -        <GENSTAMP>1010</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_UPDATE_BLOCKS</OPCODE>
 -    <DATA>
 -      <TXID>64</TXID>
 -      <PATH>/hard-lease-recovery-test</PATH>
 -      <BLOCK>
 -        <BLOCK_ID>1073741834</BLOCK_ID>
 -        <NUM_BYTES>11</NUM_BYTES>
 -        <GENSTAMP>1010</GENSTAMP>
 -      </BLOCK>
 -      <RPC_CLIENTID></RPC_CLIENTID>
 -      <RPC_CALLID>-2</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_GENSTAMP_V2</OPCODE>
 -    <DATA>
 -      <TXID>65</TXID>
 -      <GENSTAMPV2>1011</GENSTAMPV2>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_REASSIGN_LEASE</OPCODE>
 -    <DATA>
 -      <TXID>66</TXID>
 -      <LEASEHOLDER>DFSClient_NONMAPREDUCE_1233039831_1</LEASEHOLDER>
 -      <PATH>/hard-lease-recovery-test</PATH>
 -      <NEWHOLDER>HDFS_NameNode</NEWHOLDER>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_CLOSE</OPCODE>
 -    <DATA>
 -      <TXID>67</TXID>
 -      <LENGTH>0</LENGTH>
 -      <INODEID>0</INODEID>
 -      <PATH>/hard-lease-recovery-test</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <MTIME>1402899232526</MTIME>
 -      <ATIME>1402899230413</ATIME>
 -      <BLOCKSIZE>512</BLOCKSIZE>
 -      <CLIENT_NAME></CLIENT_NAME>
 -      <CLIENT_MACHINE></CLIENT_MACHINE>
 -      <OVERWRITE>false</OVERWRITE>
 -      <BLOCK>
 -        <BLOCK_ID>1073741834</BLOCK_ID>
 -        <NUM_BYTES>11</NUM_BYTES>
 -        <GENSTAMP>1011</GENSTAMP>
 -      </BLOCK>
 -      <PERMISSION_STATUS>
 -        <USERNAME>andrew</USERNAME>
 -        <GROUPNAME>supergroup</GROUPNAME>
 -        <MODE>420</MODE>
 -      </PERMISSION_STATUS>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_CACHE_POOL</OPCODE>
 -    <DATA>
 -      <TXID>68</TXID>
 -      <POOLNAME>pool1</POOLNAME>
 -      <OWNERNAME>andrew</OWNERNAME>
 -      <GROUPNAME>andrew</GROUPNAME>
 -      <MODE>493</MODE>
 -      <LIMIT>9223372036854775807</LIMIT>
 -      <MAXRELATIVEEXPIRY>2305843009213693951</MAXRELATIVEEXPIRY>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>73</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_MODIFY_CACHE_POOL</OPCODE>
 -    <DATA>
 -      <TXID>69</TXID>
 -      <POOLNAME>pool1</POOLNAME>
 -      <LIMIT>99</LIMIT>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>74</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ADD_CACHE_DIRECTIVE</OPCODE>
 -    <DATA>
 -      <TXID>70</TXID>
 -      <ID>1</ID>
 -      <PATH>/path</PATH>
 -      <REPLICATION>1</REPLICATION>
 -      <POOL>pool1</POOL>
 -      <EXPIRATION>2305844412112927450</EXPIRATION>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>75</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_MODIFY_CACHE_DIRECTIVE</OPCODE>
 -    <DATA>
 -      <TXID>71</TXID>
 -      <ID>1</ID>
 -      <REPLICATION>2</REPLICATION>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>76</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_REMOVE_CACHE_DIRECTIVE</OPCODE>
 -    <DATA>
 -      <TXID>72</TXID>
 -      <ID>1</ID>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>77</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_REMOVE_CACHE_POOL</OPCODE>
 -    <DATA>
 -      <TXID>73</TXID>
 -      <POOLNAME>pool1</POOLNAME>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>78</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_ACL</OPCODE>
 -    <DATA>
 -      <TXID>74</TXID>
 -      <SRC>/file_concat_target</SRC>
 -      <ENTRY>
 -        <SCOPE>ACCESS</SCOPE>
 -        <TYPE>USER</TYPE>
 -        <PERM>rw-</PERM>
 -      </ENTRY>
 -      <ENTRY>
 -        <SCOPE>ACCESS</SCOPE>
 -        <TYPE>USER</TYPE>
 -        <NAME>user</NAME>
 -        <PERM>rw-</PERM>
 -      </ENTRY>
 -      <ENTRY>
 -        <SCOPE>ACCESS</SCOPE>
 -        <TYPE>GROUP</TYPE>
 -        <PERM>-w-</PERM>
 -      </ENTRY>
 -      <ENTRY>
 -        <SCOPE>ACCESS</SCOPE>
 -        <TYPE>MASK</TYPE>
 -        <PERM>rw-</PERM>
 -      </ENTRY>
 -      <ENTRY>
 -        <SCOPE>ACCESS</SCOPE>
 -        <TYPE>OTHER</TYPE>
 -        <PERM>---</PERM>
 -      </ENTRY>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_XATTR</OPCODE>
 -    <DATA>
 -      <TXID>75</TXID>
 -      <SRC>/file_concat_target</SRC>
 -      <XATTR>
 -        <NAMESPACE>USER</NAMESPACE>
 -        <NAME>a1</NAME>
 -        <VALUE>0x313233</VALUE>
 -      </XATTR>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>80</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_SET_XATTR</OPCODE>
 -    <DATA>
 -      <TXID>76</TXID>
 -      <SRC>/file_concat_target</SRC>
 -      <XATTR>
 -        <NAMESPACE>USER</NAMESPACE>
 -        <NAME>a2</NAME>
 -        <VALUE>0x373839</VALUE>
 -      </XATTR>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>81</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_REMOVE_XATTR</OPCODE>
 -    <DATA>
 -      <TXID>77</TXID>
 -      <SRC>/file_concat_target</SRC>
 -      <XATTR>
 -        <NAMESPACE>USER</NAMESPACE>
 -        <NAME>a2</NAME>
 -      </XATTR>
 -      <RPC_CLIENTID>e03f4a52-3d85-4e05-8942-286185e639bd</RPC_CLIENTID>
 -      <RPC_CALLID>82</RPC_CALLID>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ROLLING_UPGRADE_START</OPCODE>
 -    <DATA>
 -      <TXID>78</TXID>
 -      <STARTTIME>1402899233646</STARTTIME>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_ROLLING_UPGRADE_FINALIZE</OPCODE>
 -    <DATA>
 -      <TXID>79</TXID>
 -      <FINALIZETIME>1402899233647</FINALIZETIME>
 -    </DATA>
 -  </RECORD>
 -  <RECORD>
 -    <OPCODE>OP_END_LOG_SEGMENT</OPCODE>
 -    <DATA>
 -      <TXID>80</TXID>
 -    </DATA>
 -  </RECORD>
 -</EDITS>


Mime
View raw message