Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Java : Splitting a huge file in to equal parts

Share this post!
 Vote this!

Suppose you don't know how many records are in a dataset, but you want to divide the records as equal as possible among the output datasets. We can split a file into equal number parts by using ICETOOL with a small keyword SPLIT / SPLITBY. The all output files will have same number of records. The below code split the file into three equal parts.   more...

0 comments:

Post a Comment