I am executing a insert into Hive table using SparkSession in Java. When I execute select via beeline, I don't see these inserted data. And when I insert data using beeline I don't see via my program using SparkSession.

It's looks like there are different Hive instances running. 

How can I point to same Hive instance? Using SparkSession and beeline.