You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by Jae Lee <ot...@gmail.com> on 2013/10/24 05:08:16 UTC

Fwd: About Tajo build errors

Hello,

I met a error when building Tajo source from git.
Could you solve that? Please see below error messages.
OS: Centos 6.2
Java :  1.7.0
Maven : 1.7.0
Protoc : 2.5.0

----------------------------------------------------------------
[ERROR]
/home/otooi/tajo/incubator-tajo-master/tajo-common/src/main/java/org/apache/tajo/util/Bytes.java:[1074,28]
Unsafe is internal proprietary API and may be removed in a future release
[INFO] 104 errors
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Tajo Main ......................................... SUCCESS [0.704s]
[INFO] Tajo Project POM .................................. SUCCESS [0.468s]
[INFO] Tajo Common ....................................... FAILURE [9.694s]
[INFO] Tajo Algebra ...................................... SKIPPED
[INFO] Tajo Rpc .......................................... SKIPPED
[INFO] Tajo Catalog Common ............................... SKIPPED
[INFO] Tajo Catalog Client ............................... SKIPPED
[INFO] Tajo Catalog Server ............................... SKIPPED
[INFO] Tajo Core Storage ................................. SKIPPED
[INFO] Tajo Core PullServer .............................. SKIPPED
[INFO] Tajo Core Backend ................................. SKIPPED
[INFO] Tajo Core ......................................... SKIPPED
[INFO] Tajo Catalog ...................................... SKIPPED
[INFO] Tajo Distribution ................................. SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 11.764s
[INFO] Finished at: Thu Oct 24 11:43:57 KST 2013
[INFO] Final Memory: 19M/52M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project tajo-common: Compilation failure: Compilation
failure:
[ERROR]
/home/otooi/tajo/incubator-tajo-master/tajo-common/target/generated-sources/proto/org/apache/tajo/util/TestProtos.java:[144,37]
error: cannot find symbol
[ERROR] symbol:   class Parser
[ERROR] location: package com.google.protobuf
[ERROR]
/home/otooi/tajo/incubator-tajo-master/tajo-common/target/generated-sources/proto/org/apache/tajo/util/TestProtos.java:[155,30]
error: cannot find symbol
[ERROR] symbol:   class Parser
.....
-------------------------------------------------------------

Regards,
Jae.

Re: About Tajo build errors

Posted by Jae Lee <ot...@gmail.com>.
It's solved with protoc 2.4.1.

Thank you.


2013/10/24 Hyunsik Choi <hy...@apache.org>

> Hi,
>
> As we mentioned, you should use protoc 2.4.1. Unfortunately, protoc
> 2.5.x is not compatible to 2.4.1. So, there was some issue too in
> hadoop community. In the next release, we will change this to 2.5.0.
>
> Thanks,
> Hyunsik
>
> On Thu, Oct 24, 2013 at 12:08 PM, Jae Lee <ot...@gmail.com> wrote:
> > Hello,
> >
> > I met a error when building Tajo source from git.
> > Could you solve that? Please see below error messages.
> > OS: Centos 6.2
> > Java :  1.7.0
> > Maven : 1.7.0
> > Protoc : 2.5.0
> >
> > ----------------------------------------------------------------
> > [ERROR]
> >
> /home/otooi/tajo/incubator-tajo-master/tajo-common/src/main/java/org/apache/tajo/util/Bytes.java:[1074,28]
> > Unsafe is internal proprietary API and may be removed in a future release
> > [INFO] 104 errors
> > [INFO] -------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > [INFO] Tajo Main ......................................... SUCCESS
> [0.704s]
> > [INFO] Tajo Project POM .................................. SUCCESS
> [0.468s]
> > [INFO] Tajo Common ....................................... FAILURE
> [9.694s]
> > [INFO] Tajo Algebra ...................................... SKIPPED
> > [INFO] Tajo Rpc .......................................... SKIPPED
> > [INFO] Tajo Catalog Common ............................... SKIPPED
> > [INFO] Tajo Catalog Client ............................... SKIPPED
> > [INFO] Tajo Catalog Server ............................... SKIPPED
> > [INFO] Tajo Core Storage ................................. SKIPPED
> > [INFO] Tajo Core PullServer .............................. SKIPPED
> > [INFO] Tajo Core Backend ................................. SKIPPED
> > [INFO] Tajo Core ......................................... SKIPPED
> > [INFO] Tajo Catalog ...................................... SKIPPED
> > [INFO] Tajo Distribution ................................. SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 11.764s
> > [INFO] Finished at: Thu Oct 24 11:43:57 KST 2013
> > [INFO] Final Memory: 19M/52M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> > (default-compile) on project tajo-common: Compilation failure:
> Compilation
> > failure:
> > [ERROR]
> >
> /home/otooi/tajo/incubator-tajo-master/tajo-common/target/generated-sources/proto/org/apache/tajo/util/TestProtos.java:[144,37]
> > error: cannot find symbol
> > [ERROR] symbol:   class Parser
> > [ERROR] location: package com.google.protobuf
> > [ERROR]
> >
> /home/otooi/tajo/incubator-tajo-master/tajo-common/target/generated-sources/proto/org/apache/tajo/util/TestProtos.java:[155,30]
> > error: cannot find symbol
> > [ERROR] symbol:   class Parser
> > .....
> > -------------------------------------------------------------
> >
> > Regards,
> > Jae.
>

Re: About Tajo build errors

Posted by Hyunsik Choi <hy...@apache.org>.
Hi,

As we mentioned, you should use protoc 2.4.1. Unfortunately, protoc
2.5.x is not compatible to 2.4.1. So, there was some issue too in
hadoop community. In the next release, we will change this to 2.5.0.

Thanks,
Hyunsik

On Thu, Oct 24, 2013 at 12:08 PM, Jae Lee <ot...@gmail.com> wrote:
> Hello,
>
> I met a error when building Tajo source from git.
> Could you solve that? Please see below error messages.
> OS: Centos 6.2
> Java :  1.7.0
> Maven : 1.7.0
> Protoc : 2.5.0
>
> ----------------------------------------------------------------
> [ERROR]
> /home/otooi/tajo/incubator-tajo-master/tajo-common/src/main/java/org/apache/tajo/util/Bytes.java:[1074,28]
> Unsafe is internal proprietary API and may be removed in a future release
> [INFO] 104 errors
> [INFO] -------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Tajo Main ......................................... SUCCESS [0.704s]
> [INFO] Tajo Project POM .................................. SUCCESS [0.468s]
> [INFO] Tajo Common ....................................... FAILURE [9.694s]
> [INFO] Tajo Algebra ...................................... SKIPPED
> [INFO] Tajo Rpc .......................................... SKIPPED
> [INFO] Tajo Catalog Common ............................... SKIPPED
> [INFO] Tajo Catalog Client ............................... SKIPPED
> [INFO] Tajo Catalog Server ............................... SKIPPED
> [INFO] Tajo Core Storage ................................. SKIPPED
> [INFO] Tajo Core PullServer .............................. SKIPPED
> [INFO] Tajo Core Backend ................................. SKIPPED
> [INFO] Tajo Core ......................................... SKIPPED
> [INFO] Tajo Catalog ...................................... SKIPPED
> [INFO] Tajo Distribution ................................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 11.764s
> [INFO] Finished at: Thu Oct 24 11:43:57 KST 2013
> [INFO] Final Memory: 19M/52M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project tajo-common: Compilation failure: Compilation
> failure:
> [ERROR]
> /home/otooi/tajo/incubator-tajo-master/tajo-common/target/generated-sources/proto/org/apache/tajo/util/TestProtos.java:[144,37]
> error: cannot find symbol
> [ERROR] symbol:   class Parser
> [ERROR] location: package com.google.protobuf
> [ERROR]
> /home/otooi/tajo/incubator-tajo-master/tajo-common/target/generated-sources/proto/org/apache/tajo/util/TestProtos.java:[155,30]
> error: cannot find symbol
> [ERROR] symbol:   class Parser
> .....
> -------------------------------------------------------------
>
> Regards,
> Jae.