跳转到主内容

采集AIQUM数据源时、WFA中的密钥"primary"错误为"上行条目"

Views:
4
Visibility:
Public
Votes:
0
Category:
oncommand-workflow-automation-wfa
Specialty:
legacy
Last Updated:

适用场景

  • OnCommand Workflow Automation ( WFA ) 5.1.1
  • Active IQ Unified Manager (AIQUM) 9.8 P1
  • ONTAP 系统管理器( OSM )
  • ONTAP 9 

问题描述

  • WFA中出现以下错误消息、并显示:qtree的密钥"primary"的条目"156317"重复
  • 可以在中看到此错误 <install_directory>\Program Files\NetApp\WFA\jboss\standalone\log\wfa.log
021-09-28 06:33:53,219 ERROR [com.netapp.wfa.job.backend.JobsExecutionInterceptor] (Thread-2326 (ActiveMQ-client-global-threads)) Job CacheJob{, dataSourceId=DataSourceInfo{id=26, name='ActiveIQUM9.8', connectionDetails=ConnectionDetails{id=69, ip='AIQUM_IP', port=3306, userName='wfa', password='******', databaseName='', timeoutInMinutes=10, lastUpdateTime=0}, dataProviderType=DataProviderType{id=19, productType='Active IQ Unified Manager', productVersion='9.7,9.8', scheme='cm_storage'}}, schemeId=Scheme{id=3, name='cm_storage'}, dataSourceName='ActiveIQUM9.8', schemeName='cm_storage'} failed: javax.ejb.EJBException: com.netapp.wfa.util.SqlShellException:Failed to load from 'C:\Program Files\NetApp\WFA\jboss\standalone\tmp\wfa\address=(host=AIQUM_Ip)(port=3306)(type=master)-cm_storage.qtree-6935224624235622313.dump' into wfa_staging.cm_storage_qtree
at org.jboss.as.ejb3@17.0.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:246)
Caused by: java.sql.SQLIntegrityConstraintViolationException: (conn=15935) Duplicate entry '156317' for key 'PRIMARY'
Caused by: java.sql.SQLException: Duplicate entry '156317' for key 'PRIMARY'
Query is: LOAD DATA INFILE 'C:/Program Files/NetApp/WFA/jboss/standalone/tmp/wfa/address=(host)(port=3306)(type=master)-cm_storage.qtree-6935224624235622313.dump' INTO TABLE wfa_staging.cm_storage_qtree
 
 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.