HDP on Windows – Other Forum

Error appeared when trying to load data into excel through odbc(32bit)

  • #58444
    Leo Wang
    Participant

    Hi, everyone,

    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!

to create new topics or reply. | New User Registration

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.