Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Drill, mail # dev - Issue while building


+
shrinidhi chaudhari 2013-10-10, 09:50
+
Michael Hausenblas 2013-10-10, 09:56
Copy link to this message
-
Re: Issue while building
shrinidhi chaudhari 2013-10-10, 10:02
[shrchaudhari@localhost incubator-drill]$ java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
On Thu, Oct 10, 2013 at 3:26 PM, Michael Hausenblas <
[EMAIL PROTECTED]> wrote:

>
> > *Java version:*
> >
> > [shrchaudhari@localhost incubator-drill]$ sudo alternatives --config
> java
> >
> > There are 2 programs which provide 'java'.
> >
> >  Selection    Command
> > -----------------------------------------------
> > *+ 1           /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
> >   2           /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
>
> I'd suspect the wrong Java version is used (Drill needs Java 7).
>
> Can you paste the output of the following please?
>
> $ java -version
>
>
>
> Cheers,
>                 Michael
>
> --
> Michael Hausenblas
> Ireland, Europe
> http://mhausenblas.info/
>
> On 10 Oct 2013, at 10:50, shrinidhi chaudhari <
> [EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I am setting up Drill development env but got stuck while building
> through
> > maven.
> > *
> > *
> > *
> > *
> > *I get the following error while doing a  *$ mvn clean install
> >
> > Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> > (default-compile) on project drill-protocol: Fatal error compiling:
> invalid
> > target release: 1.7 -> [Help 1]
> >
> > *Java version:*
> >
> > [shrchaudhari@localhost incubator-drill]$ sudo alternatives --config
> java
> >
> > There are 2 programs which provide 'java'.
> >
> >  Selection    Command
> > -----------------------------------------------
> > *+ 1           /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
> >   2           /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java
> >
> >
> >
> > *Protobuf version:*
> >
> > [shrchaudhari@localhost incubator-drill]$ protoc --version
> > libprotoc 2.5.0
> >
> >
> > --
> > Shrinidhi Chaudhari*.*
>
>
--
Shrinidhi Chaudhari*.*
+
shrinidhi chaudhari 2013-10-10, 10:05
+
shrinidhi chaudhari 2013-10-10, 11:08
+
Harri Kinnunen 2013-10-10, 10:01