Is there a best approach to have LKPs updated via a webservice so that other web services can consume the updated lkp without restarting DQS?
Ā
I have Web Service āAā which builds a dictionary file.Ā
I also have Web Service āBā which uses the dictionary built by Web Service āAā.
I would like to run Web Service āAā so that Web Service āBā is able to immediately use the updated dictionary without restarting the DQS service.Ā
Ā
Ā
Currently when i run Web Service ā Aā IĀ get a locked file issue:
26.07.2022 12:43:56 [FATAL] Ā [OnlineServicesComponent][buidTestDictionary.online][buidTestDictionary][buidTestDictionary.comp] [40] Internal error occurred during run of the plan: java.nio.channels.OverlappingFileLockException[STEP Lookup Builder[Lookup Builder]]
java.nio.channels.OverlappingFileLockException
Ā Ā Ā at sun.nio.ch.SharedFileLockTable.checkList(Unknown Source)
Ā Ā Ā at sun.nio.ch.SharedFileLockTable.add(Unknown Source)
Ā Ā Ā at sun.nio.ch.FileChannelImpl.tryLock(Unknown Source)
Ā Ā Ā at com.ataccama.dqc.io.storage.RafROStorage.open(RafROStorage.java:49)
Ā Ā Ā at com.ataccama.dqc.tasks.common.data.table.StandaloneTableBuilder.<init>(StandaloneTableBuilder.java:103)
Ā Ā Ā at com.ataccama.dqc.tasks.builders.LookupBuilder$TheInstance.runStandard(LookupBuilder.java:328)
Ā Ā Ā at com.ataccama.dqc.tasks.common.hadoop.MRStepInstanceBase.run(MRStepInstanceBase.java:32)
Ā Ā Ā at com.ataccama.dqc.processor.internal.runner.ComplexStepNode.runNode(ComplexStepNode.java:69)
Ā Ā Ā at com.ataccama.dqc.processor.internal.runner.RunnableNode.run(RunnableNode.java:28)
Ā Ā Ā at com.ataccama.dqc.commons.threads.AsyncExecutor$RunningTask.run(AsyncExecutor.java:131)
Ā Ā Ā at java.lang.Thread.run(Unknown Source)
Ā
Ā
any ideas or best approaches to do this will be appreciated. I have added the location of the LKP file to theĀ
āversionedFileā segement in the ServerConfig xml file and this get the same issue.Ā
Thanks


