HDFS-7869. Update action param from 'start' to 'prepare' in rolling upgrade ( Contributed by J.Andreina)

This commit is contained in:
Vinayakumar B 2015-03-19 11:59:31 +05:30
parent 19b298f612
commit 338b477ff7
3 changed files with 5 additions and 2 deletions

View File

@ -330,6 +330,9 @@ Release 2.8.0 - UNRELEASED
HDFS-5356. MiniDFSCluster should close all open FileSystems when shutdown() HDFS-5356. MiniDFSCluster should close all open FileSystems when shutdown()
(Rakesh R via vinayakumarb) (Rakesh R via vinayakumarb)
HDFS-7869. Update action param from "start" to "prepare" in rolling upgrade
javadoc (J.Andreina via vinayakumarb)
Release 2.7.0 - UNRELEASED Release 2.7.0 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -1226,7 +1226,7 @@ public class DistributedFileSystem extends FileSystem {
} }
/** /**
* Rolling upgrade: start/finalize/query. * Rolling upgrade: prepare/finalize/query.
*/ */
public RollingUpgradeInfo rollingUpgrade(RollingUpgradeAction action) public RollingUpgradeInfo rollingUpgrade(RollingUpgradeAction action)
throws IOException { throws IOException {

View File

@ -847,7 +847,7 @@ public interface ClientProtocol {
/** /**
* Rolling upgrade operations. * Rolling upgrade operations.
* @param action either query, start or finailze. * @param action either query, prepare or finalize.
* @return rolling upgrade information. * @return rolling upgrade information.
*/ */
@Idempotent @Idempotent