When running
bin/elasticsearch-plugin install ingest-attachment
I see:
org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48) Caused by: java.lang.IllegalStateException: jar hell! class: org.slf4j.helpers.BasicMarker
jar1: /home/azureuser/elassandra-6.2.3.38/plugins/.installing-2974073780624375496/slf4j-api-1.6.2.jar
jar2: /home/azureuser/elassandra-6.2.3.38/lib/slf4j-api-1.7.25.jar
How do I resolve this and install an elasticsearch plugin for ingest-attachment that is compatible with elassandra?
Found the solution :)
From:
https://jarcasting.com/artifacts/com.strapdata.elasticsearch.plugin/ingest-attachment/
or even better try the official site:
https://search.maven.org/artifact/com.strapdata.elasticsearch.plugin/ingest-attachment/6.2.3.31/jar
and click downloads and then zip
Downloaded: ingest-attachment-6.2.3.31.zip
Then run:
bin/elasticsearch-plugin install file:"/home/sampleuser/ingest-attachment-6.2.3.31.zip"
Related
I am not able to install marvel plugin in elasticsearch. I am following the book "Elasticsearch:The Definitive Guide" and I am stucked in installing marvel plugin. In the book the cmd was
./bin/plugin -i elasticsearch/marvel/latest
And I change to the below as this doesn't works anyway.
None of the following commands are working. It says unknown plugin marvel-agent or unknown plugin license and also same for marvel.
>>sudo bin/elasticsearch-plugin install license
>>sudo bin/elasticsearch-plugin install marvel-agent
>>sudo bin/elasticsearch-plugin install marvel
I tried installing different plugin analysis-icu, and it worked. But didn't worked with marvel
From version 5.0 onward, Marvel is part of X-Pack. For more information, see Monitoring the Elastic Stack.
https://www.elastic.co/guide/en/marvel/current/release-notes.html
For Install OroCRM in windows i have followed -> https://stackoverflow.com/a/40929643/8416476 after successful the command git clone -b 1.9.0 https://github.com/orocrm/platform-application.git orocrm then i try to run composer install --prefer-dist --no-dev Here i am getting error.
Installing composer/composer (1.0.0-p1): Downloading (failed) Failed to download composer/composer from dist: The
"https://api.github.com/repos/orocrm/composer/zipball/833ce984264204e7d6576ab082660105c7d8f04c"
file could not be downloaded (HTTP/1.1 404 Not Found)
How can i solve the issue.
Note : OroCRM in Windows
Install composer globally using https://getcomposer.org/Composer-Setup.exe
Then just run composer install --prefer-dist --no-dev from within application folder. This error is very odd and why are you trying to download 1.9.0 version? It is copy paste error or you specifically need this one?
Try Linux platform with Xampp for better convenient. refer https://oroinc.com/orocrm/doc/current/system-requirements#system-requirements
I have installed ElasticSearch 1.7 and want to install marvel, bellow command to install licence worked.
sudo bin/plugin --install mobz/elasticsearch-head --verbose
But installing marvel itself failed:
vagrant#homestead:/usr/share/elasticsearch$ sudo bin/plugin install marvel-agent
-> Installing marvel-agent...
Trying https://github.com/null/marvel-agent/archive/master.zip...
Failed to install marvel-agent, reason: failed to download out of all possible locations..., use --verbose to get detailed information
How to solve this ?
with --verbose this occurred vagrant#homestead:/usr/share/elasticsearch$ sudo bin/plugin install marvel-agent --verbose
-> Installing marvel-agent...
Trying https://github.com/null/marvel-agent/archive/master.zip...
Failed: IOException[Can't get https://github.com/null/marvel-agent/archive/master.zip to /usr/share/elasticsearch/plugins/marvel-agent.zip]; nested: FileNotFoundException[https://github.com/null/marvel-agent/archive/master.zip]; nested: FileNotFoundException[https://github.com/null/marvel-agent/archive/master.zip];
Failed to install marvel-agent, reason: failed to download out of all possible locations..., use --verbose to get detailed information
For Elasticsearch 1.7, the correct command is different than for 2.x:
bin/plugin -i elasticsearch/marvel/latest
I am trying to install Apigen on windows.
I am following instructions mentioned here.
But I am getting following error in cmd:
ApiGen PEAR is no more supported.
Download PHAR from apigen.org or install via composer require apigen/apigen.
I am using Ubuntu-14.04,maven-3.2.3,mahout-0.9,hadoop-2.2.0. I am new to maven. I have tried to run mahout on hadoop. That time i got en error like unable to find hadoop-core-2.2.0 for mahout-core-0.9. So I searched and found a key as that i need to mentioned mahout classpath that relate to hadoop. So i changed path of mahout by using "export" in open terminal(Not inside any of .bashrc or /etc/profile like). From that i cant run mahout and maven.I cant found the environment path which i changed. I tried the following,
mansoor#mansoor:~$ mvn --version
The program 'mvn' can be found in the following packages:
* maven
* maven2
Try: sudo apt-get install <selected package>
So i tried with both the things
mansoor#mansoor$ sudo apt-get install maven ( maven2)
if i tried to install newly , i got the following,
mansoor#mansoor:~$ mvn -v
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: org.codehaus.classworlds.Launcher. Program will exit.
I removed both maven's and i tried
$ mvn -v / and with (--version)
again i got the same error like following,
The program 'mvn' can be found in the following packages:
* maven
* maven2
Try: sudo apt-get install <selected package>
I tried new installation after used
sudo apt-get remove maven(maven2)
with maven packages which is downloaded from Apache site.
That time also i got the same error.
I checked all path and environment variables that i know like bellow,
mansoor#mansoor:~$ which mvn
mansoor#mansoor:~$ which maven
mansoor#mansoor:~$ which maven2
mansoor#mansoor:~$ whereis mvn
mvn:
mansoor#mansoor:~$ whereis maven
maven:
mansoor#mansoor:~$ whereis maven2
maven2:
mansoor#mansoor:~$ sudo gedit ~/.bashrc
==> Here there is no maven variable mentioned
mansoor#mansoor:~$ sudo gedit ~/.bash_profile
mansoor#mansoor:~$ sudo gedit /etc/profile
/usr/bin$ ls
==> here also no maven
/usr/share$ ls
==> here also no maven
Everything was empty that mean there is no maven. I dont know how to clean maven completely and reinstall it newly.
Can anyone help me to resolve this?