title: How to mapreduce in this situation in hadoop?
body: <p>I want to analysis a text file
  the text file's format is like this...</p>
  
  <pre><code>&lt;msg time='2015-07-30T16:37:48.408+09:00' org_id='oracle' comp_id='rdbms' 
  msg_id='opiexe:3056:2780954927' client_id='' type='NOTIFICATION'
  group='admin_ddl' level='16' host_id='TEST_DB1'
  host_addr='127.0.0.1' module='sqlplus@TEST_DB1 (TNS V1-V3)' pid='24436'&gt;
  &lt;txt&gt;ORA-1543 signalled during: create tablespace TS_MODULE_I datafile &amp;apos;/data001/orasvc01/NEWDB/ts_module_i_01.dbf&amp;apos; size 20m...
  &lt;/txt&gt;
  &lt;/msg&gt;
  
  &lt;msg time='2015-07-30T16:39:13.173+09:00' org_id='oracle' comp_id='rdbms'
  client_id='' type='UNKNOWN' level='16'
  host_id='TEST_DB1' host_addr='127.0.0.1' module=''
  pid='23242'&gt;
  &lt;txt&gt;Errors in
  file /logs001/orasvc01/diag/rdbms/newdb/NEWDB/trace/NEWDB_smon_23242.trc:
  ORA-01116: error in opening database file 6
  ORA-01110: data file 6:
  &amp;apos;/data001/orasvc01/NEWDB/ts_module_d_01.dbf&amp;apos;
  ORA-27041: unable to open file
  Linux-x86_64 Error: 2: No such file or directory
  Additional information: 3
  &lt;/txt&gt;
  &lt;/msg&gt;
  </code></pre>
  
  <p>....</p>
  
  <p>sometimes it includes 7lines but other thing inculde 10 lines.
  in this situation..</p>
  
  <p>I want an output like
  (column[0])     (column[1])   sum of errors</p>
  
  <p>2015-07-31       ora-1051         7</p>
  
  <p>what should i do?</p>