Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default}) (state=08S01,code=0)

sparksql 2.和hive2.1.1 

由于sparksql中的hive-cli 等包的版本是1.2的需要自己下载,下载替换之后不报错,替换之前做好备份

原文地址:https://www.cnblogs.com/rocky-AGE-24/p/7417639.html