Did you run 'mvn install -DskipTests' at the root of slider first ?

Do you mind updating to tip of develop branch if problem persists ?

Cheers

On Wed, Sep 10, 2014 at 8:49 PM, 牛兆捷 <[email protected]> wrote:

> Still the same error:
>
> [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/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
>
> 2014-09-10 20:23 GMT-07:00 Ted Yu <[email protected]>:
>
> > You should run the second command under app-packages/hbase of slider.
> >
> > Cheers
> >
> > On Wed, Sep 10, 2014 at 8:04 PM, 牛兆捷 <[email protected]> wrote:
> >
> > > After running "mvn install:install-file
> > > -Dfile=hbase-0.98.3-hadoop2-bin.tar.gz -DgroupId=org.apache.hbase
> > > -DartifactId=hbase -Dversion=0.98.3-hadoop2 -Dclassifier=bin
> > > -Dpackaging=tar.gz" in hbase workspace, do I further run "mvn clean
> > package
> > > -DskipTests -Phbase-app-package" in root path of slider?
> > >
> > > 2014-09-10 8:16 GMT-07:00 Ted Yu <[email protected]>:
> > >
> > > > Please clone hbase repo and run the command there, not from app-
> > > > packages/hbase.
> > > >
> > > > In tip of develop branch of Slider, the profile hbase-app-package
> uses
> > > file
> > > > copy instead of relying on local maven repo.
> > > >
> > > > Cheers
> > > >
> > > > On Wed, Sep 10, 2014 at 8:07 AM, 牛兆捷 <[email protected]> wrote:
> > > >
> > > > > I executed it in the path apache-slider-0.40/app-packages/hbase.
> > isn't
> > > > it ?
> > > > >
> > > > > 2014-09-10 22:54 GMT+08:00 Ted Yu <[email protected]>:
> > > > >
> > > > > > bq. It shows BUILD SUCCESS after running
> > > > > >
> > > > > > Where did you run the mvn command ? It should be launched from
> > hbase
> > > > > > workspace, not Slider.
> > > > > >
> > > > > > bq. -Dversion=0.98.5-hadoop2
> > > > > >
> > > > > > The above should be -Dhbase.version=0.98.5-hadoop2
> > > > > >
> > > > > > Cheers
> > > > > >
> > > > > > On Wed, Sep 10, 2014 at 7:48 AM, 牛兆捷 <[email protected]> wrote:
> > > > > >
> > > > > > > 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*
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > *Regards,*
> > > > > *Zhaojie*
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > *Regards,*
> > > *Zhaojie*
> > >
> >
>
>
>
> --
> *Regards,*
> *Zhaojie*
>

Reply via email to