elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.94k stars 24.74k forks source link

elasticsearch 1.5.2. under cygwin environment #10945

Closed jorge80 closed 8 years ago

jorge80 commented 9 years ago

elasticsearch 1.5.2 not loading installed plugins under cygwin x86 environment Cygwin Package Information Package Version Status _autorebase 001002-1 OK _update-info-dir 01382-1 OK alternatives 1.3.30c-10 OK base-cygwin 3.8-1 OK base-files 4.2-3 OK bash 4.3.33-1 OK binutils 2.25-1 OK bzip2 1.0.6-2 OK ca-certificates 2.3-1 OK coreutils 8.23-4 OK crypt 1.2-1 OK csih 0.9.8-6 OK curl 7.42.1-1 OK cygrunsrv 1.62-1 OK cygutils 1.4.14-1 OK cygutils-extra 1.4.14-1 OK cygwin 2.0.1-1 OK dash 0.5.8-3 OK diffutils 3.3-2 OK editrights 1.03-1 OK file 5.22-1 OK findutils 4.5.12-1 OK gawk 4.1.1-1 OK getent 2.18.90-4 OK git 2.1.1-1 OK grep 2.21-2 OK groff 1.22.3-1 OK gzip 1.6-1 OK hostname 3.13-1 OK info 5.2-3 OK ipc-utils 1.0-1 OK less 458-2 OK libargp 20110921-2 OK libattr1 2.4.46-1 OK libblkid1 2.25.2-2 OK libbz2_1 1.0.6-2 OK libcatgets1 1.1-2 OK libcharset1 1.14-3 OK libcom_err2 1.42.12-2 OK libcurl4 7.42.1-1 OK libdb4.8 4.8.30-1 OK libedit0 20130712-1 OK libexpat1 2.1.0-3 OK libffi6 3.2.1-1 OK libgcc1 4.9.2-3 OK libgdbm4 1.8.3-20 OK libgmp10 6.0.0a-2 OK libgssapi_krb5_2 1.13.1-1 OK libiconv 1.14-3 OK libiconv-devel 1.14-3 OK libiconv2 1.14-3 OK libidn11 1.29-1 OK libintl-devel 0.19.4-1 OK libintl8 0.19.4-1 OK libk5crypto3 1.13.1-1 OK libkrb5_3 1.13.1-1 OK libkrb5support0 1.13.1-1 OK liblzma5 5.0.8-1 OK libmetalink3 0.1.2-1 OK libmpfr4 3.1.2-2 OK libncursesw10 5.9-20150404-1 OK libopenldap2_4_2 2.4.40-2 OK libopenssl100 1.0.2a-1 OK libp11-kit0 0.20.7-1 OK libpcre1 8.37-1 OK libpipeline1 1.4.0-1 OK libpopt0 1.16-1 OK libreadline7 6.3.8-1 OK libsasl2_3 2.1.26-9 OK libsigsegv2 2.10-1 OK libsmartcols1 2.25.2-2 OK libsqlite3_0 3.8.9-1 OK libssh2_1 1.5.0-1 OK libssp0 4.9.2-3 OK libstdc++6 4.9.2-3 OK libtasn1_6 4.4-1 OK libuuid-devel 2.25.2-2 OK libuuid1 2.25.2-2 OK libxml2 2.9.2-1 OK login 1.11-1 OK lynx 2.8.7-1 OK man-db 2.7.1-1 OK mintty 1.1.3-1 OK mksh 50f-1 OK openssh 6.8p1-1 OK openssl 1.0.2a-1 OK p11-kit 0.20.7-1 OK p11-kit-trust 0.20.7-1 OK perl 5.14.4-3 OK perl-Archive-Zip 1.46-1 OK perl-B-Generate 1.50-1 OK perl-Capture-Tiny 0.28-1 OK perl-Compress-Bzip2 2.22-1 OK perl-Config-Tiny 2.22-1 OK perl-CPAN-Reporter 1.2011-1 OK perl-Data-Alias 1.18-2 OK perl-Devel-Autoflush 0.06-1 OK perl-Digest-HMAC 1.03-4 OK perl-Digest-SHA 5.95-1 OK perl-Encode-Locale 1.04-1 OK perl-Error 0.17023-1 OK perl-File-Copy-Recursive 0.38-4 OK perl-File-HomeDir 1.00-2 OK perl-File-Listing 6.04-4 OK perl-File-pushd 1.009-1 OK perl-HTML-Parser 3.71-2 OK perl-HTTP-Cookies 6.01-4 OK perl-HTTP-Daemon 6.01-4 OK perl-HTTP-Date 6.02-4 OK perl-HTTP-Message 6.06-2 OK perl-HTTP-Negotiate 6.01-4 OK perl-IO-CaptureOutput 1.1104-1 OK perl-IO-Socket-INET6 2.72-1 OK perl-IO-String 1.08-4 OK perl-IO-Tty 1.12-1 OK perl-IPC-Cmd 0.92-1 OK perl-IPC-Run 0.94-1 OK perl-libwww-perl 6.13-1 OK perl-LWP-MediaTypes 6.02-4 OK perl-Module-ScanDeps 1.18-1 OK perl-Module-Signature 0.73-2 OK perl-Net-DNS 0.83-1 OK perl-Net-HTTP 6.07-1 OK perl-Net-IP 1.26-2 OK perl-PadWalker 2.0-1 OK perl-PAR-Dist 0.49-2 OK perl-Pod-Coverage 0.23-2 OK perl-Pod-Escapes 1.07-1 OK perl-Pod-Simple 3.30-1 OK perl-Probe-Perl 0.03-2 OK perl-Proc-ProcessTable 0.51-1 OK perl-Socket6 0.25-1 OK perl-Tee 0.14-4 OK perl-Term-ReadLine-Gnu 1.26-1 OK perl-Term-ReadLine-Perl 1.0303-4 OK perl-TermReadKey 2.32-1 OK perl-Test-NoWarnings 1.04-3 OK perl-Test-Pod 1.48-2 OK perl-Test-Pod-Coverage 1.10-1 OK perl-Test-Reporter 1.60-2 OK perl-Test-Reporter-Transport-Metabase 1.999008-4 OK perl-Test-Simple 1.001014-1 OK perl-URI 1.67-1 OK perl-WWW-RobotRules 6.02-4 OK perl-XML-LibXML 2.0118-1 OK perl-XML-NamespaceSupport 1.11-4 OK perl-XML-Parser 2.44-1 OK perl-XML-SAX 0.99-4 OK perl-YAML 1.14-1 OK perl_autorebase 5.14.4-3 OK perl_base 5.14.4-3 OK perl_vendor 5.14.4-1 OK popt 1.16-1 OK python 2.7.8-1 OK rebase 4.4.1-1 OK rsync 3.1.1-1 OK run 1.3.3-1 OK sed 4.2.2-3 OK tar 1.27.1-1 OK tcsh 6.18.01-6 OK terminfo 5.9-20150404-1 OK tzcode 2014j-1 OK unzip 6.0-14 OK util-linux 2.25.2-2 OK vim 7.4.692-1 OK vim-common 7.4.692-1 OK vim-minimal 7.4.692-1 OK which 2.20-2 OK xxd 7.4.692-1 OK xz 5.0.8-1 OK zlib-devel 1.2.8-3 OK zlib0 1.2.8-3 OK $ bin/elasticsearch [2015-05-04 08:31:40,295][WARN ][bootstrap ] jvm uses the client vm, make sure to run java with the server vm for best performance by adding - server to the command line [2015-05-04 08:31:40,395][INFO ][node ] [test] version[1.5.2 ], pid[5192], build[62ff986/2015-04-27T09:21:06Z] [2015-05-04 08:31:40,395][INFO ][node ] [test] initializing ... [2015-05-04 08:31:40,405][INFO ][plugins ] [test] loaded [], si tes [] [2015-05-04 08:31:44,335][INFO ][node ] [test] initialized [2015-05-04 08:31:44,395][INFO ][node ] [test] starting ... [2015-05-04 08:31:44,545][INFO ][transport ] [test] bound_address {inet[/127.0.0.1:9300]}, publish_address {inet[/127.0.0.1:9300]}

[2015-05-04 08:31:45,005][INFO ][discovery ] [test] ela/pWkhcy3GR

tested scenarios:

markwalkom commented 9 years ago

Where are the plugins installed?

It should check $PWD/plugins or whatever you have specified path.plugins as in your config.

jorge80 commented 9 years ago

folder structure is follwoing: bin config data lib plugins < installed eg. bigdesk plugin

clintongormley commented 9 years ago

Try:

./bin/elasticsearch --path.plugins /abs/path/to/plugins/dir

Also:

ls -lf plugins/ plugins/*
jorge80 commented 9 years ago

tried all combinations this is not working for me still for u its working?


Od: Clinton Gormley notifications@github.com Komu: "elastic/elasticsearch" elasticsearch@noreply.github.com Datum: 04.05.2015 15:30 Předmět: Re: [elasticsearch] elasticsearch 1.5.2. under cygwin environment (#10945)

Try:

./bin/elasticsearch --path.plugins /abs/path/to/plugins/dir

Also:

ls -lf plugins/ plugins/*


Reply to this email directly or view it on GitHub: https://github.com/elastic/elasticsearch/issues/10945#issuecomment-98704655

clintongormley commented 9 years ago

@jbrablec "it doesn't work" doesn't help much. eg what was the output of the ls command that I asked for above?

If you set the --path.plugins to an absolute path, what path do you see when you do GET _nodes?

tlrx commented 9 years ago

@jbrablec As far as I know the plugin manager doesn't work with Cygwin. So I guess you manually unziped the BigDesk plugin?

If so, the directory layout must look like this:

plugins/
plugins/bigdesk/
plugins/bigdesk/_site/
plugins/bigdesk
plugins/bigdesk/_site
plugins/bigdesk/_site/bigdesk-1.0.0.jpg
plugins/bigdesk/_site/bigdesk-2.0.0-SNAPSHOT.jpg
plugins/bigdesk/_site/css
plugins/bigdesk/_site/images
plugins/bigdesk/_site/index.html
plugins/bigdesk/_site/js
plugins/bigdesk/_site/LICENSE
plugins/bigdesk/_site/NOTICE
...
jorge80 commented 9 years ago

 ./bin/ela sticsearch --path.plugins /cygdrive/c/cygwin/elk/elasticsearch/plugins/bigdesk [2015-05-05 10:17:24,266][WARN ][bootstrap                ] jvm uses the client vm, make sure to run java with the server vm for best performance by adding -server to the command line [2015-05-05 10:17:24,616][INFO ][node                     ] [Vixen] version[1.5.2], pid[1716], build[62ff986/2015-04-27T09:21:06Z] [2015-05-05 10:17:24,616][INFO ][node                     ] [Vixen] initializing ... [2015-05-05 10:17:24,646][INFO ][plugins                  ] [Vixen] loaded [], sites []     pc /elk/elasticsearch $ ls -lf plugins/ plugins/* plugins/: .  ..  bigdesk  elasticsearch-head

plugins/bigdesk: .  ..  .git  .gitignore  bigdesk-1.0.0.jpg  bigdesk-2.0.0-SNAPSHOT.jpg  css  images  index.html  js  LICENSE  NOTICE  README.md

plugins/elasticsearch-head: .   .git        .jshintrc  elasticsearch-head.sublime-project  grunt_fileSets.js  LICENCE       README.textile  test ..  .gitignore  dist       Gruntfile.js                        index.html         package.json  src     installed plugins this way: via git: git clone https://github.com/lukas-vlcek/bigdesk.git this will not do in folder structure _sites for this plugin extracted from zip into folder plugins created _sites folder manually as it was missing and moved content this is not working too

/elk/elasticsearch $ curl -XGET 'http://192.168.0.13:9200/_nodes' {"cluster_name":"elasticsearch","nodes":{"6b3Z22ApRWST0Hkddyo8bQ":{"name":"Martin Gold","transport_address":"inet[/192.168.0.13:9300]","host":"pc","ip":"192.168.0.13","version":"1.5.2","build":"62ff986","http_address":"inet[/192.168.0.13:9200]","settings":{"name":"Martin Gold","path":{"logs":"C:/cygwin/elk/elasticsearch/logs","plugins":"/cygdrive/c/cygwin/elk/elasticsearch/plugins/","home":"C:\cygwin\elk\elasticsearch"},"cluster":{"name":"elasticsearch"},"client":{"type":"node"},"foreground":"yes"},"os":{"refresh_interval_in_millis":1000,"available_processors":2,"cpu":{"vendor":"Intel","model":"Core(TM)2 Duo CPU P7450 @ 2.13GHz","mhz":2128,"total_cores":2,"total_sockets":2,"cores_per_socket":1,"cache_size_in_bytes":-1},"mem":{"total_in_bytes":4260397056},"swap":{"total_in_bytes":8518897664}},"process":{"refresh_interval_in_millis":1000,"id":3952,"max_file_descriptors":-1,"mlockall":false},"jvm":{"pid":3952,"version":"1.8.0_45","vm_name":"Java HotSpot(TM) Client VM","vm_ver sion":"25.45-b02","vm_vendor":"Oracle Corporation","start_time_in_millis":1430814779392,"mem":{"heap_init_in_bytes":268435456,"heap_max_in_bytes":1060372480,"non_heap_init_in_bytes":163840,"non_heap_max_in_bytes":0,"direct_max_in_bytes":1060372480},"gc_collectors":["ParNew","ConcurrentMarkSweep"],"memory_pools":["Code Cache","Metaspace","Par Eden Space","Par Survivor Space","CMS Old Gen"]},"thread_pool":{"percolate":{"type":"fixed","min":2,"max":2,"queue_size":"1k"},"listener":{"type":"fixed","min":1,"max":1,"queue_size":-1},"index":{"type":"fixed","min":2,"max":2,"queue_size":"200"},"refresh":{"type":"scaling","min":1,"max":1,"keep_alive":"5m","queue_size":-1},"suggest":{"type":"fixed","min":2,"max":2,"queue_size":"1k"},"generic":{"type":"cached","keep_alive":"30s","queue_size":-1},"warmer":{"type":"scaling","min":1,"max":1,"keep_alive":"5m","queue_size":-1},"search":{"type":"fixed","min":6,"max":6,"queue_size":"1k"},"flush":{"type":"scaling","min":1,"max":1,"keep_alive":"5 m","queue_size":-1},"optimize":{"type":"fixed","min":1,"max":1,"queue_size":-1},"management":{"type":"scaling","min":1,"max":5,"keep_alive":"5m","queue_size":-1},"get":{"type":"fixed","min":2,"max":2,"queue_size":"1k"},"merge":{"type":"scaling","min":1,"max":1,"keep_alive":"5m","queue_size":-1},"bulk":{"type":"fixed","min":2,"max":2,"queue_size":"50"},"snapshot":{"type":"scaling","min":1,"max":1,"keep_alive":"5m","queue_size":-1}},"network":{"refresh_interval_in_millis":5000,"primary_interface":{"address":"192.168.0.13","name":"eth10","mac_address":"00:24:D6:3A:20:FA"}},"transport":{"bound_address":"inet[/0:0:0:0:0:0:0:0:9300]","publish_address":"inet[/192.168.0.13:9300]","profiles":{}},"http":{"bound_address":"inet[/0:0:0:0:0:0:0:0:9200]","publish_address":"inet[/192.168.0.13:9200]","max_content_length_in_bytes":104857600},"plugins":[]}}}

@pc /elk/elasticsearch $ ./bin/elasticsearch --path.plugins /cygdrive/c/cygwin/elk/elasticsearch/plugins/ [2015-05-05 10:33:00,112][WARN ][bootstrap ] jvm uses the client vm, make sure to run java with the server vm for best performance by adding -server to the command line [2015-05-05 10:33:00,232][INFO ][node ] [Martin Gold] version[1.5.2], pid[3952], build[62ff986/2015-04-27T09:21:06Z] [2015-05-05 10:33:00,232][INFO ][node ] [Martin Gold] initializing ... [2015-05-05 10:33:00,242][INFO ][plugins ] [Martin Gold] loaded [], sites [] [2015-05-05 10:33:04,381][INFO ][node ] [Martin Gold] initialized [2015-05-05 10:33:04,492][INFO ][node ] [Martin Gold] starting ... [2015-05-05 10:33:04,786][INFO ][transport ] [Martin Gold] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.0.13:9300]} [2015-05-05 10:33:05,080][INFO ][discovery ] [Martin Gold] elasticsearch/6b3Z22ApRWST0Hkddyo8bQ [2015-05-05 10:33:08,903][INFO ][cluster.service ] [Martin Gold] new_master [Martin Gold][6b3Z22ApRWST0Hkddyo8bQ][pc][inet[/192.168.0.13:9300]], reason: zen-disco-join (elected_as_master) [2015-05-05 10:33:09,070][INFO ][http ] [Martin Gold] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.168.0.13:9200]} [2015-05-05 10:33:09,071][INFO ][node ] [Martin Gold] started [2015-05-05 10:33:09,638][INFO ][gateway ] [Martin Gold] recovered [1] indices into cluster_state

still not loaded

 


Od: Clinton Gormley notifications@github.com Komu: "elastic/elasticsearch" elasticsearch@noreply.github.com Datum: 05.05.2015 09:38 Předmět: Re: [elasticsearch] elasticsearch 1.5.2. under cygwin environment (#10945)

@jbrablec https://github.com/jbrablec "it doesn't work" doesn't help much. eg what was the output of the ls command that I asked for above? If you set the --path.plugins to an absolute path, what path do you see when you do GET _nodes? — Reply to this email directly or view it on GitHub https://github.com/elastic/elasticsearch/issues/10945#issuecomment-98983198.

jorge80 commented 9 years ago

yes did unziping as well, not working too + created same structure you posted and copied content which should be there.. plugin manager i get working via plugin.bat under windows cmd line , yes plugin script does not correctly for searching for JAVA_HOME under cygwin i think some modif to plugin  file are needed as did some to plugin.bat to load java correctly and then it works.


Od: Tanguy Leroux notifications@github.com Komu: "elastic/elasticsearch" elasticsearch@noreply.github.com Datum: 05.05.2015 10:18 Předmět: Re: [elasticsearch] elasticsearch 1.5.2. under cygwin environment (#10945)

@jbrablec https://github.com/jbrablec As far as I know the plugin manager doesn't work with Cygwin. So I guess you manually unziped the BigDesk plugin? If so, the directory layout must look like this: plugins/plugins/bigdesk/plugins/bigdesk/_site/plugins/bigdeskplugins/bigdesk/_siteplugins/bigdesk/_site/bigdesk-1.0.0.jpgplugins/bigdesk/_site/bigdesk-2.0.0-SNAPSHOT.jpgplugins/bigdesk/_site/cssplugins/bigdesk/_site/imagesplugins/bigdesk/_site/index.htmlplugins/bigdesk/_site/jsplugins/bigdesk/_site/LICENSEplugins/bigdesk/_site/NOTICE...— Reply to this email directly or view it on GitHub https://github.com/elastic/elasticsearch/issues/10945#issuecomment-98990576.

tlrx commented 9 years ago

plugins/bigdesk: .  ..  .git  .gitignore  bigdesk-1.0.0.jpg  bigdesk-2.0.0-SNAPSHOT.jpg  css  images  index.html  js  LICENSE  NOTICE  README.md

This is not the expected directory structure

created _sites folder manually as it was missing and moved content this is not working too

It _site not _sites.

Also, what is your OS?

Once your plugin directory structure is good, you can try ./bin/elasticsearch --path.plugins C:/cygdrive/c/cygwin/elk/elasticsearch/plugins/ or
./bin/elasticsearch -Des.path.plugins="C:\\path\to\real\plugins\folder"

jorge80 commented 9 years ago

It _site not _sites. ---my bad, with _site is not working too

OS ---Microsoft Windows 7 Enterprise 6.1.7601 Service Pack 1 7601 x64

---Microsoft Windows 7 Pro 6.1.7601 Service Pack 1 7601 x64

Once your plugin directory structure is good, you can try ./bin/elasticsearch --path.plugins C:/cygdrive/c/cygwin/elk/elasticsearch/plugins/

$ ./bin/elasticsearch --path.plugins C:/cygdrive/c/cygwin/elk/elasticsearch/plugins [2015-05-05 16:23:56,134][WARN ][bootstrap                ] jvm uses the client vm, make sure to run java with the server vm for best performance by adding -server to the command line [2015-05-05 16:23:56,243][INFO ][node                     ] [Kierrok] version[1.5.2], pid[2748], build[62ff986/2015-04-27T09:21:06Z] [2015-05-05 16:23:56,243][INFO ][node                     ] [Kierrok] initializing ... [2015-05-05 16:23:56,259][INFO ][plugins                  ] [Kierrok] loaded [], sites [] [2015-05-05 16:24:00,440][INFO ][node                     ] [Kierrok] initialized [2015-05-05 16:24:00,564][INFO ][node                     ] [Kierrok] starting ... [2015-05-05 16:24:00,861][INFO ][transport                ] [Kierrok] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.0.13:9300]} [2015-05-05 16:24:01,126][INFO ][discovery                ] [Kierrok] elasticsearch/QQGRJ6Y4SwKjpxueH2muHQ [2015-05-05 16:24:04,964][INFO ][cluster.service          ] [Kierrok] new_master [Kierrok][QQGRJ6Y4SwKjpxueH2muHQ][pc][inet[/192.168.0.13:9300]], reason: zen-disco-join (elected_as_master) [2015-05-05 16:24:05,198][INFO ][http                     ] [Kierrok] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.168.0.13:9200]} [2015-05-05 16:24:05,198][INFO ][node                     ] [Kierrok] started [2015-05-05 16:24:06,321][INFO ][gateway                  ] [Kierrok] recovered [1] indices into cluster_state

getting this {"error":"ElasticsearchIllegalArgumentException[No feature for name [_site]]","status":400}

otherwise its ok on that port {   "status" : 200,   "name" : "Kierrok",   "cluster_name" : "elasticsearch",   "version" : {     "number" : "1.5.2",     "build_hash" : "62ff9868b4c8a0c45860bebb259e21980778ab1c",     "build_timestamp" : "2015-04-27T09:21:06Z",     "build_snapshot" : false,     "lucene_version" : "4.10.4"   },   "tagline" : "You Know, for Search" }

./bin/elasticsearch -Des.path.plugins="C:\cygwin\elk\elasticsearch\plugins\bigdesk"

$ ./bin/elasticsearch -Des.path.plugins="C:\cygwin\elk\elasticsearch\plugins\bigdesk" [2015-05-05 16:27:33,442][WARN ][bootstrap                ] jvm uses the client vm, make sure to run java with the server vm for best performance by adding -server to the command line [2015-05-05 16:27:33,567][INFO ][node                     ] [Siena Blaze] version[1.5.2], pid[2540], build[62ff986/2015-04-27T09:21:06Z] [2015-05-05 16:27:33,567][INFO ][node                     ] [Siena Blaze] initializing ... [2015-05-05 16:27:33,567][INFO ][plugins                  ] [Siena Blaze] loaded [], sites [] [2015-05-05 16:27:37,748][INFO ][node                     ] [Siena Blaze] initialized [2015-05-05 16:27:37,873][INFO ][node                     ] [Siena Blaze] starting ... [2015-05-05 16:27:38,154][INFO ][transport                ] [Siena Blaze] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.0.13:9300]} [2015-05-05 16:27:38,419][INFO ][discovery                ] [Siena Blaze] elasticsearch/9dW0uxwJRKqbruKm7QK2QQ [2015-05-05 16:27:42,272][INFO ][cluster.service          ] [Siena Blaze] new_master [Siena Blaze][9dW0uxwJRKqbruKm7QK2QQ][pc][inet[/192.168.0.13:9300]], reason: zen-disco-join (elected_as_master) [2015-05-05 16:27:42,428][INFO ][http                     ] [Siena Blaze] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.168.0.13:9200]} [2015-05-05 16:27:42,428][INFO ][node                     ] [Siena Blaze] started [2015-05-05 16:27:42,990][INFO ][gateway                  ] [Siena Blaze] recovered [1] indices into cluster_state

./bin/elasticsearch -Des.path.plugins="C:\cygwin\elk\elasticsearch\plugins" [2015-05-05 16:28:34,548][WARN ][bootstrap                ] jvm uses the client vm, make sure to run java with the server vm for best performance by adding -server to the command line [2015-05-05 16:28:34,673][INFO ][node                     ] [Shooting Star] version[1.5.2], pid[332], build[62ff986/2015-04-27T09:21:06Z] [2015-05-05 16:28:34,673][INFO ][node                     ] [Shooting Star] initializing ... [2015-05-05 16:28:34,673][INFO ][plugins                  ] [Shooting Star] loaded [], sites [] [2015-05-05 16:28:38,853][INFO ][node                     ] [Shooting Star] initialized [2015-05-05 16:28:38,978][INFO ][node                     ] [Shooting Star] starting ... [2015-05-05 16:28:39,259][INFO ][transport                ] [Shooting Star] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.0.13:9300]} [2015-05-05 16:28:39,524][INFO ][discovery                ] [Shooting Star] elasticsearch/8XMZuq__SqmzQ2Ptxi52jQ [2015-05-05 16:28:43,346][INFO ][cluster.service          ] [Shooting Star] new_master [Shooting Star][8XMZuq__SqmzQ2Ptxi52jQ][pc][inet[/192.168.0.13:9300]], reason: zen-disco-join (elected_as_master) [2015-05-05 16:28:43,502][INFO ][http                     ] [Shooting Star] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.168.0.13:9200]} [2015-05-05 16:28:43,502][INFO ][node                     ] [Shooting Star] started [2015-05-05 16:28:44,064][INFO ][gateway                  ] [Shooting Star] recovered [1] indices into cluster_state

----not working too ----have this currently on

java -version java version "1.8.0_45" Java(TM) SE Runtime Environment (build 1.8.0_45-b15) Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode)

 


Od: Tanguy Leroux notifications@github.com Komu: "elastic/elasticsearch" elasticsearch@noreply.github.com Datum: 05.05.2015 13:02 Předmět: Re: [elasticsearch] elasticsearch 1.5.2. under cygwin environment (#10945)

plugins/bigdesk: .  ..  .git  .gitignore  bigdesk-1.0.0.jpg  bigdesk-2.0.0-SNAPSHOT.jpg  css  images  index.html  js  LICENSE  NOTICE  README.md This is not the expected directory structure created _sites folder manually as it was missing and moved content this is not working too It _site not _sites. Also, what is your OS? Once your plugin directory structure is good, you can try ./bin/elasticsearch --path.plugins C:/cygdrive/c/cygwin/elk/elasticsearch/plugins/ or

./bin/elasticsearch -Des.path.plugins="C:\path\to\real\plugins\folder" — Reply to this email directly or view it on GitHub https://github.com/elastic/elasticsearch/issues/10945#issuecomment-99033011.

tlrx commented 9 years ago

./bin/elasticsearch -Des.path.plugins="C:\cygwin\elk\elasticsearch\plugins\bigdesk"

My bad, can you try: ./bin/elasticsearch -Des.path.plugins="C:\cygwin\elk\elasticsearch\plugins" and also show us the "plugins" directory structure in detail? Just to check that it is ok.

jorge80 commented 9 years ago

 ./bin/elasticsearch -Des.   path.plugins="C:\cygwin\elk\elasticsearch\plugins" [2015-05-05 16:39:19,666][WARN ][bootstrap                ] jvm uses the client vm, make sure to run java with the server vm for best performance by adding -server to the command line [2015-05-05 16:39:19,796][INFO ][node                     ] [Hardshell] version[1.5.2], pid[2692], build[62ff986/2015-04-27T09:21:06Z] [2015-05-05 16:39:19,796][INFO ][node                     ] [Hardshell] initializing ... [2015-05-05 16:39:19,806][INFO ][plugins                  ] [Hardshell] loaded [], sites [] [2015-05-05 16:39:24,150][INFO ][node                     ] [Hardshell] initialized [2015-05-05 16:39:24,272][INFO ][node                     ] [Hardshell] starting ... [2015-05-05 16:39:24,606][INFO ][transport                ] [Hardshell] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/192.168.0.13:9300]} [2015-05-05 16:39:24,890][INFO ][discovery                ] [Hardshell] elasticsearch/JROP9wSfSEa5rsJNgQ5JZg [2015-05-05 16:39:28,702][INFO ][cluster.service          ] [Hardshell] new_master [Hardshell][JROP9wSfSEa5rsJNgQ5JZg][pc][inet[/192.168.0.13:9300]], reason: zen-disco-join (elected_as_master) [2015-05-05 16:39:28,867][INFO ][http                     ] [Hardshell] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/192.168.0.13:9200]} [2015-05-05 16:39:28,868][INFO ][node                     ] [Hardshell] started [2015-05-05 16:39:29,426][INFO ][gateway                  ] [Hardshell] recovered [1] indices into cluster_state

bigdesk -rwxrwxrwx  1 Administrators None  1775  2. 5  22.39 NOTICE -rwxrwxrwx  1 Administrators None 11358  2. 5  22.39 LICENSE -rwxrwxrwx  1 Administrators None    17  2. 5  22.39 .gitignore drwxrwxrwx+ 1 Administrators None     0  4. 5  20.16 .git drwxr-xr-x+ 1 Administrators None     0  5. 5  16.19 _site drwxrwxrwx+ 1 Administrators None     0  5. 5  16.19 .       bigdesk/_site $ ls -latr celkem 232 -rwxrwxrwx  1 Administrators None  1775  2. 5  22.39 NOTICE -rwxrwxrwx  1 Administrators None 11358  2. 5  22.39 LICENSE -rwxrwxrwx  1 Administrators None  8507  2. 5  22.39 README.md -rwxrwxrwx  1 Administrators None 93038  2. 5  22.39 bigdesk-2.0.0-SNAPSHOT.jpg -rwxrwxrwx  1 Administrators None 91393  2. 5  22.39 bigdesk-1.0.0.jpg -rwxrwxrwx  1 Administrators None  6435  2. 5  22.39 index.html drwxrwxrwx+ 1 Administrators None     0  5. 5  16.19 css drwxrwxrwx+ 1 Administrators None     0  5. 5  16.19 images drwxrwxrwx+ 1 Administrators None     0  5. 5  16.19 js drwxrwxrwx+ 1 Administrators None     0  5. 5  16.19 . drwxrwxrwx+ 1 Administrators None     0  5. 5  16.19 ..

   


Od: Tanguy Leroux notifications@github.com Komu: "elastic/elasticsearch" elasticsearch@noreply.github.com Datum: 05.05.2015 16:35 Předmět: Re: [elasticsearch] elasticsearch 1.5.2. under cygwin environment (#10945)

./bin/elasticsearch -Des.path.plugins="C:\cygwin\elk\elasticsearch\plugins\bigdesk" My bad, can you try: ./bin/elasticsearch -Des.path.plugins="C:\cygwin\elk\elasticsearch\plugins" and also show us the "plugins" directory structure in detail? Just to check that it is ok. — Reply to this email directly or view it on GitHub https://github.com/elastic/elasticsearch/issues/10945#issuecomment-99096919.

jorge80 commented 9 years ago

should be related to this issue ? #10958 opened 2 days ago by jettro

clintongormley commented 8 years ago

This appears to work correctly on 2.1. Closing