Unable to start blueprint container for bundle pdi-dataservice-server-plugin due to unresolved dependencies
Asked Answered
C

5

8

I am using windows batch file to call a Pentaho Data integration job, intermittently, the job gets hung indefinitely.

The error message in Pentaho logs is as below :

06:43:37,951 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle pdi-dataservice-server-plugin due to unresolved dependencies [(objectClass=org.pentaho.metaverse.api.ILineageClient)]
java.util.concurrent.TimeoutException
    at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:336)
    at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

I am able to find some questions on similar lines, which suggest this to be a cache issue. Please help !

Coprolalia answered 18/4, 2017 at 7:0 Comment(2)
I think this question is not related to the batch-file tag in any way. I suggest you to remove such a tag...Reneareneau
@Reneareneau - I have removed it, thanks for suggesting.Coprolalia
S
1

You probably have to up the version of Kettle tool to 8.0.0

Here you can find the issue: https://jira.pentaho.com/browse/PDI-16368

Subtonic answered 12/12, 2018 at 5:53 Comment(0)
C
0
unresolved dependencies [(objectClass=org.pentaho.metaverse.api.ILineageClient)]

This means the blueprint file has a mandatory reference to a service with interface org.pentaho.metaverse.api.ILineageClient. The service does not seem to come up and so blueprint gives up after a timeout.

You now need to find the bundle that provides this service and determine why it does not start correctly.

Cleotildeclepe answered 18/4, 2017 at 8:28 Comment(1)
@christain, I have found a temporary solution as clearing the Karaf cache and then it works to be working better. Does that give any hint about the actual root cause ?Coprolalia
A
0

When your bundle is starting, it can't find this interface org.pentaho.metaverse.api.ILineageClient. So it stays in Graceperiod State.

Because it works after clearing the cache, I recommend you to:

  • 1: troubleshooting the bundle that expose this interface: use diag command from your karaf command-line to find why it can't start correctly. You can use also headers command to ckeck that this interface was exported

  • 2: you can put this reference as optionnal in the consumer bundle like this:

    <reference id="give an id" interface="org.pentaho.metaverse.api.ILineageClient" availability="optional"> </reference>

  • 3: verify the start level of your bundle: you can handle this using start-level="..." when installing bundles in your features.xml.

Arginine answered 3/7, 2017 at 18:9 Comment(0)
C
0

I solved the same problem by using "call". For example:

cd "C:\Program Files (x86)\Kettle"
call kitchen.bat -file:"C:\Elekta Projects\CE_Activities\MAIN.kjb" -level:Minimal
Causal answered 15/3, 2018 at 3:8 Comment(0)
D
0

I add the call statement, and also delete the contents of : /pentaho-server/tomcat/temp

Duckett answered 3/10, 2018 at 17:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.