21927/hadoop-intervals-and-join
I'm currently trying to join two sources of data where the key is an interval (say [date-begin/date-end]). For example:
input1:
20091001-20091002 A
20091011-20091104 B
20080111-20091103 C
(...)
input2:
20090902-20091003 D
20081015-20091204 E
20040011-20050101 F
(...)
I'd like to find all the records where the key1 overlaps the key2. Is it possible with hadoop ? Where can I find an example of implementation ?
Hey, a solution was given on Biostar:. Hope this helps
Apart from the similarity that they are ...READ MORE
No, you cannot download HDFS alone because ...READ MORE
Yes, there's a difference between hadoop fs and ...READ MORE
I would recommend you to install Cent ...READ MORE
Firstly you need to understand the concept ...READ MORE
put syntax:
put <localSrc> <dest>
copy syntax:
copyFr ...READ MORE
In your case there is no difference ...READ MORE
The distributed copy command, distcp, is a ...READ MORE
Hey, try this code
import java.io.IOException;
import java.util.Iterator;
import java.util.StringTokenizer;
import ...READ MORE
I had the same problem. And not ...READ MORE
OR