# Hide parameters in Spark History server

**URL:** <https://discuss.elastic.co/t/hide-parameters-in-spark-history-server/268464>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [March 26, 2021, 10:06am UTC](https://discuss.elastic.co/t/hide-parameters-in-spark-history-server/268464 "2021-03-26T10:06:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo.jimenez.next](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pablo.jimenez.next/32/86144_2.png) [@pablo.jimenez.next](https://discuss.elastic.co/u/pablo.jimenez.next)\
**Post date:** [March 26, 2021, 10:06am UTC](https://discuss.elastic.co/t/hide-parameters-in-spark-history-server/268464/1 "2021-03-26T10:06:37Z")

</div>

Hi,

We are trying to connect Spark 3.0.1 with Elasticsearch using the Elastic-hadoop library ([Maven Repository: org.elasticsearch » elasticsearch-spark-30](https://mvnrepository.com/artifact/org.elasticsearch/elasticsearch-spark-30)) and everything works fine.  
However, we are using Spark History server to track jobs. Having a look at the SQL upper tab and seeing the _explain_ details it shows the following:

 ![Screenshot at Mar 26 11-01-27](https://us1.discourse-cdn.com/elastic/original/3X/d/b/dbbd0529711a5f22460f2d22e7bc206f0cade6b1.png)

As you can see, it is showing the user and password which is not very safe 😐

We know it is possible to use a keystore: [Security | Elasticsearch for Apache Hadoop [7.12] | Elastic](https://www.elastic.co/guide/en/elasticsearch/hadoop/current/security.html#keystore)  
But we are retrieving at runtime those credentials. So, we cannot generate the keystore before running the job.

Is it possible to hide this information?  
Thanks!

---

<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:** [April 23, 2021, 10:07am UTC](https://discuss.elastic.co/t/hide-parameters-in-spark-history-server/268464/2 "2021-04-23T10:07:08Z")

</div>

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