我可以捕获 Informatica Amazon S3Bucket 名称不符合标准吗
Can I trap the Informatica Amazon S3Bucket name doesn’t match standards
在 Informatica 中,我们有连接到 Amazon Web Services — AWS 的映射源限定符。
我们的 s3 存储桶名称不符合命名标准,经常会出现错误。我们再次重新启动工作流程,它们每次都成功地继续。
有没有一种方法可以专门对此进行捕获,然后调用一个命令对象以通过 PMCMD 重新启动工作流命令?
嗯...例如,工作流程一 (W1) 是可能的:
your_session --> cmd_touch_file_if_session_failed
和另一个工作流程 (W2),运行 连续:
event_wait_for_W1_file --> pmcmd_restart_W1 --> delete_watch_file
尽管找出失败的原因并加以解决会好得多。
您如何启动常规运行的工作流程?
如果您使用的是 shell 脚本,则可以添加逻辑以在看到特定错误时重新启动。我刚才创建了一个脚本来针对特定错误重新启动工作流。
简而言之shell它是这样工作的
start workflow (with pmcmd)
#in case of an error
check repository db and get the error
if the error is specific to s3 bucket name
restart the workflow
在 Informatica 中,我们有连接到 Amazon Web Services — AWS 的映射源限定符。
我们的 s3 存储桶名称不符合命名标准,经常会出现错误。我们再次重新启动工作流程,它们每次都成功地继续。
有没有一种方法可以专门对此进行捕获,然后调用一个命令对象以通过 PMCMD 重新启动工作流命令?
嗯...例如,工作流程一 (W1) 是可能的:
your_session --> cmd_touch_file_if_session_failed
和另一个工作流程 (W2),运行 连续:
event_wait_for_W1_file --> pmcmd_restart_W1 --> delete_watch_file
尽管找出失败的原因并加以解决会好得多。
您如何启动常规运行的工作流程?
如果您使用的是 shell 脚本,则可以添加逻辑以在看到特定错误时重新启动。我刚才创建了一个脚本来针对特定错误重新启动工作流。
简而言之shell它是这样工作的
start workflow (with pmcmd)
#in case of an error
check repository db and get the error
if the error is specific to s3 bucket name
restart the workflow