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
Yash Sharma 2013-07-26, 07:31
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

________________________________
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.