hadoop SubApplicationTable 源码

  • 2022-10-20
  • 浏览 (227)

haddop SubApplicationTable 代码

文件路径:/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase/hadoop-yarn-server-timelineservice-hbase-common/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/subapplication/SubApplicationTable.java

/**
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.hadoop.yarn.server.timelineservice.storage.subapplication;

import org.apache.hadoop.yarn.server.timelineservice.storage.common.BaseTable;

/**
 * The sub application table has column families:
 * info, config and metrics.
 * Info stores information about a timeline entity object
 * config stores configuration data of a timeline entity object
 * metrics stores the metrics of a timeline entity object
 *
 * Example sub application table record:
 *
 * <pre>
 * |-------------------------------------------------------------------------|
 * |  Row          | Column Family             | Column Family| Column Family|
 * |  key          | info                      | metrics      | config       |
 * |-------------------------------------------------------------------------|
 * | subAppUserId! | id:entityId               | metricId1:   | configKey1:  |
 * | clusterId!    | type:entityType           | metricValue1 | configValue1 |
 * | entityType!   |                           | @timestamp1  |              |
 * | idPrefix!|    |                           |              | configKey2:  |
 * | entityId!     | created_time:             | metricId1:   | configValue2 |
 * | userId        | 1392993084018             | metricValue2 |              |
 * |               |                           | @timestamp2  |              |
 * |               | i!infoKey:                |              |              |
 * |               | infoValue                 | metricId1:   |              |
 * |               |                           | metricValue1 |              |
 * |               |                           | @timestamp2  |              |
 * |               | e!eventId=timestamp=      |              |              |
 * |               | infoKey:                  |              |              |
 * |               | eventInfoValue            |              |              |
 * |               |                           |              |              |
 * |               | r!relatesToKey:           |              |              |
 * |               | id3=id4=id5               |              |              |
 * |               |                           |              |              |
 * |               | s!isRelatedToKey          |              |              |
 * |               | id7=id9=id6               |              |              |
 * |               |                           |              |              |
 * |               | flowVersion:              |              |              |
 * |               | versionValue              |              |              |
 * |-------------------------------------------------------------------------|
 * </pre>
 */
public final class SubApplicationTable extends BaseTable<SubApplicationTable> {
}

相关信息

hadoop 源码目录

相关文章

hadoop SubApplicationColumn 源码

hadoop SubApplicationColumnFamily 源码

hadoop SubApplicationColumnPrefix 源码

hadoop SubApplicationRowKey 源码

hadoop SubApplicationRowKeyPrefix 源码

hadoop package-info 源码

0  赞