Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

WordFile Java Hadoop

WordFile Java Hadoop

New Contributor

Hello, I am a beginner with hadoop, and I I'd like to split a file of more than one line that ends with tags;
example

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
id1: 1 result
id2: Results2
id3: results3
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
1 at block

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
id1: result 11
id2: resultats265
id3: resultats3655     Hadoop Training in Chennai | Salesforce Training in Chennai | Android Training in Chennai | SAS Training in Chennai | Softwaretesting Training in Chennai

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

I would like to extract the information from the file and put them in a final form fihcier

Res.txt

resulta1, Result2, resultat3
resultat11, resultats265, resultats3655