IBM Support

XQE-DAT-0001 in Framework Manager when connecting to HIVE datasource

Troubleshooting


Problem

When connecting to a HIVE datasource, Framework Manager gives an error message. The datasource connection in Cognos Administration tests successfully.

Symptom

The following is displayed:

"XQE-DAT-0001 Data source adapter error: java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask - when processing query"

Cause

The user has incorrect permissions to access HIVE.

Environment

Apache HIVE 0.12

Diagnosing The Problem

Also applies to data servers and data modules in Cognos 11.x

Resolving The Problem

Alter the users permissions so that they can access HIVE.
Ensure the user has 'yarn' permissions on Hive.
https://partners-intl.aliyun.com/help/doc-detail/62958.htm?spm=a2c63.p38356.b99.148.372c68f6lN7QkS

or

Use a user that already has permissions to access the datasource.

[{"Product":{"code":"SSEP7J","label":"Cognos Business Intelligence"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Framework Manager","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"10.2.2;10.2.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m0z000000TN4sAAG","label":"Installation and Configuration->Database"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
07 October 2020

UID

swg21699834