Re: HiveHistory and HiveHistoryViewer

2012-12-16 Thread afancy
I don\t think it is a bug. If the program in hive writes logs to HiveHistory.log using '\n' to indicate the end of a line. Then, it is OK to use *val = val.replace('\n', ' ');. Anyway, ** new line depends what on your OS: Hive is typically deployed

What does ROW__OFFSET__INSIDE__BLOCK FROM mean?

2012-10-03 Thread afancy
/page035.html'; http://www.domain022.tl04/page035.html hdfs://pc01:54310/user/hive/warehouse/testresult/testresults.csv 0 0 http://www.domain022.tl04/page035.html hdfs://pc01:54310/ user/hive/warehouse/testresult/testresults.csv 3200250 0 Time taken: 19.653 seconds hive> Regards, afancy

Re: Hive/HBase integration issue.

2010-11-18 Thread afancy
Hi, Does the INSERT clause have to include the OVERWRITE, which means that the new data will overwrite the previous data? How to implement the indeed INSERT operation, instead of OVERWRITE? BTW: How to implement the DELETE operator? thanks afancy

Re: How to generate global unique ID?

2010-11-16 Thread afancy
Hi, Tim, I think sequential integer would be better. Is it difficult to generate a global integer? BTW: how to generate UUID in Hive? thanks Regards, afancy On Tue, Nov 16, 2010 at 9:11 AM, Tim Robertson wrote: > Does it need to be a sequential INT? If not, then a UUID works very w

Re: How to generate global unique ID?

2010-11-15 Thread afancy
Hi, Zhang, How to integrate this snowflake <https://github.com/twitter/snowflake> with Hive? Thanks! Regards, afancy On Mon, Nov 15, 2010 at 10:35 AM, Jeff Zhang wrote: > Please refer https://github.com/twitter/snowflake > > > > On Mon, Nov 15, 2010 at 5:09 PM,

How to generate global unique ID?

2010-11-15 Thread afancy
Hi, Does anybody know how to generate a unique ID in Hive? I have a table: hive> describe results; OK id int test string Time taken: 0.091 seconds When I insert data into the table results, i want to generate a unqiue Id, which is like a sequence in RDBMS. Regards, afancy