AX Sanity Test does not create table - Aster Execution Engine

Aster Instance Installation Guide for Aster-on-Hadoop Only

Product
Aster Execution Engine
Release Number
7.00.02
Published
July 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
cng1496682698441.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
zjc1495153304403
lifecycle
previous
Product Category
Software

Issue: BH-11195

Details: The AX Sanity Test tool fails to create a table inside the script setuphive.sh when it calls this command:

sudo -u hive hive -f hcat.sql

The failure to create a table is due to this hcat.sql code:

drop table if exists student_nonpart_text;
create table student_nonpart_text(
name string,
age int,
gpa double)
row format delimited
fields terminated by '\t'
stored as textfile
location '/sanitytest/student_nonpart_text';

Workaround: Update hcat.sql to:

create external table student_nonpart_text(
name string,
age int,
gpa double)
row format delimited
fields terminated by '\t'
stored as textfile
location '/sanitytest/student_nonpart_text/student';