Browse Source

Docs: Document ES_CLASSPATH removal in breaking changes

Closes #14008
Clinton Gormley 10 years ago
parent
commit
499d53c506
1 changed files with 8 additions and 2 deletions
  1. 8 2
      docs/reference/migration/migrate_2_0/settings.asciidoc

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

@@ -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.