# Native scripts and clusters

**URL:** https://discuss.elastic.co/t/native-scripts-and-clusters/9013
**Category:** Elasticsearch
**Created:** [September 13, 2012, 3:15pm UTC](https://discuss.elastic.co/t/native-scripts-and-clusters/9013 "2012-09-13T15:15:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![William\_King](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/william_king/32/2631_2.png) [@William\_King](https://discuss.elastic.co/u/William_King)
#### Post date: [September 13, 2012, 3:15pm UTC](https://discuss.elastic.co/t/native-scripts-and-clusters/9013/1 "2012-09-13T15:15:32Z")

</div>

Hi all,

I'm wondering if when you use a native script with elasticsearch the Java  
files need to be on all nodes of a cluster or just one?

--

---

<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: [July 6, 2017, 3:12am UTC](https://discuss.elastic.co/t/native-scripts-and-clusters/9013/2 "2017-07-06T03:12:52Z")

</div>


