Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
When I tried to build example/trigger on trunk branch, I found that "ant jar" fails with an error like below.
(Sorry for my language settings for ant. I couldn't find how to change it. The error indicated here is a "cannot find symboll" error of RowUpdateBuilder).
Buildfile: /Users/yasuharu/git/cassandra/examples/triggers/build.xml init: [mkdir] Created dir: /Users/yasuharu/git/cassandra/examples/triggers/build/classes build: [javac] Compiling 1 source file to /Users/yasuharu/git/cassandra/examples/triggers/build/classes [javac] 警告: 注釈プロセッサ'org.openjdk.jmh.generators.BenchmarkProcessor'から-source '1.8'より小さいソース・バージョン'RELEASE_6'がサポートされています [javac] /Users/yasuharu/git/cassandra/examples/triggers/src/org/apache/cassandra/triggers/AuditTrigger.java:27: エラー: シンボルを見つけられません [javac] import org.apache.cassandra.db.RowUpdateBuilder; [javac] ^ [javac] シンボル: クラス RowUpdateBuilder [javac] 場所: パッケージ org.apache.cassandra.db [javac] エラー1個 [javac] 警告1個 BUILD FAILED /Users/yasuharu/git/cassandra/examples/triggers/build.xml:45: Compile failed; see the compiler error output for details. Total time: 1 second
I think the movement of RowUpdateBuilder to test has broken this build.
https://github.com/apache/cassandra/commit/26838063de6246e3a1e18062114ca92fb81c00cf
In order to fix this, I moved back RowUpdateBuilder.java to src in my patch.
https://github.com/apache/cassandra/commit/d133eefe9c5fbebd8d389a9397c3948b8c36bd06
Could you please review my patch?