DSS1.2.2PreRelease 配置编译、配置部署、配置安装、配置启动服务以及dss-server服务启动未解决问题。请协助解答。 #1147
Unanswered
fuchao1999
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
安装:修改配置,有一个小bug:
/opt/DataSphereStudio-1.2.2/dss-git/dss-git-common
[root@node1 dss-git-common]# vim pom.xml
dss-git-common
pom修改为jar
cd /opt/DataSphereStudio-1.2.2
[root@node1 DataSphereStudio-1.2.2]# mvn -N install
[root@node1 DataSphereStudio-1.2.2]# mvn clean install
部署 配置修改:
/opt/DataSphereStudio-1.2.2/assembly/target
[root@node1 target]# tar -zxvf wedatasphere-dss-1.2.2-dist.tar.gz -C /usr/local/dss
/usr/local/dss/config
[hadoop@node1 config]$ vim config.sh
DSS_VERSION=1.2.2 这里默认不是1.2.2 需要修改,否则定位不到dss-1.2.2目录。
其他配置修改。
安装 :
/usr/local/dss/bin
[hadoop@node1 bin]$ sh install.sh
需要修改
/usr/local/dss/bin
Install.sh 修改changeConf() 因为默认配置文件中缺少一些plugin的配置文件。
我修改为如果不存在文件创建,如果不存在配置项则添加配置项。
否则不能安装成功。
安装过程中需要修改部分sql脚本:
/usr/local/dss/db
dss_ddl.sql 注释错误修改为 --
dss_dml_real.sql 26行 去掉checked字段取默认值1
启动基本服务:
sh $LINKIS_DSS_HOME/sbin/dss-daemon.sh start dss-apps-server
sh $LINKIS_DSS_HOME/sbin/dss-daemon.sh start dss-server 启动后运行退出。
问题1:
MyBatis wds.linkis.server.mybatis.BasePackage=
扫描范围遗漏 导致注入失败。需追加:
,org.apache.linkis.variable.dao,org.apache.linkis.basedatamanager.server.dao,org.apache.linkis.errorcode.server.dao,org.apache.linkis.publicservice.common.lock.dao
重复扫描同一路径 的问题:去掉多余的一个 com.webank.wedatasphere.dss.orchestrator.db.dao。
问题2:
存在循环依赖修复配置
/usr/local/dss/dss-1.2.2/conf
[root@node1 conf]# vim application-dss.yml
新增:允许循环依赖(关键配置)
spring:
main:
allow-circular-references: true
# 保留你之前的 "允许 Bean 覆盖" 配置(若有)
allow-bean-definition-overriding: true
**#问题3:未解决。
2025-09-10 16:45:34.561 [INFO ] [main ] c.n.d.InstanceInfoReplicator (60) [] - InstanceInfoReplicator onDemand update allowed rate per min is 4
2025-09-10 16:45:34.598 [INFO ] [main ] c.n.d.DiscoveryClient (492) [] - Discovery Client initialized at timestamp 1757493934594 with initial instances count: 7
2025-09-10 16:45:35.496 [WARN ] [main ] o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext (591) [refresh] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'proxyUserProjectHttpRequestHook': Unsatisfied dependency expressed through field 'dssProxyUserService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.webank.wedatasphere.dss.framework.proxy.service.DssProxyUserService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
2025-09-10 16:45:35.542 [INFO ] [main ] o.s.s.q.SchedulerFactoryBean (847) [destroy] - Shutting down Quartz Scheduler
2025-09-10 16:45:35.544 [INFO ] [main ] o.q.c.QuartzScheduler (666) [shutdown] - Scheduler quartzScheduler$NON_CLUSTERED shutting down.
2025-09-10 16:45:35.546 [INFO ] [main ] o.q.c.QuartzScheduler (585) [standby] - Scheduler quartzScheduler$NON_CLUSTERED paused.
2025-09-10 16:45:35.548 [INFO ] [main ] o.q.c.QuartzScheduler (740) [shutdown] - Scheduler quartzScheduler$_NON_CLUSTERED shutdown complete.
2025-09-10 16:45:35.631 [INFO ] [main ] c.a.d.p.DruidDataSource (2138) [close] - {dataSource-1} closing ...
2025-09-10 16:45:35.652 [INFO ] [main ] c.a.d.p.DruidDataSource (2211) [close] - {dataSource-1} closed
2025-09-10 16:45:35.683 [INFO ] [main ] c.n.d.DiscoveryClient (935) [shutdown] - Shutting down DiscoveryClient ...
2025-09-10 16:45:38.695 [INFO ] [main ] c.n.d.DiscoveryClient (971) [unregister] - Unregistering ...
2025-09-10 16:45:38.785 [INFO ] [main ] c.n.d.DiscoveryClient (973) [unregister] - DiscoveryClient_DSS-SERVER-DEV/192.168.75.140:dss-server-dev:9043 - deregister status: 404
2025-09-10 16:45:38.826 [INFO ] [main ] c.n.d.DiscoveryClient (960) [shutdown] - Completed shut down of DiscoveryClient
2025-09-10 16:45:38.835 [INFO ] [main ] o.e.j.s.session (149) [stopScavenging] - node0 Stopped scavenging
2025-09-10 16:45:38.846 [INFO ] [main ] o.e.j.s.h.ContextHandler (1159) [doStop] - Stopped o.s.b.w.e.j.JettyEmbeddedWebAppContext@51c660c8{application,/,[file:///tmp/jetty-docbase.9043.5391134533762043539/, jar:file:/usr/local/dss/DSSInstall/lib/dss-commons/knife4j-spring-ui-3.0.3.jar!/META-INF/resources],STOPPED}
2025-09-10 16:45:38.981 [INFO ] [main ] o.s.b.a.l.ConditionEvaluationReportLoggingListener (136) [logMessage] -
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2025-09-10 16:45:39.204 [ERROR] [main ] o.s.b.d.LoggingFailureAnalysisReporter (40) [report] -
APPLICATION FAILED TO START
Description:
Field dssProxyUserService in com.webank.wedatasphere.dss.framework.project.service.impl.ProxyUserProjectHttpRequestHook required a bean of type 'com.webank.wedatasphere.dss.framework.proxy.service.DssProxyUserService' that could not be found.
The injection point has the following annotations:
- @org.springframework.beans.factory.annotation.Autowired(required=true)
Action:
Consider defining a bean of type 'com.webank.wedatasphere.dss.framework.proxy.service.DssProxyUserService' in your configuration._**
Beta Was this translation helpful? Give feedback.
All reactions