You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2022. It is now read-only.
I know its due to {} special character but snakebite is not able to handle it, does any one have any solution for this problem?.
Below is the python code:
from snakebite.client import HAClient
from snakebite.namenode import Namenode
name_node_list = [Namenode('namenode-01.localhost.com', 8020),
Namenode('namenode-02.localhost.com', 8020)]
hdfs_namenode_principal = 'nn/namenode-01.localhost.com@localhost.com'
client = HAClient(name_node_list, use_trash=False, use_sasl=True, hdfs_namenode_principal=hdfs_namenode_principal)
for x in client.ls([path], recurse=True):
print x