public class AzkabanTags extends Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableMap<String,String> |
PROPERTIES_TO_TAGS_MAP |
| Constructor and Description |
|---|
AzkabanTags() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,String> |
getAzkabanTags()
Uses
getAzkabanTags(Configuration) with default Hadoop Configuration |
static Map<String,String> |
getAzkabanTags(org.apache.hadoop.conf.Configuration conf)
Gets all useful Azkaban runtime properties required by metrics as a
Map. |
public static Map<String,String> getAzkabanTags()
getAzkabanTags(Configuration) with default Hadoop Configurationpublic static Map<String,String> getAzkabanTags(org.apache.hadoop.conf.Configuration conf)
Map.
Below metrics will be fetched if available:
- azkabanFlowId : name of Azkaban flow
- azkabanFlowURL : URL of Azkaban flow
- azkabanURL : URL of Azkaban flow execution
- azkabanExecId : ID of flow execution
- azkabanJobId : name of Azkaban job
- azkabanJobURL : URL of Azkaban job
- azkabanJobExecURL : URL of Azkaban job executionconf - Hadoop Configuration that contains the properties. Keys of PROPERTIES_TO_TAGS_MAP lists out
all the properties to look for in Configuration.Map with keys as property names (name mapping in PROPERTIES_TO_TAGS_MAP) and the value
of the property from Configuration