永洪社区

标题: 创建hive数据集报错 [打印本页]

作者: 菜鸟鸟    时间: 2022-3-10 17:17
标题: 创建hive数据集报错


作者: 菜鸟鸟    时间: 2022-3-10 17:22
创建数据集选择HIVE会报错这是为什么呢
作者: 菜鸟鸟    时间: 2022-3-10 17:23
HIVE数据源已经创建好了 测试也是连接成功的
作者: 永洪tech-Bella    时间: 2022-3-10 17:24
数据源连接正常,创建数据集就报错?日志中的详细报错也看下呢
作者: 菜鸟鸟    时间: 2022-3-10 17:25
2022-03-10 17:15:10.105 |-admin-4d1d5de44635426a9eaee0b209ba12fb |-[ERROR] |-g5.sv.qry.req.GetQryTablesReq.process0(GetQryTablesReq.java:137) | org/apache/hadoop/hive/serde2/thrift/Type
java.lang.NoClassDefFoundError: org/apache/hadoop/hive/serde2/thrift/Type
        at org.apache.hive.service.cli.TypeDescriptor.<init>(TypeDescriptor.java:47)
        at org.apache.hive.service.cli.ColumnDescriptor.<init>(ColumnDescriptor.java:46)
        at org.apache.hive.service.cli.TableSchema.<init>(TableSchema.java:46)
        at org.apache.hive.jdbc.HiveQueryResultSet.retrieveSchema(HiveQueryResultSet.java:264)
        at org.apache.hive.jdbc.HiveQueryResultSet.<init>(HiveQueryResultSet.java:198)
        at org.apache.hive.jdbc.HiveQueryResultSet$Builder.build(HiveQueryResultSet.java:179)
        at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:275)
        at org.apache.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:497)
        at org.apache.hive.jdbc.HivePreparedStatement.executeQuery(HivePreparedStatement.java:112)
        at g5.qry.sql.impl.SparkHiveExecutor.schemas0(SparkHiveExecutor.java:45)
        at g5.qry.sql.impl.SparkHiveExecutor.processSchema(SparkHiveExecutor.java:227)
        at g5.qry.sql.SQLExecutor.schemas(SQLExecutor.java:900)
        at g5.qry.sql.SQLQuery.schemas(SQLQuery.java:390)
        at g5.sv.qry.req.GetQryTablesReq.getSqlQryTables(GetQryTablesReq.java:362)
        at g5.sv.qry.req.GetQryTablesReq.process0(GetQryTablesReq.java:114)
        at g5.sv.Req.process(Req.java:37)
        at g5.sv.qry.impl.QueryServiceImpl.process(QueryServiceImpl.java:176)
        at g5.sv.qry.QueryProc.procReq(QueryProc.java:134)
        at g5.sv.qry.QueryProc.service(QueryProc.java:58)
        at g5.sv.ServletHelper.service(ServletHelper.java:96)
        at g5.sv.PortalServlet.service(PortalServlet.java:393)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.base/java.lang.Thread.run(Thread.java:834)
作者: 永洪tech-Bella    时间: 2022-3-10 17:32
菜鸟鸟 发表于 2022-3-10 17:25
2022-03-10 17:15:10.105 |-admin-4d1d5de44635426a9eaee0b209ba12fb |-[ERROR] |-g5.sv.qry.req.GetQryTab ...

hive用的驱动看下呢,能截个图吗
作者: 菜鸟鸟    时间: 2022-3-10 17:34
永洪tech-Bella 发表于 2022-3-10 17:32
hive用的驱动看下呢,能截个图吗

解决了,还是驱动少了
作者: 永洪tech-Bella    时间: 2022-3-10 17:41
菜鸟鸟 发表于 2022-3-10 17:34
解决了,还是驱动少了






欢迎光临 永洪社区 (https://club.yonghongtech.com/) Powered by Discuz! X3.4