Forráskód Böngészése

Docs: Document ES_CLASSPATH removal in breaking changes

Closes #14008
Clinton Gormley 10 éve
szülő
commit
499d53c506

+ 8 - 2
docs/reference/migration/migrate_2_0/settings.asciidoc

@@ -3,7 +3,7 @@
 ==== Command line flags
 
 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]
 ---------------
@@ -14,7 +14,7 @@ This will now need to be changed to:
 
 [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.
@@ -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
 in the default `config/` directory, or in the directory specified in the
 `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.