dddyszy opened a new issue #1257:
URL: https://github.com/apache/incubator-linkis/issues/1257
**Is your feature request related to a problem? Please describe.**
When starting the project for the first time, the linkis-ps-publicservice
report an error
`
2021-12-30 22:15:28.506 [ERROR] [qtp63622279-30 ]
o.a.l.b.c.HdfsResourceHelper (93) [upload] - codeweaver write to
hdfs:///apps-data/codeweaver/bml/20211230/eb8452cc-1677-4342-8400-7b9b0bab60b8
failed, reason is, IOException:
org.apache.hadoop.security.AccessControlException: Permission denied:
user=codeweaver, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x
`
Because linkis-cg-engineplugin wiil upload file to hdfs
`
2021-12-30 22:15:28.800 [ERROR] [Linkis-Default-Scheduler-Thread-1 ]
o.a.l.e.s.s.DefaultEngineConnResourceService (100) [$anonfun$tryAndError$1] -
error code(错误码): 10905, Error message(错误
信息): URL /api/rest_j/v1/bml/upload request failed! ResponseBody is
{"method":null,"status":1,"message":"error code(错误码): 60050, error
message(错误信息): The first upload of the resource failed(首
次上传资源失败).","data":{"errorMsg":{"serviceKind":"linkis-ps-publicservice","level":2,"port":9105,"errCode":50073,"ip":"10-90-104-55-jhdxyjd.mob.local","desc":"The
commit upload resource task failed(提交上传资源任务失败):errCode: 60050 ,desc: The first
upload of the resource failed(首次上传资源失败) ,ip: 10-90-104-55-jhdxyjd.mob.local
,port: 9105 ,serviceKind: linkis-ps-publicservice"}}}..
org.apache.linkis.httpclient.exception.HttpClientResultException: errCode:
10905 ,desc: URL /api/rest_j/v1/bml/upload request failed! ResponseBody is
{"method":null,"status":1,"message":"error code(错误码): 60050, error
message(错误信息): The first upload of the resource
failed(首次上传资源失败).","data":{"errorMsg":{"serviceKind":"linkis-ps-publicservice","level":2,"port":9105,"errCode":50073,"ip":"10-90-104-55-jhdxyjd.mob.local","desc":"The
commit upload resource task failed(提交上传资源任务失败):errCode: 60050 ,desc: The first
upload of the
resource failed(首次上传资源失败) ,ip: 10-90-104-55-jhdxyjd.mob.local ,port: 9105
,serviceKind: linkis-ps-publicservice"}}}. ,ip: 10-90-104-55-jhdxyjd.mob.local
,port: 9103 ,serviceKind: linkis-cg-engineplugin
`
and the variable 'wds.linkis.bml.hdfs.prefix' not present in config file
**Describe the solution you'd like**
add wds.linkis.bml.hdfs.prefix to config file
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features
you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]