I think I know what is going on. The Phoenix POM defines the property
"snappy.version", and sets it to "0.3", this is the version of
org.iq80.snappy we want. However, I bet the Bigtop build scaffold launches
the Phoenix build with "snappy.version" set to "1.0.4.1". We should
probably fix that with a Bigtop JIRA.


On Mon, Dec 15, 2014 at 6:16 AM, Chabot, Jerry <jerry.p.cha...@hp.com>
wrote:

>  I have an Apache BigTop VM setup. I verified I could build Apache
> Phoenix 4.2.1. But, it fails after I change the version number to 4.2.2.  I
> changed the /usr/src/bigtop/bigtop.mk  in two places.
>
>
>
> # Phoenix
>
> PHOENIX_NAME=phoenix
>
> PHOENIX_RELNOTES_NAME=Phoenix: A SQL skin over HBase
>
> PHOENIX_PKG_NAME=phoenix
>
> PHOENIX_BASE_VERSION=*4.2.2*
>
> PHOENIX_PKG_VERSION=*4.2.2*
>
> PHOENIX_RELEASE_VERSION=1
>
> PHOENIX_TARBALL_DST=phoenix-$(PHOENIX_BASE_VERSION)-src.tar.gz
>
> PHOENIX_TARBALL_SRC=$(PHOENIX_TARBALL_DST)
>
> PHOENIX_DOWNLOAD_PATH=/phoenix/phoenix-$(PHOENIX_BASE_VERSION)/src/
>
> PHOENIX_SITE=$(APACHE_MIRROR)$(PHOENIX_DOWNLOAD_PATH)
>
> PHOENIX_ARCHIVE=$(APACHE_ARCHIVE)$(PHOENIX_DOWNLOAD_PATH)
>
> $(eval $(call PACKAGE,phoenix,PHOENIX))
>
>
>
> When I build using the command line I get this error:
>
>
>
> [INFO]
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Building Apache Phoenix 4.2.2
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO]
>
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ phoenix ---
>
> [INFO]
>
> [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix
> ---
>
> [INFO]
>
> [INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @
> phoenix ---
>
> [INFO]
>
> [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ phoenix ---
>
> [WARNING] JAR will be empty - no content was marked for inclusion!
>
> [INFO] Building jar:
> /usr/src/bigtop/build/phoenix/rpm/BUILD/phoenix-4.2.2-src/target/phoenix-4.2.2-tests.jar
>
> [INFO]
>
> [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @
> phoenix ---
>
> [INFO]
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Building Phoenix Core 4.2.2
>
> [INFO]
> ------------------------------------------------------------------------
>
> [WARNING] The POM for org.iq80.snappy:snappy:jar:1.0.4.1 is missing, no
> dependency information available
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Reactor Summary:
>
> [INFO]
>
> [INFO] Apache Phoenix .................................... SUCCESS [4.173s]
>
> [INFO] Phoenix Core ...................................... FAILURE [2.799s]
>
> [INFO] Phoenix - Flume ................................... SKIPPED
>
> [INFO] Phoenix - Pig ..................................... SKIPPED
>
> [INFO] Phoenix Assembly .................................. SKIPPED
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 7.834s
>
> [INFO] Finished at: Mon Dec 15 14:13:38 UTC 2014
>
> [INFO] Final Memory: 20M/289M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] Failed to execute goal on project phoenix-core: Could not resolve
> dependencies for project org.apache.phoenix:phoenix-core:jar:4.2.2: Failure
> to find org.iq80.snappy:snappy:jar:1.0.4.1 in
> https://repository.apache.org/content/repositories/releases/ was cached
> in the local repository, resolution will not be reattempted until the
> update interval of apache release has elapsed or updates are forced ->
> [Help 1]
>
> [ERROR]
>
>
>
> I am new to using BigTop. Is there another setting I need to configure?
>
>
>
> -Jerry
>
>
>



-- 
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)

Reply via email to