In this example I've attempted to add an index, but I've made a typo in the port number:
$ bin/katta addIndex index3 hdfs://localhost:80200/index org.apache.lucene.analysis.StandardAnalyzer 1
.not deployed index index3
$ bin/katta listIndexes
Exception in thread "main" java.io.IOException: Call to localhost/127.0.0.1:19000 failed on local exception: Connection refused
You should be able to list your indices even if one of them is not available. That way you would be able to know which index to remove.
In addition, the "not deployed index index3" message you get upon trying to add the index in the first place is unhelpful.
Can you please explain what you mean? Thanks.