I was trying to load data from mongo to Hadoop (Cloudera Quickstart), initially i was getting error regarding MongoStorage handler and BSON. i resolved this error by placing 5 jar file in "/usr/lib/hive/lib"
also added jar paths in "/usr/lib/hive/conf/hive-env.sh" and restarted cluster. after this i was able to create table.
CREATE EXTERNAL TABLE minute_bars
id STRUCT<oid:STRING, bsontype:INT>,
STORED BY 'com.mongodb.hadoop.hive.MongoStorageHandler'