Reply
New Contributor
Posts: 1
Registered: ‎02-22-2018

Why i am getting error: return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org/apache/hadoop

 

add jar /home/shashank/apache-hive-2.3.2-bin/lib/json-serde-1.3.7.3.jar;

create external table if not exists tweets ( text string,
entities STRUCT <
hashtags:ARRAY<STRUCT<text:STRING>>>,
`user` STRUCT<
screen_name:STRING,
friends_count:INT,
followers_count:INT,
statuses_count:INT,
verified:BOOLEAN,
utc_offset:INT,
time_zone:STRING>
)
row format SERDE 'org.openx.data.jsonserde.JsonSerDe'
location '/user/hive/warehouse/twitter.db/tweets.json';

I am working on hive-2.3.2 and jar file path is added as i get the mssg from terminal,i tried different json-serde jar file but nothing work for me. Thanks in advance.

Highlighted
Cloudera Employee
Posts: 266
Registered: ‎03-23-2015

Re: Why i am getting error: return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org/apache/ha

Hi Shanky,

Can you please paste full error reported on client and server side to the thread?

Also, are you running Hive CLI, or beeline?
Announcements