Change -D to -P
Thx,Ohad
On Thursday, March 15, 2018, 4:06:22 PM GMT+2, Flavio Junqueira
<[email protected]> wrote:
It was indeed a version issue with protoc. I'm now getting the following error:
$ mvn package -Dhbase-0
...
Reactor Summary:
[INFO]
[INFO] Omid 0.9.0.0 ....................................... SUCCESS [ 0.034 s]
[INFO] Common ............................................. SUCCESS [ 4.744 s]
[INFO] State Machine ...................................... SUCCESS [ 1.075 s]
[INFO] Commit Table ....................................... SUCCESS [ 1.085 s]
[INFO] Metrics ............................................ SUCCESS [ 0.156 s]
[INFO] Transaction Client ................................. SUCCESS [ 1.653 s]
[INFO] HBase Common ....................................... SUCCESS [ 1.481 s]
[INFO] HBase Commit Table ................................. SUCCESS [ 26.825 s]
[INFO] Codahale Metrics ................................... SUCCESS [ 0.137 s]
[INFO] Benchmarks ......................................... SUCCESS [ 2.801 s]
[INFO] Timestamp Storage .................................. SUCCESS [ 16.628 s]
[INFO] HBase tools ........................................ FAILURE [ 0.110 s]
[INFO] TSO and TO Servers ................................. SKIPPED
[INFO] Shims Aggregator for HBase ......................... SKIPPED
[INFO] Shims layer for HBase 0.x .......................... SKIPPED
[INFO] Shims layer for HBase 1.x .......................... SKIPPED
[INFO] HBase Client ....................................... SKIPPED
[INFO] HBase Coprocessors ................................. SKIPPED
[INFO] Omid Client Examples ............................... SKIPPED
[INFO] Omid Packaging 0.9.0.0 ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.118 s
[INFO] Finished at: 2018-03-15T14:59:47+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.5:compile (default-compile) on
project omid-hbase-tools: Compilation failure: Compilation failure:
[ERROR]
/Users/fpj/Downloads/apache-omid-incubating-0.9.0.0-src/hbase-tools/src/main/java/org/apache/omid/tools/hbase/OmidTableManager.java:[33,23]
cannot find symbol
[ERROR] symbol: class HBaseShims
[ERROR] location: package org.apache.omid
[ERROR]
/Users/fpj/Downloads/apache-omid-incubating-0.9.0.0-src/hbase-tools/src/main/java/org/apache/omid/tools/hbase/OmidTableManager.java:[153,13]
cannot find symbol
[ERROR] symbol: variable HBaseShims
[ERROR] location: class org.apache.omid.tools.hbase.OmidTableManager
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :omid-hbase-tools
> On 15 Mar 2018, at 11:06, Ohad Shacham <[email protected]> wrote:
>
> Hi Flavio,
> I can't see your output. Did you install Protobuf 2.5.0?
> Thx,Ohad
> On Thursday, March 15, 2018, 11:56:11 AM GMT+2, Flavio Junqueira
><[email protected]> wrote:
>
> I'm not being able to build from sources, it looks like an issue with protoc.
> Is it a version incompatibility? Output is attached.
>
> -Flavio
>
>
>
>> On 13 Mar 2018, at 20:46, Ohad Shacham <[email protected]> wrote:
>>
>> Add -Phbase-1 to your maven command. It should solve the error.
>>
>>
>> Sent from Yahoo Mail for iPhone
>>
>>
>> On Tuesday, March 13, 2018, 21:43, James Taylor <[email protected]>
>> wrote:
>>
>> Rat check passes when I run "mvn -Prelease_profile -Phbase-1 install" which
>> is good.
>>
>> However, "mvn clean install" fails (on my Mac) with the following error:
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building HBase tools 0.9.0.0
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ omid-hbase-tools
>> ---
>> [INFO] Deleting
>> /Users/jtaylor/dev/apache/apache-omid-incubating-0.9.0.0-src/hbase-tools/target
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>> omid-hbase-tools ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory
>> /Users/jtaylor/dev/apache/apache-omid-incubating-0.9.0.0-src/hbase-tools/src/main/resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:3.5:compile (default-compile) @
>> omid-hbase-tools ---
>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 1 source file to
>> /Users/jtaylor/dev/apache/apache-omid-incubating-0.9.0.0-src/hbase-tools/target/classes
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR]
>> /Users/jtaylor/dev/apache/apache-omid-incubating-0.9.0.0-src/hbase-tools/src/main/java/org/apache/omid/tools/hbase/OmidTableManager.java:[33,23]
>> cannot find symbol
>> symbol: class HBaseShims
>> location: package org.apache.omid
>> [ERROR]
>> /Users/jtaylor/dev/apache/apache-omid-incubating-0.9.0.0-src/hbase-tools/src/main/java/org/apache/omid/tools/hbase/OmidTableManager.java:[153,13]
>> cannot find symbol
>> symbol: variable HBaseShims
>> location: class org.apache.omid.tools.hbase.OmidTableManager
>> [INFO] 2 errors
>>
>>
>> On Tue, Mar 13, 2018 at 2:17 AM, Ohad Shacham <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> I would like to call a vote to release Apache Omid (Incubator) 0.9.0.0,
>>> release candidate #1.
>>> Links to various release artifacts are given below. Please review and vote.
>>>
>>> The vote will be open for at least 72 hours and until necessary number of
>>> votes are reached.
>>> [ ] +1 approve
>>> [ ] +0 no opinion
>>> [ ] -1 disapprove (and reason why)
>>>
>>> Here is my +1
>>>
>>> Release notes for the 0.9.0.0 release:
>>> https://dist.apache.org/repos/dist/dev/incubator/omid/0.9.0.
>>> 0-rc1/RELEASE_NOTES.html
>>>
>>> Git tag for the release:https://git-wip-us.apache.org/repos/asf/
>>> incubator-omid.git/?p=incubator-omid.git;a=tag;h=
>>> 5dd5f86822beb43d08e91d00dd2427b4f130d6c2
>>>
>>> Sources for the release:https://dist.apache.org/repos/dist/dev/incubator/
>>> omid/0.9.0.0-rc1/apache-omid-incubating-0.9.0.0-src.tar.gzSource release
>>> verification: PGP Signature: https://dist.apache.org/repos/
>>> dist/dev/incubator/omid/0.9.0.0-rc1/apache-omid-incubating-
>>> 0.9.0.0-src.tar.gz.ascMD5 Hash: https://dist.apache.org/repos/
>>> dist/dev/incubator/omid/0.9.0.0-rc1/apache-omid-incubating-
>>> 0.9.0.0-src.tar.gz.md5Keys to verify the signature of the release
>>> artifact are available at:https://dist.apache.org/
>>> repos/dist/dev/incubator/omid/0.9.0.0-rc1/KEYS
>>> Thanks,Ohad
>>
>>
>>