简体   繁体   中英

ingest-attachment needs more rights

I have an app which uses the elastic search when I do apt ugrade I get

# Configuring Elasticsearch...
-> removing [ingest-attachment]...
-> Downloading ingest-attachment from elastic
[=================================================] 100%  
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@     WARNING: plugin requires additional permissions     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission accessClassInPackage.sun.java2d.cmm.kcms
* java.lang.RuntimePermission accessDeclaredMembers
* java.lang.RuntimePermission getClassLoader
* java.lang.reflect.ReflectPermission suppressAccessChecks
* java.security.SecurityPermission createAccessControlContext
* java.security.SecurityPermission insertProvider
* java.security.SecurityPermission putProviderProperty.BC
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks.
-> Installed ingest-attachment

I'm not familiar with java at all. Can you tell me what I'm supposed to do?

You can use the -b flag while installing the plugin. Then restart the elastic search. It should fix the issue.

According to the discussion on elastic.io this is just a warning and by pressing "y" or using the option "-b", the required permissions are granted.

Elastic 7.5 S3 plugin install warning message

This is just a warning to inform you that the plugin requires additional permissions than those required by the core Elasticsearch process. If you hit y, those permissions will be automatically granted. See: Installing plugins with custom docker image warning message

As Elasticsearch plugins have to be installed on each node, we have documentation on how to easily achieve that with ECK as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM