I am processing the twitter data to hive external table, but while creating hive external table I get an error. Please look into the my code in below.
- Added the jar file to move the hive/lib location.
Added to the jar file hive by using following command
I have add the flowing jars in hive lib directory:ADD JAR /usr/local/hive/lib/hive-serdes-1.0-SNAPSHOT.jar;Please find the external hive table:
CREATE EXTERNAL TABLE Mytweets_raw ( id BIGINT, created_at STRING, source STRING, favorited BOOLEAN, retweet_count INT, retweeted_status STRUCT<text:STRING,tuser:STRUCT<screen_name:STRING,name:STRING>>, entities STRUCT<urls:ARRAY<STRUCT<expanded_url:STRING>>, user_mentions:ARRAY<STRUCT<screen_name:STRING,name:STRING>>, hashtags:ARRAY<STRUCT<text:STRING>>>, text STRING, tuser STRUCT<screen_name:STRING,name:STRING,friends_count:INT,followers_count:INT,statuses_count:INT,verified:BOOLEAN,utc_offset:INT,time_zone:STRING>, in_reply_to_screen_name STRING ) ROW FORMAT SERDE 'com.cloudera.hive.serde.JSONSerDe' LOCATION 'hdfs://localhost:54310/data/tweets_raw';After this I am getting following error message, please any body can help on this?
More information: My current environment is
- Hadoop 2.9.0
- Hive 2.3.2