# Unknown setting \[action.bulk.compress\]

**URL:** https://discuss.elastic.co/t/unknown-setting-action-bulk-compress/93428
**Category:** Elasticsearch
**Created:** [July 17, 2017, 4:12pm UTC](https://discuss.elastic.co/t/unknown-setting-action-bulk-compress/93428 "2017-07-17T16:12:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Abdeslam\_Kadri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdeslam_kadri/32/20010_2.png) [@Abdeslam\_Kadri](https://discuss.elastic.co/u/Abdeslam_Kadri)
#### Post date: [July 17, 2017, 4:12pm UTC](https://discuss.elastic.co/t/unknown-setting-action-bulk-compress/93428/1 "2017-07-17T16:12:47Z")

</div>

Hi,

We are currently trying to move from ES 1.7.5 to ES 5.5.0 .

Init elasticSearch class :

final Settings settings = Settings.builder().put("[cluster.name](http://cluster.name)", this.elasticsearchManagerDAO.getClusterName()) //$NON-NLS-1$  
.put("action.bulk.compress", false) //$NON-NLS-1$  
.build();  
final TransportClient esClient = new PreBuiltTransportClient(settings);

What's the problem with this configuration ?

The property isn't supported on new version of elasticSearch ?

TRACE :  
java.lang.IllegalArgumentException: unknown setting [action.bulk.compress] please check that any required plugins are installed, or check the breaking changes documentation for removed settings  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:293) ~[elasticsearch-5.5.0.jar:5.5.0]  
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:256) ~[elasticsearch-5.5.0.jar:5.5.0]  
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:139) ~[elasticsearch-5.5.0.jar:5.5.0]  
at org.elasticsearch.client.transport.TransportClient.buildTemplate(TransportClient.java:138) ~[elasticsearch-5.5.0.jar:5.5.0]  
at org.elasticsearch.client.transport.TransportClient.(TransportClient.java:265) ~[elasticsearch-5.5.0.jar:5.5.0]  
...

Dependencies:

```
	<!-- Elasticsearch -->
	<dependency>
		<groupId>org.apache.lucene</groupId>
		<artifactId>lucene-test-framework</artifactId>
		<version>${lucene.version}</version>
		<scope>test</scope>
	</dependency>

	<dependency>
		<groupId>org.elasticsearch.client</groupId>
		<artifactId>transport</artifactId>
		<version>${elasticsearch.version}</version>
		<exclusions>
			<exclusion>
				<artifactId>asm</artifactId>
				<groupId>org.ow2.asm</groupId>
			</exclusion>
		</exclusions>
	</dependency>

	<dependency>
		<groupId>org.elasticsearch.test</groupId>
		<artifactId>framework</artifactId>
		<version>${elasticsearch.version}</version>
		<scope>test</scope>

```

```
	</dependency>

```

Thank you for the answer.

---

<div class="post-metadata">

### Author: ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)
#### Post date: [July 21, 2017, 7:00am UTC](https://discuss.elastic.co/t/unknown-setting-action-bulk-compress/93428/2 "2017-07-21T07:00:54Z")

</div>

Hi @Abdeslam_Kadri,

> [@Abdeslam\_Kadri](#):
>
> What's the problem with this configuration ?

The error message tells:

```auto
unknown setting [action.bulk.compress] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

```

To be honest, I could not even find any documentation about this setting so I can only guess what this setting does. Note that earlier versions of Elasticsearch were lenient with misspelled names of settings. Newer versions are strict in this respect and refuse to continue.

Hence, I recommend you remove this setting altogether when building settings for the transport client.

Daniel

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 18, 2017, 7:01am UTC](https://discuss.elastic.co/t/unknown-setting-action-bulk-compress/93428/3 "2017-08-18T07:01:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
