bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mackror...@apache.org
Subject [2/2] git commit: BIGTOP-1401: Create man pages for YARN, HDFS and MAPRED.
Date Tue, 19 Aug 2014 01:21:44 GMT
BIGTOP-1401: Create man pages for YARN, HDFS and MAPRED.


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/e9771e61
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/e9771e61
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/e9771e61

Branch: refs/heads/master
Commit: e9771e6137abe00e16cd665cbaf5ab25007c04ae
Parents: 5b74d0f
Author: Mani Narayan <nmani96@gmail.com>
Authored: Mon Aug 18 16:40:55 2014 -0700
Committer: Sean Mackrory <mackrorysd@apache.org>
Committed: Mon Aug 18 19:20:57 2014 -0600

----------------------------------------------------------------------
 bigtop-packages/src/common/hadoop/hdfs.1            | 1 +
 bigtop-packages/src/common/hadoop/install_hadoop.sh | 6 ++++--
 bigtop-packages/src/common/hadoop/mapred.1          | 1 +
 bigtop-packages/src/common/hadoop/yarn.1            | 1 +
 bigtop-packages/src/deb/hadoop/hadoop.install       | 3 +++
 bigtop-packages/src/deb/hadoop/hadoop.manpages      | 3 +++
 bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec    | 6 ++++++
 7 files changed, 19 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/e9771e61/bigtop-packages/src/common/hadoop/hdfs.1
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hadoop/hdfs.1 b/bigtop-packages/src/common/hadoop/hdfs.1
new file mode 100644
index 0000000..2a185f1
--- /dev/null
+++ b/bigtop-packages/src/common/hadoop/hdfs.1
@@ -0,0 +1 @@
+.so man1/hadoop.1

http://git-wip-us.apache.org/repos/asf/bigtop/blob/e9771e61/bigtop-packages/src/common/hadoop/install_hadoop.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hadoop/install_hadoop.sh b/bigtop-packages/src/common/hadoop/install_hadoop.sh
index 44f3a00..357f17c 100755
--- a/bigtop-packages/src/common/hadoop/install_hadoop.sh
+++ b/bigtop-packages/src/common/hadoop/install_hadoop.sh
@@ -309,8 +309,10 @@ cp -r ${BUILD_DIR}/share/doc/* ${DOC_DIR}/
 
 # man pages
 mkdir -p $MAN_DIR/man1
-gzip -c < $DISTRO_DIR/hadoop.1 > $MAN_DIR/man1/hadoop.1.gz
-chmod 644 $MAN_DIR/man1/hadoop.1.gz
+for manpage in hadoop hdfs yarn mapred; do
+	gzip -c < $DISTRO_DIR/$manpage.1 > $MAN_DIR/man1/$manpage.1.gz
+	chmod 644 $MAN_DIR/man1/$manpage.1.gz
+done
 
 # HTTPFS
 install -d -m 0755 ${HTTPFS_DIR}/sbin

http://git-wip-us.apache.org/repos/asf/bigtop/blob/e9771e61/bigtop-packages/src/common/hadoop/mapred.1
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hadoop/mapred.1 b/bigtop-packages/src/common/hadoop/mapred.1
new file mode 100644
index 0000000..2a185f1
--- /dev/null
+++ b/bigtop-packages/src/common/hadoop/mapred.1
@@ -0,0 +1 @@
+.so man1/hadoop.1

http://git-wip-us.apache.org/repos/asf/bigtop/blob/e9771e61/bigtop-packages/src/common/hadoop/yarn.1
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hadoop/yarn.1 b/bigtop-packages/src/common/hadoop/yarn.1
new file mode 100644
index 0000000..2a185f1
--- /dev/null
+++ b/bigtop-packages/src/common/hadoop/yarn.1
@@ -0,0 +1 @@
+.so man1/hadoop.1

http://git-wip-us.apache.org/repos/asf/bigtop/blob/e9771e61/bigtop-packages/src/deb/hadoop/hadoop.install
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hadoop/hadoop.install b/bigtop-packages/src/deb/hadoop/hadoop.install
index 38b6286..2700cb6 100644
--- a/bigtop-packages/src/deb/hadoop/hadoop.install
+++ b/bigtop-packages/src/deb/hadoop/hadoop.install
@@ -19,3 +19,6 @@
 /usr/lib/hadoop/bin
 /usr/bin/hadoop
 /usr/share/man/man1/hadoop.1.*
+/usr/share/man/man1/hdfs.1.*
+/usr/share/man/man1/yarn.1.*
+/usr/share/man/man1/mapred.1.*

http://git-wip-us.apache.org/repos/asf/bigtop/blob/e9771e61/bigtop-packages/src/deb/hadoop/hadoop.manpages
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/deb/hadoop/hadoop.manpages b/bigtop-packages/src/deb/hadoop/hadoop.manpages
index 5ba7b9e..0529886 100644
--- a/bigtop-packages/src/deb/hadoop/hadoop.manpages
+++ b/bigtop-packages/src/deb/hadoop/hadoop.manpages
@@ -1 +1,4 @@
 debian/hadoop.1
+debian/hdfs.1
+debian/yarn.1
+debian/mapred.1

http://git-wip-us.apache.org/repos/asf/bigtop/blob/e9771e61/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
index 963a43b..e96d33b 100644
--- a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
+++ b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
@@ -165,6 +165,9 @@ Source22: hadoop-layout.sh
 Source23: hadoop-hdfs-zkfc.svc
 Source24: hadoop-hdfs-journalnode.svc
 Source25: httpfs-tomcat-deployment.sh
+Source26: yarn.1
+Source27: hdfs.1
+Source28: mapred.1
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id} -u -n)
 BuildRequires: fuse-devel, fuse, cmake
 Requires: coreutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig, /sbin/service,
bigtop-utils >= 0.7, zookeeper >= 3.4.0
@@ -645,6 +648,9 @@ fi
 %{lib_hadoop}/libexec/hadoop-layout.sh
 %{bin_hadoop}/hadoop
 %{man_hadoop}/man1/hadoop.1.*
+%{man_hadoop}/man1/yarn.1.*
+%{man_hadoop}/man1/hdfs.1.*
+%{man_hadoop}/man1/mapred.1.*
 
 # Shouldn't the following be moved to hadoop-hdfs?
 %exclude %{lib_hadoop}/bin/fuse_dfs


Mime
View raw message