When using rclone to connect to an HDFS remote with Kerberos authentication, I get the following error:
rclone -vv ls hdfsremote:/ 2021/05/19 16:54:24 DEBUG : Using config file from "/home/<user>/.config/rclone/rclone.conf" 2021/05/19 16:54:24 DEBUG : rclone: Version "v1.55.1" starting with parameters ["rclone" "-vv" "ls" "hdfsremote:/"] 2021/05/19 16:54:24 DEBUG : Creating backend with remote "hdfsremote:/" 2021/05/19 16:54:24 Failed to create file system for "hdfsremote:/": no available namenodes: SASL handshake: [Root cause: KDC_Error] KDC_Error: TGS Exchange Error: kerberos error response from KDC when requesting for hdfs/<namenode>@<realm>>: KRB Error: (7) KDC_ERR_S_PRINCIPAL_UNKNOWN Server not found in Kerberos database - LOOKING_UP_SERVER
I am kinited as the user in the rclone config, and my krb5.conf works for other commands. I have also ensured it is being read by setting the environment variable
KRB5_CONFIG=/etc/krb5.conf. Any ideas what may be causing this?
rclone v1.55.1 - os/type: linux - os/arch: amd64 - go/version: go1.16.3 - go/linking: static - go/tags: none
Ubuntu 20.04, 64-bit
[hdfsremote] type = hdfs namenode = <namenode>:8020 username = <user> service_principal_name = hdfs/_HOST@<realm> data_transfer_protection = authentication