Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

While loading the data from external hive table to orc table,

avatar
New Member
 
1 ACCEPTED SOLUTION

avatar
Guru

@kotesh banoth please complete your sentence 🙂

View solution in original post

10 REPLIES 10

avatar
Super Collaborator

The query fails here. Below is the stack for the error generated

public static RecordUpdater getAcidRecordUpdater(JobConf jc, TableDesc tableInfo, int bucket,
  FileSinkDesc conf, Path outPath,
  ObjectInspector inspector,
  Reporter reporter, int rowIdColNum)
  throws HiveException, IOException {
HiveOutputFormat<?, ?> hiveOutputFormat = getHiveOutputFormat(jc, tableInfo);
AcidOutputFormat<?, ?> acidOutputFormat = null;
if (hiveOutputFormat instanceof AcidOutputFormat) {
  acidOutputFormat = (AcidOutputFormat)hiveOutputFormat;
} else {
  throw new HiveException("Unable to create RecordUpdater for HiveOutputFormat that does not " +
      "implement AcidOutputFormat");

Are these tables have ACID support enabled ?