YARN-1596. Fixed Javadoc warnings on branch YARN-321. Contributed by Vinod Kumar Vavilapalli.
svn merge --ignore-ancestry -c 1557957 ../YARN-321 git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1562215 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b097cd83d6
commit
ff83e97655
|
@ -78,6 +78,9 @@ Branch YARN-321: Generic ApplicationHistoryService
|
||||||
YARN-1594. Updated pom.xml of applicationhistoryservice sub-project according to
|
YARN-1594. Updated pom.xml of applicationhistoryservice sub-project according to
|
||||||
YARN-888. (Vinod Kumar Vavilapalli via zjshen)
|
YARN-888. (Vinod Kumar Vavilapalli via zjshen)
|
||||||
|
|
||||||
|
YARN-1596. Fixed Javadoc warnings on branch YARN-321. (Vinod Kumar Vavilapalli
|
||||||
|
via zjshen)
|
||||||
|
|
||||||
Release 2.4.0 - UNRELEASED
|
Release 2.4.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -60,7 +60,7 @@ public abstract class GetApplicationAttemptReportResponse {
|
||||||
/**
|
/**
|
||||||
* Get the <code>ApplicationAttemptReport</code> for the application attempt.
|
* Get the <code>ApplicationAttemptReport</code> for the application attempt.
|
||||||
*
|
*
|
||||||
* @param ApplicationAttemptReport <code>ApplicationAttemptReport</code> for
|
* @param applicationAttemptReport <code>ApplicationAttemptReport</code> for
|
||||||
* the application attempt
|
* the application attempt
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
|
|
|
@ -56,7 +56,7 @@ public abstract class GetApplicationAttemptsRequest {
|
||||||
/**
|
/**
|
||||||
* Set the <code>ApplicationId</code> of an application
|
* Set the <code>ApplicationId</code> of an application
|
||||||
*
|
*
|
||||||
* @param ApplicationId <code>ApplicationId</code> of an application
|
* @param applicationId <code>ApplicationId</code> of an application
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
@Unstable
|
@Unstable
|
||||||
|
|
|
@ -52,7 +52,7 @@ public abstract class GetContainerReportRequest {
|
||||||
/**
|
/**
|
||||||
* Set the <code>ContainerId</code> of the container
|
* Set the <code>ContainerId</code> of the container
|
||||||
*
|
*
|
||||||
* @param ContainerId
|
* @param containerId
|
||||||
* <code>ContainerId</code> of the container
|
* <code>ContainerId</code> of the container
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
|
|
|
@ -126,7 +126,7 @@ public abstract class AHSClient extends AbstractService {
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public abstract ApplicationAttemptReport getApplicationAttemptReport(
|
public abstract ApplicationAttemptReport getApplicationAttemptReport(
|
||||||
ApplicationAttemptId appAttemptId) throws YarnException, IOException;
|
ApplicationAttemptId applicationAttemptId) throws YarnException, IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
|
@ -140,7 +140,7 @@ public abstract class AHSClient extends AbstractService {
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public abstract List<ApplicationAttemptReport> getApplicationAttempts(
|
public abstract List<ApplicationAttemptReport> getApplicationAttempts(
|
||||||
ApplicationId appId) throws YarnException, IOException;
|
ApplicationId applicationId) throws YarnException, IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
|
|
|
@ -386,7 +386,7 @@ public abstract class YarnClient extends AbstractService {
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public abstract ApplicationAttemptReport getApplicationAttemptReport(
|
public abstract ApplicationAttemptReport getApplicationAttemptReport(
|
||||||
ApplicationAttemptId appAttemptId) throws YarnException, IOException;
|
ApplicationAttemptId applicationAttemptId) throws YarnException, IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
|
@ -400,7 +400,7 @@ public abstract class YarnClient extends AbstractService {
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
public abstract List<ApplicationAttemptReport> getApplicationAttempts(
|
public abstract List<ApplicationAttemptReport> getApplicationAttempts(
|
||||||
ApplicationId appId) throws YarnException, IOException;
|
ApplicationId applicationId) throws YarnException, IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
|
|
|
@ -37,17 +37,18 @@ public interface ApplicationHistoryReader {
|
||||||
/**
|
/**
|
||||||
* This method returns Application {@link ApplicationHistoryData} for the
|
* This method returns Application {@link ApplicationHistoryData} for the
|
||||||
* specified {@link ApplicationId}.
|
* specified {@link ApplicationId}.
|
||||||
|
* @param appId
|
||||||
*
|
*
|
||||||
* @return {@link ApplicationHistoryData} for the ApplicationId.
|
* @return {@link ApplicationHistoryData} for the ApplicationId.
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
ApplicationHistoryData getApplication(ApplicationId appId) throws IOException;
|
ApplicationHistoryData getApplication(ApplicationId appId) throws IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method returns all Application {@link ApplicationHistoryData}s
|
* This method returns all Application {@link ApplicationHistoryData}s
|
||||||
*
|
*
|
||||||
* @return map {@link ApplicationId, @link ApplicationHistoryData}s.
|
* @return map of {@link ApplicationId} to {@link ApplicationHistoryData}s.
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
Map<ApplicationId, ApplicationHistoryData> getAllApplications()
|
Map<ApplicationId, ApplicationHistoryData> getAllApplications()
|
||||||
throws IOException;
|
throws IOException;
|
||||||
|
@ -56,9 +57,10 @@ public interface ApplicationHistoryReader {
|
||||||
* Application can have multiple application attempts
|
* Application can have multiple application attempts
|
||||||
* {@link ApplicationAttemptHistoryData}. This method returns the all
|
* {@link ApplicationAttemptHistoryData}. This method returns the all
|
||||||
* {@link ApplicationAttemptHistoryData}s for the Application.
|
* {@link ApplicationAttemptHistoryData}s for the Application.
|
||||||
|
* @param appId
|
||||||
*
|
*
|
||||||
* @return all {@link ApplicationAttemptHistoryData}s for the Application.
|
* @return all {@link ApplicationAttemptHistoryData}s for the Application.
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
Map<ApplicationAttemptId, ApplicationAttemptHistoryData> getApplicationAttempts(
|
Map<ApplicationAttemptId, ApplicationAttemptHistoryData> getApplicationAttempts(
|
||||||
ApplicationId appId) throws IOException;
|
ApplicationId appId) throws IOException;
|
||||||
|
@ -67,9 +69,9 @@ public interface ApplicationHistoryReader {
|
||||||
* This method returns {@link ApplicationAttemptHistoryData} for specified
|
* This method returns {@link ApplicationAttemptHistoryData} for specified
|
||||||
* {@link ApplicationId}.
|
* {@link ApplicationId}.
|
||||||
*
|
*
|
||||||
* @param {@link ApplicationAttemptId}
|
* @param appAttemptId {@link ApplicationAttemptId}
|
||||||
* @return {@link ApplicationAttemptHistoryData} for ApplicationAttemptId
|
* @return {@link ApplicationAttemptHistoryData} for ApplicationAttemptId
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
ApplicationAttemptHistoryData getApplicationAttempt(
|
ApplicationAttemptHistoryData getApplicationAttempt(
|
||||||
ApplicationAttemptId appAttemptId) throws IOException;
|
ApplicationAttemptId appAttemptId) throws IOException;
|
||||||
|
@ -78,9 +80,9 @@ public interface ApplicationHistoryReader {
|
||||||
* This method returns {@link ContainerHistoryData} for specified
|
* This method returns {@link ContainerHistoryData} for specified
|
||||||
* {@link ContainerId}.
|
* {@link ContainerId}.
|
||||||
*
|
*
|
||||||
* @param {@link ContainerId}
|
* @param containerId {@link ContainerId}
|
||||||
* @return {@link ContainerHistoryData} for ContainerId
|
* @return {@link ContainerHistoryData} for ContainerId
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
ContainerHistoryData getContainer(ContainerId containerId) throws IOException;
|
ContainerHistoryData getContainer(ContainerId containerId) throws IOException;
|
||||||
|
|
||||||
|
@ -88,21 +90,22 @@ public interface ApplicationHistoryReader {
|
||||||
* This method returns {@link ContainerHistoryData} for specified
|
* This method returns {@link ContainerHistoryData} for specified
|
||||||
* {@link ApplicationAttemptId}.
|
* {@link ApplicationAttemptId}.
|
||||||
*
|
*
|
||||||
* @param {@link ApplicationAttemptId}
|
* @param appAttemptId {@link ApplicationAttemptId}
|
||||||
* @return {@link ContainerHistoryData} for ApplicationAttemptId
|
* @return {@link ContainerHistoryData} for ApplicationAttemptId
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
ContainerHistoryData getAMContainer(ApplicationAttemptId appAttemptId)
|
ContainerHistoryData getAMContainer(ApplicationAttemptId appAttemptId)
|
||||||
throws IOException;
|
throws IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method returns Map{@link ContainerId,@link ContainerHistoryData} for
|
* This method returns Map{@link ContainerId} to {@link ContainerHistoryData}
|
||||||
* specified {@link ApplicationAttemptId}.
|
* for specified {@link ApplicationAttemptId}.
|
||||||
*
|
*
|
||||||
* @param {@link ApplicationAttemptId}
|
* @param appAttemptId
|
||||||
* @return Map{@link ContainerId, @link ContainerHistoryData} for
|
* {@link ApplicationAttemptId}
|
||||||
|
* @return Map{@link ContainerId} to {@link ContainerHistoryData} for
|
||||||
* ApplicationAttemptId
|
* ApplicationAttemptId
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
Map<ContainerId, ContainerHistoryData> getContainers(
|
Map<ContainerId, ContainerHistoryData> getContainers(
|
||||||
ApplicationAttemptId appAttemptId) throws IOException;
|
ApplicationAttemptId appAttemptId) throws IOException;
|
||||||
|
|
|
@ -31,8 +31,9 @@ import org.apache.hadoop.yarn.server.applicationhistoryservice.records.Container
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* It is the interface of writing the application history, exposing the methods
|
* It is the interface of writing the application history, exposing the methods
|
||||||
* of writing {@link ApplicationHistoryData},
|
* of writing {@link ApplicationStartData}, {@link ApplicationFinishData}
|
||||||
* {@link ApplicationAttemptHistoryData} and {@link ContainerHistoryData}.
|
* {@link ApplicationAttemptStartData}, {@link ApplicationAttemptFinishData},
|
||||||
|
* {@link ContainerStartData} and {@link ContainerFinishData}.
|
||||||
*/
|
*/
|
||||||
@Private
|
@Private
|
||||||
@Unstable
|
@Unstable
|
||||||
|
|
|
@ -36,9 +36,10 @@ public interface ApplicationContext {
|
||||||
/**
|
/**
|
||||||
* This method returns Application {@link ApplicationReport} for the specified
|
* This method returns Application {@link ApplicationReport} for the specified
|
||||||
* {@link ApplicationId}.
|
* {@link ApplicationId}.
|
||||||
|
* @param appId
|
||||||
*
|
*
|
||||||
* @return {@link ApplicationReport} for the ApplicationId.
|
* @return {@link ApplicationReport} for the ApplicationId.
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
@Unstable
|
@Unstable
|
||||||
|
@ -47,8 +48,8 @@ public interface ApplicationContext {
|
||||||
/**
|
/**
|
||||||
* This method returns all Application {@link ApplicationReport}s
|
* This method returns all Application {@link ApplicationReport}s
|
||||||
*
|
*
|
||||||
* @return map {@link ApplicationId, @link ApplicationReport}s.
|
* @return map of {@link ApplicationId} to {@link ApplicationReport}s.
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
@Unstable
|
@Unstable
|
||||||
|
@ -58,9 +59,10 @@ public interface ApplicationContext {
|
||||||
* Application can have multiple application attempts
|
* Application can have multiple application attempts
|
||||||
* {@link ApplicationAttemptReport}. This method returns the all
|
* {@link ApplicationAttemptReport}. This method returns the all
|
||||||
* {@link ApplicationAttemptReport}s for the Application.
|
* {@link ApplicationAttemptReport}s for the Application.
|
||||||
|
* @param appId
|
||||||
*
|
*
|
||||||
* @return all {@link ApplicationAttemptReport}s for the Application.
|
* @return all {@link ApplicationAttemptReport}s for the Application.
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
@Unstable
|
@Unstable
|
||||||
|
@ -71,9 +73,9 @@ public interface ApplicationContext {
|
||||||
* This method returns {@link ApplicationAttemptReport} for specified
|
* This method returns {@link ApplicationAttemptReport} for specified
|
||||||
* {@link ApplicationId}.
|
* {@link ApplicationId}.
|
||||||
*
|
*
|
||||||
* @param {@link ApplicationAttemptId}
|
* @param appAttemptId {@link ApplicationAttemptId}
|
||||||
* @return {@link ApplicationAttemptReport} for ApplicationAttemptId
|
* @return {@link ApplicationAttemptReport} for ApplicationAttemptId
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
@Unstable
|
@Unstable
|
||||||
|
@ -84,9 +86,9 @@ public interface ApplicationContext {
|
||||||
* This method returns {@link ContainerReport} for specified
|
* This method returns {@link ContainerReport} for specified
|
||||||
* {@link ContainerId}.
|
* {@link ContainerId}.
|
||||||
*
|
*
|
||||||
* @param {@link ContainerId}
|
* @param containerId {@link ContainerId}
|
||||||
* @return {@link ContainerReport} for ContainerId
|
* @return {@link ContainerReport} for ContainerId
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
@Unstable
|
@Unstable
|
||||||
|
@ -96,9 +98,9 @@ public interface ApplicationContext {
|
||||||
* This method returns {@link ContainerReport} for specified
|
* This method returns {@link ContainerReport} for specified
|
||||||
* {@link ApplicationAttemptId}.
|
* {@link ApplicationAttemptId}.
|
||||||
*
|
*
|
||||||
* @param {@link ApplicationAttemptId}
|
* @param appAttemptId {@link ApplicationAttemptId}
|
||||||
* @return {@link ContainerReport} for ApplicationAttemptId
|
* @return {@link ContainerReport} for ApplicationAttemptId
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
@Unstable
|
@Unstable
|
||||||
|
@ -106,13 +108,14 @@ public interface ApplicationContext {
|
||||||
throws IOException;
|
throws IOException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method returns Map{@link ContainerId,@link ContainerReport} for
|
* This method returns Map of {@link ContainerId} to {@link ContainerReport}
|
||||||
* specified {@link ApplicationAttemptId}.
|
* for specified {@link ApplicationAttemptId}.
|
||||||
*
|
*
|
||||||
* @param {@link ApplicationAttemptId}
|
* @param appAttemptId
|
||||||
* @return Map{@link ContainerId, @link ContainerReport} for
|
* {@link ApplicationAttemptId}
|
||||||
|
* @return Map of {@link ContainerId} to {@link ContainerReport} for
|
||||||
* ApplicationAttemptId
|
* ApplicationAttemptId
|
||||||
* @throws {@link IOException}
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Public
|
@Public
|
||||||
@Unstable
|
@Unstable
|
||||||
|
|
Loading…
Reference in New Issue