Error appeared when trying to load data into excel through odbc(32bit)
I got the HDP sandbox (VMWare version), and went through the tutorials (http://zh.hortonworks.com/tutorials/) .
All things work well, only one things: the data in HDP can not be loaded into Excel.
The scenario is that:
1) win 8.1 x64, all paths are installed,
2) VMWare Workstation 10.0.1
3) Office 2013 Profession 32bit
4) Hortonworks ODBC driver (32bit) installed
I open a excel sheet, and follow the steps mentioned in the tutorial (http://zh.hortonworks.com/hadoop-tutorial/how-to-use-excel-2013-to-access-hadoop-data/). In the query wizard, all the tables in the database(default) could be listed, and I can see the fields of the selected table, that means the excel connects to the Hive through the odbc driver successfully.
But in the last page of the query wizard, when I click the button “done” , a error message was thrown, which said:
Error from Hive: error code:’40000′ error message:’Error while compiling statement: FAILED: HiveAccessControlException Permission denied. Principal[name=root, type=USER] does not have the following privileges on Object[type=TABLE_OR_VIEW, name=default.sample_07]:[SELECT] ‘.
I tried several times with kinds of mechanism in the odbc driver DSN setup: user name and password or user name. kinds of ways can pass the connection test, but same error message will be shown in the same step when try to load data into Excel.
Please kindly share some tips if the same issue has been faced. Thanks a lot!