Ambari源码分析之ResourceProvider

Datetime:2016-08-23 03:46:41          Topic: Source Code Analysis           Share

前面提到,每一种Resource都对应一个ResourceProvider,下面给出其对应关系:

Resource.Type

ResourceProvider

Workflow

WorkflowResourceProvider

Job

JobResourceProvider

TaskAttempt

TaskAttemptResourceProvider

View

ViewResourceProvider

ViewInstance

ViewInstanceResourceProvider

Blueprint

BlueprintResourceProvider

Cluster

ClusterResourceProvider

Service

ServiceResourceProvider

Component

ComponentResourceProvider

Host

HostResourceProvider

HostComponent

HostComponentResourceProvider

Configuration

ConfigurationResourceProvider

Action

ActionResourceProvider

Request

RequestResourceProvider

Task

TaskResourceProvider

User

UserResourceProvider

Stack

StackResourceProvider

StackVersion

StackVersionResourceProvider

StackService

StackServiceResourceProvider

StackServiceComponent

StackServiceComponentResourceProvider

StackConfiguration

StackConfigurationResourceProvider

OperatingSystem

OperatingSystemResourceProvider

Repository

RepositoryResourceProvider

RootService

RootServiceResourceProvider

RootServiceComponent

RootServiceComponentResourceProvider

RootServiceHostComponent

RootServiceHostComponentResourceProvider

ConfigGroup

ConfigGroupResourceProvider

RequestSchedule

RequestScheduleResourceProvider





About List