Reputation: 2327
I've been parsing log files using MapReduce, but it always outputs a text file named "part-00000" to store my results, and I have to then import part--00000
into mysql manually.
Is there an easy way to store MapReduce results directly in MySQL? For example, how might I store the results of the classic "Word Count" MapReduce program in MySQL directly?
I'm using Hadoop 1.2.1, and the mapred
libraries (i.e. org.apache.hadoop.mapred.*
instead of org.apache.hadoop.mapreduce.*
, and the two are not compatible as far as I'm aware.) I don't have access to Sqoop.
Upvotes: 2
Views: 2247