我通过将数据集从hbase导出到hive export
实用程序。数据以序列文件格式出现。现在,我正在用 "stored as sequencefile"
.
当我在配置单元表上执行simple,selectquerywithlimit时,我得到以下异常
java.io.ioexception:找不到值类的反序列化程序:“org.apache.hadoop.hbase.client.result”。请确保配置“io.serializations”已正确配置,
详细错误跟踪如下:
请求tfetchresultsreq(fetchtype=0,operationhandle=toperationhandle(hasresultset=true,modifiedrowcount=none,operationtype=0,operationid=thandleidentifier)的状态不正确(secret='\xb2\x9a^\xc5\xf3bv\xb1\xb8\xe7\xb6\xab\xe7f\xc0',guid='\xca\x0c\xc9\xc0%@\xb4\xc7\xaa(\xcb')),orientation=4,maxrows=100):tfetchresultsresp(status=tstatus(errorcode=0,errormessage=“java.io.ioexception:java.io.ioexception:找不到值类的反序列化程序:“org.apache.hadoop.hbase.client.result”。如果使用自定义序列化,请确保配置“io.serializations”配置正确。“,sqlstate=none,infomessages=[”*org.apache.hive.service.cli.hivesqlexception:java.io.ioexception:java.io.ioexception:找不到值类的反序列化程序:“org.apache.hadoop.hbase.client.result”。如果使用自定义序列化,请确保配置“io.serializations”配置正确。:14:13“,”org.apache.hive.service.cli.operation.sqloperation:getnextrowset:sqloperation。java:366','org.apache.hive.service.cli.operation.operationmanager:getoperationnextrowset:operationmanager。java:277','org.apache.hive.service.cli.session.hivesessionimpl:fetchresults:hivesessionimpl。java:753','org.apache.hive.service.cli.cliservice:fetchresults:cliservice。java:438','org.apache.hive.service.cli.thrift.thriftcliservice:fetchresults:节俭服务。java:686','org.apache.hive.service.cli.thrift.tcliservice$处理器$fetchresults:getresult:t仪器。java:1553','org.apache.hive.service.cli.thrift.tcliservice$处理器$fetchresults:getresult:t仪器。java:1538','org.apache.thrift.processfunction:process:processfunction。java:39','org.apache.thrift.tbaseprocessor:process:t基础处理器。java:39','org.apache.hadoop.hive.thrift.hadoopthriftauthbridge$server$tugiasuming'processor:process:hadoopthriftauthbridge。java:746','org.apache.thrift.server.tthreadpoolserver$工作erprocess:run:t线程池服务器。java:286','java.util.concurrent.threadpoolexecutor:runworker:threadpoolexecutor。java:1142','java.util.concurrent.threadpoolexecutor$worker:run:threadpoolexecutor。java:617','java.lang。thread:run:线程。java:745',“*java.io.ioexception:java.io.ioexception:找不到值类的反序列化程序:“org.apache.hadoop.hbase.client.result”。如果使用自定义序列化,请确保配置“io.serializations”配置正确。:18:4“,”org.apache.hadoop.hive.ql.exec.fetchoperator:getnextrow:获取运算符。java:508','org.apache.hadoop.hive.ql.exec.fetchoperator:pushrow:获取运算符。java:415','org.apache.hadoop.hive.ql.exec。fetchtask:fetch:获取任务。java:138','org.apache.hadoop.hive.ql。driver:getresults:驱动器。java:1798','org.apache.hive.service.cli.operation.sqloperation:getnextrowset:sqloperation。java:361',“*java.io.ioexception:could not 查找值类的反序列化程序:“org.apache.hadoop.hbase.client.result”。如果使用自定义序列化,请确保配置“io.serializations”配置正确。:26:8“,”org.apache.hadoop.io.sequencefile$reader:init:sequencefile。java:2040','org.apache.hadoop.io.sequencefile$reader:initialize:sequencefile。java:1878','org.apache.hadoop.io.sequencefile$reader::sequencefile。java:1827','org.apache.hadoop.io.sequencefile$reader::sequencefile。java:1841','org.apache.hadoop.mapred.sequencefilerecordreader::sequencefilerecordreader。java:49','org.apache.hadoop.mapred.sequencefileinputformat:getrecordreader:sequencefileinputformat。java:64','org.apache.hadoop.hive.ql.exec.fetchoperator$fetchinputformatsplit:getrecordreader:获取运算符。java:674','org.apache.hadoop.hive.ql.exec.fetchoperator:getrecordreader:获取运算符。java:324','org.apache.hadoop.hive.ql.exec.fetchoperator:getnextrow:获取运算符。java:446'],statuscode=3),results=none,hasmorerows=none)
暂无答案!
目前还没有任何答案,快来回答吧!