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

Switch to Threaded View
Drill >> mail # dev >> Fwd: git mirror(s) not updating


Copy link to this message
-
Re: Fwd: git mirror(s) not updating
These are the three missing types, causing most of the compilation errors.

import org.apache.drill.common.types.TypeProtos.DataMode;
import org.apache.drill.common.types.TypeProtos.MajorType;
import org.apache.drill.common.types.TypeProtos.MinorType;

V
________________________________
 From: Sree V <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2013 11:46 PM
Subject: Re: Fwd: git mirror(s) not updating
 

Lisen,

When doing these checks,
1.
missing parquet*, due to missing repository entry for sonatype.org in java-exec pom.xml

fixed. will file jira and submit patch later.

2.
I saw a lot of files generated in target/generated-sources/.
That says, the protoc win 32 working fine on win 64.

But, java-exec compilation failed with,

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /C:/SreeVaddi/OpenSource/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorWriteExpression.java:[24,10] cannot find symbol
  symbol:   class MajorType
  location: class org.apache.drill.exec.expr.ValueVectorWriteExpression
[ERROR] /C:/SreeVaddi/OpenSource/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/ReturnValueExpression.java:[22,10] cannot find symbol
  symbol:   class MajorType
  location: class org.apache.drill.exec.physical.impl.filter.ReturnValueExpression
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE

I think, this artifact didn't get generated, causing further compilation errors including the above. 

org.apache.drill.common.types.TypeProtos
Count of compilation reduces to very few :-), thank you.

any further pointers, please.

V

________________________________
From: Lisen Mu <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]; Sree V <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2013 9:18 PM
Subject: Re: Fwd: git mirror(s) not updating
then can you

immars-brick:java-exec mulisen$ mvn -X compile > mvn.txt
you should find something like:

     [exec] Executing 'protoc' with arguments:

without errors.

If so, can you should find these source file at:

target/generated-sources/
On Fri, Jul 26, 2013 at 12:06 PM, Sree V <[EMAIL PROTECTED]> wrote:

> C:\>protoc --version
> libprotoc 2.5.0
>
> V
>
>
> ________________________________
>  From: Lisen Mu <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]; Sree V <[EMAIL PROTECTED]>
> Sent: Thursday, July 25, 2013 8:59 PM
> Subject: Re: Fwd: git mirror(s) not updating
>
>
> can you type under cmd:
>
> $ protoc --version
> libprotoc 2.5.0
>
> can you get the version number 2.5 ?
>
>
> On Fri, Jul 26, 2013 at 11:45 AM, Sree V <[EMAIL PROTECTED]> wrote:
>
> > Lisen,
> >
> > I downloaded,
> https://protobuf.googlecode.com/files/protoc-2.5.0-win32.zip
> > .
> > Included in PATH.
> > Restarted eclipse.
> > mvn clean
> > mvn install
> >
> > Didn't generate these classes.
> >
> > created new workspace and imported mvn projects in eclipse.
> > didn't generate these classes, still.
> >
> > What am I missing ?
> >
> > Thanks in advance.
> >
> > V
> >
> >
> >
> > ________________________________
> >  From: Lisen Mu <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]; Sree V <[EMAIL PROTECTED]>
> > Sent: Thursday, July 25, 2013 8:26 PM
> > Subject: Re: Fwd: git mirror(s) not updating
> >
> >
> > V,
> >
> > These are generated from protoc, you need to install protoc compiler
> prior
> > to 'mvn compile' to generate these classes like TypeProtos, UserProtos
> etc.
> >
> > Lisen
> >
> >
> >
> >
> > On Fri, Jul 26, 2013 at 11:13 AM, Sree V <[EMAIL PROTECTED]>
> wrote:
> >
> > > Sorry, J.
> > >
> > > I mean missing imports in java files.
> > > like these:
> > > import org.apache.drill.common.types.TypeProtos.DataMode;