How to lock a file in Hdfs path using scala.
So that the other process cannot access the locked file until it unlocks the file.
It need to be implemented in scala.
How to lock a file in Hdfs path using scala.
So that the other process cannot access the locked file until it unlocks the file.
It need to be implemented in scala.