Problem
Write a Spark code to find users having same DNA in the file stored in HDFS.
Dataset
The file is located at
/data/mr/dna/dna.txt
Sample Output
Output file will have the users having same DNA
ACG ['User5', 'User3']
ACGT ['User4', 'User1']