I just tried a build with both jdk versions

build = ant clean package
jdk7 on branch-0.10 with patch from HIVE-3384 and it works
jdk6 on trunk without any changes it works

i created a new redhat vm and installed  sun jdk 6u43 and tried it. It
works too.

when i try ant maven-build -Dmvn.publish.repo=local it does fail with
make-pom target not existing.
Alan has a Jira on this: https://issues.apache.org/jira/browse/HIVE-4387

There is a patch available there for branch-0.11. I will try to build with
that.



On Thu, Jun 13, 2013 at 10:14 AM, amareshwari sriramdasu <
amareshw...@gmail.com> wrote:

> Nitin,
>
> Hive does not compile with jdk7. You have to use jdk6 for compiling
>
>
> On Wed, Jun 12, 2013 at 9:42 PM, Nitin Pawar <nitinpawar...@gmail.com
> >wrote:
>
> > I tried the build on trunk
> >
> > i did not hit the issue of make-pom but i hit the issue of jdbc with
> jdk7.
> > I will apply the patch and try again
> >
> >
> > On Wed, Jun 12, 2013 at 4:48 PM, amareshwari sriramdasu <
> > amareshw...@gmail.com> wrote:
> >
> >> Hello,
> >>
> >> ant maven-build -Dmvn.publish.repo=local fails to build hcatalog with
> >> following error :
> >>
> >>
> >> /home/amareshwaris/hive/build.
> >> xml:121: The following error occurred while executing this line:
> >> /home/amareshwaris/hive/build.xml:123: The following error occurred
> while
> >> executing this line:
> >> Target "make-pom" does not exist in the project "hcatalog".
> >>
> >> Was curious to know if I'm only one facing this or Is there anyother way
> >> to
> >> publish maven artifacts locally?
> >>
> >> Thanks
> >> Amareshwari
> >>
> >
> >
> >
> > --
> > Nitin Pawar
> >
>



-- 
Nitin Pawar

Reply via email to