Merge pull request #14026 from clintongormley/classpath_docs

Docs: Document ES_CLASSPATH removal in breaking changes
This commit is contained in:
Clinton Gormley 2015-10-08 18:23:37 +02:00
commit 260ba67866

View File

@ -3,7 +3,7 @@
==== Command line flags ==== Command line flags
Command line flags using single dash notation must be now specified as the first arguments. Command line flags using single dash notation must be now specified as the first arguments.
For example if previously using: For example if previously using:
[source,sh] [source,sh]
--------------- ---------------
@ -14,7 +14,7 @@ This will now need to be changed to:
[source,sh] [source,sh]
--------------- ---------------
./elasticsearch -Des.path.conf=/opt/elasticsearch/conf/test_node --node.name=test_node ./elasticsearch -Des.path.conf=/opt/elasticsearch/conf/test_node --node.name=test_node
--------------- ---------------
for the flag to take effect. for the flag to take effect.
@ -174,3 +174,9 @@ environment variable, or the `-Des.config`, `-Des.default.config`, or
Instead, the config file must be named `elasticsearch.yml` and must be located Instead, the config file must be named `elasticsearch.yml` and must be located
in the default `config/` directory, or in the directory specified in the in the default `config/` directory, or in the directory specified in the
`CONF_DIR` environment variable. `CONF_DIR` environment variable.
==== `ES_CLASSPATH removed`
The `ES_CLASSPATH` environment variable is no longer used to set the class
path. External libraries should preferably be loaded using the plugin
mechanism or, if you really must, be copied to the `lib/` directory.