Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # dev >> Building Hive


Copy link to this message
-
Re: Building Hive
The wikidoc shows "mvn compile" in the section How to compile
ODBC?<https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-HowtocompileODBC?>
--
is that where you needed to use "mvn package" instead?

I'm asking because we want to improve the documentation.  Three "ant"
commands in the Getting Started section you mentioned also need to be
changed (Building Hive from
Source<https://cwiki.apache.org/confluence/display/Hive/GettingStarted#GettingStarted-BuildingHivefromSource>
).

Thanks.  -- Lefty
On Mon, Jan 6, 2014 at 1:19 PM, Konstantin Weitz <[EMAIL PROTECTED]
> wrote:

> Alright, I figured it out. You cannot use mvn compile, you have to use mvn
> package and then it works! Thanks for all the support!
>
>
> On Mon, Jan 6, 2014 at 1:00 PM, Konstantin Weitz <
> [EMAIL PROTECTED]
> > wrote:
>
> > Thank's Eugene, with that I would have known to use the -Phadoop=1 flag.
> > Using google I had only found the ant tutorial here
> > https://cwiki.apache.org/confluence/display/Hive/GettingStarted.
> >
> > I think my current problem is that the build depends on version
> > 0.13.0-SNAPSHOT of hive-exec that is not currently available online. The
> > latest version online is 0.12.0, see
> > http://mvnrepository.com/artifact/org.apache.hive/hive-exec
> >
> > I saw that hive-exec is located in hive/ql, but I'm not able to
> > successfully build it. Do you know how to?
> >
> >
> >
> > On Mon, Jan 6, 2014 at 12:44 PM, Eugene Koifman <
> [EMAIL PROTECTED]>wrote:
> >
> >>
> >>
> https://cwiki.apache.org/confluence/display/Hive/HiveDeveloperFAQ#HiveDeveloperFAQ-Howtobuildallsource
> >> ?
> >>
> >>
> >> On Mon, Jan 6, 2014 at 12:42 PM, Konstantin Weitz <
> >> [EMAIL PROTECTED]> wrote:
> >>
> >> > Thanks, that got me a bit further. I ran
> >> >
> >> > mvn compile -Phadoop-2
> >> >
> >> > Unfortunately, now I get the following error. Any clue why?
> >> >
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Building Hive Service 0.13.0-SNAPSHOT
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Reactor Summary:
> >> > [INFO]
> >> > [INFO] Hive .............................................. SUCCESS
> >> [0.938s]
> >> > [INFO] Hive Ant Utilities ................................ SUCCESS
> >> [1.288s]
> >> > [INFO] Hive Shims Common ................................. SUCCESS
> >> [0.513s]
> >> > [INFO] Hive Shims 0.20 ................................... SUCCESS
> >> [0.410s]
> >> > [INFO] Hive Shims Secure Common .......................... SUCCESS
> >> [0.322s]
> >> > [INFO] Hive Shims 0.20S .................................. SUCCESS
> >> [0.178s]
> >> > [INFO] Hive Shims 0.23 ................................... SUCCESS
> >> [0.612s]
> >> > [INFO] Hive Shims ........................................ SUCCESS
> >> [0.097s]
> >> > [INFO] Hive Common ....................................... SUCCESS
> >> [5.665s]
> >> > [INFO] Hive Serde ........................................ SUCCESS
> >> [9.090s]
> >> > [INFO] Hive Metastore .................................... SUCCESS
> >> > [17.912s]
> >> > [INFO] Hive Query Language ............................... SUCCESS
> >> > [34.242s]
> >> > [INFO] Hive Service ...................................... FAILURE
> >> [1.049s]
> >> > [INFO] Hive JDBC ......................................... SKIPPED
> >> > [INFO] Hive Beeline ...................................... SKIPPED
> >> > [INFO] Hive CLI .......................................... SKIPPED
> >> > [INFO] Hive Contrib ...................................... SKIPPED
> >> > [INFO] Hive HBase Handler ................................ SKIPPED
> >> > [INFO] Hive HCatalog ..................................... SKIPPED
> >> > [INFO] Hive HCatalog Core ................................ SKIPPED
> >> > [INFO] Hive HCatalog Pig Adapter ......................... SKIPPED
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB