Xuanwo commented on issue #9038:
URL: https://github.com/apache/opendal/issues/9038#issuecomment-7147755538
Would a JSON object string as the value of `options` work for your binding?
The Rust builder already accepts a `HashMap<String, String>`. The string entry
points lowercase outer keys, so `options.fs.defaultFS` reaches the service as
`options.fs.defaultfs`. Adding support for a value such as
`{"fs.defaultFS":"hdfs://ns"}` would preserve the Hadoop property name. A
useful check for a prototype would be to read the same file on MiniDFS through
your binding or URI and through the existing typed Rust builder.
For per-operator identity, do the two clients in your application need
different effective HDFS users, different Kerberos principals, or both? Both
revisions in your report use `hdfs-native` 0.15.1. The four setters you
identified belong to its `ClientBuilder`. A same-process example with two
native clients, showing either a different permission result on the same path
or the user recorded by the NameNode for each client, would help narrow down
which settings OpenDAL needs. Placeholder identities and paths are enough.
Let’s keep the configuration and identity work here. #9016 covers NameNode
routing, and #9035 tracks tokens with explicit addresses and direct `viewfs://`
URLs.
*AI-generated.*
--
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]