Created 05-30-2018 08:58 PM
Can Impala support featrue which like hiveserver doAs?
OS User test to create a table using impala. And I find that table on hdfs directory is owned by Impala:Impala . But when I use hive, the hdfs directory of table is owned by test.
I found this https://issues.apache.org/jira/browse/IMPALA-2177
It seems like impala cannot support this feature , so How can I deal with it ?
Thanks!
Created 05-31-2018 09:30 AM
Hi @Mobula,
Is the table created by the hive or Impala ? and what do you want to do exactly by removing a table only from impala (remove only the schema!)
Also, did you try the external tables?
Good luck.
Created 05-31-2018 11:42 PM
Created on 06-01-2018 03:54 AM - edited 06-01-2018 03:56 AM
Hi @Mobula
I think you must not change owner everytime, you can do chown to the hdfs directory one time in the begining and it will work.
sudo -u hdfs hdfs dfs -chown hive:impala /your_directory