After merging the protobuf-based-fsimage code from trunk, we need to fix some compilation errors.
The patch can fix the compilation error. We still need to fix TestOfflineEditsViewer. But I guess we can also do that in the end in case that we make further changes to editlog.
The v0 patch merges the protobuf code into branch-2. It also includes fixes for TestOfflineImageViewer.
I guess the above comment should be posted in HDFS-5698, Haohui Mai ?
Yes. Sorry about the confusion.
+1 for the patch. I committed it to branch HDFS-5535. Thanks for taking care of this Jing!