Jinho Kim created TAJO-808:
------------------------------
Summary: Fix pre-commit build failure
Key: TAJO-808
URL: https://issues.apache.org/jira/browse/TAJO-808
Project: Tajo
Issue Type: Bug
Components: build
Reporter: Jinho Kim
Assignee: Jinho Kim
Priority: Trivial
Attachments: TAJO-808.patch
if a protocol buffer idl modifed, target directories should be cleaned
{noformat}
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Tajo Catalog Common 0.9.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (default) @ tajo-catalog-common ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run
(create-protobuf-generated-sources-directory) @ tajo-catalog-common ---
[INFO] Executing tasks
main:
[INFO] Executed tasks
[INFO]
[INFO] --- exec-maven-plugin:1.2:exec (generate-sources) @ tajo-catalog-common
---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:add-source (add-source) @
tajo-catalog-common ---
[INFO] Source directory:
/home/jenkins/jenkins-slave/workspace/PreCommit-TAJO-Build/incubator-tajo/tajo-catalog/tajo-catalog-common/target/generated-sources/proto
added.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @
tajo-catalog-common ---
[INFO]
[INFO] --- maven-resources-plugin:2.2:resources (default-resources) @
tajo-catalog-common ---
[INFO] Using default encoding to copy filtered resources.
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
tajo-catalog-common ---
[INFO] Compiling 1 source file to
/home/jenkins/jenkins-slave/workspace/PreCommit-TAJO-Build/incubator-tajo/tajo-catalog/tajo-catalog-common/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/home/jenkins/jenkins-slave/workspace/PreCommit-TAJO-Build/incubator-tajo/tajo-catalog/tajo-catalog-common/target/generated-sources/proto/org/apache/tajo/catalog/proto/CatalogProtos.java:[4126,55]
cannot find symbol
symbol : class KeyValueSetProto
location: class org.apache.tajo.rpc.protocolrecords.PrimitiveProtos
[ERROR]
/home/jenkins/jenkins-slave/workspace/PreCommit-TAJO-Build/incubator-tajo/tajo-catalog/tajo-catalog-common/target/generated-sources/proto/org/apache/tajo/catalog/proto/CatalogProtos.java:[4130,55]
cannot find symbol
symbol : class KeyValueSetProtoOrBuilder
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)