example:
username: root
password: admin@123
fs.url: sftp://root:admin%40123@xx.xx.xx.xx
class: AbstractPolicy.java
method: configFs(Map<String, Object> customConfigs)
In this method, workingDir.toUri() wll change above uri to sftp://root:admin%2540123@xx.xx.xx.xx
.
After changing code like below, problem have solved.
FileSystem fs = FileSystem.newInstance(new URI(convert(uri)), fsConfig);