diff options
author | demon <demon@FreeBSD.org> | 2014-07-02 15:26:12 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2014-07-02 15:26:12 +0800 |
commit | 28538221aa739a75733b638ebb15778150af1e29 (patch) | |
tree | b33f33856008da4e3882d8969579721671b94ddb /devel | |
parent | ddcd68c8239a1fd1f5c8a00161ed0c3bf61757b6 (diff) | |
download | freebsd-ports-gnome-28538221aa739a75733b638ebb15778150af1e29.tar.gz freebsd-ports-gnome-28538221aa739a75733b638ebb15778150af1e29.tar.zst freebsd-ports-gnome-28538221aa739a75733b638ebb15778150af1e29.zip |
With jetty-6.1.26 tasktracker's threads hung with the following error:
org.mortbay.io.nio.SelectorManager$SelectSet@abdcc1c JVM BUG(s) - injecting delay 59 times
Downgrade jetty to 6.1.14 to avoid this.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/hadoop/Makefile | 9 | ||||
-rw-r--r-- | devel/hadoop/distinfo | 2 | ||||
-rw-r--r-- | devel/hadoop/pkg-plist | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/devel/hadoop/Makefile b/devel/hadoop/Makefile index a63363f25fb3..6597a747049f 100644 --- a/devel/hadoop/Makefile +++ b/devel/hadoop/Makefile @@ -5,10 +5,12 @@ PORTNAME= hadoop PORTVERSION= 1.2.1 PORTREVISION= 1 CATEGORIES= devel java -MASTER_SITES= ${MASTER_SITE_APACHE} +MASTER_SITES= ${MASTER_SITE_APACHE} \ + http://dist.codehaus.org/jetty/jetty-6.1.14/:jetty MASTER_SITE_SUBDIR= ${PORTNAME}/core/${PORTNAME}-${PORTVERSION} PKGNAMEPREFIX= apache- DIST_SUBDIR= hadoop +DISTFILES+= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} jetty-6.1.14.zip:jetty MAINTAINER= demon@FreeBSD.org COMMENT= Apache Map/Reduce framework @@ -93,6 +95,11 @@ post-patch: .for d in ${FIX_DOCS} @${TOUCH} ${WRKSRC}/${d}/.empty .endfor +# With jetty-6.1.26 tasktracker's threads hung with the following error: +# org.mortbay.io.nio.SelectorManager$SelectSet@abdcc1c JVM BUG(s) - injecting delay 59 times +# See https://issues.apache.org/jira/browse/MAPREDUCE-2386 + ${RM} ${WRKSRC}/lib/jetty-6.1.26.jar ${WRKSRC}/lib/jetty-util-6.1.26.jar + ${CP} ${WRKDIR}/jetty-6.1.14/lib/jetty-6.1.14.jar ${WRKDIR}/jetty-6.1.14/lib/jetty-util-6.1.14.jar ${WRKSRC}/lib/ post-build: @cd ${WRKSRC} ;${ANT} FreeBSD-dist diff --git a/devel/hadoop/distinfo b/devel/hadoop/distinfo index 147de742c93a..1647e3220041 100644 --- a/devel/hadoop/distinfo +++ b/devel/hadoop/distinfo @@ -1,2 +1,4 @@ SHA256 (hadoop/hadoop-1.2.1.tar.gz) = 94a1181771f173bdb55c8f901722825866396091f0516bdd12b34dc3de1706a1 SIZE (hadoop/hadoop-1.2.1.tar.gz) = 63851630 +SHA256 (hadoop/jetty-6.1.14.zip) = ce8a9cf74c7f3a0099438f33b3adcef07d82347d3d67359da2116660e1571187 +SIZE (hadoop/jetty-6.1.14.zip) = 24903728 diff --git a/devel/hadoop/pkg-plist b/devel/hadoop/pkg-plist index 17d167847d87..5681a0875ee9 100644 --- a/devel/hadoop/pkg-plist +++ b/devel/hadoop/pkg-plist @@ -193,8 +193,8 @@ bin/hadoop %%DATADIR%%/lib/jersey-json-1.8.jar %%DATADIR%%/lib/jersey-server-1.8.jar %%DATADIR%%/lib/jets3t-0.6.1.jar -%%DATADIR%%/lib/jetty-6.1.26.jar -%%DATADIR%%/lib/jetty-util-6.1.26.jar +%%DATADIR%%/lib/jetty-6.1.14.jar +%%DATADIR%%/lib/jetty-util-6.1.14.jar %%DATADIR%%/lib/jsch-0.1.42.jar %%DATADIR%%/lib/junit-4.5.jar %%DATADIR%%/lib/kfs-0.2.2.jar |