Repository: hadoop Updated Branches: refs/heads/branch-2 dc72ed721 -> d843c50d5 refs/heads/trunk 0faa4efa3 -> b925cf100
HDFS-9158. [OEV-Doc] : Document does not mention about '-f' and '-r' options (Contributed by nijel) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b925cf10 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b925cf10 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b925cf10 Branch: refs/heads/trunk Commit: b925cf100662e155c9efeff06523b09303817394 Parents: 0faa4ef Author: Vinayakumar B <[email protected]> Authored: Mon Oct 5 18:23:18 2015 +0530 Committer: Vinayakumar B <[email protected]> Committed: Mon Oct 5 18:23:18 2015 +0530 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../hadoop/hdfs/tools/offlineEditsViewer/OfflineEditsViewer.java | 2 +- .../hadoop-hdfs/src/site/markdown/HdfsEditsViewer.md | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/b925cf10/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index bf4284a..5eb7b27 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -1492,6 +1492,9 @@ Release 2.8.0 - UNRELEASED HDFS-9151. Mover should print the exit status/reason on console like balancer tool. (Surendra singh lilhore via vinayakumarb) + HDFS-9154. [OEV-Doc] : Document does not mention about "-f" and "-r" options + (nijel via vinayakumarb) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/b925cf10/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/OfflineEditsViewer.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/OfflineEditsViewer.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/OfflineEditsViewer.java index 833f2bc..cd1e73b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/OfflineEditsViewer.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/OfflineEditsViewer.java @@ -69,7 +69,7 @@ public class OfflineEditsViewer extends Configured implements Tool { " edits file)\n" + "-h,--help Display usage information and exit\n" + "-f,--fix-txids Renumber the transaction IDs in the input,\n" + - " so that there are no gaps or invalid " + + " so that there are no gaps or invalid\n" + " transaction IDs.\n" + "-r,--recover When reading binary edit logs, use recovery \n" + " mode. This will give you the chance to skip \n" + http://git-wip-us.apache.org/repos/asf/hadoop/blob/b925cf10/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsEditsViewer.md ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsEditsViewer.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsEditsViewer.md index 267471f..58f115b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsEditsViewer.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HdfsEditsViewer.md @@ -51,6 +51,8 @@ Usage | [`-o` ; `--outputFile`] *output file* | Specify the output filename, if the specified output processor generates one. If the specified file already exists, it is silently overwritten. Required. | | [`-p` ; `--processor`] *processor* | Specify the image processor to apply against the image file. Currently valid options are `binary`, `xml` (default) and `stats`. | | [`-v` ; `--verbose`] | Print the input and output filenames and pipe output of processor to console as well as specified file. On extremely large files, this may increase processing time by an order of magnitude. | +| [`-f` ; `--fix-txids`] | Renumber the transaction IDs in the input, so that there are no gaps or invalid transaction IDs. | +| [`-r` ; `--recover`] | When reading binary edit logs, use recovery mode. This will give you the chance to skip corrupt parts of the edit log. | | [`-h` ; `--help`] | Display the tool usage and help information and exit. | Case study: Hadoop cluster recovery
