1,write to es
2,read from hive by thrift jdbc
fix: when spark2.x no data return,only schema
link:https://issues.apache.org/jira/browse/SPARK-21063
link:https://stackoverflow.com/questions/44434304/read-data-from-remote-hive-on-spark-over-jdbc-returns-empty-result