hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raimon Bosch <raimon.bo...@gmail.com>
Subject Creating a hive table for a custom log
Date Thu, 01 Sep 2011 14:08:13 GMT


I'm trying to create a table similar to apache_log but I'm trying to avoid
to write my own map-reduce task because I don't want to have my HDFS files

So if you're working with log lines like this: [31/Aug/2011:00:10:41 +0000] "GET
HTTP/1.1" [31/Aug/2011:00:10:41 +0000] "GET
HTTP/1.1" [31/Aug/2011:00:10:41 +0000] "GET

And having in mind that the parameters could be in different orders. Which
will be the best strategy to create this table? Write my own
org.apache.hadoop.hive.contrib.serde2? Is there any resource already
implemented that I could use to perform this task?

In the end the objective is convert all the parameters in fields and use as
type the "action". With this big table I will be able to perform my queries,
my joins or my views.

Any ideas?

Thanks in Advance,
Raimon Bosch.
View this message in context: http://old.nabble.com/Creating-a-hive-table-for-a-custom-log-tp32379849p32379849.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

View raw message