#8 6.878 -> Rolled back file:///plugins/plugin.zip
#8 6.878 Exception in thread "main" java.lang.IllegalStateException: codebase property already set: codebase.tensorflow-core-api -> file:/usr/share/elasticsearch/plugins/.installing-7277063629313084784/tensorflow-core-api-0.4.0.jar, cannot set to file:/usr/share/elasticsearch/plugins/.installing-7277063629313084784/tensorflow-core-api-0.4.0-linux-x86_64.jar
#8 6.879 at org.elasticsearch.bootstrap.PolicyUtil.readPolicy(PolicyUtil.java:268)
#8 6.879 at org.elasticsearch.bootstrap.PolicyUtil.readPolicyInfo(PolicyUtil.java:333)
#8 6.879 at org.elasticsearch.bootstrap.PolicyUtil.getPluginPolicyInfo(PolicyUtil.java:370)
#8 6.879 at org.elasticsearch.plugins.cli.InstallPluginAction.installPlugin(InstallPluginAction.java:889)
#8 6.879 at org.elasticsearch.plugins.cli.InstallPluginAction.execute(InstallPluginAction.java:245)
#8 6.879 at org.elasticsearch.plugins.cli.InstallPluginCommand.execute(InstallPluginCommand.java:88)
#8 6.879 at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77)
#8 6.879 at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
#8 6.879 at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:95)
#8 6.879 at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
#8 6.879 at org.elasticsearch.cli.Command.main(Command.java:77)
#8 6.879 at org.elasticsearch.plugins.cli.PluginCli.main(PluginCli.java:36)
#8 ERROR: executor failed running [/bin/sh -c elasticsearch-plugin install --batch file:///plugins/selection-es-rescore-plugin.zip]: exit code: 1
I'm trying to add the following dependency for my plugin:
implementation( group: 'org.tensorflow', name: 'tensorflow-core-platform', version: '0.4.0')
I am getting the above exception. Can anyone help to resolve this?