2017/09/04

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org/bson/conversions/Bson


solution:
缺bson-VERSION.jar檔案

確認mongodb版本

hduser@master$ mongod --version
db version v3.4.7
git version: cf38c1b8a0a8dca4a11737581beafef4fe120bcd
OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014
allocator: tcmalloc
modules: none
build environment:
    distmod: ubuntu1404
    distarch: x86_64
    target_arch: x86_64

FAILED: ParseException line 1:87 Failed to recognize predicate 'Timestamp'. Failed rule: 'identifier' in column specification


solution:
hive > set hive.support.sql11.reserved.keywords=false;