[ 
https://issues.apache.org/jira/browse/HIVE-5611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13811176#comment-13811176
 ] 

Szehon Ho commented on HIVE-5611:
---------------------------------

I have a partial patch that supports basic Hive functionalities.  This patch 
converts all the Ant tar/bin steps into Mvn assembly src/bin descriptors.  All 
the non-jar files should now be in the Mvn tarball, with same directory 
location as in Ant tarballs, with directory location exactly the same.  But 
some jars are not yet complete and need further investigation.  In particular, 
the Hcatalog sub-project had many custom Ant steps in /hcatalog/build.xml in 
creating its unique directory structure, I think it will be a big effort to 
replicate the same in Mvn. 

Issues (non-blockers) that I encountered between Ant and Mvn assemblies:
1.  In src assembly, the prefixes for the .java files are different.  This is 
because in ant, they copied over the project name.  In mvn, I am using the 
<moduleSet>, and module names are slightly different than folder name.  I don't 
believe this would be a big issue.
2.  The java-docs are not included in src assembly, as they are not generated.  
This is already tracked in HIVE-5717.

Issues in running Hive so far (very basic testing), there might be more:
3.  The version number is not displaying correctly on starting Beeline, because 
MANIFEST is not included in jar built by Beeline project.  It is not related to 
assembly creation.
4.  There is background NPE in starting SQLCompletor, because the resource file 
"sql-keyword.properties" has been moved to src/main/resources from 
org/apache/hive/beeline.  Again it is not related to assembly creation.

HCatalog (must fix)
To add the hcatalog jars in the correct directory location would take a big 
effort, I might not be able to complete this task myself, I would appreciate if 
someone could help take a look!

> Add assembly (i.e.) tar creation to pom
> ---------------------------------------
>
>                 Key: HIVE-5611
>                 URL: https://issues.apache.org/jira/browse/HIVE-5611
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Build Infrastructure
>            Reporter: Brock Noland
>            Assignee: Szehon Ho
>              Labels: Maven
>         Attachments: HIVE-5611.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to