Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
HADOOP-5456. Fix javadoc links to ClientProtocol#restoreFailedStorage…
Browse files Browse the repository at this point in the history
…(..). (Boris Shkolnik via szetszwo)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk@752325 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
szetszwo committed Mar 11, 2009
1 parent 0ce07d7 commit 9e70b70
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ Trunk (unreleased changes)
HADOOP-5341. Make hadoop-daemon scripts backwards compatible with the
changes in HADOOP-4868. (Sharad Agarwal via yhemanth)

HADOOP-5456. Fix javadoc links to ClientProtocol#restoreFailedStorage(..).
(Boris Shkolnik via szetszwo)

Release 0.20.0 - Unreleased

INCOMPATIBLE CHANGES
Expand Down
3 changes: 1 addition & 2 deletions src/hdfs/org/apache/hadoop/hdfs/DFSClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -758,10 +758,9 @@ void saveNamespace() throws AccessControlException, IOException {

/**
* enable/disable restore failed storage.
* See {@link ClientProtocol#restoreFailedStorage()}
* See {@link ClientProtocol#restoreFailedStorage(String arg)}
* for more details.
*
* @see ClientProtocol#restoreFailedStorage()
*/
boolean restoreFailedStorage(String arg) throws AccessControlException {
return namenode.restoreFailedStorage(arg);
Expand Down
2 changes: 1 addition & 1 deletion src/hdfs/org/apache/hadoop/hdfs/DistributedFileSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ public void saveNamespace() throws AccessControlException, IOException {
/**
* enable/disable/check restoreFaileStorage
*
* @see org.apache.hadoop.hdfs.protocol.ClientProtocol#restoreFailedStorage()
* @see org.apache.hadoop.hdfs.protocol.ClientProtocol#restoreFailedStorage(String arg)
*/
public boolean restoreFailedStorage(String arg) throws AccessControlException {
return dfs.restoreFailedStorage(arg);
Expand Down
2 changes: 1 addition & 1 deletion src/hdfs/org/apache/hadoop/hdfs/tools/DFSAdmin.java
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ public int saveNamespace() throws IOException {
* Command to enable/disable/check restoring of failed storage replicas in the namenode.
* Usage: java DFSAdmin -restoreFailedStorage true|false|check
* @exception IOException
* @see org.apache.hadoop.hdfs.protocol.ClientProtocol#restoreFailedStorage()
* @see org.apache.hadoop.hdfs.protocol.ClientProtocol#restoreFailedStorage(String arg)
*/
public int restoreFaileStorage(String arg) throws IOException {
int exitCode = -1;
Expand Down

0 comments on commit 9e70b70

Please sign in to comment.