You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2013/05/28 23:41:54 UTC
[1/2] git commit: BIGTOP-988. HCatalog does not launch daemon process
in a known directory.
Updated Branches:
refs/heads/master c522543f2 -> 06c13330f
BIGTOP-988. HCatalog does not launch daemon process in a known directory.
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/67e0e85e
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/67e0e85e
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/67e0e85e
Branch: refs/heads/master
Commit: 67e0e85ecb8b32c67f86d5f8b28ce76487ceb607
Parents: c522543
Author: Sean Mackrory <ma...@gmail.com>
Authored: Mon May 13 17:44:55 2013 -0700
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Tue May 28 14:09:33 2013 -0700
----------------------------------------------------------------------
.../src/common/hcatalog/hcatalog-server.svc | 1 +
.../src/common/hcatalog/webhcat-server.svc | 1 +
bigtop-packages/src/templates/init.d.tmpl | 3 ++-
3 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/67e0e85e/bigtop-packages/src/common/hcatalog/hcatalog-server.svc
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hcatalog/hcatalog-server.svc b/bigtop-packages/src/common/hcatalog/hcatalog-server.svc
index cd6d2b7..2b67904 100644
--- a/bigtop-packages/src/common/hcatalog/hcatalog-server.svc
+++ b/bigtop-packages/src/common/hcatalog/hcatalog-server.svc
@@ -20,3 +20,4 @@ DAEMON_FLAGS=""
CONF_DIR="/etc/hcatalog/conf"
# FIXME: HCATALOG-636
PIDFILE="/var/run/hcatalog/hcat.pid"
+WORKING_DIR="/var/run/hcatalog"
http://git-wip-us.apache.org/repos/asf/bigtop/blob/67e0e85e/bigtop-packages/src/common/hcatalog/webhcat-server.svc
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hcatalog/webhcat-server.svc b/bigtop-packages/src/common/hcatalog/webhcat-server.svc
index aff2a4d..6e54c55 100644
--- a/bigtop-packages/src/common/hcatalog/webhcat-server.svc
+++ b/bigtop-packages/src/common/hcatalog/webhcat-server.svc
@@ -20,3 +20,4 @@ DAEMON_FLAGS=""
CONF_DIR="/etc/webhcat/conf"
# FIXME: HCATALOG-636
PIDFILE="/var/run/hcatalog/webhcat.pid"
+WORKING_DIR="/var/run/hcatalog"
http://git-wip-us.apache.org/repos/asf/bigtop/blob/67e0e85e/bigtop-packages/src/templates/init.d.tmpl
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/templates/init.d.tmpl b/bigtop-packages/src/templates/init.d.tmpl
index 4801326..037b3ed 100644
--- a/bigtop-packages/src/templates/init.d.tmpl
+++ b/bigtop-packages/src/templates/init.d.tmpl
@@ -83,7 +83,7 @@ start() {
[ -d $CONF_DIR ] || exit $ERROR_PROGRAM_NOT_CONFIGURED
log_success_msg "Starting ${DESC}: "
- su -s /bin/bash $SVC_USER -c "$EXEC_PATH --config '$CONF_DIR' start $DAEMON_FLAGS"
+ su -s /bin/bash $SVC_USER -c "cd $WORKING_DIR && $EXEC_PATH --config '$CONF_DIR' start $DAEMON_FLAGS"
# Some processes are slow to start
sleep $SLEEP_TIME
@@ -218,6 +218,7 @@ CONF_DIR="$CONF_DIR"
PIDFILE="$PIDFILE"
LOCKDIR="/var/lock/subsys"
LOCKFILE="\$LOCKDIR/$DAEMON"
+WORKING_DIR="${WORKING_DIR:-~/}"
install -d -m 0755 -o $SVC_USER -g $SVC_USER $(dirname $PIDFILE) 1>/dev/null 2>&1 || :
[ -d "\$LOCKDIR" ] || install -d -m 0755 \$LOCKDIR 1>/dev/null 2>&1 || :
[2/2] git commit: Trying Hadoop 2.0.4.1 RC0
Posted by rv...@apache.org.
Trying Hadoop 2.0.4.1 RC0
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/06c13330
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/06c13330
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/06c13330
Branch: refs/heads/master
Commit: 06c13330f60bf7afd851e2a57aacc5e505fbe378
Parents: 67e0e85
Author: Roman Shaposhnik <rv...@cloudera.com>
Authored: Tue May 28 14:11:58 2013 -0700
Committer: Roman Shaposhnik <rv...@cloudera.com>
Committed: Tue May 28 14:11:58 2013 -0700
----------------------------------------------------------------------
bigtop.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bigtop/blob/06c13330/bigtop.mk
----------------------------------------------------------------------
diff --git a/bigtop.mk b/bigtop.mk
index 66ac97f..740b99d 100644
--- a/bigtop.mk
+++ b/bigtop.mk
@@ -18,7 +18,7 @@ BIGTOP_VERSION=0.6.0
# Hadoop 0.20.0-based hadoop package
HADOOP_NAME=hadoop
HADOOP_RELNOTES_NAME=Apache Hadoop
-HADOOP_BASE_VERSION=2.0.4.1-SNAPSHOT
+HADOOP_BASE_VERSION=2.0.4.1-alpha
HADOOP_PKG_VERSION=2.0.4
HADOOP_RELEASE_VERSION=1
HADOOP_TARBALL_DST=$(HADOOP_NAME)-$(HADOOP_BASE_VERSION).tar.gz
@@ -26,7 +26,7 @@ HADOOP_TARBALL_SRC=$(HADOOP_NAME)-$(HADOOP_BASE_VERSION)-src.tar.gz
HADOOP_DOWNLOAD_PATH=/hadoop/common/$(HADOOP_NAME)-$(HADOOP_BASE_VERSION)
#HADOOP_SITE=$(APACHE_MIRROR)$(HADOOP_DOWNLOAD_PATH)
#HADOOP_ARCHIVE=$(APACHE_ARCHIVE)$(HADOOP_DOWNLOAD_PATH)
-HADOOP_SITE=https://builds.apache.org/view/H-L/view/Hadoop/job/Hadoop-branch-2.0.4/lastSuccessfulBuild/artifact/branch-2.0.4/hadoop-dist/target
+HADOOP_SITE=http://people.apache.org/~cos/hadoop-2.0.4.1-alpha-rc0/
HADOOP_ARCHIVE=$(HADOOP_SITE)
$(eval $(call PACKAGE,hadoop,HADOOP))