Thanks.

Could you provide the develop version link ?

2014-09-10 21:47 GMT-07:00 Ted Yu <[email protected]>:

> In step #3, can you run 'mvn clean install -DskipTests' ?
>
> Again 0.31.0 was old, can you sync to tip of develop ?
>
> Cheers
>
> On Wed, Sep 10, 2014 at 9:38 PM, 牛兆捷 <[email protected]> wrote:
>
> > The complete steps I do:
> >
> > 1. download the hbase-0.98.3 src and build it with "mvn clean install
> > assembly:single -DskipTests -Dmaven.javadoc.skip=true", (I change the
> > hadoop version in pom.xml of hbase to 2.5.0)
> >
> > 2. Install hbase in local repo like this " mvn install:install-file
> > -Dfile=hbase-assembly/target/hbase-0.98.3-bin.tar.gz
> > -DgroupId=org.apache.hbase -DartifactId=hbase -Dversion=0.98.3
> > -Dclassifier=bin -Dpackaging=tar.gz" in hbase workspace
> >
> > 3. I found the hbase-0.98.3-bin.tar.gz in local repo
> > (~/.m2/repository/org/apache/hbase/hbase/0.98.3)
> >
> > 4. Go to the slider root path and build it with "mvn clean site:site
> > site:stage package -DskipTests"
> >
> > 5. Some changes in the pom.xml in slider root path. I change all
> > "hbase.version" tag in pom.xml to 0.98.3.
> >
> > 6. Go into app-package/hbase and run "mvn clean package -DskipTests
> > -Phbase-app-package"
> >
> > Get 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
> >
> > Is there any mistakes for my operations?
> >
> > 2014-09-10 20:58 GMT-07:00 Ted Yu <[email protected]>:
> >
> > > bq. I can execute anywhere
> > >
> > > I don't think so.
> > > Such confusion is partly the reason why hbase-app-package profile has
> > been
> > > changed to copy hbase tar ball without resorting to local maven repo.
> > >
> > > On Wed, Sep 10, 2014 at 8:53 PM, 牛兆捷 <[email protected]> wrote:
> > >
> > > > @ted Yu
> > > >
> > > > "Please clone hbase repo and run the command there, not from app-
> > > > packages/hbase".
> > > >
> > > > mvn install:install-file just install the
> > > hbase-0.98.5-hadoop2-bin.tar.gz I
> > > > download into local maven repo, So I think I can execute anywhere,
> who
> > > do I
> > > > need to run the command in hbase repo ?
> > > >
> > > >
> > > >
> > > > 2014-09-10 20:49 GMT-07:00 牛兆捷 <[email protected]>:
> > > >
> > > > > 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*
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > *Regards,*
> > > > *Zhaojie*
> > > >
> > >
> >
> >
> >
> > --
> > *Regards,*
> > *Zhaojie*
> >
>



-- 
*Regards,*
*Zhaojie*

Reply via email to