Re: Problem with xml data in hbase bulk loading

2012-11-21 Thread iwannaplay games
Hi all, I tried importing data by sqoop and it takes xml data in one column only. Regards Prabjot On 11/21/12, anil gupta wrote: > Hi, > > There are two option: > 1. Fix the input file so that one line contains an entire record. > 2. Write a custom input format to read record which spans mult

Re: Problem with xml data in hbase bulk loading

2012-11-20 Thread anil gupta
Hi, There are two option: 1. Fix the input file so that one line contains an entire record. 2. Write a custom input format to read record which spans multiple lines. If you do this then you will need to write a custom Mapper also. For reference implementation of custom mapper you can have a look a

Re: Problem with xml data in hbase bulk loading

2012-11-20 Thread Jean-Marc Spaggiari
Hi In csv files, new line = new entry :( So I think your only option is to fix your input file by removing your extra lines. JM Le 20 nov. 2012 02:55, "iwannaplay games" a écrit : > Hi All, > > I have a csv file ( separated by |) where data is like > > id data >

Problem with xml data in hbase bulk loading

2012-11-19 Thread iwannaplay games
Hi All, I have a csv file ( separated by |) where data is like id data date 1apple 24-nov-2011 2mango 26-nov-2011 3 fruits 28-no