Github user wujinhu commented on a diff in the pull request:
https://github.com/apache/incubator-eagle/pull/612#discussion_r86710130
--- Diff:
eagle-jpm/eagle-hadoop-queue/src/main/resources/META-INF/providers/org.apache.eagle.hadoop.queue.HadoopQueueRunningAppProvider.xml
---
@@ -47,6 +47,12 @@
<description>interval seconds of fetching metric from resource
manager</description>
<value>10</value>
</property>
+ <property>
+ <name>job.name.normalization.rules.key</name>
+ <displayName>Job Name Normalization Rules Key</displayName>
+ <description>User use -Dkey=job name normalization
rules</description>
+ <value>^(.*)[0-9]{4}/[0-9]{2}/[0-9]{2}/[0-9]{2}$ => $1~ ;
^(oozie:launcher):T=(.*):W=(.*):A=(.*):ID=(?:.*)$ => $1-$2-$3-$4~ ;
^(.*)([0-9]{10})$ => $1~ ;
^[0-9a-z]{8}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{4}-[0-9a-z]{12}$ => uuid~ ;
^(.*)(?:[0-9]{8}/[0-9]{2}_[0-9]{2})$ => $1~</value>
+ </property>
</configuration>
--- End diff --
Please remove this configuration from these Provider xml files. Since we
have 'Custom' function so that advanced users can add other configurations(like
this) if they want.
If user passes this custom defined configuration, it will override the
predefined value.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---