shbhmrzd
12/11/2023, 4:17 PMcompletion_flag_file, concurrently is there a way to ensure that only one of them proceeds using the current write apis.
I understand that the application ideally should be responsible for assigning the job completion file write to a single pod, I just want to check if there is a simple way to do it using some hdfs and opendal config during writes.
Thank you!shbhmrzd
12/11/2023, 4:21 PMlet name_node = CString::new(self.name_node.as_bytes())?;
in hdrs-0.3.1/src/client.rs
Traced it all the way till hdfs-sys
void hdfsBuilderSetNameNode(struct hdfsBuilder *bld, const char *nn)
{
bld->nn = nn;
}
and still don't see any logic to either take a list or split based on a delimiter to find multiple name nodes.
Can you please help on how hdfs-sys connects to hdfs ?