-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Elasticsearch-plugin fills tmp with empty dirs #34445
Copy link
Copy link
Closed
Labels
:Core/Infra/PluginsPlugin API and infrastructurePlugin API and infrastructure>bughelp wantedadoptmeadoptme
Description
Elasticsearch version (bin/elasticsearch --version): 5.6.2 to 6.4.1 (at least)
Plugins installed: []
JVM version (java -version): 1.8
OS version (uname -a if on a Unix-like system): CentOs7
Description of the problem including expected versus actual behavior: Running elasticsearch-plugin list creates a directory under /tmp every run. If the directory is necessary for the run I expect the tool to either reuse it or clean it up after usage.
Steps to reproduce:
Please include a minimal but complete recreation of the problem, including
(e.g.) index creation, mappings, settings, query etc. The easier you make for
us to reproduce it, the more likely that somebody will take the time to look at it.
- List dirs under
/tmpmatchingelasticsearch.:ls /tmp | grep 'elasticsearch\.' - Run plugin list:
bin/elasticsearch-plugin list - List dirs under
/tmpmatchingelasticsearch.again, a new dir should be there every execution
Provide logs (if relevant):
[.@host /tmp]$ ls -l | grep 'elasticsearch\.'
[.@host /tmp]$ sudo ES_PATH_CONF=/etc/elasticsearch /usr/share/elasticsearch/bin/elasticsearch-plugin list --verbose
Plugins directory: /usr/share/elasticsearch/plugins
[.@host /tmp]$ ls -l | grep 'elasticsearch\.'
drwx------ 2 root root 4096 Oct 15 11:02 elasticsearch.yurOJFCO
[.@host /tmp]$ sudo ES_PATH_CONF=/etc/elasticsearch /usr/share/elasticsearch/bin/elasticsearch-plugin list
[.@host /tmp]$ ls -l | grep 'elasticsearch\.'
drwx------ 2 root root 4096 Oct 15 11:02 elasticsearch.v9avpNCr
drwx------ 2 root root 4096 Oct 15 11:02 elasticsearch.yurOJFCO
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Core/Infra/PluginsPlugin API and infrastructurePlugin API and infrastructure>bughelp wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.