Java project connects to elasticsearch ,but it gets waring

Does not look like normal elasticsearch logs.

Hard to understand what you are exactly doing here.

What are your settings?
Can you share all the logs?