-1.2.1.spark2.jarhive-metastore-1.2.1.spark2.jarhttpclient: Required field 'client_protocol' is unset!Struct:TOpenSessionReq(client_protocol:null, configuration:{set:hiveconf:hive.server2.th
但是在命令行中,hive和beeline运行良好,没有任何problem.but出错。: Required field 'client_protocol' is unset!Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default})
at org.apache.thrift.TApplicationException.read: Required field 'cl
当我尝试运行代码时,我得到了apache.thrift.TApplicationException。System.out.println(res.getString(1));}我导入了所有必要的jars,当我尝试运行我的代码时,我得到以下错误:
org.apache.thrift.TApplicationException: Required field 'client_protocol' is unset!Struct:TOpenSessionReq(client_protocol</em