01-15-2017 11:57 PM
We are trying to fetch data from Twitter using Flume.
We sucessfully pulled data as well.
Followed two ways to put data into hive:
Approach 1: We used steps given in below link:
But here we are able to load but while doing query its returning 0 records, even though files are available in external table path.!!!
Approach 2: We followed steps from below link:
Here after loading to table, while running select query its giving following errror:
> select * from tweets;
Failed with exception java.io.IOException:org.apache.avro.AvroRuntimeException: java.io.IOException: Block size invalid or too large for this implementation: -40
I have checked for this issue online, in below jira bug they have mensioned this issue is fixed:
But still i am getting same error.
Can someone help to resolve the above errors???
Thanks & Regards,