麦粉社区
>
帖子详情

创建交互式仪表盘:连接多维查询引擎失败

数据分析 发表于 2024-5-23 11:22
发表于 2024-5-23 11:22:41
组件 [图表_1] 刷新失败。 连接多维查询引擎失败,请联系管理员 -> I/O error on POST request for "http://localhost:18081/smartbiolap/smartbiquery": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
发表于 2024-5-23 13:50:21
应该是olap服务没启动
  •   js
    这是报的错误:0, 0
    暂无数据
    
    
    前往
    1
    页
    汇总表
    BuildTime: 2024-04-30 18:24:05
    TAG: Hotfix_SmartbiV11_20240429 
    Tid: null
    HostName: LAPTOP-LK53PRRP
    
    
    smartbix.SmartbiXException: 组件 [ 图表_1 ] 连接多维查询引擎失败,请联系管理员 -> I/O error on POST request for "http://localhost:18081/smartbiolap/smartbiquery": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
    	at smartbix.SmartbiXException.create(SmartbiXException.java:68)
    	at smartbix.augmenteddataset.service.AugmentedDataSetQueryServiceAdapter.execute(AugmentedDataSetQueryServiceAdapter.java:65)
    	at smartbix.augmenteddataset.service.SmartbiXAugmentedDataSet.execute(SmartbiXAugmentedDataSet.java:153)
    	at smartbix.service.ProviderService.executeQuery(ProviderService.java:150)
    	at smartbix.dataset.service.QueryService.executeQuery(QueryService.java:34)
    	at smartbix.dataset.service.QueryService$$FastClassBySpringCGLIB$$611408c2.invoke()
    	at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:792)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
    	at smartbixlibs.org.springframework.aop.aspectj.AspectJAfterAdvice.invoke(AspectJAfterAdvice.java:49)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
    	at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:707)
    	at smartbix.dataset.service.QueryService$$EnhancerBySpringCGLIB$$a4f50c6f.executeQuery()
    	at smartbix.page.service.QueryResultHolder.getResult(QueryResultHolder.java:52)
    	at smartbix.page.service.BatchQueriesModel.getResult(BatchQueriesModel.java:175)
    	at smartbix.page.service.BatchQueriesModel.execute(BatchQueriesModel.java:115)
    	at smartbix.page.executor.common.CommonExecutor.refresh(CommonExecutor.java:188)
    	at smartbix.page.service.PageService.queryData(PageService.java:1761)
    	at smartbix.page.service.PageService$3.call(PageService.java:1484)
    	at smartbix.page.service.PageService$3.call(PageService.java:1476)
    	at smartbi.executor.NamedCallable.call(NamedCallable.java:14)
    	at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:47)
    	at smartbix.util.RequestCxtExtension.doExtend(RequestCxtExtension.java:106)
    	at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:45)
    	at smartbi.executor.extension.MonitorExtension.doExtend(MonitorExtension.java:48)
    	at smartbi.executor.extension.SmartbiExtensionChain.doExtend(SmartbiExtensionChain.java:45)
    	at smartbi.executor.SmartbiExecutorService.lambda$submit$2(SmartbiExecutorService.java:88)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: smartbix.augmenteddataset.util.AugmentedDataSetException: 连接多维查询引擎失败,请联系管理员 -> I/O error on POST request for "http://localhost:18081/smartbiolap/smartbiquery": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
    	at smartbix.augmenteddataset.util.AugmentedDataSetException.create(AugmentedDataSetException.java:61)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryService.createException(OlapQueryService.java:562)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryService.executeQuery(OlapQueryService.java:430)
    	at smartbix.augmenteddataset.query.mondrian.MDXQueryEngine.getData(MDXQueryEngine.java:57)
    	at smartbi.monitor.MetricHelper$.withSpan(MetricHelper.scala:87)
    	at smartbi.monitor.MetricHelper.withSpan(MetricHelper.scala)
    	at smartbix.augmenteddataset.handler.DefaultAugmentedDataSetHandler.getDataSetData(DefaultAugmentedDataSetHandler.java:114)
    	at smartbix.augmenteddataset.service.AugmentedDataSetQueryService.getDataSetDataInner(AugmentedDataSetQueryService.java:367)
    	at smartbix.augmenteddataset.service.AugmentedDataSetQueryService.getDataSetData(AugmentedDataSetQueryService.java:341)
    	at smartbix.augmenteddataset.service.AugmentedDataSetQueryService$$FastClassBySpringCGLIB$$3c7d00ce.invoke()
    	at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:792)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
    	at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:707)
    	at smartbix.augmenteddataset.service.AugmentedDataSetQueryService$$EnhancerBySpringCGLIB$$9fd49856.getDataSetData()
    	at smartbix.augmenteddataset.service.AugmentedDataSetQueryServiceAdapter.execute(AugmentedDataSetQueryServiceAdapter.java:60)
    	... 34 more
    Caused by: smartbixlibs.org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://localhost:18081/smartbiolap/smartbiquery": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
    	at smartbixlibs.org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:791)
    	at smartbixlibs.org.springframework.web.client.RestTemplate.execute(RestTemplate.java:757)
    	at smartbixlibs.org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:465)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryHttpExecutor.lambda$getOlapQueryResponse$0(OlapQueryHttpExecutor.java:86)
    	at smartbi.monitor.MetricHelper$.withSpan(MetricHelper.scala:87)
    	at smartbi.monitor.MetricHelper.withSpan(MetricHelper.scala)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryHttpExecutor.getOlapQueryResponse(OlapQueryHttpExecutor.java:85)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryHttpExecutor$$FastClassBySpringCGLIB$$a151680b.invoke()
    	at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:792)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
    	at smartbixlibs.org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:102)
    	at smartbix.smartbi.service.OlapQueryServiceHandler.getOlapQueryResponse(OlapQueryServiceHandler.java:68)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at smartbixlibs.org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634)
    	at smartbixlibs.org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624)
    	at smartbixlibs.org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
    	at smartbixlibs.org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89)
    	at smartbix.augmenteddataset.limit.aspectj.RateLimitResourceAspect.invokeResourceWithSentinel(RateLimitResourceAspect.java:80)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at smartbixlibs.org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634)
    	at smartbixlibs.org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624)
    	at smartbixlibs.org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
    	at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
    	at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762)
    	at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:707)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryHttpExecutor$$EnhancerBySpringCGLIB$$44e8a75b.getOlapQueryResponse()
    	at smartbix.augmenteddataset.olap.impl.OlapQueryService.getOlapQueryResponse(OlapQueryService.java:849)
    	at smartbix.augmenteddataset.olap.impl.OlapQueryService.executeQuery(OlapQueryService.java:413)
    	... 51 more
    Caused by: java.net.ConnectException: Connection refused: connect
    	at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
    	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
    	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    	at java.net.Socket.connect(Socket.java:589)
    	at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
    	at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
    	at sun.net.www.http.HttpClient.(HttpClient.java:242)
    	at sun.net.www.http.HttpClient.New(HttpClient.java:339)
    	at sun.net.www.http.HttpClient.New(HttpClient.java:357)
    	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1220)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1156)
    	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050)
    	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:984)
    	at smartbixlibs.org.springframework.http.client.SimpleBufferingClientHttpRequest.executeInternal(SimpleBufferingClientHttpRequest.java:76)
    	at smartbixlibs.org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
    	at smartbixlibs.org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66)
    	at smartbixlibs.org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
    	at smartbixlibs.org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
    	at smartbixlibs.org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66)
    	at smartbixlibs.org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:109)
    	at smartbix.augmenteddataset.interceptor.LoggingClientHttpRequestInterceptor.intercept(LoggingClientHttpRequestInterceptor.java:31)
    	at smartbixlibs.org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93)
    	at smartbi.monitor.trace.RestTmplInterceptor.intercept(RestTmplInterceptor.scala:18)
    	at smartbixlibs.org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93)
    	at smartbixlibs.org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77)
    	at smartbixlibs.org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
    	at smartbixlibs.org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66)
    	at smartbixlibs.org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:782)
    	... 91 more
    
    2024-5-23 15:28| 回复
  •   鬼仔性格
    报错就是连接不上,这个要不就是没启,要不就是启了没成功
    2024-5-23 18:50| 回复

回复

使用道具 举报

发表于 2024-5-23 15:38:42
重启olap之后看下?重启olap之后还报错吗?
回复

使用道具 举报

发表于 2024-5-24 09:52:58
有部署多维引擎嘛?
回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

5回帖数 0关注人数 396浏览人数
最后回复于:2024-5-24 09:52
快速回复 返回顶部 返回列表