I'm attempting to re-install Elasticsearch via Homebrew on Mac, after a system update, following these instructions.
When running brew services restart elastic/tap/elasticsearch-full
, a popup appears with the message: "jdk.app" is damaged and can't be opened.
Other posts suggest that the fix to this issue is to remove the system quarantine flag from the app file, in my case with the command xattr -d com.apple.quarantine /usr/local/Cellar/elasticsearch-full/7.17.4/libexec/jdk.app
. But this does not resolve the issue, and produces an error instead: No such xattr: com.apple.quarantine.
I'm stumped by this one. In the meantime I'm going to look at some alternative way to install elasticsearch.