Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 227539 Details for
Bug 314895
sys-cluster/apache-hadoop-common (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-cluster/apache-hadoop-common-0.20.2.ebuild
apache-hadoop-common-0.20.2.ebuild (text/plain), 1.24 KB, created by
Tim Cera
on 2010-04-12 22:09:45 UTC
(
hide
)
Description:
sys-cluster/apache-hadoop-common-0.20.2.ebuild
Filename:
MIME Type:
Creator:
Tim Cera
Created:
2010-04-12 22:09:45 UTC
Size:
1.24 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit eutils java-utils-2 > >DESCRIPTION="Software framework for data intensive distributed applications" >HOMEPAGE="http://hadoop.apache.org/" >SRC_URI="mirror://apache/hadoop/core/hadoop-${PV}/hadoop-${PV}.tar.gz" > >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="~amd64 ~x86" >RESTRICT="mirror binchecks" >IUSE="" > >DEPEND="" >RDEPEND=">=virtual/jre-1.6 > net-misc/openssh > net-misc/rsync" > >S=${WORKDIR}/hadoop-${PV} >INSTALL_DIR=/opt/hadoop >export CONFIG_PROTECT="${CONFIG_PROTECT} ${INSTALL_DIR}/conf" > >pkg_setup(){ > enewgroup hadoop > enewuser hadoop -1 /bin/sh /var/lib/hadoop hadoop >} > >src_install() { > # The hadoop-env.sh file needs JAVA_HOME set explicitly > sed -i -e "2iexport JAVA_HOME=${JAVA_HOME}" conf/hadoop-env.sh || die "sed failed" > > dodir "${INSTALL_DIR}" > mv "${S}"/* "${D}${INSTALL_DIR}" || die "install failed" > chown -Rf hadoop:hadoop "${D}${INSTALL_DIR}" > > # env file > cat > 99hadoop <<-EOF > HADOOP_HOME=${INSTALL_DIR} > PATH=${INSTALL_DIR}/bin > CONFIG_PROTECT=${INSTALL_DIR}/conf > EOF > doenvd 99hadoop || die "doenvd failed" >} > >pkg_postinst() { > elog "For info on configuration see http://hadoop.apache.org/core/docs/r${PV}" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 314895
: 227539