mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
webhdfs: implement support for basic auth and proxy (#10075)
* remote: add user key to config schema webhdfs This was already supported according to documentation, but missing in code Fixes: 10062 * remote: add password key to support Basic Auth * remote: add data_proxy_target for webhdfs remote This key is needed to construct a potential rewrite dictionary in webhdfs to deal with HDFS behind High Availability Proxy servers * bump dvc-webhdfs --------- Co-authored-by: skshetry <[email protected]>
This commit is contained in:
@@ -240,6 +240,9 @@ SCHEMA = {
|
||||
"ssl_verify": Any(Bool, str),
|
||||
"token": str,
|
||||
"use_https": Bool,
|
||||
"user": str,
|
||||
"password": str,
|
||||
"data_proxy_target": str,
|
||||
Optional("verify", default=False): Bool,
|
||||
**REMOTE_COMMON,
|
||||
},
|
||||
|
||||
+2
-2
@@ -117,8 +117,8 @@ tests = [
|
||||
"pandas>=1",
|
||||
]
|
||||
webdav = ["dvc-webdav>=3,<4"]
|
||||
webhdfs = ["dvc-webhdfs>=3,<4"]
|
||||
webhdfs_kerberos = ["dvc-webhdfs[kerberos]>=3,<4"]
|
||||
webhdfs = ["dvc-webhdfs>=3.1,<4"]
|
||||
webhdfs_kerberos = ["dvc-webhdfs[kerberos]>=3.1,<4"]
|
||||
|
||||
[project.urls]
|
||||
Documentation = "https://dvc.org/doc"
|
||||
|
||||
Reference in New Issue
Block a user