Azure Not uninstall in elastic search

i want to remove the azure repository from elastic search but i could not remove file its show Exception in thread "main" java.nio.file.FileAlreadyExistsException:

change the account name command

elasticsearch-7.0.1
azure: repository-azure-7.0.1

C:\Program Files\Elastic\ElasticSearchMasterNode\elasticsearch-7.0.1\bin>elasticsearch-keystore add azure.client.default.account

Setting azure.client.default.account already exists. Overwrite? [y/N]y
Enter value for azure.client.default.account:
Exception in thread "main" java.nio.file.FileAlreadyExistsException: C:\ProgramData\Elastic\Elasticsearch\config\elasticsearch.keystore.tmp
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.nio.file.spi.FileSystemProvider.newOutputStream(Unknown Source)
at java.nio.file.Files.newOutputStream(Unknown Source)
at org.apache.lucene.store.FSDirectory$FSIndexOutput.(FSDirectory.java:411)
at org.apache.lucene.store.FSDirectory$FSIndexOutput.(FSDirectory.java:407)
at org.apache.lucene.store.FSDirectory.createOutput(FSDirectory.java:255)
at org.elasticsearch.common.settings.KeyStoreWrapper.save(KeyStoreWrapper.java:467)
at org.elasticsearch.common.settings.AddStringKeyStoreCommand.execute(AddStringKeyStoreCommand.java:97)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.common.settings.KeyStoreCli.main(KeyStoreCli.java:40)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.