mtth / hdfs

API and command line interface for HDFS
https://hdfscli.readthedocs.io
MIT License
269 stars 100 forks source link

Custom webhdfs_prefix support #170

Open zhouchanghai opened 3 years ago

zhouchanghai commented 3 years ago

webhdfs_prefix is hard coded in _Request class (client.py): webhdfs_prefix = `'/webhdfs/v1' However, some clusters don't use the standard prefix. It's better to pass in the prefix as a parameter of Client.

mtth commented 3 years ago

Sounds reasonable. I'd be happy to review a PR for this.