git-svn-id: https://svn.apache.org/repos/asf/hadoop/hdfs/branches/HDFS-1052@1080316 13f79535-47bb-0310-9956-ffa450edef68
@@ -228,6 +228,10 @@ Trunk (unreleased changes)
HDFS-1737. Federation: Update the layout version for federation
changes. (suresh)
+ HDFS-1744. Federation: Add new layout version to offline image viewer
+ and edits viewer. (suresh)
+
IMPROVEMENTS
HDFS-1510. Added test-patch.properties required by test-patch.sh (nigel)
@@ -49,7 +49,7 @@ import static org.apache.hadoop.hdfs.tools.offlineEditsViewer.Tokenizer.EmptyTok
class EditsLoaderCurrent implements EditsLoader {
private static int [] supportedVersions = {
- -18, -19, -20, -21, -22, -23, -24, -25, -26, -27 };
+ -18, -19, -20, -21, -22, -23, -24, -25, -26, -27, -28 };
private EditsVisitor v;
private int editsVersion = 0;
@@ -121,7 +121,7 @@ class ImageLoaderCurrent implements ImageLoader {
protected final DateFormat dateFormat =
new SimpleDateFormat("yyyy-MM-dd HH:mm");
private static int [] versions =
- {-16, -17, -18, -19, -20, -21, -22, -23, -24, -25, -26, -27};
+ {-16, -17, -18, -19, -20, -21, -22, -23, -24, -25, -26, -27, -28};
private int imageVersion = 0;
/* (non-Javadoc)