Just to clarify second fix..
I was talking about the build path of the commons. Where there were source 
inclusions  for generated-sources and the antlr3. And antlr3 is also present in 
generated-sources so was included by default.
I excluded the antlr3 from the generated-sources and cleaned project. It fixed 
all the compilation errors for me.

Thanks,
Yash Sharma




-----Original Message-----
From: Yash Sharma
Sent: Friday, July 26, 2013 12:50 PM
To: [email protected]
Subject: RE: Fwd: git mirror(s) not updating

Me and my friend were having similar compilation errors on ubuntu box also. We 
did two things to fix manually. Try if it helps:

1) Error in java-exec:
I had to comment out an entry from the .classpath of the java-exec:
<!--  <classpathentry kind="src" 
path="target/generated-sources/org/apache/drill/exec/vector" 
including="**/*.java"/>-->


2) Error in commons:
There was 2 entries in sources for generated-sources and for antlr3. So I 
excluded the antlr3 under the generated-sources.


Now it is working for both of us.


Thanks,
Yash Sharma




-----Original Message-----
From: Sree V [mailto:[email protected]]
Sent: Friday, July 26, 2013 12:35 PM
To: [email protected]
Subject: 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;
> > > import org.apache.drill.common.types.TypeProtos.MinorType;
> > >
> > > V
> > >
> > > ________________________________
> > >  From: Jacques Nadeau <[email protected]>
> > > To: [email protected]
> > > Sent: Thursday, July 25, 2013 7:37 PM
> > > Subject: Re: Fwd: git mirror(s) not updating
> > >
> > >
> > > You need to have the 2.5 version of protobuf compiler installed. The
> > > executable that is installed is called protoc.
> > >
> > > J
> > > On Jul 25, 2013 7:08 PM, "Sree V" <[email protected]> wrote:
> > >
> > > > Before running any, J.
> > > > I just setup a fresh work space from apache.
> > > >
> > > > More details on protoc 2.5, please ?
> > > >
> > > > Thanking you.
> > > >
> > > > With Regards
> > > > Sree
> > > >
> > > >
> > > > ________________________________
> > > >  From: Jacques Nadeau <[email protected]>
> > > > To: [email protected]
> > > > Sent: Thursday, July 25, 2013 6:52 PM
> > > > Subject: Re: Fwd: git mirror(s) not updating
> > > >
> > > >
> > > > Are you running protoc 2.5?
> > > > On Jul 25, 2013 6:44 PM, "Sree V" <[email protected]> wrote:
> > > >
> > > > > I updated from both github and from apache.
> > > > > They seems in sync, now.
> > > > >
> > > > > Both missing checkins related to 'protos'.
> > > > > Lots of compilation errors.
> > > > >
> > > > > Thanking you.
> > > > >
> > > > > With Regards
> > > > > Sree
> > > > >
> > > > >
> > > > > ________________________________
> > > > >  From: Ted Dunning <[email protected]>
> > > > > To: drill <[email protected]>
> > > > > Sent: Thursday, July 25, 2013 8:02 AM
> > > > > Subject: Fwd: git mirror(s) not updating
> > > > >
> > > > >
> > > > > Git mirrors are all better.
> > > > >
> > > > > ---------- Forwarded message ----------
> > > > > From: Ted Dunning <[email protected]>
> > > > > Date: Thu, Jul 25, 2013 at 8:01 AM
> > > > > Subject: Re: git mirror(s) not updating
> > > > > To: Jukka Zitting <[email protected]>
> > > > >
> > > > >
> > > > >
> > > > > Shazam!
> > > > >
> > > > > The changes have propagated all the way to github.
> > > > >
> > > > > Looks great.  Thanks Jukka.
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Jul 25, 2013 at 7:55 AM, Jukka Zitting <
> > > [email protected]
> > > > > >wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > On Thu, Jul 25, 2013 at 5:28 PM, Ted Dunning <
> > [email protected]>
> > > > > > wrote:
> > > > > > > No change.  Still out of date.
> > > > > >
> > > > > > I dug a bit deeper, and found a problem in the way the update
> > script
> > > > > > checks for whether a github mirror is available. That check no
> > longer
> > > > > > worked, apparently because of an updated SSL certificate.
> > > > > >
> > > > > > I replaced the wget check with a "git ls-remote" invocation (see
> > > infra
> > > > > > revision 871164, the earlier wget check wasn't committed).
> > > > > >
> > > > > > I started a new sync of all the git mirrors. It looks better now.
> > > > > >
> > > > > > BR,
> > > > > >
> > > > > > Jukka Zitting
> > > > > >
> > >
> >
>

________________________________






NOTE: This message may contain information that is confidential, proprietary, 
privileged or otherwise protected by law. The message is intended solely for 
the named addressee. If received in error, please destroy and notify the 
sender. Any use of this email is prohibited when received in error. Impetus 
does not represent, warrant and/or guarantee, that the integrity of this 
communication has been maintained nor that the communication is free of errors, 
virus, interception or interference.

________________________________






NOTE: This message may contain information that is confidential, proprietary, 
privileged or otherwise protected by law. The message is intended solely for 
the named addressee. If received in error, please destroy and notify the 
sender. Any use of this email is prohibited when received in error. Impetus 
does not represent, warrant and/or guarantee, that the integrity of this 
communication has been maintained nor that the communication is free of errors, 
virus, interception or interference.

Reply via email to