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

Alejandro Abdelnur commented on HIVE-2391:
------------------------------------------

Sorry to pop the ballon but the published POMs (in Apache snapshots repo) are 
still wrong. Including hive-cli should pull all necessary dependencies to run 
Hive programmatically.

However:

* somewhere a hadoop:core artifact is being referenced (it should be 
org.apache.hadoop:hadoop-core)

* hive-cli does not depend on other Hive JARs, thus things fail (building Oozie 
Hive action) with:

-------
[ERROR] 
/Users/tucu/src/apache/oozie/git/core/src/test/java/org/apache/oozie/action/hadoop/TestHiveMain.java:[30,44]
 package org.apache.hadoop.hive.contrib.serde2 does not exist
[ERROR] 
/Users/tucu/src/apache/oozie/git/core/src/test/java/org/apache/oozie/action/hadoop/TestHiveMain.java:[40,30]
 package org.apache.velocity.app does not exist
[ERROR] 
/Users/tucu/src/apache/oozie/git/core/src/test/java/org/apache/oozie/action/hadoop/TestHiveActionExecutor.java:[45,44]
 package org.apache.hadoop.hive.contrib.serde2 does not exist
[ERROR] 
/Users/tucu/src/apache/oozie/git/core/src/test/java/org/apache/oozie/action/hadoop/TestHiveActionExecutor.java:[67,30]
 package org.apache.velocity.app does not exist
[ERROR] 
/Users/tucu/src/apache/oozie/git/core/src/test/java/org/apache/oozie/action/hadoop/TestHiveMain.java:[121,51]
 cannot find symbol
[ERROR] symbol  : class VelocityEngine
[ERROR] location: class org.apache.oozie.action.hadoop.TestHiveMain
[ERROR] 
/Users/tucu/src/apache/oozie/git/core/src/test/java/org/apache/oozie/action/hadoop/TestHiveMain.java:[131,55]
 cannot find symbol
[ERROR] symbol  : class RegexSerDe
[ERROR] location: class org.apache.oozie.action.hadoop.TestHiveMain
[ERROR] 
/Users/tucu/src/apache/oozie/git/core/src/test/java/org/apache/oozie/action/hadoop/TestHiveActionExecutor.java:[271,47]
 cannot find symbol
[ERROR] symbol  : class VelocityEngine
[ERROR] location: class org.apache.oozie.action.hadoop.TestHiveActionExecutor
[ERROR] 
/Users/tucu/src/apache/oozie/git/core/src/test/java/org/apache/oozie/action/hadoop/TestHiveActionExecutor.java:[279,51]
 cannot find symbol
[ERROR] symbol  : class RegexSerDe
[ERROR] location: class org.apache.oozie.action.hadoop.TestHiveActionExecutor
-------

If I use the Hive artifacts from Cloudera's maven repo things work as expected.

                
> published POMs in Maven repo are incorrect
> ------------------------------------------
>
>                 Key: HIVE-2391
>                 URL: https://issues.apache.org/jira/browse/HIVE-2391
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.7.1
>            Reporter: Alejandro Abdelnur
>            Assignee: Carl Steinbach
>            Priority: Critical
>             Fix For: 0.8.0
>
>         Attachments: HIVE-2391.1.patch.txt, HIVE-2391.2.patch.txt, 
> HIVE-2391.3.patch.txt, HIVE-2391.4.patch.txt, HIVE-2391.5.patch.txt, 
> HIVE-2391.wip.1.patch.txt
>
>
> The Hive artifacts published in Apache Maven SNAPSHOTS repo are incorrect. 
> Dependencies are not complete.
> Even after adding as dependencies ALL the Hive artifacts it is not possible 
> to compile a project using Hive JARs (I'm trying to integrate Oozie Hive 
> Action using Apache Hive).
> As a reference the Hive CDH POMs dependencies could be used (Using those 
> artifacts I'm able to compile/test/run Hive from within Oozie).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to