200 Commits

Author SHA1 Message Date
Uwe Schindler
dac4169b01 Fix Windows startup script to disable HTTP/2 if TLS is enabled on Java 8. 2019-03-07 14:37:17 +01:00
Jason Gerlowski
a6f9f53ce5 SOLR-13241: Add 'autoscaling' tool to solr.cmd
Prior to this commit, SOLR-13155 added support for an 'autoscaling' tool
to bin/solr, but not to the Windows equivalent bin/solr.cmd.  This
commit adds the necessary plumbing to the Windows version of this
script.  It also removes some dead help-text from the bin/solr script.
2019-02-13 10:51:45 -05:00
Andrzej Bialecki
98cea5440f SOLR-13155: Add command-line option for testing autoscaling configurations. 2019-02-12 11:53:57 +01:00
Tomas Fernandez Lobbe
e9db95831b SOLR-12770: Make it possible to configure a host whitelist for distributed search 2019-01-15 11:49:11 -08:00
Jan Høydahl
9488c8f688 SOLR-12237: Fix incorrect SOLR_SSL_KEYSTORE_TYPE variable in solr start script 2019-01-03 19:40:47 +01:00
Jan Høydahl
a1c6e642aa SOLR-11853: Solr installer fails on SuSE linux 2019-01-02 17:24:22 +01:00
Cao Manh Dat
f80e8e1167 Merge jira/http2 branch to master 2018-12-16 16:58:20 +00:00
Cassandra Targett
df5540acc9 SOLR-12497: Add documentation for Hadoop credential provider-based keystore/truststore 2018-11-15 00:35:25 -06:00
Tim Underwood
5202a713ba Java 9+ GC Logging filesize parameter should be 20M instead of 20000
JEP 158 (https://openjdk.java.net/jeps/158) says the filesize parameter is the “file size in kb” however that appears to not be the case since when it is set to a value of 20000 you end up with GC logs that are only 20000 bytes in length.  Setting the value to 20M produces the desired result of GC log files that are 20MB in size.
2018-10-15 12:52:40 -07:00
Erick Erickson
95cc6f4f76 SOLR-12776: Setting of TMP in solr.cmd causes invisibility of Solr to JDK tools 2018-09-23 16:03:30 -07:00
Erick Erickson
93ae3669b5 SOLR-12008: Settle a location for the log4j2.xml file 2018-07-11 20:57:38 -07:00
Steve Rowe
fba42bbac6 SOLR-12435: Fix bin/solr help and ref guide text to describe ZK_HOST in solr.in.sh/solr.in.cmd as an alternative to -z cmdline param 2018-06-14 21:06:09 -04:00
Steve Rowe
6f9f4f70f2 SOLR-12434: Fix standalone mode 'bin/solr config' to not pass in empty -z ZK_HOST param; revert accidental ZK_HOST definition in solr.in.cmd 2018-06-13 09:35:18 -04:00
Steve Rowe
ca35c40f1b SOLR-12481: update.autoCreateFields must be set via Config API command 'set-user-property', but 'bin/solr create' tells users to use the default action 'set-property', which fails because the property is not editable 2018-06-12 21:50:25 -04:00
Steve Rowe
3d8b219273 SOLR-12434: remove debug printing from bin/solr 2018-06-12 21:10:19 -04:00
Steve Rowe
00be7bc2d6 SOLR-12434: remove debug printing from bin/solr 2018-06-12 21:00:39 -04:00
Steve Rowe
ade22a1ef9 SOLR-12434: Fix 'bin/solr config' endless loop parsing cmdline args 2018-06-12 20:56:57 -04:00
Steve Rowe
ba62472bd3 SOLR-12434: bin/solr {config,healthcheck} ignore ZK_HOST in solr.in.{sh,cmd} 2018-06-12 20:01:20 -04:00
Erick Erickson
abb57c5c81 SOLR-12192: Error when ulimit is unlimited 2018-05-08 09:54:40 -07:00
Chris Hostetter
4e0e8e979b SOLR-9304: Fix Solr's HTTP handling to respect '-Dsolr.ssl.checkPeerName=false' aka SOLR_SSL_CHECK_PEER_NAME 2018-04-22 13:38:37 -07:00
Jason Gerlowski
7edfd9c410 SOLR-11840: Fix bin/solr help-text inconsistencies 2018-04-16 22:21:27 -04:00
Mark Miller
5e2a5a5b8c SOLR-10783: Add support for Hadoop Credential Provider as SSL/TLS store password source. 2018-04-09 21:57:56 -05:00
Jan Høydahl
0989e5874a SOLR-12144: SOLR_LOG_PRESTART_ROTATION now defaults to false, we leverage log4j2 for log rotation on startup 2018-04-03 13:10:20 +02:00
Uwe Schindler
ade2cf2e74 SOLR-12141: Fix "bin/solr" shell scripts (Windows/Linux/Mac) to correctly detect major Java version and use numerical version comparison to enforce minimum requirements. Also remove obsolete "UseParNewGC" option. This allows to start Solr with Java 10 or later. 2018-03-27 22:49:23 +02:00
Varun Thacker
bea6e2307b SOLR-7887: Log4J2 upgrade fixes 2018-03-26 11:32:03 -07:00
Erick Erickson
624d128b5e SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life 2018-03-25 19:16:09 -07:00
Shalin Shekhar Mangar
2620d36bbd SOLR-11957: Update ref guide and bin/solr script with the new values 2018-03-05 15:53:45 +05:30
Jason Gerlowski
b4f8cd7ea6 SOLR-11108: Shorten/improve _default-configset msg
The bin/solr scripts print a warning message when a user creates a
collection that makes use of the default config (which has settings
not recommended for production).

While helpful, this warning was a little too noisy.  It also suggested
users resolve the issue with a provided curl command, but bin/solr is
also capable of performing the same action.

This commit cleans up the error message a bit.
2018-02-17 19:08:26 -05:00
Jason Gerlowski
11a23a9029 SOLR-11902: Clarify bin/solr -h text to describe which commands can be run remotely
The bin/solr scripts contain a number of independent tools.  Many of
these can be run anywhere and just pointed at the correct Solr or ZK
host.  Some must run on the machine hosting Solr itself.

This commit clarifies help text for each bin/solr command, indicating
whether it can be run remotely, or must be run locally.
2018-02-09 18:05:45 -05:00
Cassandra Targett
4dac5aad1a SOLR-11703: typo in bin/solr "impariment"; change to "disruption" 2018-01-11 08:40:26 -06:00
Erick Erickson
e82e029406 SOLR-11703: Solr Should Send Log Notifications if Ulimits are too low 2017-12-25 13:22:19 -08:00
Christine Poerschke
7974aa033c SOLR-11740: fix stop port variable scope issue in stop_solr function (SOLR-9137 follow-on) 2017-12-13 11:05:49 +00:00
Christine Poerschke
9268b2b30f SOLR-9137: bin/solr script ignored custom STOP_PORT on shutdown.
(Joachim Kohlhammer, Steve Rowe, Christine Poerschke)
2017-12-05 12:19:14 +00:00
Cao Manh Dat
2bc2759bf4 SOLR-5129: Add support for changing flag in bin/solr 2017-10-21 22:05:30 +07:00
Jan Høydahl
b67424ee58 SOLR-10628: Less verbose output from bin/solr commands 2017-08-22 12:50:53 +02:00
Uwe Schindler
86f7d6779a SOLR-8689: Fix bin/solr.cmd so it can run properly on Java 9 2017-08-21 22:30:53 +02:00
Erick Erickson
7109820e01 SOLR-11084 Issue with starting script with solr.home (-s) == solr 2017-08-13 19:43:01 -07:00
Ishan Chattopadhyaya
9601ea9d4b SOLR-10920: _default configset warning should not appear when using -n with create_collection 2017-07-30 03:20:14 +05:30
Anshum Gupta
8821882400 SOLR-11131: Document 'assert' as a command option in bin/solr, and bin/solr.cmd scripts 2017-07-21 16:05:28 -07:00
Ishan Chattopadhyaya
e5722c3f96 SOLR-11128: Escape script usage strings containing quotes 2017-07-20 16:56:09 +05:30
Ishan Chattopadhyaya
b29951ff2b SOLR-10920: Warning for production use of _default configset's data-driven functionality 2017-07-09 17:05:38 +05:30
Ishan Chattopadhyaya
5f28780e5d SOLR-10282: bin/solr support for enabling Kerberos authentication 2017-07-07 15:31:03 +05:30
Ishan Chattopadhyaya
85069cacf4 SOLR-10272: Adding user _default configset to test-files, fixing solr & solr.cmd script bugs 2017-06-29 10:46:14 +05:30
Mark Miller
54fc1ee44d SOLR-10307: Export variables so that solr.in.sh works correctly. 2017-06-27 02:37:15 -04:00
Ishan Chattopadhyaya
ee572b052a SOLR-10272: Use _default config set if config name is not specified with CREATE collection 2017-06-27 09:07:05 +05:30
Ishan Chattopadhyaya
e4a7fc59ad SOLR-10574: Adding _default configset, replacing data_driven_schema_configs and basic_configs 2017-06-26 04:58:02 +05:30
Ishan Chattopadhyaya
1a58412e4a SOLR-10574: Reverting previous commits to tackle test failues 2017-06-20 23:14:24 +00:00
Jan Høydahl
39dfb7808a SOLR-6671: Possible to set solr.data.home property as root dir for all data 2017-06-20 13:21:14 +02:00
Ishan Chattopadhyaya
d1c807dd70 SOLR-10574: Adding unified _default config set 2017-06-20 11:05:07 +00:00
Mark Miller
9a0d9e83f6 SOLR-9910: Add solr/solr.cmd parameter to append jetty parameters to the start script. 2017-06-13 15:55:51 -04:00