Exception in thread "main" java.sql.SQLException: org.apache.spark.sql.AnalysisException: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to move source hdfs://namenode:8020/user/hive/warehouse/staging/_hive_2017-09-29_15-56-24_475_7647432284127920875-3/-ext-10000/part-00000-f3018378-999a-4d3c-92ee-66e747bfa7de-c000 to destination hdfs://namenode:8020/user/hive/warehouse/staging/mydb.db/mytable/part-00000-f3018378-999a-4d3c-92ee-66e747bfa7de-c000; at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:296)