You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "sai soma kala kalidindi (JIRA)" <ji...@apache.org> on 2016/08/25 21:36:20 UTC

[jira] [Created] (BIGTOP-2520) Bigtop 1.1 can not build Phoenix 4.7 rpm with habse version 0.98

sai soma kala kalidindi created BIGTOP-2520:
-----------------------------------------------

             Summary: Bigtop 1.1 can not build Phoenix 4.7 rpm with habse version 0.98 
                 Key: BIGTOP-2520
                 URL: https://issues.apache.org/jira/browse/BIGTOP-2520
             Project: Bigtop
          Issue Type: Bug
            Reporter: sai soma kala kalidindi
            Priority: Critical


I have checkout the code for bigtop 1.1 and I have changed bigtop.bom file and root pom.xml to have habse version to 0.98. Tried to build the rpm and it failed building the phoenix-core phase. 

 I was able to get past most of the errors by following below git check in, which shows the changes that got made when bumping up the hbase version from 0.98 to 1.1 in bigtop .
https://github.com/apache/bigtop/pull/49/files

 This has gotten rid of few errors. But I still see below error. How do I resolve below error?
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /usr/src/bt4/bigtop/build/phoenix/rpm/BUILD/phoenix-4.7.0-HBase-0.98-src/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java:[151,112] cannot find symbol
  symbol:   method renewLease()
  location: class org.apache.hadoop.hbase.client.AbstractClientScanner
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Phoenix ..................................... SUCCESS [  2.433 s]
[INFO] Phoenix Core ....................................... FAILURE [ 23.914 s]
[INFO] Phoenix - Flume .................................... SKIPPED
[INFO] Phoenix - Pig ...................................... SKIPPED
[INFO] Phoenix Query Server Client ........................ SKIPPED
[INFO] Phoenix Query Server ............................... SKIPPED
[INFO] Phoenix - Pherf .................................... SKIPPED
[INFO] Phoenix - Spark .................................... SKIPPED
[INFO] Phoenix Assembly ................................... SKIPPED
[INFO] Phoenix - Tracing Web Application .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26.817 s
[INFO] Finished at: 2016-08-25T21:28:53+00:00
[INFO] Final Memory: 52M/400M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project phoenix-core: Compilation failure
[ERROR] /usr/src/bt4/bigtop/build/phoenix/rpm/BUILD/phoenix-4.7.0-HBase-0.98-src/phoenix-core/src/main/java/org/apache/phoenix/iterate/TableResultIterator.java:[151,112] cannot find symbol
[ERROR] symbol:   method renewLease()
[ERROR] location: class org.apache.hadoop.hbase.client.AbstractClientScanner
[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 :phoenix-core


RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.tSeSF3 (%build)
    Bad exit status from /var/tmp/rpm-tmp.tSeSF3 (%build)
:phoenix-rpm FAILED
:phoenix-rpm (Thread[Daemon worker Thread 13,5,main]) completed. Took 32.567 secs.

FAILURE: Build failed with an exception.

* Where:
Script '/usr/src/bt4/bigtop/packages.gradle' line: 429

* What went wrong:
Execution failed for task ':phoenix-rpm'.
> Process 'command 'rpmbuild'' finished with non-zero exit value 1

* Try:
Run with --debug option to get more log output.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':phoenix-rpm'.







--
This message was sent by Atlassian JIRA
(v6.3.4#6332)