Hi All,
Thank you for your suggestions, i resolved the same. but after that got
into below errors( It works fine when checked in IDE).

//Errors:
java.lang.NullPointerException
        at
com.ge.hadoop.test.xmlfileformat.MyParserMapper1.map(MyParserMapper1.java:52)
        at
com.ge.hadoop.test.xmlfileformat.MyParserMapper1.map(MyParserMapper1.java:1)
        at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:647)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:323)
        at org.apache.hadoop.mapred.Child$4.run(Child.java:270)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:396)
        at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1177)
        at org.apache.hadoop.mapred.Child.main(Child.java:264)

 Caused by: org.xml.sax.SAXParseException: XML document structures must
start and end within the same entity.

org.jdom2.input.JDOMParseException: Error on line 1: XML document
structures must start and end within the same entity.

//First line in xml file (sample file)
<?xml version="1.0"?>
<company>
<staff>
<firstname>yong</firstname>
<lastname>mook kim</lastname>
<nickname>mkyong</nickname>
<salary>100000</salary>
</staff>
</company>

Thanks for your help!

Regards,
dti

On Tue, Nov 27, 2012 at 8:01 PM, Kartashov, Andy <[EMAIL PROTECTED]>wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB