Commit Graph

232 Commits

Author SHA1 Message Date
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
Jan Høydahl b5aa0da6ff SOLR-10223: Allow running examples as root on Linux with -force option 2017-05-18 11:26:19 +02:00
Mark Miller 0fb89f17e1 SOLR-10307: Allow Passing SSL passwords through environment variables. 2017-05-16 14:19:16 -03:00
Ishan Chattopadhyaya 9be68cc307 SOLR-8440: Support for enabling basic authentication using bin/solr|bin/solr.cmd 2017-05-15 22:06:26 +05:30
Jan Høydahl 50a0804263 SOLR-10644: Make solr.in.sh owned by root, readable to solr (group) but not world-readable 2017-05-15 16:06:01 +02:00
Jan Høydahl d59faafd89 SOLR-10644: solr.in.sh installed by install script should be writable by solr user 2017-05-09 13:03:18 +02:00
Ishan Chattopadhyaya c9541c216d SOLR-8440: Support for enabling basic authentication using bin/solr|bin/solr.cmd
Usage:
    bin/solr auth -enable -prompt
    bin/solr auth -enable -credentials solr:SolrRocks
    bin/solr auth -disable
2017-05-09 12:42:41 +05:30
Ishan Chattopadhyaya efdb04d06c SOLR-10352: Fixing available entropy warning limit to 300 2017-03-29 19:22:02 +05:30
Jan Høydahl 68eb078af8 SOLR-10369: bin\solr.cmd delete and healthcheck now works again (fixed continuation chars ^) 2017-03-28 14:24:09 +02:00
Erick Erickson 0b3ca1bb61 SLR-10108: bin/solr script recursive copy broken 2017-03-27 12:15:05 -07:00
Ishan Chattopadhyaya 2ba54a36ba SOLR-10352: bin/solr script now prints warning when available system entropy is lower than 300 2017-03-27 23:56:23 +05:30
Chris Hostetter 09bd8612ce SOLR-10184: Fix bin/solr so it can run properly on java9 2017-03-14 10:23:49 -07:00
Jan Høydahl 59433bb460 SOLR-10088: Installer script does not put zoo.cfg in SOLR_HOME 2017-03-04 23:19:06 +01:00
Jan Høydahl 1e206d820a SOLR-10055: Linux installer now renames existing bin/solr.in.* as bin/solr.in.*.orig to avoid wrong resolving. 2017-02-22 23:44:19 +01:00
markrmiller e1a5776457 SOLR-9997: Enable configuring SolrHttpClientBuilder via java system property. 2017-02-07 13:15:51 -05:00
Jan Høydahl 8782d26197 SOLR-10043: Reduce logging of pre-start log rotation 2017-01-31 01:22:18 +01:00
Kevin Risden bb5bf3fbf7 SOLR-8491: solr.cmd SOLR_SSL_OPTS is overwritten 2017-01-28 12:11:44 -05:00
markrmiller 075aec91cd SOLR-9885: Allow pre-startup Solr log management in Solr bin scripts to be disabled. 2017-01-19 03:07:09 -05:00
Erick Erickson cb266d5fc7 SOLR-9891: Add mkroot command to bin/solr and bin/solr.cmd 2016-12-29 17:39:48 -08:00
Mikhail Khludnev febe0019a1 SOLR-9760: solr.cmd doesn't need write permission in current directory 2016-12-21 00:41:13 +03:00
Kevin Risden bf424d1ec1 SOLR-9728: Ability to specify Key Store type in solr.in file for SSL 2016-11-28 09:52:02 -06:00
Erick Erickson b2bf87dee7 SOLR-9360: Solr script not properly checking SOLR_PID 2016-11-04 12:57:26 -07:00
Jan Høydahl 417e29a6fd Minor typo fix in solr.cmd help 2016-10-31 15:11:59 +01:00
Jan Høydahl 2ad2fca416 SOLR-9697: Fixed zk upconfig which was broken on windows 2016-10-31 09:35:09 +01:00
Erick Erickson 1344d895f9 SOLR-9371: Fix bin/solr script calculations - start/stop wait time and RMI_PORT 2016-10-27 17:54:34 -07:00
Jan Høydahl feb1a5d3e7 SOLR-9670: Support SOLR_AUTHENTICATION_OPTS in solr.cmd 2016-10-26 15:17:13 +02:00
Jan Høydahl ef5737466e SOLR-7506: Roll over GC logs by default via bin/solr scripts 2016-10-24 14:22:24 +02:00
Jan Høydahl 61e180b7ef SOLR-9255: Rename SOLR_AUTHENTICATION_CLIENT_CONFIGURER -> SOLR_AUTHENTICATION_CLIENT_BUILDER 2016-10-24 14:18:21 +02:00
Jan Høydahl e3a8a0fe5f SOLR-9662: New parameter -u <user:pass> in bin/post to pass basicauth credentials 2016-10-22 02:02:07 +02:00
Jan Høydahl c9cf0eff03 SOLR-9325: Remove unnecessary search/replace in installer script 2016-10-22 01:00:48 +02:00
Jan Høydahl 97761966f3 SOLR-99570: Various log tidying at Solr startup 2016-10-20 14:47:32 +02:00
David Smiley 8ae3304c86 SOLR-7580: Move defaults in bin/solr.in.sh into bin/solr (incl. Windows) 2016-10-19 16:38:06 -04:00
Jan Høydahl 33db4de4d7 SOLR-9325: solr.log is now written to $SOLR_LOGS_DIR without changing log4j.properties 2016-10-14 23:19:09 +02:00
Jan Høydahl 6512d0c620 SOLR-9610: New AssertTool in SolrCLI for easier cross platform assertions from command line 2016-10-12 09:16:41 +02:00
Jan Høydahl 8648fd5e83 SOLR-9534: Fix typo in help, said "-V or -version", but should be "-V or -verbose" 2016-10-11 11:20:05 +02:00
Jan Høydahl 2ad00826a3 SOLR-9475: Imrpove distro detection by grepping /etc/os-release and adding lsb_release -i 2016-10-04 09:22:07 +02:00
Jan Høydahl eba3939a04 SOLR-7436: Solr stops printing stacktraces in log and output (add -XX:-OmitStackTraceInFastThrow to solr.in.{sh|cmd)) 2016-09-28 10:06:15 +02:00
Jan Høydahl 6b28af0c7d SOLR-9547: Do not allow bin/solr start as root user (unless -force param specified) 2016-09-27 09:24:00 +02:00
Jan Høydahl 4c7a8c4b81 SOLR-9548: The beginning of solr.log now starts with a more informative welcome message 2016-09-26 11:02:20 +02:00
Jan Høydahl 73c2edddf0 SOLR-9534: You can now set Solr's log level through environment variable SOLR_LOG_LEVEL and -q and -v options to bin/solr 2016-09-22 21:05:28 +02:00
Jan Høydahl 2ef34e9e24 SOLR-8186: Solr start scripts, only log to console when running in foreground 2016-09-22 01:18:27 +02:00
Jan Høydahl 7561461f73 SOLR-7826: Refuse "bin/solr create" if run as root, unless -force is specified 2016-09-21 22:23:49 +02:00
Jan Høydahl b894ab292d SOLR-9508: Install script should check existence of tools, and add option to NOT start service 2016-09-21 21:49:46 +02:00
Jan Høydahl a1bbc996e4 Add install script support for CentOS and better distro detection under Docker 2016-09-20 11:22:53 +02:00
Jan Høydahl 4574cb8cea SOLR-8080: bin/solr start script now exits with informative message if using wrong Java version 2016-09-20 10:56:25 +02:00
Shawn Heisey e66ff585dd SOLR-9295: Remove BOM (unicode Byte Order Mark) from text files. 2016-07-11 12:06:23 -06:00
Erick a851d5f557 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper 2016-07-02 10:25:44 -07:00
Shalin Shekhar Mangar ab2348e3ef Fix typo in bin/solr zk help text
This closes #29
2016-06-28 17:15:21 +05:30
Mikhail Khludnev 00602a3a7a SOLR-8676: keep LOG4J_CONFIG in solr.cmd 2016-06-06 23:49:34 +03:00
Steve Rowe 5d4cd44b6d SOLR-8792: ZooKeeper ACL support fixed 2016-05-03 18:57:59 -04:00
Uwe Schindler 3e6de6059f SOLR-9046: Fix solr.cmd that wrongly assumes Jetty will always listen on 0.0.0.0 2016-04-28 06:05:52 +02:00
David Smiley 7833f7f69a SOLR-8946: fix bin/post stdin detection. faulty on Ubuntu; maybe others 2016-04-15 22:06:54 -04:00
thelabdude 80801a2738 SOLR-8145: Fix position of OOM killer script when starting Solr in the background 2016-03-02 11:22:27 -07:00
Erik Hatcher 8826ea070a SOLR-7042: bin/post defaults application/json to /update/json/docs now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723879 13f79535-47bb-0310-9956-ffa450edef68
2016-01-09 19:30:21 +00:00
Jan Høydahl d478d7a293 SOLR-8486: No longer require jar/unzip for bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722988 13f79535-47bb-0310-9956-ffa450edef68
2016-01-04 23:39:52 +00:00
Erick Erickson 72a5850a20 SOLR-8401: Windows start script fails when executed from a different drive
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719123 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 17:45:01 +00:00
Erick Erickson 99550b5c8a SOLR-8378: Add upconfig and downconfig commands to the bin/solr script
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719099 13f79535-47bb-0310-9956-ffa450edef68
2015-12-10 15:32:33 +00:00
Timothy Potter c862370abe SOLR-7169: bin/solr status should return exit code 3 no Solr is running instead of 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716516 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 19:29:09 +00:00
Timothy Potter 872e329a2b SOLR-8101: Improve Linux service installation script
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716506 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 18:40:03 +00:00
Shalin Shekhar Mangar 77d89d6037 SOLR-8073: Solr fails to start on Windows with obscure errors when using relative path
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716446 13f79535-47bb-0310-9956-ffa450edef68
2015-11-25 15:51:56 +00:00
Timothy Potter 673654321b SOLR-8107: bin/solr -f should use exec to start the JVM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708700 13f79535-47bb-0310-9956-ffa450edef68
2015-10-14 21:51:56 +00:00
Jan Høydahl c7d7b00e03 SOLR-7961: Add version command to bin/solr start script. Also adds -h for help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697904 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 12:33:10 +00:00
Ramkumar Aiyengar 9f6b72524c SOLR-7859: Revert r1694888 to add SolrJ to the path for bin/post, should not be needed any longer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695175 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 21:53:42 +00:00
Erik Hatcher 84c8c5e228 SOLR-7859: Fix bin/post to rely on SolrJ for RTimer use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694888 13f79535-47bb-0310-9956-ffa450edef68
2015-08-09 13:22:20 +00:00
Mark Robert Miller af2bce9ee1 SOLR-7831: Start Scripts: Allow a configurable stack size [-Xss]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694523 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 15:26:11 +00:00
Timothy Potter c1522a9c75 SOLR-7847: Implement run example logic in Java instead of OS-specific scripts in bin/solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694083 13f79535-47bb-0310-9956-ffa450edef68
2015-08-04 16:32:12 +00:00
Erik Hatcher 4f065ce777 SOLR-7832: bin/post now allows either -url or -c, rather than requiring both
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693958 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 19:34:21 +00:00
Erik Hatcher 2c0b36bf0a SOLR-7769: Add bin/post -p alias for -port parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693953 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 18:39:29 +00:00
Timothy Potter 2eb704ef50 SOLR-7227: Solr distribution archive should have the WAR file extracted already
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692925 13f79535-47bb-0310-9956-ffa450edef68
2015-07-27 18:12:45 +00:00