[ 
https://issues.apache.org/jira/browse/HADOOP-3601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629494#action_12629494
 ] 

Prasad Chakka commented on HADOOP-3601:
---------------------------------------

Hi lengwuqing 

Here are some answers that might make the above steps little easier...

1: Compiling
I think just copying the facebook-hive.tar.gz to src/contrib/hive and then 
doing 'ant package' from hadoop-0.17.2.1 directory should create the necessary 
packages for Hive in build/contrib/hive/dist and also where Hadoop expects. 
(Steps 4 & 5 can be done by just going 'ant package')

2: For step 4) just do 'ant build-grammar' from src/contrib/hive/ql directory 
that would generate a antrl grammar code. You might also need to do 'ant 
gen-test' if you want to see the test code.

4:  Did you mean that Insert Overwrite is not working correctly? Which query is 
computing incorrect results?


Thanks,
Prasad


> Hive as a contrib project
> -------------------------
>
>                 Key: HADOOP-3601
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3601
>             Project: Hadoop Core
>          Issue Type: Wish
>          Components: contrib/hive
>    Affects Versions: 0.19.0
>         Environment: N/A
>            Reporter: Joydeep Sen Sarma
>            Assignee: Ashish Thusoo
>            Priority: Minor
>             Fix For: 0.19.0
>
>         Attachments: ant.log, hive.tgz, hive.tgz, hive.tgz, HiveTutorial.pdf
>
>   Original Estimate: 1080h
>  Remaining Estimate: 1080h
>
> Hive is a data warehouse built on top of flat files (stored primarily in 
> HDFS). It includes:
> - Data Organization into Tables with logical and hash partitioning
> - A Metastore to store metadata about Tables/Partitions etc
> - A SQL like query language over object data stored in Tables
> - DDL commands to define and load external data into tables
> Hive's query language is executed using Hadoop map-reduce as the execution 
> engine. Queries can use either single stage or multi-stage map-reduce. Hive 
> has a native format for tables - but can handle any data set (for example 
> json/thrift/xml) using an IO library framework.
> Hive uses Antlr for query parsing, Apache JEXL for expression evaluation and 
> may use Apache Derby as an embedded database for MetaStore. Antlr has a BSD 
> license and should be compatible with Apache license.
> We are currently thinking of contributing to the 0.17 branch as a contrib 
> project (since that is the version under which it will get tested internally) 
> - but looking for advice on the best release path.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to