资源简介
代码片段和文件信息
/**
* 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.atlas.falcon.bridge;
import org.apache.atlas.AtlasClient;
import org.apache.atlas.AtlasConstants;
import org.apache.atlas.falcon.Util.EventUtil;
import org.apache.atlas.falcon.model.FalconDataTypes;
import org.apache.atlas.hive.bridge.HivemetaStoreBridge;
import org.apache.atlas.hive.model.HiveDataTypes;
import org.apache.atlas.v1.model.instance.Referenceable;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.falcon.FalconException;
import org.apache.falcon.entity.CatalogStorage;
import org.apache.falcon.entity.FeedHelper;
import org.apache.falcon.entity.FileSystemStorage;
import org.apache.falcon.entity.ProcessHelper;
import org.apache.falcon.entity.store.ConfigurationStore;
import org.apache.falcon.entity.v0.EntityType;
import org.apache.falcon.entity.v0.feed.CatalogTable;
import org.apache.falcon.entity.v0.feed.ClusterType;
import org.apache.falcon.entity.v0.feed.Feed;
import org.apache.falcon.entity.v0.feed.Location;
import org.apache.falcon.entity.v0.feed.LocationType;
import org.apache.falcon.entity.v0.process.Cluster;
import org.apache.falcon.entity.v0.process.Input;
import org.apache.falcon.entity.v0.process.Output;
import org.apache.falcon.entity.v0.process.Workflow;
import org.apache.falcon.workflow.WorkflowExecutionArgs;
import org.apache.hadoop.fs.Path;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* A Bridge Utility to register Falcon entities metadata to Atlas.
*/
public class FalconBridge {
private static final Logger LOG = LoggerFactory.getLogger(FalconBridge.class);
public static final String COLO = “colo“;
public static final String TAGS = “tags“;
public static final String GROUPS = “groups“;
public static final String PIPELINES = “pipelines“;
public static final String WFPROPERTIES = “workflow-properties“;
public static final String RUNSON = “runs-on“;
public static final String STOREDIN = “stored-in“;
public static final String FREQUENCY = “frequency“;
相关资源
- 元数据标准 元数据标准
- 使用s = 13 TeV质子-质子碰撞,利用AT
- 高能量下的精确直接光子光谱,并与
- 与ATLAS探测器在sNN = 5.02 TeV质子-铅碰撞
- 用ATLAS测量在$$ \\ sqrt {s _ {\\ mathrm {N
- 使用ATLAS探测器在LHC的s = 13 TeV pp碰撞
- LHC生命周期前沿的非弹性暗物质:A
- 使用ATLAS探测器在s = 13 TeV时以pp碰撞测
- 使用ATLAS探测器在s = 13 TeV的四射流最
- 使用ATLAS探测器在s = 13 $$ \\ sqrt {s} =
- 在ATLAS探测器上搜索衰变到增强夸克对
- 搜索在s = 13 TeV pp碰撞中在pp碰撞中产
- 使用ATLAS检测器在s = 13 $$ \\ sqrt {s} =
- 使用ATLAS检测器,在s = 7 TeV的pp碰撞中
- W s Z玻色子对生产横截面在pp碰撞中的
- 使用ATLAS探测器在s = 13 TeV的pp碰撞中用
- 使用ATLAS探测器在s = 8 $$ \\ sqrt {s} =
- 在与ATLAS探测器发生s = 8 TeV pp碰撞的
- 使用ATLAS探测器在s = 7TeV的pp碰撞中区
- 使用ATLAS探测器在13 TeV pp碰撞中搜索轨
- 使用ATLAS探测器在s = 8 TeV的质子-质子
- 使用ATLAS探测器在s = 13 $$ \\ sqrt {s} =
- 使用ATLAS探测器在s = 13 TeV的pp碰撞中搜
- 用ATLAS探测器产生三个大矢量玻色子的
- 用ATLAS探测器搜索希格斯和Z玻色子衰
- 用ATLAS探测器在s = 13TeV pp碰撞中用ta
- 使用ATLAS检测器在s = 13 TeV的pp碰撞中搜
- 使用ATLAS探测器在s $$ \\ sqrt {\\ mathrm
- 使用ATLAS探测器在s = 13 $$ \\ sqrt {s} =
- 使用ATLAS探测器在3.2 fbâ1的质子
评论
共有 条评论