I changed the hbase version in the pom file in the root.

It shows BUILD SUCCESS after running " mvn install:install-file
-Dfile=/users/staff/hustnn/hbase/hbase-0.98.5-hadoop2-bin.tar.gz
-DgroupId=org.apache.hbase -DartifactId=hbase -Dversion=0.98.5-hadoop2
-Dclassifier=bin -Dpackaging=tar.gz"

Then I followed the the README in app-package/hbase and executed "mvn clean
package -DskipTests -Phbase-app-package".

It BUILDs successfully but says the app-hbase-package is not activated,
and I don't find any package in
"app-packages/hbase/target/apache-slider-hbase-${hbase.version}-app-package-${slider.version}.zip"



2014-09-10 22:07 GMT+08:00 Sumit Mohanty <[email protected]>:

> Most likely, the version in the hbase pom file is not matching the one in
> the root.
>
> <version>...</version>
>
> -Sumit
>
> On Wed, Sep 10, 2014 at 6:14 AM, 牛兆捷 <[email protected]> wrote:
>
> > Hi all:
> >
> > I followed the "
> > http://slider.incubator.apache.org/docs/getting_started.html";
> > to create hbase application.
> >
> > I executed " mvn install:install-file
> > -Dfile=/users/staff/hustnn/hbase/hbase-0.98.5-hadoop2-bin.tar.gz
> > -DgroupId=org.apache.hbase -DartifactId=hbase -Dversion=0.98.5-hadoop2
> > -Dclassifier=bin -Dpackaging=tar.gz" in the path
> > "apache-slider-0.40/app-packages/hbase".
> >
> > I met the error like this:
> > [INFO] Scanning for projects...
> > [ERROR] The build could not read 1 project -> [Help 1]
> > [ERROR]
> > [ERROR]   The project
> > org.apache.slider:slider-hbase-app-package:0.31.0-incubating-SNAPSHOT
> >
> (/users/staff/hustnn/hadoop/apache-slider-0.40/app-packages/hbase/pom.xml)
> > has 1 error
> > [ERROR]     Non-resolvable parent POM: Could not find artifact
> > org.apache.slider:slider:pom:0.31.0-incubating-SNAPSHOT and
> > 'parent.relativePath' points at wrong local POM @ line 19, column 11 ->
> > [Help 2]
> > [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/
> > ProjectBuildingException
> > [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/
> > UnresolvableModelException
> >
> > Do you know the reason? Thanks.
> >
> > --
> > *Regards,*
> > *Zhaojie*
> >
>
> --
> CONFIDENTIALITY NOTICE
> NOTICE: This message is intended for the use of the individual or entity to
> which it is addressed and may contain information that is confidential,
> privileged and exempt from disclosure under applicable law. If the reader
> of this message is not the intended recipient, you are hereby notified that
> any printing, copying, dissemination, distribution, disclosure or
> forwarding of this communication is strictly prohibited. If you have
> received this communication in error, please contact the sender immediately
> and delete it from your system. Thank You.
>



-- 
*Regards,*
*Zhaojie*

Reply via email to