Skip to content

Commit bf017bf

Browse files
author
Danny Becker
committed
Fix javadoc
1 parent ed0d884 commit bf017bf

File tree

1 file changed

+9
-3
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode

1 file changed

+9
-3
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1564,11 +1564,17 @@ public long getMostRecentCheckpointTxId() {
15641564
}
15651565

15661566
/**
1567+
* Given a NameNodeFile type, retrieve the latest txid for that file or
1568+
* {@link HdfsServerConstants::INVALID_TXID} if the file does not exist
1569+
*
1570+
* @param nnf The NameNodeFile type to retrieve the latest txid from.
15671571
* @return the latest txid for the NameNodeFile type, or
1568-
* {@link HdfsServerConstants::INVALID_TXID}if there is no FSImage file of the
1569-
* type requested.
1572+
* {@link HdfsServerConstants::INVALID_TXID} if there is no FSImage file of
1573+
* the type requested
1574+
* @throws IOException
15701575
*/
1571-
public long getMostRecentNameNodeFileTxId(NameNodeFile nnf) throws IOException {
1576+
public long getMostRecentNameNodeFileTxId(NameNodeFile nnf)
1577+
throws IOException {
15721578
final FSImageStorageInspector inspector =
15731579
new FSImageTransactionalStorageInspector(EnumSet.of(nnf));
15741580
storage.inspectStorageDirs(inspector);

0 commit comments

Comments
 (0)