Closed ghost closed 10 years ago
The issue was related to hive not owning the
hdfsPath it was trying to overwrite from
Once I changed it to be owned by hive the code in .rhive.write.table
'query <- .generateLoadDataQuery(tableName, hdfsPath)'
worked fine
I am connecting to hiveserver2 which is run as hive - so the data gets stored in a directory owned by the hdfs user - but rhive because it is using hiveserver2 is using the hive user who does not have permisison to the hdfs user /tmp/rhive directory to move files - copy yes but not move. Is there are reason why we do a move instead of a copy?