Ambari组件即大数据生态圈的组件,如Hadoop,Zookeeper,HBase,Hive,Spark,Kafka等。当我们业务需要修改源码时,我们需要重新编译打包组件。Ambari的组件包是以RPM包的形式存在的,并且Ambari组件包文件路径存放位置和原生方式安装是不同的,所以我们要重新打包Ambari组件包,首先要了解Ambari组件包的组成方式,或者想办法修改最小的部分。

具体思路,只供参考,可能还有其他的办法。

1. 编译需要重新打包的组件。

2. 解压Ambari组件包即RPM包。

3. 我们在重新打成RPM包时,我们在前面文章提到过需要打到包里的原始文件以及SPEC文件。原始文件,我们通过2解压完后,可以将1中编译的文件拷贝进去,打成tar.gz即可,SPEC文件组织比较困难,因为SPEC文件是用来组织包结构以及版本,描述等信息,之前在github上面有开源的bigtop的方式,但是在后续版本没有再更新,这条路基本不通。只能使用比较投机的办法。我们可以将RPM包安装在某一台机器上,然后通过rpmrebuild命令可以直接提取,但是这种方式提取出来的SPEC文件是将每个文件的路径,权限都显示出来了,虽然比较lower,但是不影响结果。当然网上还有其他方式,如rpm2cpio。

4. 有了原始文件,SPEC文件,我们就可以通过rpmbuil重新打出RPM包。下面我们以Zookeeper为例,来说明具体的方法。

1. 重新编译Zookeeper源码,下一篇我们将介绍如何编译Zookeeper源码,此处暂定。我们假设我们已经编译完Zookeeper,并且我们要替换原始RPM包中的zookeeper-3.4.6.2.6.2.0-205.jar

2. 解压Ambari自带的zookeeper_2_6_2_0_205-3.4.6.2.6.2.0-205.noarch.rpm

AMBARI 修改YARN资源 ambari编译_ambari


解压后的部分目录结构

AMBARI 修改YARN资源 ambari编译_apache_02


3. 安装zookeeper_2_6_2_0_205-3.4.6.2.6.2.0-205.noarch.rpm 提取SPEC文件

我们在安装时发现需要依赖hdp-select包,所以我们先安装hdp-select

AMBARI 修改YARN资源 ambari编译_AMBARI 修改YARN资源_03


重新安装

AMBARI 修改YARN资源 ambari编译_amabri编译_04


安装rpmrebuild

https://sourceforge.net/projects/rpmrebuild/files/rpmrebuild/

AMBARI 修改YARN资源 ambari编译_zookeeper_05


使用rpmrebuild命令提取SPEC文件

AMBARI 修改YARN资源 ambari编译_amabri编译_06


SPEC文件内容

# rpmrebuild autogenerated specfile

%define defaultbuildroot /
AutoProv: no
%undefine __find_provides
AutoReq: no
%undefine __find_requires
# Do not try autogenerate prereq/conflicts/obsoletes and check files
%undefine __check_files
%undefine __find_prereq
%undefine __find_conflicts
%undefine __find_obsoletes
# Be sure buildpolicy set to do nothing
%define __spec_install_post %{nil}
# Something that need for rpm-4.1
%define _missing_doc_files_terminate_build 0
#dummy
#dummy
#BUILDHOST:    ctr-e134-1499953498516-102963-01-000003.hwx.site
#BUILDTIME:    Sat Aug 26 17:39:44 2017
#SOURCERPM:    zookeeper_2_6_2_0_205-3.4.6.2.6.2.0-205.src.rpm

#RPMVERSION:   4.11.3

#INSTALLTIME:  Sat Jul 28 20:05:43 2018

#OS:           linux
#SIZE:           12704582
#ARCHIVESIZE:           12782620
#ARCH:         noarch
BuildArch:     noarch
Name:          zookeeper_2_6_2_0_205
Version:       3.4.6.2.6.2.0
Release:       205
License:       APL2 
Group:         Development/Libraries
Summary:       A high-performance coordination service for distributed applications.


URL:           http://zookeeper.apache.org/







Provides:      config(zookeeper_2_6_2_0_205) = 3.4.6.2.6.2.0-205
Provides:      osgi(log4j) = 1.2.16
Provides:      osgi(org.apache.commons.codec) = 1.6.0
Provides:      osgi(org.apache.commons.io) = 2.2.0
Provides:      osgi(org.apache.hadoop.zookeeper) = 3.4.6
Provides:      osgi(org.jboss.netty) = 3.7.0
Provides:      osgi(org.jsoup) = 1.7.1
Provides:      osgi(slf4j.api) = 1.6.1
Provides:      osgi(slf4j.log4j12) = 1.6.1
Provides:      zookeeper_2_6_2_0_205 = 3.4.6.2.6.2.0-205
Requires:      /bin/bash  
Requires(pre): /bin/sh  
Requires(post): /bin/sh  
Requires:      /usr/bin/env  
Requires(pre): /usr/sbin/groupadd  
Requires(pre): /usr/sbin/useradd  
Requires(post): chkconfig  
Requires(preun): chkconfig  
Requires:      config(zookeeper_2_6_2_0_205) = 3.4.6.2.6.2.0-205
Requires(pre): coreutils  
Requires(pre): hdp-select >= 2.6.2.0-205
#Requires:      rpmlib(CompressedFileNames) <= 3.0.4-1
#Requires:      rpmlib(FileDigests) <= 4.6.0-1
#Requires:      rpmlib(PayloadFilesHavePrefix) <= 4.0-1
#Requires:      rpmlib(PayloadIsXz) <= 5.2-1
#suggest
#enhance
%description
ZooKeeper is a centralized service for maintaining configuration information,
naming, providing distributed synchronization, and providing group services.
All of these kinds of services are used in some form or another by distributed
applications. Each time they are implemented there is a lot of work that goes
into fixing the bugs and race conditions that are inevitable. Because of the
difficulty of implementing these kinds of services, applications initially
usually skimp on them ,which make them brittle in the presence of change and
difficult to manage. Even when done correctly, different implementations of these services lead to management complexity when the applications are deployed.
%files
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/etc"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/etc/zookeeper"
%dir %config(noreplace) %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/etc/zookeeper/conf.dist"
%config(noreplace) %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/etc/zookeeper/conf.dist/configuration.xsl"
%config(noreplace) %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/etc/zookeeper/conf.dist/log4j.properties"
%config(noreplace) %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/etc/zookeeper/conf.dist/zoo.cfg"
%config(noreplace) %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/etc/zookeeper/conf.dist/zoo_sample.cfg"
%config(noreplace) %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/etc/zookeeper/conf.dist/zookeeper-env.cmd"
%config(noreplace) %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/etc/zookeeper/conf.dist/zookeeper-env.sh"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin"
%attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin/zkCleanup.sh"
%attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin/zkCli.sh"
%attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin/zkEnv.sh"
%attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin/zkServer-initialize.sh"
%attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin/zkServer.sh"
%attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin/zookeeper-client"
%attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin/zookeeper-server"
%attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin/zookeeper-server-cleanup"
%attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/bin/zookeeper-server-initialize"
%attr(0777, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/conf"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/CHANGES.txt"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/HDP-CHANGES.txt"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/LICENSE.txt"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/NOTICE.txt"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/README.txt"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/README_packaging.txt"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/allclasses-frame.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/allclasses-noframe.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/constant-values.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/deprecated-list.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/help-doc.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/index-all.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/index.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/AsyncCallback.ACLCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/AsyncCallback.Children2Callback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/AsyncCallback.ChildrenCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/AsyncCallback.DataCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/AsyncCallback.StatCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/AsyncCallback.StringCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/AsyncCallback.VoidCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/AsyncCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/CreateMode.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.APIErrorException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.AuthFailedException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.BadArgumentsException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.BadVersionException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.Code.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.CodeDeprecated.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.ConnectionLossException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.DataInconsistencyException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.InvalidACLException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.InvalidCallbackException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.MarshallingErrorException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.NoAuthException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.NoChildrenForEphemeralsException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.NoNodeException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.NodeExistsException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.NotEmptyException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.NotReadOnlyException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.OperationTimeoutException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.RuntimeInconsistencyException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.SessionExpiredException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.SessionMovedException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.SystemErrorException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.UnimplementedException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/KeeperException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/ServerAdminClient.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/WatchedEvent.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/Watcher.Event.EventType.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/Watcher.Event.KeeperState.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/Watcher.Event.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/Watcher.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/ZooDefs.Ids.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/ZooDefs.OpCode.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/ZooDefs.Perms.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/ZooDefs.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/ZooKeeper.States.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/ZooKeeper.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/ZooKeeperMain.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/AsyncCallback.ACLCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/AsyncCallback.Children2Callback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/AsyncCallback.ChildrenCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/AsyncCallback.DataCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/AsyncCallback.StatCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/AsyncCallback.StringCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/AsyncCallback.VoidCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/AsyncCallback.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/CreateMode.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.APIErrorException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.AuthFailedException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.BadArgumentsException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.BadVersionException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.Code.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.CodeDeprecated.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.ConnectionLossException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.DataInconsistencyException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.InvalidACLException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.InvalidCallbackException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.MarshallingErrorException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.NoAuthException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.NoChildrenForEphemeralsException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.NoNodeException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.NodeExistsException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.NotEmptyException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.NotReadOnlyException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.OperationTimeoutException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.RuntimeInconsistencyException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.SessionExpiredException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.SessionMovedException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.SystemErrorException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.UnimplementedException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/KeeperException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/ServerAdminClient.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/WatchedEvent.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/Watcher.Event.EventType.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/Watcher.Event.KeeperState.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/Watcher.Event.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/Watcher.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/ZooDefs.Ids.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/ZooDefs.OpCode.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/ZooDefs.Perms.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/ZooDefs.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/ZooKeeper.States.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/ZooKeeper.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/class-use/ZooKeeperMain.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/client"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/client/FourLetterWordMain.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/client/class-use"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/client/class-use/FourLetterWordMain.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/client/package-frame.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/client/package-summary.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/client/package-tree.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/client/package-use.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/ACL.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/Id.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/Stat.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/StatPersisted.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/StatPersistedV1.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/class-use"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/class-use/ACL.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/class-use/Id.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/class-use/Stat.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/class-use/StatPersisted.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/class-use/StatPersistedV1.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/package-frame.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/package-summary.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/package-tree.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/data/package-use.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/package-frame.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/package-summary.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/package-tree.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/package-use.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/LogFormatter.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/PurgeTxnLog.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/SnapshotFormatter.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/ZooKeeperServerMain.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/class-use"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/class-use/LogFormatter.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/class-use/PurgeTxnLog.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/class-use/SnapshotFormatter.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/class-use/ZooKeeperServerMain.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/package-frame.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/package-summary.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/package-tree.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/package-use.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/quorum"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/quorum/QuorumPeerMain.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/quorum/class-use"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/quorum/class-use/QuorumPeerMain.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/quorum/package-frame.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/quorum/package-summary.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/quorum/package-tree.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/quorum/package-use.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/upgrade"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/upgrade/UpgradeMain.html"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/upgrade/class-use"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/upgrade/class-use/UpgradeMain.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/upgrade/package-frame.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/upgrade/package-summary.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/upgrade/package-tree.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/org/apache/zookeeper/server/upgrade/package-use.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/overview-frame.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/overview-summary.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/overview-tree.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/package-list"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/resources"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/resources/background.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/resources/tab.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/resources/titlebar.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/resources/titlebar_end.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/serialized-form.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/api/stylesheet.css"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperConfig.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperConfig.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperOverview.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperOverview.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperProgrammer.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperProgrammer.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperStarted.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperStarted.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperStream.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/bookkeeperStream.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/broken-links.xml"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/2pc.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/bk-overview.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/built-with-forrest-button.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/favicon.ico"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/hadoop-logo.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/instruction_arrow.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/state_dia.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/zkcomponents.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/zknamespace.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/zkperfRW-3.2.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/zkperfRW.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/zkperfreliability.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/zkservice.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/images/zookeeper_small.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/index.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/index.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/javaExample.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/javaExample.pdf"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/alldiffs_index_additions.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/alldiffs_index_all.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/alldiffs_index_changes.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/alldiffs_index_removals.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/changes-summary.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/classes_index_additions.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/classes_index_all.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/classes_index_changes.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/classes_index_removals.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/constructors_index_additions.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/constructors_index_all.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/constructors_index_changes.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/constructors_index_removals.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/fields_index_additions.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/fields_index_all.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/fields_index_changes.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/fields_index_removals.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/jdiff_help.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/jdiff_statistics.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/jdiff_topleftframe.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/methods_index_additions.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/methods_index_all.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/methods_index_changes.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/methods_index_removals.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.ClientCnxn.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.Environment.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.KeeperException.BadArgumentsException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.KeeperException.BadVersionException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.KeeperException.Code.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.KeeperException.InvalidACLException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.KeeperException.NoChildrenForEphemeralsException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.KeeperException.NoNodeException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.KeeperException.NodeExistsException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.KeeperException.NotEmptyException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.KeeperException.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.Watcher.Event.KeeperState.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.ZooDefs.OpCode.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.ZooKeeper.States.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.ZooKeeper.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/org.apache.zookeeper.ZooKeeperMain.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/packages_index_additions.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/packages_index_all.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/packages_index_changes.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/packages_index_removals.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/changes/pkg_org.apache.zookeeper.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/missingSinces.txt"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/stylesheet-jdiff.css"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/jdiff/user_comments_for_zookeeper_3.1.1_to_zookeeper_3.4.6.2.6.2.0-205.xml"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/linkmap.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/linkmap.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/recipes.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/recipes.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/releasenotes.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/releasenotes.pdf"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/CommonMessages_de.xml"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/CommonMessages_en_US.xml"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/CommonMessages_es.xml"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/CommonMessages_fr.xml"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/basic.css"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/breadcrumbs-optimized.js"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/breadcrumbs.js"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/fontsize.js"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/getBlank.js"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/getMenu.js"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/README.txt"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/add.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/apache-thanks.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/built-with-cocoon.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/built-with-forrest-button.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/chapter.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/chapter_open.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/current.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/error.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/external-link.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/fix.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/forrest-credit-logo.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/hack.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/header_white_line.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/info.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/instruction_arrow.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/label.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/page.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/pdfdoc.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/poddoc.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/printer.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-b-l-15-1body-2menu-3menu.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-b-r-15-1body-2menu-3menu.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-b-r-5-1header-2tab-selected-3tab-selected.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-t-l-5-1header-2searchbox-3searchbox.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-t-l-5-1header-2tab-selected-3tab-selected.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-t-l-5-1header-2tab-unselected-3tab-unselected.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-t-r-15-1body-2menu-3menu.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-t-r-5-1header-2searchbox-3searchbox.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-t-r-5-1header-2tab-selected-3tab-selected.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rc-t-r-5-1header-2tab-unselected-3tab-unselected.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/remove.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/rss.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/spacer.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/success.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/txtdoc.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/update.jpg"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/valid-html401.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/vcss.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/warning.png"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/images/xmldoc.gif"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/menu.js"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/note.txt"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/print.css"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/profile.css"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/prototype.js"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/skin/screen.css"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperAdmin.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperAdmin.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperHierarchicalQuorums.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperHierarchicalQuorums.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperInternals.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperInternals.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperJMX.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperJMX.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperObservers.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperObservers.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperOtherInfo.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperOtherInfo.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperOver.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperOver.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperProgrammers.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperProgrammers.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperQuotas.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperQuotas.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperStarted.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperStarted.pdf"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperTutorial.html"
%doc %attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/doc/zookeeperTutorial.pdf"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/etc"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/etc/rc.d"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/etc/rc.d/init.d"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/ant-1.8.0.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/ant-launcher-1.8.0.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/backport-util-concurrent-3.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/classworlds-1.1-alpha-2.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/commons-codec-1.6.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/commons-io-2.2.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/commons-logging-1.1.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/jline-0.9.94.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/jsoup-1.7.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/log4j-1.2.16.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-ant-tasks-2.1.3.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-artifact-2.2.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-artifact-manager-2.2.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-error-diagnostics-2.2.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-model-2.2.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-plugin-registry-2.2.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-profile-2.2.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-project-2.2.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-repository-metadata-2.2.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/maven-settings-2.2.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/nekohtml-1.9.6.2.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/netty-3.7.0.Final.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/plexus-container-default-1.0-alpha-9-stable-1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/plexus-interpolation-1.11.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/plexus-utils-3.0.8.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/slf4j-api-1.6.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/slf4j-log4j12-1.6.1.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/wagon-file-1.0-beta-6.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/wagon-http-2.4.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/wagon-http-lightweight-1.0-beta-6.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/wagon-http-shared-1.0-beta-6.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/wagon-http-shared4-2.4.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/wagon-provider-api-2.4.jar"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/lib/xercesMinimal-1.9.6.2.jar"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/man"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/man/man1"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/man/man1/zookeeper.1.gz"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/usr"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/usr/lib"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/usr/lib/systemd"
%dir %attr(0755, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/usr/lib/systemd/system"
%attr(0644, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/zookeeper-3.4.6.2.6.2.0-205.jar"
%attr(0777, root, root) "/usr/hdp/2.6.2.0-205/zookeeper/zookeeper.jar"
%pre -p /bin/sh
getent group zookeeper >/dev/null || groupadd -r zookeeper
getent passwd zookeeper > /dev/null || useradd -c "ZooKeeper" -s /bin/bash -g zookeeper -r -d /var/run/zookeeper zookeeper 2> /dev/null || :

if [[ ! -e "/var/run/zookeeper" ]]; then
        /usr/bin/install -d -o zookeeper -g zookeeper -m 0755 /var/run/zookeeper
fi

if [[ ! -e "/var/log/zookeeper" ]]; then
        /usr/bin/install -d -o zookeeper -g zookeeper -m 0755 /var/log/zookeeper
fi

if [[ ! -e "/var/lib/zookeeper" ]]; then
        /usr/bin/install -d -o zookeeper -g zookeeper -m 0755 /var/lib/zookeeper
fi

# Manage configuration symlink
%post -p /bin/sh
/usr/bin/hdp-select --rpm-mode set zookeeper-client 2.6.2.0-205
/usr/bin/hdp-select --rpm-mode set zookeeper-server 2.6.2.0-205
if [ !  -e "/etc/zookeeper/conf" ]; then
    rm -f /etc/zookeeper/conf
    mkdir -p /etc/zookeeper/conf
    cp -rp /usr/hdp/2.6.2.0-205/etc/zookeeper/conf.dist/* /etc/zookeeper/conf
fi
%changelog
  1. 将编译好的zookeeper-3.4.6.2.6.2.0-205.jar拷贝到替换目录,重新打包
  2. 验证,将3中安装的Zookeeper的RPM卸载,并重新安装新的

以上就是Ambari二次开发组件编译的概述,下一篇我们将介绍如何编译Zookeeper组件。