Bug 207549 - [patch] databases/hbase: Update to 1.2.0
Summary: [patch] databases/hbase: Update to 1.2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Sivachenko
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-02-28 03:15 UTC by Kevin Bowling
Modified: 2016-03-19 22:02 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (demon)


Attachments
hbase 1.2.0 patch (8.48 KB, patch)
2016-02-28 03:15 UTC, Kevin Bowling
no flags Details | Diff
hbase 1.2.0 patch JDK7 (8.20 KB, patch)
2016-02-28 06:33 UTC, Kevin Bowling
kbowling: maintainer-approval? (demon)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Bowling freebsd_committer freebsd_triage 2016-02-28 03:15:19 UTC
Created attachment 167493 [details]
hbase 1.2.0 patch

Minor rev of 1.x stable branch.. to me exciting we might be able to use the ports default JDK8 now as it is officially supported by HBase and remove some hacks from the port and potential permgen issues I occasionally saw building with JDK7.  There are some nice features like region normalizer https://issues.apache.org/jira/browse/HBASE-13103.  Change log: https://github.com/apache/hbase/blob/rel/1.2.0/CHANGES.txt#L3

I need to confirm run depends with native hadoop library DTRT since we use hadoop.jar from system.  Testing and comments welcome, we can always fall back to JDK7 hacks.
Comment 1 Kevin Bowling freebsd_committer freebsd_triage 2016-02-28 06:33:36 UTC
Created attachment 167499 [details]
hbase 1.2.0 patch JDK7

Fall back to JDK7, I think hadoop2 port would need to come along for the JDK8 ride the way things are currently set up.
Comment 2 Kevin Bowling freebsd_committer freebsd_triage 2016-02-28 07:33:41 UTC
Ok, I've completed live testing.  The second JDK7 patch is safe.  The other one can introduce opaque problems where native is used, for instance I had some LZ4 tables and HBase running on JDK8 could not use the Hadoop2 JDK7 build for that.  I would advise applying the JDK7 of my patch until we can figure out how to move hadoop2 to JDK8.
Comment 3 Dmitry Sivachenko freebsd_committer freebsd_triage 2016-03-13 13:30:28 UTC
Apache's site lists 1.1.3 as stable.  Why to update to 1.2?
Comment 4 Kevin Bowling freebsd_committer freebsd_triage 2016-03-14 08:25:27 UTC
If you are just talking about the symlink in FTP that is an oversight.  The next notable release will be 2.0 which should have a port copy, otherwise we should closely follow the minor versions.
Comment 5 Kevin Bowling freebsd_committer freebsd_triage 2016-03-19 17:53:19 UTC
Please commit this is a solid release with no serious regressions from 1.1
Comment 6 commit-hook freebsd_committer freebsd_triage 2016-03-19 22:02:04 UTC
A commit references this bug:

Author: demon
Date: Sat Mar 19 22:01:44 UTC 2016
New revision: 411424
URL: https://svnweb.freebsd.org/changeset/ports/411424

Log:
  Update to version 1.2.0

  PR:		207549
  Submitted by:	Kevin Bowling <kbowling@freebsd.org>

Changes:
  head/databases/hbase/Makefile
  head/databases/hbase/distinfo
  head/databases/hbase/files/extra-patch-hbase-annotations-pom.xml
  head/databases/hbase/pkg-plist
Comment 7 Dmitry Sivachenko freebsd_committer freebsd_triage 2016-03-19 22:02:29 UTC
Port updated.
Thanks for submission and sorry for the delay!