SparkSql插入ES时报错解决(针对增加用户权限之后的报错解决)org.elasticsearch.hadoop.EsHadoopIllegalArgumentException:CannotdetectESversion-typicallythishappensifthenetwork/ElasticsearchclusterisnotaccessibleorwhentargetingaWAN/Cloudinstancewithoutthepropersetting‘es.nodes.wan.only’以下是报错信息Exceptioninthread"main"org.elasticse