You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Arun Sasidharan Nair <ar...@gmail.com> on 2013/08/23 08:23:58 UTC

Build error - Help needed

Hi All,

I have pulled the latest drill code and was trying to compile the
prototype.It  failed with following errors.Please tell me how i can fix this

[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11.466s
[INFO] Finished at: Fri Aug 23 11:50:14 IST 2013
[INFO] Final Memory: 33M/108M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project java-exec: Compilation failure: Compilation
failure:
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[29,49]
cannot find symbol
[ERROR] symbol:   class ReadEntry
[ERROR] location: interface org.apache.drill.exec.store.StorageEngine
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[42,21]
cannot find symbol
[ERROR] symbol:   class ReadEntry
[ERROR] location: class
org.apache.drill.exec.physical.config.MockStorageEngine
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[47,80]
cannot find symbol
[ERROR] symbol:   class ReadEntry
[ERROR] location: class
org.apache.drill.exec.physical.config.MockStorageEngine
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[47,23]
cannot find symbol
[ERROR] symbol:   class ReadEntry
[ERROR] location: class
org.apache.drill.exec.physical.config.MockStorageEngine
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[52,58]
cannot find symbol
[ERROR] symbol:   class ReadEntry
[ERROR] location: class
org.apache.drill.exec.physical.config.MockStorageEngine
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractScan.java:[30,93]
type org.apache.drill.exec.physical.base.Scan does not take parameters
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockScanPOP.java:[180,14]
type org.apache.drill.exec.physical.base.Scan does not take parameters
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/FilterRecordBatch.java:[74,10]
cannot find symbol
[ERROR] symbol:   class TypedFieldId
[ERROR] location: class
org.apache.drill.exec.physical.impl.FilterRecordBatch
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[38,36]
cannot find symbol
[ERROR] symbol:   class NullableVarChar4Vector
[ERROR] location: package org.apache.drill.exec.vector
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/VectorHolder.java:[6,48]
cannot find symbol
[ERROR] symbol:   class TypedFieldId
[ERROR] location: interface org.apache.drill.exec.record.RecordBatch
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/VectorHolder.java:[19,10]
cannot find symbol
[ERROR] symbol:   class TypedFieldId
[ERROR] location: class org.apache.drill.exec.physical.impl.VectorHolder
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[41,3]
method does not override or implement a method from a supertype
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractScan.java:[49,3]
method does not override or implement a method from a supertype
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractScan.java:[67,27]
cannot find symbol
[ERROR] symbol:   method
visitScan(org.apache.drill.exec.physical.base.AbstractScan<R>,X)
[ERROR] location: variable physicalVisitor of type
org.apache.drill.exec.physical.base.PhysicalVisitor<T,X,E>
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockScanPOP.java:[154,3]
method does not override or implement a method from a supertype
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockScanPOP.java:[160,3]
method does not override or implement a method from a supertype
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockScanPOP.java:[179,3]
method does not override or implement a method from a supertype
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/FilterRecordBatch.java:[78,3]
method does not override or implement a method from a supertype
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/expr/holders/BooleanHolder.java:[8,64]
cannot find symbol
[ERROR] symbol:   variable BOOLEAN
[ERROR] location: class org.apache.drill.common.types.TypeProtos.MinorType
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[247,52]
method getFieldType in class
org.apache.drill.exec.schema.json.jackson.JacksonHelper cannot be applied
to given types;
[ERROR] required: com.fasterxml.jackson.core.JsonToken,boolean
[ERROR] found: com.fasterxml.jackson.core.JsonToken
[ERROR] reason: actual and formal argument lists differ in length
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[370,22]
an enum switch case label must be the unqualified name of an enumeration
constant
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[377,25]
cannot find symbol
[ERROR] symbol:   class NullableVarChar4Vector
[ERROR] location: class
org.apache.drill.exec.store.JSONRecordReader.ReadType
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[377,59]
cannot find symbol
[ERROR] symbol:   class NullableVarChar4Vector
[ERROR] location: class
org.apache.drill.exec.store.JSONRecordReader.ReadType
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[378,47]
package NullableVarChar4Vector does not exist
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[383,22]
an enum switch case label must be the unqualified name of an enumeration
constant
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockRecordReader.java:[111,8]
cannot find symbol
[ERROR] symbol:   method randomizeData()
[ERROR] location: variable m of type
org.apache.drill.exec.vector.ValueVector.Mutator
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/expr/holders/NullableBooleanHolder.java:[8,64]
cannot find symbol
[ERROR] symbol:   variable BOOLEAN
[ERROR] location: class org.apache.drill.common.types.TypeProtos.MinorType
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/VectorHolder.java:[22,50]
cannot find symbol
[ERROR] symbol:   class TypedFieldId
[ERROR] location: class org.apache.drill.exec.physical.impl.VectorHolder
[ERROR]
/home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/compile/CodeModelTools.java:[15,10]
an enum switch case label must be the unqualified name of an enumeration

Thanks & Regards,
Arun

Re: Build error - Help needed

Posted by Arun Yadav <ar...@gmail.com>.
Arun,

Please check the repo from where you cloned the project. When I was cloning
from repo mentioned in this
wiki<https://cwiki.apache.org/confluence/display/DRILL/Contributing#Contributing-Gettingthesourcecode>
page,
I was getting build error too, though not same as yours. Switching to this
github <https://github.com/apache/incubator-drill> repo solved all the
build issue.

regards
Arun

Re: Build error - Help needed

Posted by Jacques Nadeau <ja...@apache.org>.
Can you give us your entire process from checkout forward as well your
versions of Maven, Java and protoc?

thanks,
Jacques


On Thu, Aug 22, 2013 at 11:23 PM, Arun Sasidharan Nair <
arunsnonline@gmail.com> wrote:

> Hi All,
>
> I have pulled the latest drill code and was trying to compile the
> prototype.It  failed with following errors.Please tell me how i can fix
> this
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 11.466s
> [INFO] Finished at: Fri Aug 23 11:50:14 IST 2013
> [INFO] Final Memory: 33M/108M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
> (default-compile) on project java-exec: Compilation failure: Compilation
> failure:
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[29,49]
> cannot find symbol
> [ERROR] symbol:   class ReadEntry
> [ERROR] location: interface org.apache.drill.exec.store.StorageEngine
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[42,21]
> cannot find symbol
> [ERROR] symbol:   class ReadEntry
> [ERROR] location: class
> org.apache.drill.exec.physical.config.MockStorageEngine
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[47,80]
> cannot find symbol
> [ERROR] symbol:   class ReadEntry
> [ERROR] location: class
> org.apache.drill.exec.physical.config.MockStorageEngine
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[47,23]
> cannot find symbol
> [ERROR] symbol:   class ReadEntry
> [ERROR] location: class
> org.apache.drill.exec.physical.config.MockStorageEngine
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[52,58]
> cannot find symbol
> [ERROR] symbol:   class ReadEntry
> [ERROR] location: class
> org.apache.drill.exec.physical.config.MockStorageEngine
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractScan.java:[30,93]
> type org.apache.drill.exec.physical.base.Scan does not take parameters
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockScanPOP.java:[180,14]
> type org.apache.drill.exec.physical.base.Scan does not take parameters
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/FilterRecordBatch.java:[74,10]
> cannot find symbol
> [ERROR] symbol:   class TypedFieldId
> [ERROR] location: class
> org.apache.drill.exec.physical.impl.FilterRecordBatch
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[38,36]
> cannot find symbol
> [ERROR] symbol:   class NullableVarChar4Vector
> [ERROR] location: package org.apache.drill.exec.vector
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/VectorHolder.java:[6,48]
> cannot find symbol
> [ERROR] symbol:   class TypedFieldId
> [ERROR] location: interface org.apache.drill.exec.record.RecordBatch
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/VectorHolder.java:[19,10]
> cannot find symbol
> [ERROR] symbol:   class TypedFieldId
> [ERROR] location: class org.apache.drill.exec.physical.impl.VectorHolder
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockStorageEngine.java:[41,3]
> method does not override or implement a method from a supertype
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractScan.java:[49,3]
> method does not override or implement a method from a supertype
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractScan.java:[67,27]
> cannot find symbol
> [ERROR] symbol:   method
> visitScan(org.apache.drill.exec.physical.base.AbstractScan<R>,X)
> [ERROR] location: variable physicalVisitor of type
> org.apache.drill.exec.physical.base.PhysicalVisitor<T,X,E>
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockScanPOP.java:[154,3]
> method does not override or implement a method from a supertype
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockScanPOP.java:[160,3]
> method does not override or implement a method from a supertype
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockScanPOP.java:[179,3]
> method does not override or implement a method from a supertype
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/FilterRecordBatch.java:[78,3]
> method does not override or implement a method from a supertype
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/expr/holders/BooleanHolder.java:[8,64]
> cannot find symbol
> [ERROR] symbol:   variable BOOLEAN
> [ERROR] location: class org.apache.drill.common.types.TypeProtos.MinorType
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[247,52]
> method getFieldType in class
> org.apache.drill.exec.schema.json.jackson.JacksonHelper cannot be applied
> to given types;
> [ERROR] required: com.fasterxml.jackson.core.JsonToken,boolean
> [ERROR] found: com.fasterxml.jackson.core.JsonToken
> [ERROR] reason: actual and formal argument lists differ in length
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[370,22]
> an enum switch case label must be the unqualified name of an enumeration
> constant
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[377,25]
> cannot find symbol
> [ERROR] symbol:   class NullableVarChar4Vector
> [ERROR] location: class
> org.apache.drill.exec.store.JSONRecordReader.ReadType
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[377,59]
> cannot find symbol
> [ERROR] symbol:   class NullableVarChar4Vector
> [ERROR] location: class
> org.apache.drill.exec.store.JSONRecordReader.ReadType
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[378,47]
> package NullableVarChar4Vector does not exist
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/store/JSONRecordReader.java:[383,22]
> an enum switch case label must be the unqualified name of an enumeration
> constant
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MockRecordReader.java:[111,8]
> cannot find symbol
> [ERROR] symbol:   method randomizeData()
> [ERROR] location: variable m of type
> org.apache.drill.exec.vector.ValueVector.Mutator
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/expr/holders/NullableBooleanHolder.java:[8,64]
> cannot find symbol
> [ERROR] symbol:   variable BOOLEAN
> [ERROR] location: class org.apache.drill.common.types.TypeProtos.MinorType
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/VectorHolder.java:[22,50]
> cannot find symbol
> [ERROR] symbol:   class TypedFieldId
> [ERROR] location: class org.apache.drill.exec.physical.impl.VectorHolder
> [ERROR]
>
> /home/ubuntu/openworkspace/drill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/compile/CodeModelTools.java:[15,10]
> an enum switch case label must be the unqualified name of an enumeration
>
> Thanks & Regards,
> Arun
>