I think I fixed that by using ./dev-support/generate-hadoopX-poms.sh when building hbase. I can't remember if that did the trick or not...
On Mon, Mar 31, 2014 at 10:51 AM, Stack <st...@duboce.net> wrote: > +1 > > Checked the src bundle hash. Checked layout and file contents. Looks > good. Tried building and ran into the problem that there is no > hbase-0.98.1 available yet so installed the RC3 locally then built against > the hadoop2 profile. Why no bundled docs dir? I tried to create the > package letting unit tests run by doing this: > > $ mvn package -Phadoop-2 > > ... but it failed with this: > > > testAddRemoveSingleRegion(org.apache.phoenix.hbase.index.write.recovery.TestPerRegionIndexWriteCache) > Time elapsed: 0.009 sec <<< ERROR! > java.lang.RuntimeException: Could not create interface > org.apache.hadoop.hbase.regionserver.wal.MetricsWALSource Is the hadoop > compatibility jar on the classpath? > at org.apache.hadoop.metrics2.lib.Interns$Tags$1.newValue(Interns.java:140) > at org.apache.hadoop.metrics2.lib.Interns$Tags$1.newValue(Interns.java:129) > at > org.apache.hadoop.metrics2.lib.Interns$CacheWith2Keys.add(Interns.java:80) > at org.apache.hadoop.metrics2.lib.Interns.tag(Interns.java:152) > .... > > Why is that when I specified the hadoop-2 profile building? > > I skipped running tests and package build succeeded. > > I installed the built jar under hbase cluster and restarted. Ran some > queries against a phoenix created table. All seemed to basically work. > > Doing a select * from SYSTEM.CATALOG returned rows from SYSTEM.SEQUENCE? > > St.Ack > > > > > > > > > > > On Fri, Mar 28, 2014 at 2:00 PM, James Taylor <jamestay...@apache.org > >wrote: > > > Hi everyone, > > This is a call for a vote on Apache Phoenix 4.0.0 incubating RC3. This is > > the next major release of Phoenix compatible with the 0.98 branch of > Apache > > HBase (0.98.1+) and will be our third release in the incubator. The > > previous RC was sunk due to some errors in the NOTICE and LICENSE files > and > > a potential connection leak bug. This new RC fixes those issues. The > > release includes both a source-only release and a convenience binary > > release. > > > > The 4.0.0 release has feature parity with our pending 3.0.0 release. New > > features include: > > - Equi-joins through broadcast hash join > > - Shared tables over same physical HBase table > > - Read-only and updatable views > > - Multi-tenancy > > - JDBC ARRAY type > > - Sequence creation and usage > > > > The source tarball, including signatures, digests, etc can be found at: > > > > > https://dist.apache.org/repos/dist/dev/incubator/phoenix/phoenix-4.0.0-incubating-rc3/src/ > > > > The binary artifacts can be found at: > > > > > https://dist.apache.org/repos/dist/dev/incubator/phoenix/phoenix-4.0.0-incubating-rc3/bin/ > > > > Release artifacts are signed with the following key: > > https://people.apache.org/keys/committer/mujtaba.asc > > > > KEYS file available here: > > https://dist.apache.org/repos/dist/release/incubator/phoenix/KEYS > > > > The hash and tag to be voted on: > > > > > https://git-wip-us.apache.org/repos/asf?p=incubator-phoenix.git;a=commit;h=4d90a49dd375da984a9db195d517ef26166745f0 > > > > > https://git-wip-us.apache.org/repos/asf?p=incubator-phoenix.git;a=tag;h=refs/tags/v4.0.0-incubating-rc3 > > > > For information about the contents of this release see: > > > > > https://git-wip-us.apache.org/repos/asf?p=incubator-phoenix.git;a=log;h=refs/tags/v4.0.0-incubating-rc3 > > > > Vote will be open for at least 72 hours. Please vote: > > > > [ ] +1 approve > > [ ] +0 no opinion > > [ ] -1 disapprove (and reason why) > > > > Thanks, > > The Apache Phoenix Team > > > -- Dan Di Spaltro