Fang jin
Click "Publish" Times error on workflow interface, 2023-01-14 01:36:13.856



It is found by looking at the code PublishServiceImpl.java



// Just to find out if you need to publish all OrCs, you can just take the 
first AppInstance.
AppInstance appInstance = 
schedulerAppConn.getAppDesc().getAppInstances().get(0); 
I called a null pointer. I don't know why?



Zhang Huajin
Ensure that the corresponding Appconn is installed and the scheduling software 
works properly



There is also the need to have the same name in the scheduling software to 
publish the success of the specific can look at the documentation



https://github.com/WeBankFinTech/DataSphereStudio-DOC



Fang jin
schedulis has been installed, refer to
https://github.com/WeBankFinTech/DataSphereStudio-Doc/blob/main/zh_CN/%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2/SchedulisAppConn%E6%8F%92%E4%BB%B6%E5%AE%89%E8%A3%85%E6%96%87%E6%A1%A3.md



Zhang Huajin
A new user with the same name is created. No user can log in the scheduling 
software



You can view specific logs in the framework service



Fang jin
A root user has been created in the schedulis. You can also log in to the 
schedulis using root/hadoop



Zhang Huajin
The Jar reported above is also a service to see if any errors are reported



Fang jin
It worked for me



I reloaded schedulis-appconn.zip, reinstalled it, and it was done



Fang jin
在工作流界面点”发布“时报错,2023-01-14 01:36:13.856 [ERROR] 
// 只是为了获取是否需要发布所有Orc,这里直接拿第一个AppInstance即可。 
AppInstance appInstance = 
schedulerAppConn.getAppDesc().getAppInstances().get(0); 
报了空指针,不知何故?



Zhang Huajin
一定要安装有调度 以及安装了对应Appconn 以及调度软件能正常工作 



还有需要在调度软件有同名用户才能发布成功 具体可以看看文档



https://github.com/WeBankFinTech/DataSphereStudio-DOC



Fang jin
schedulis已经安装了,参考https://github.com/WeBankFinTech/DataSphereStudio-Doc/blob/main/zh_CN/%E5%AE%89%E8%A3%85%E9%83%A8%E7%BD%B2/SchedulisAppConn%E6%8F%92%E4%BB%B6%E5%AE%89%E8%A3%85%E6%96%87%E6%A1%A3.md上的步骤都做了,工作流界面”前往调度中心“也可以打开schedulis界面了,但就是发布失败


Zhang Huajin
新建了同名用户没有 这个用户有能否登陆调度软件



具体的日志可以在framework服务里面看看具体报错



Fang jin
在schedulis中已经建了root用户,也可以用root/hadoop登录schedulis



Zhang Huajin
上面报的那个Jar也是一个服务 可以观察是否有报错



Fang jin
成功了



重下了schedulis-appconn.zip,重新装了一次,就好了

Reply via email to