我有一个 oozie 工作流程,其中有许多控制和操作节点。为了便于在 Hue 浏览器中跟踪操作,我尝试通过在节点名称前添加 1、2、3 等来对控制和操作节点进行编号。这是工作流程片段
<workflow-app name="reporting_W_error_audit_report" xmlns="uri:oozie:workflow:0.4">
<start to="1_JobInitiated_SendMail" />
<action name='1_JobInitiated_SendMail'>
<email xmlns='uri:oozie:email-action:0.1'>
<to>${failureEmailToAddress}</to>
<subject>The workflow has been kicked off at ${timestamp()}</subject>
<body>The workflow "${wf:name()}" with workflow id "${wf:id()}" has been started at ${timestamp()} and is currently running. You will get further notification upon its Success or Failure.</body>
</email>
<ok to='2_rename_trigger_flag_file_processing'/>
<error to='2_rename_trigger_flag_file_processing' />
</action>
<action name="02_rename_trigger_flag_file_processing">
<fs>
...
...
在验证工作流程时,我收到以下错误。
Error: E0701: XML schema error, /dn01/home/testarea/wf.xml, org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 40; cvc-pattern-valid: Value '1_JobInitiated_SendMail' is not facet-valid with respect to pattern '([a-zA-Z_]([\-_a-zA-Z0-9])*){1,39}' for type 'IDENTIFIER'.
当我想对节点名称进行编号时,如何摆脱这个错误?