# Elasticsearch: Post migration to new server encountered: Field data loading is forbidden on \<fieldname\>

**URL:** <https://discuss.elastic.co/t/elasticsearch-post-migration-to-new-server-encountered-field-data-loading-is-forbidden-on-fieldname/169070>\
**Category:** Elasticsearch\
**Created:** [February 19, 2019, 4:50pm UTC](https://discuss.elastic.co/t/elasticsearch-post-migration-to-new-server-encountered-field-data-loading-is-forbidden-on-fieldname/169070 "2019-02-19T16:50:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vnukal](https://avatars.discourse-cdn.com/v4/letter/v/b77776/32.png) [@vnukal](https://discuss.elastic.co/u/vnukal)\
**Post date:** [February 19, 2019, 4:50pm UTC](https://discuss.elastic.co/t/elasticsearch-post-migration-to-new-server-encountered-field-data-loading-is-forbidden-on-fieldname/169070/1 "2019-02-19T16:50:16Z")

</div>

Hi All,

Recently had to migrate a 2-node elasticsearch cluster from old (old\_machine\_1, old\_machine\_2) to new servers(new\_machine\_1,new\_machine\_2). The data directories (~55GB each) was copied between the 2 sets of machines.

old\_machine\_1 =\> new\_machine\_1  
old\_machine\_2 =\> new\_machine\_2

Elasticsearch version(1.6.1) remains the same on the new servers .

After elasticsearch is started on the new machines, queries fail with "IllegalStateException: Field data loading is forbidden on Field1" .

The following properties were changed in elasticsearch.yml when elasticsearch moved to the new servers

1. node.name : 
2. path.data: pointing to the directory where data was copied
3. discovery.zen.ping.unicast.hosts: \<new\_machine\_1\>, \<new\_machine\_2\>

Was anything missed that caused this error ?  
What can be done to fix the issue ?

Appreciate your inputs.

---

<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:** [March 19, 2019, 4:50pm UTC](https://discuss.elastic.co/t/elasticsearch-post-migration-to-new-server-encountered-field-data-loading-is-forbidden-on-fieldname/169070/2 "2019-03-19T16:50:26Z")

</div>

Closed on March 19, 2019, 4:50pm UTC

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