@Bora Özkan
One thing i observed in the article is author created hive external table but PutHiveStreaming expects internal table.
Create hive internal table
CREATE TABLE
OLYMPICS(CITY STRING,EDITION INT,SPORT STRING,SUB_SPORT STRING,ATHLETE STRING,COUNTRY STRING,GENDER STRING,EVENT STRING,EVENT_GENDER STRING,MEDAL STRING)
CLUSTERED BY (EDITION)INTO 3 BUCKETS
ROW FORMAT DELIMITED
STORED AS ORC
LOCATION '/user/hive/olympics'
TBLPROPERTIES('transactional'='true');
-> PutHiveStreaming processor expects input data in Avro format.
Use ConvertRecord processor to convert data from other formats(csv..etc) to AVRO format.
Then feed the avro format data to PutHiveStreaming processor.