Oracle MySQL DB培训与企服
电话同微信
: 13718043309
首页
就业课程
专题课程
认证课程
师资团队
团队博客
猎头服务
企业技术服务
关于博森瑞
当前位置:
首页
>
技术团队博客
>
大数据开发
相关链接
·
为什么Python的64位安装包文件名
·
Zookeeper安装与配置
·
Kafka的安装与配置
·
Azkaban安装实录
·
Flume安装使用实录
Hadoop安装配置实录
# 资源下载 资源 |链接 |提取密码 -- |-- | -- 搭建视频|[观看](http://www.jiagulun.com/thread-273748-1-1.html) | 虚拟机 |[下载]( https://pan.baidu.com/s/1i6Qar57 )| qrae 安装软件|[下载](https://pan.baidu.com/s/1pM8nhft) | hje7 # 操作系统准备 ## 配置yum源 ### 安装所需的包 ```sql [root@bosenrui CentOS_6.6_Final]# mount /dev/cdrom /media [root@bosenrui ~]# cd /media/Packages/ [root@bosenrui Packages]# rpm -ivh deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm warning: deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] 1:deltarpm ########################################### [100%] [root@bosenrui Packages]# rpm -ivh python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm warning: python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] 1:python-deltarpm ########################################### [100%] [root@bosenrui Packages]# rpm -ivh createrepo-0.9.9-22.el6.noarch.rpm warning: createrepo-0.9.9-22.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY Preparing... ########################################### [100%] 1:createrepo ########################################### [100%] ``` ### 备份repo文件 ```sql [root@bosenrui Packages]# cd /etc/yum.repos.d/ [root@bosenrui yum.repos.d]# mkdir bak [root@bosenrui yum.repos.d]# mv *.repo ./bak/ [root@bosenrui yum.repos.d]# ll total 4 drwxr-xr-x 2 root root 4096 Jan 24 23:45 bak ``` ### 复制光盘安装包到本地 ```sql [root@bosenrui yum.repos.d]# mkdir /Packages [root@bosenrui yum.repos.d]# cd /media/Packages/ [root@bosenrui Packages]# cp -r * /Packages/ ``` ### 配置本地yum源 ```sql [root@bosenrui Packages]# cd /Packages/ [root@bosenrui Packages]# createrepo . Spawning worker 0 with 4184 pkgs Workers Finished Gathering worker results Saving Primary metadata Saving file lists metadata Saving other metadata Generating sqlite DBs Sqlite DBs complete [root@bosenrui Packages]# yum clean all Loaded plugins: fastestmirror, refresh-packagekit, security Cleaning repos: local Cleaning up Everything [root@bosenrui yum.repos.d]# vi centos_local.repo [local] name=local_repo baseurl=file:///Packages enabled=1 gpgcheck=0 ``` ### 删除自带java ```sql [root@server media]# rpm -qa |grep java tzdata-java-2014g-1.el6.noarch java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64 java-1.6.0-openjdk-1.6.0.0-11.1.13.4.el6.x86_64 [root@server media]# rpm -e java-1.7.0-openjdk-1.7.0.65-2.5.1.2.el6_5.x86_64 [root@server media]# rpm -e java-1.6.0-openjdk-1.6.0.0-11.1.13.4.el6.x86_64 --nodeps [root@server media]# rpm -qa|grep java tzdata-java-2014g-1.el6.noarch ``` ### 安装所需的包 ```sql [root@bosenrui Packages]# yum -y install openssh* man* compat-libstdc++-33* libaio-0.* libaio-devel* sysstat-9.* glibc-2.* glibc-devel-2.* glibc-headers-2.* ksh-2* libgcc-4.* libstdc++-4.* libstdc++-4.*.i686* libstdc++-devel-4.* gcc-4.*x86_64* gcc-c++-4.*x86_64* elfutils-libelf-0*x86_64* elfutils-libelf-devel-0*x86_64* elfutils-libelf-0*i686* elfutils-libelf-devel-0*i686* libtool-ltdl*i686* ncurses*i686* ncurses* readline* unixODBC* zlib zlib* openssl* patch git lzo-devel zlib-devel gcc autoconf automake libtool lzop lrzsz nc glibc gzip zlib gcc gcc-c++ make protobuf protoc cmake openssl-devel ncurses-devel unzip telnet telnet-server wget svn ntpdate Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Examining openssh-5.3p1-104.el6.x86_64.rpm: openssh-5.3p1-104.el6.x86_64 openssh-5.3p1-104.el6.x86_64.rpm: does not update installed package. Examining openssh-askpass-5.3p1-104.el6.x86_64.rpm: openssh-askpass-5.3p1-104.el6.x86_64 openssh-askpass-5.3p1-104.el6.x86_64.rpm: does not update installed package. Examining openssh-clients-5.3p1-104.el6.x86_64.rpm: openssh-clients-5.3p1-104.el6.x86_64 openssh-clients-5.3p1-104.el6.x86_64.rpm: does not update installed package. Examining openssh-server-5.3p1-104.el6.x86_64.rpm: openssh-server-5.3p1-104.el6.x86_64 openssh-server-5.3p1-104.el6.x86_64.rpm: does not update installed package. Examining man-1.6f-32.el6.x86_64.rpm: man-1.6f-32.el6.x86_64 man-1.6f-32.el6.x86_64.rpm: does not update installed package. Examining man-pages-3.22-20.el6.noarch.rpm: man-pages-3.22-20.el6.noarch man-pages-3.22-20.el6.noarch.rpm: does not update installed package. Examining man-pages-cs-0.18.20090209-2.1.el6.noarch.rpm: man-pages-cs-0.18.20090209-2.1.el6.noarch Marking man-pages-cs-0.18.20090209-2.1.el6.noarch.rpm to be installed Determining fastest mirrors local | 2.9 kB 00:00 ... local/primary_db | 3.4 MB 00:00 ... Examining man-pages-es-1.55-14.el6.noarch.rpm: man-pages-es-1.55-14.el6.noarch Marking man-pages-es-1.55-14.el6.noarch.rpm to be installed Examining man-pages-es-extra-1.55-14.el6.noarch.rpm: man-pages-es-extra-1.55-14.el6.noarch Marking man-pages-es-extra-1.55-14.el6.noarch.rpm to be installed Examining man-pages-fr-3.23-11.el6.noarch.rpm: man-pages-fr-3.23-11.el6.noarch Marking man-pages-fr-3.23-11.el6.noarch.rpm to be installed Examining man-pages-it-2.80-6.el6.noarch.rpm: man-pages-it-2.80-6.el6.noarch Marking man-pages-it-2.80-6.el6.noarch.rpm to be installed Examining man-pages-ja-20100115-8.el6.noarch.rpm: man-pages-ja-20100115-8.el6.noarch Marking man-pages-ja-20100115-8.el6.noarch.rpm to be installed Examining man-pages-ko-20050219-17.el6.noarch.rpm: 2:man-pages-ko-20050219-17.el6.noarch Marking man-pages-ko-20050219-17.el6.noarch.rpm to be installed Examining man-pages-overrides-6.6.3-2.el6.noarch.rpm: man-pages-overrides-6.6.3-2.el6.noarch man-pages-overrides-6.6.3-2.el6.noarch.rpm: does not update installed package. Examining man-pages-pl-0.24-8.1.el6.noarch.rpm: man-pages-pl-0.24-8.1.el6.noarch Marking man-pages-pl-0.24-8.1.el6.noarch.rpm to be installed Examining man-pages-ru-0.97-9.el6.noarch.rpm: man-pages-ru-0.97-9.el6.noarch Marking man-pages-ru-0.97-9.el6.noarch.rpm to be installed Examining man-pages-uk-0.1-0.11.20071108.el6.noarch.rpm: man-pages-uk-0.1-0.11.20071108.el6.noarch Marking man-pages-uk-0.1-0.11.20071108.el6.noarch.rpm to be installed Examining compat-libstdc++-33-3.2.3-69.el6.i686.rpm: compat-libstdc++-33-3.2.3-69.el6.i686 Marking compat-libstdc++-33-3.2.3-69.el6.i686.rpm to be installed Examining compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm: compat-libstdc++-33-3.2.3-69.el6.x86_64 Marking compat-libstdc++-33-3.2.3-69.el6.x86_64.rpm to be installed Examining libaio-0.3.107-10.el6.i686.rpm: libaio-0.3.107-10.el6.i686 Marking libaio-0.3.107-10.el6.i686.rpm to be installed Examining libaio-0.3.107-10.el6.x86_64.rpm: libaio-0.3.107-10.el6.x86_64 libaio-0.3.107-10.el6.x86_64.rpm: does not update installed package. Examining libaio-devel-0.3.107-10.el6.i686.rpm: libaio-devel-0.3.107-10.el6.i686 Marking libaio-devel-0.3.107-10.el6.i686.rpm to be installed Examining libaio-devel-0.3.107-10.el6.x86_64.rpm: libaio-devel-0.3.107-10.el6.x86_64 Marking libaio-devel-0.3.107-10.el6.x86_64.rpm to be installed Examining sysstat-9.0.4-27.el6.x86_64.rpm: sysstat-9.0.4-27.el6.x86_64 sysstat-9.0.4-27.el6.x86_64.rpm: does not update installed package. Examining glibc-2.12-1.149.el6.i686.rpm: glibc-2.12-1.149.el6.i686 Marking glibc-2.12-1.149.el6.i686.rpm to be installed Examining glibc-2.12-1.149.el6.x86_64.rpm: glibc-2.12-1.149.el6.x86_64 glibc-2.12-1.149.el6.x86_64.rpm: does not update installed package. Examining glibc-devel-2.12-1.149.el6.i686.rpm: glibc-devel-2.12-1.149.el6.i686 Marking glibc-devel-2.12-1.149.el6.i686.rpm to be installed Examining glibc-devel-2.12-1.149.el6.x86_64.rpm: glibc-devel-2.12-1.149.el6.x86_64 glibc-devel-2.12-1.149.el6.x86_64.rpm: does not update installed package. Examining glibc-headers-2.12-1.149.el6.x86_64.rpm: glibc-headers-2.12-1.149.el6.x86_64 glibc-headers-2.12-1.149.el6.x86_64.rpm: does not update installed package. Examining ksh-20120801-21.el6.x86_64.rpm: ksh-20120801-21.el6.x86_64 Marking ksh-20120801-21.el6.x86_64.rpm to be installed Examining libgcc-4.4.7-11.el6.i686.rpm: libgcc-4.4.7-11.el6.i686 Marking libgcc-4.4.7-11.el6.i686.rpm to be installed Examining libgcc-4.4.7-11.el6.x86_64.rpm: libgcc-4.4.7-11.el6.x86_64 libgcc-4.4.7-11.el6.x86_64.rpm: does not update installed package. Examining libstdc++-4.4.7-11.el6.i686.rpm: libstdc++-4.4.7-11.el6.i686 Marking libstdc++-4.4.7-11.el6.i686.rpm to be installed Examining libstdc++-4.4.7-11.el6.x86_64.rpm: libstdc++-4.4.7-11.el6.x86_64 libstdc++-4.4.7-11.el6.x86_64.rpm: does not update installed package. Examining libstdc++-4.4.7-11.el6.i686.rpm: libstdc++-4.4.7-11.el6.i686 Marking libstdc++-4.4.7-11.el6.i686.rpm to be installed Examining libstdc++-devel-4.4.7-11.el6.i686.rpm: libstdc++-devel-4.4.7-11.el6.i686 Marking libstdc++-devel-4.4.7-11.el6.i686.rpm to be installed Examining libstdc++-devel-4.4.7-11.el6.x86_64.rpm: libstdc++-devel-4.4.7-11.el6.x86_64 Marking libstdc++-devel-4.4.7-11.el6.x86_64.rpm to be installed Examining gcc-4.4.7-11.el6.x86_64.rpm: gcc-4.4.7-11.el6.x86_64 Marking gcc-4.4.7-11.el6.x86_64.rpm to be installed Examining gcc-c++-4.4.7-11.el6.x86_64.rpm: gcc-c++-4.4.7-11.el6.x86_64 Marking gcc-c++-4.4.7-11.el6.x86_64.rpm to be installed Examining elfutils-libelf-0.158-3.2.el6.x86_64.rpm: elfutils-libelf-0.158-3.2.el6.x86_64 elfutils-libelf-0.158-3.2.el6.x86_64.rpm: does not update installed package. Examining elfutils-libelf-devel-0.158-3.2.el6.x86_64.rpm: elfutils-libelf-devel-0.158-3.2.el6.x86_64 Marking elfutils-libelf-devel-0.158-3.2.el6.x86_64.rpm to be installed Examining elfutils-libelf-0.158-3.2.el6.i686.rpm: elfutils-libelf-0.158-3.2.el6.i686 Marking elfutils-libelf-0.158-3.2.el6.i686.rpm to be installed Examining elfutils-libelf-devel-0.158-3.2.el6.i686.rpm: elfutils-libelf-devel-0.158-3.2.el6.i686 Marking elfutils-libelf-devel-0.158-3.2.el6.i686.rpm to be installed Examining libtool-ltdl-2.2.6-15.5.el6.i686.rpm: libtool-ltdl-2.2.6-15.5.el6.i686 Marking libtool-ltdl-2.2.6-15.5.el6.i686.rpm to be installed Examining libtool-ltdl-devel-2.2.6-15.5.el6.i686.rpm: libtool-ltdl-devel-2.2.6-15.5.el6.i686 Marking libtool-ltdl-devel-2.2.6-15.5.el6.i686.rpm to be installed Examining ncurses-devel-5.7-3.20090208.el6.i686.rpm: ncurses-devel-5.7-3.20090208.el6.i686 Marking ncurses-devel-5.7-3.20090208.el6.i686.rpm to be installed Examining ncurses-libs-5.7-3.20090208.el6.i686.rpm: ncurses-libs-5.7-3.20090208.el6.i686 Marking ncurses-libs-5.7-3.20090208.el6.i686.rpm to be installed Examining ncurses-5.7-3.20090208.el6.x86_64.rpm: ncurses-5.7-3.20090208.el6.x86_64 ncurses-5.7-3.20090208.el6.x86_64.rpm: does not update installed package. Examining ncurses-base-5.7-3.20090208.el6.x86_64.rpm: ncurses-base-5.7-3.20090208.el6.x86_64 ncurses-base-5.7-3.20090208.el6.x86_64.rpm: does not update installed package. Examining ncurses-devel-5.7-3.20090208.el6.i686.rpm: ncurses-devel-5.7-3.20090208.el6.i686 Marking ncurses-devel-5.7-3.20090208.el6.i686.rpm to be installed Examining ncurses-devel-5.7-3.20090208.el6.x86_64.rpm: ncurses-devel-5.7-3.20090208.el6.x86_64 Marking ncurses-devel-5.7-3.20090208.el6.x86_64.rpm to be installed Examining ncurses-libs-5.7-3.20090208.el6.i686.rpm: ncurses-libs-5.7-3.20090208.el6.i686 Marking ncurses-libs-5.7-3.20090208.el6.i686.rpm to be installed Examining ncurses-libs-5.7-3.20090208.el6.x86_64.rpm: ncurses-libs-5.7-3.20090208.el6.x86_64 ncurses-libs-5.7-3.20090208.el6.x86_64.rpm: does not update installed package. Examining ncurses-term-5.7-3.20090208.el6.x86_64.rpm: ncurses-term-5.7-3.20090208.el6.x86_64 Marking ncurses-term-5.7-3.20090208.el6.x86_64.rpm to be installed Examining readline-6.0-4.el6.i686.rpm: readline-6.0-4.el6.i686 Marking readline-6.0-4.el6.i686.rpm to be installed Examining readline-6.0-4.el6.x86_64.rpm: readline-6.0-4.el6.x86_64 readline-6.0-4.el6.x86_64.rpm: does not update installed package. Examining readline-devel-6.0-4.el6.i686.rpm: readline-devel-6.0-4.el6.i686 Marking readline-devel-6.0-4.el6.i686.rpm to be installed Examining readline-devel-6.0-4.el6.x86_64.rpm: readline-devel-6.0-4.el6.x86_64 Marking readline-devel-6.0-4.el6.x86_64.rpm to be installed Examining unixODBC-2.2.14-14.el6.i686.rpm: unixODBC-2.2.14-14.el6.i686 Marking unixODBC-2.2.14-14.el6.i686.rpm to be installed Examining unixODBC-2.2.14-14.el6.x86_64.rpm: unixODBC-2.2.14-14.el6.x86_64 Marking unixODBC-2.2.14-14.el6.x86_64.rpm to be installed Examining unixODBC-devel-2.2.14-14.el6.i686.rpm: unixODBC-devel-2.2.14-14.el6.i686 Marking unixODBC-devel-2.2.14-14.el6.i686.rpm to be installed Examining unixODBC-devel-2.2.14-14.el6.x86_64.rpm: unixODBC-devel-2.2.14-14.el6.x86_64 Marking unixODBC-devel-2.2.14-14.el6.x86_64.rpm to be installed Package zlib-1.2.3-29.el6.x86_64 already installed and latest version Examining zlib-1.2.3-29.el6.i686.rpm: zlib-1.2.3-29.el6.i686 Marking zlib-1.2.3-29.el6.i686.rpm to be installed Examining zlib-1.2.3-29.el6.x86_64.rpm: zlib-1.2.3-29.el6.x86_64 zlib-1.2.3-29.el6.x86_64.rpm: does not update installed package. Examining zlib-devel-1.2.3-29.el6.i686.rpm: zlib-devel-1.2.3-29.el6.i686 Marking zlib-devel-1.2.3-29.el6.i686.rpm to be installed Examining zlib-devel-1.2.3-29.el6.x86_64.rpm: zlib-devel-1.2.3-29.el6.x86_64 Marking zlib-devel-1.2.3-29.el6.x86_64.rpm to be installed Examining openssl098e-0.9.8e-18.el6_5.2.i686.rpm: openssl098e-0.9.8e-18.el6_5.2.i686 Marking openssl098e-0.9.8e-18.el6_5.2.i686.rpm to be installed Examining openssl098e-0.9.8e-18.el6_5.2.x86_64.rpm: openssl098e-0.9.8e-18.el6_5.2.x86_64 Marking openssl098e-0.9.8e-18.el6_5.2.x86_64.rpm to be installed Examining openssl-1.0.1e-30.el6.i686.rpm: openssl-1.0.1e-30.el6.i686 Marking openssl-1.0.1e-30.el6.i686.rpm to be installed Examining openssl-1.0.1e-30.el6.x86_64.rpm: openssl-1.0.1e-30.el6.x86_64 openssl-1.0.1e-30.el6.x86_64.rpm: does not update installed package. Examining openssl-devel-1.0.1e-30.el6.i686.rpm: openssl-devel-1.0.1e-30.el6.i686 Marking openssl-devel-1.0.1e-30.el6.i686.rpm to be installed Examining openssl-devel-1.0.1e-30.el6.x86_64.rpm: openssl-devel-1.0.1e-30.el6.x86_64 Marking openssl-devel-1.0.1e-30.el6.x86_64.rpm to be installed Package patch-2.6-6.el6.x86_64 already installed and latest version No package lzo-devel available. Package glibc-2.12-1.149.el6.x86_64 already installed and latest version Package gzip-1.3.12-22.el6.x86_64 already installed and latest version Package zlib-1.2.3-29.el6.x86_64 already installed and latest version Package 1:make-3.81-20.el6.x86_64 already installed and latest version No package protobuf available. No package protoc available. Package unzip-6.0-1.el6.x86_64 already installed and latest version Package wget-1.12-5.el6.x86_64 already installed and latest version Package ntpdate-4.2.6p5-1.el6.centos.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package autoconf.noarch 0:2.63-5.1.el6 will be installed ---> Package automake.noarch 0:1.11.1-4.el6 will be installed ---> Package cmake.x86_64 0:2.8.12.2-4.el6 will be installed ---> Package compat-libstdc++-33.i686 0:3.2.3-69.el6 will be installed ---> Package compat-libstdc++-33.x86_64 0:3.2.3-69.el6 will be installed ---> Package elfutils-libelf.i686 0:0.158-3.2.el6 will be installed ---> Package elfutils-libelf-devel.i686 0:0.158-3.2.el6 will be installed ---> Package elfutils-libelf-devel.x86_64 0:0.158-3.2.el6 will be installed ---> Package gcc.x86_64 0:4.4.7-11.el6 will be installed --> Processing Dependency: cpp = 4.4.7-11.el6 for package: gcc-4.4.7-11.el6.x86_64 --> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.4.7-11.el6.x86_64 ---> Package gcc-c++.x86_64 0:4.4.7-11.el6 will be installed --> Processing Dependency: libmpfr.so.1()(64bit) for package: gcc-c++-4.4.7-11.el6.x86_64 ---> Package git.x86_64 0:1.7.1-3.el6_4.1 will be installed --> Processing Dependency: perl-Git = 1.7.1-3.el6_4.1 for package: git-1.7.1-3.el6_4.1.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-3.el6_4.1.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-3.el6_4.1.x86_64 ---> Package glibc.i686 0:2.12-1.149.el6 will be installed --> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.149.el6.i686 --> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.149.el6.i686 ---> Package glibc-devel.i686 0:2.12-1.149.el6 will be installed ---> Package ksh.x86_64 0:20120801-21.el6 will be installed ---> Package libaio.i686 0:0.3.107-10.el6 will be installed ---> Package libaio-devel.i686 0:0.3.107-10.el6 will be installed ---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed ---> Package libgcc.i686 0:4.4.7-11.el6 will be installed ---> Package libstdc++.i686 0:4.4.7-11.el6 will be installed ---> Package libstdc++-devel.i686 0:4.4.7-11.el6 will be installed ---> Package libstdc++-devel.x86_64 0:4.4.7-11.el6 will be installed ---> Package libtool.x86_64 0:2.2.6-15.5.el6 will be installed ---> Package libtool-ltdl.i686 0:2.2.6-15.5.el6 will be installed ---> Package libtool-ltdl-devel.i686 0:2.2.6-15.5.el6 will be installed ---> Package lrzsz.x86_64 0:0.12.20-27.1.el6 will be installed ---> Package lzop.x86_64 0:1.02-0.9.rc1.el6 will be installed ---> Package man-pages-cs.noarch 0:0.18.20090209-2.1.el6 will be installed ---> Package man-pages-es.noarch 0:1.55-14.el6 will be installed ---> Package man-pages-es-extra.noarch 0:1.55-14.el6 will be installed ---> Package man-pages-fr.noarch 0:3.23-11.el6 will be installed ---> Package man-pages-it.noarch 0:2.80-6.el6 will be installed ---> Package man-pages-ja.noarch 0:20100115-8.el6 will be installed ---> Package man-pages-ko.noarch 2:20050219-17.el6 will be installed ---> Package man-pages-pl.noarch 0:0.24-8.1.el6 will be installed ---> Package man-pages-ru.noarch 0:0.97-9.el6 will be installed ---> Package man-pages-uk.noarch 0:0.1-0.11.20071108.el6 will be installed ---> Package nc.x86_64 0:1.84-22.el6 will be installed ---> Package ncurses-devel.i686 0:5.7-3.20090208.el6 will be installed ---> Package ncurses-devel.x86_64 0:5.7-3.20090208.el6 will be installed ---> Package ncurses-libs.i686 0:5.7-3.20090208.el6 will be installed ---> Package ncurses-term.x86_64 0:5.7-3.20090208.el6 will be installed ---> Package openssl.i686 0:1.0.1e-30.el6 will be installed --> Processing Dependency: libcom_err.so.2 for package: openssl-1.0.1e-30.el6.i686 --> Processing Dependency: libgssapi_krb5.so.2 for package: openssl-1.0.1e-30.el6.i686 --> Processing Dependency: libk5crypto.so.3 for package: openssl-1.0.1e-30.el6.i686 --> Processing Dependency: libk5crypto.so.3(k5crypto_3_MIT) for package: openssl-1.0.1e-30.el6.i686 --> Processing Dependency: libkrb5.so.3 for package: openssl-1.0.1e-30.el6.i686 --> Processing Dependency: libkrb5.so.3(krb5_3_MIT) for package: openssl-1.0.1e-30.el6.i686 ---> Package openssl-devel.i686 0:1.0.1e-30.el6 will be installed --> Processing Dependency: krb5-devel for package: openssl-devel-1.0.1e-30.el6.i686 ---> Package openssl-devel.x86_64 0:1.0.1e-30.el6 will be installed ---> Package openssl098e.i686 0:0.9.8e-18.el6_5.2 will be installed ---> Package openssl098e.x86_64 0:0.9.8e-18.el6_5.2 will be installed ---> Package readline.i686 0:6.0-4.el6 will be installed ---> Package readline-devel.i686 0:6.0-4.el6 will be installed ---> Package readline-devel.x86_64 0:6.0-4.el6 will be installed ---> Package subversion.x86_64 0:1.6.11-10.el6_5 will be installed --> Processing Dependency: perl(URI) >= 1.17 for package: subversion-1.6.11-10.el6_5.x86_64 ---> Package telnet.x86_64 1:0.17-48.el6 will be installed ---> Package telnet-server.x86_64 1:0.17-48.el6 will be installed --> Processing Dependency: xinetd for package: 1:telnet-server-0.17-48.el6.x86_64 ---> Package unixODBC.i686 0:2.2.14-14.el6 will be installed ---> Package unixODBC.x86_64 0:2.2.14-14.el6 will be installed ---> Package unixODBC-devel.i686 0:2.2.14-14.el6 will be installed ---> Package unixODBC-devel.x86_64 0:2.2.14-14.el6 will be installed ---> Package zlib.i686 0:1.2.3-29.el6 will be installed ---> Package zlib-devel.i686 0:1.2.3-29.el6 will be installed ---> Package zlib-devel.x86_64 0:1.2.3-29.el6 will be installed --> Running transaction check ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed --> Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 --> Processing Dependency: libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 ---> Package cpp.x86_64 0:4.4.7-11.el6 will be installed ---> Package krb5-devel.x86_64 0:1.10.3-33.el6 will be installed --> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-33.el6.x86_64 --> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-33.el6.x86_64 --> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-33.el6.x86_64 ---> Package krb5-libs.i686 0:1.10.3-33.el6 will be installed --> Processing Dependency: libselinux.so.1 for package: krb5-libs-1.10.3-33.el6.i686 --> Processing Dependency: libkeyutils.so.1(KEYUTILS_0.3) for package: krb5-libs-1.10.3-33.el6.i686 --> Processing Dependency: libkeyutils.so.1 for package: krb5-libs-1.10.3-33.el6.i686 ---> Package libcom_err.i686 0:1.41.12-21.el6 will be installed ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed ---> Package nss-softokn-freebl.i686 0:3.14.3-17.el6 will be installed ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-3.el6_4.1 will be installed ---> Package perl-URI.noarch 0:1.40-2.el6 will be installed ---> Package xinetd.x86_64 2:2.3.14-39.el6_4 will be installed --> Running transaction check ---> Package keyutils-libs.i686 0:1.4-5.el6 will be installed ---> Package keyutils-libs-devel.x86_64 0:1.4-5.el6 will be installed ---> Package libcom_err-devel.x86_64 0:1.41.12-21.el6 will be installed ---> Package libselinux.i686 0:2.0.94-5.8.el6 will be installed ---> Package libselinux-devel.x86_64 0:2.0.94-5.8.el6 will be installed --> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.8.el6.x86_64 --> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.8.el6.x86_64 ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed --> Running transaction check ---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ==================================================================================================================================================== Package Arch Version Repository Size ==================================================================================================================================================== Installing: autoconf noarch 2.63-5.1.el6 local 781 k automake noarch 1.11.1-4.el6 local 550 k cmake x86_64 2.8.12.2-4.el6 local 8.0 M compat-libstdc++-33 i686 3.2.3-69.el6 /compat-libstdc++-33-3.2.3-69.el6.i686 716 k compat-libstdc++-33 x86_64 3.2.3-69.el6 /compat-libstdc++-33-3.2.3-69.el6.x86_64 806 k elfutils-libelf i686 0.158-3.2.el6 /elfutils-libelf-0.158-3.2.el6.i686 930 k elfutils-libelf-devel i686 0.158-3.2.el6 /elfutils-libelf-devel-0.158-3.2.el6.i686 26 k elfutils-libelf-devel x86_64 0.158-3.2.el6 /elfutils-libelf-devel-0.158-3.2.el6.x86_64 26 k gcc x86_64 4.4.7-11.el6 /gcc-4.4.7-11.el6.x86_64 19 M gcc-c++ x86_64 4.4.7-11.el6 /gcc-c++-4.4.7-11.el6.x86_64 11 M git x86_64 1.7.1-3.el6_4.1 local 4.6 M glibc i686 2.12-1.149.el6 /glibc-2.12-1.149.el6.i686 13 M glibc-devel i686 2.12-1.149.el6 /glibc-devel-2.12-1.149.el6.i686 955 k ksh x86_64 20120801-21.el6 /ksh-20120801-21.el6.x86_64 1.7 M libaio i686 0.3.107-10.el6 /libaio-0.3.107-10.el6.i686 31 k libaio-devel i686 0.3.107-10.el6 /libaio-devel-0.3.107-10.el6.i686 19 k libaio-devel x86_64 0.3.107-10.el6 /libaio-devel-0.3.107-10.el6.x86_64 23 k libgcc i686 4.4.7-11.el6 /libgcc-4.4.7-11.el6.i686 144 k libstdc++ i686 4.4.7-11.el6 /libstdc++-4.4.7-11.el6.i686 908 k libstdc++-devel i686 4.4.7-11.el6 /libstdc++-devel-4.4.7-11.el6.i686 8.4 M libstdc++-devel x86_64 4.4.7-11.el6 /libstdc++-devel-4.4.7-11.el6.x86_64 9.3 M libtool x86_64 2.2.6-15.5.el6 local 564 k libtool-ltdl i686 2.2.6-15.5.el6 /libtool-ltdl-2.2.6-15.5.el6.i686 62 k libtool-ltdl-devel i686 2.2.6-15.5.el6 /libtool-ltdl-devel-2.2.6-15.5.el6.i686 754 k lrzsz x86_64 0.12.20-27.1.el6 local 71 k lzop x86_64 1.02-0.9.rc1.el6 local 50 k man-pages-cs noarch 0.18.20090209-2.1.el6 /man-pages-cs-0.18.20090209-2.1.el6.noarch 489 k man-pages-es noarch 1.55-14.el6 /man-pages-es-1.55-14.el6.noarch 1.5 M man-pages-es-extra noarch 1.55-14.el6 /man-pages-es-extra-1.55-14.el6.noarch 670 k man-pages-fr noarch 3.23-11.el6 /man-pages-fr-3.23-11.el6.noarch 5.4 M man-pages-it noarch 2.80-6.el6 /man-pages-it-2.80-6.el6.noarch 2.7 M man-pages-ja noarch 20100115-8.el6 /man-pages-ja-20100115-8.el6.noarch 5.3 M man-pages-ko noarch 2:20050219-17.el6 /man-pages-ko-20050219-17.el6.noarch 1.0 M man-pages-pl noarch 0.24-8.1.el6 /man-pages-pl-0.24-8.1.el6.noarch 2.5 M man-pages-ru noarch 0.97-9.el6 /man-pages-ru-0.97-9.el6.noarch 725 k man-pages-uk noarch 0.1-0.11.20071108.el6 /man-pages-uk-0.1-0.11.20071108.el6.noarch 910 k nc x86_64 1.84-22.el6 local 57 k ncurses-devel i686 5.7-3.20090208.el6 /ncurses-devel-5.7-3.20090208.el6.i686 1.7 M ncurses-devel x86_64 5.7-3.20090208.el6 /ncurses-devel-5.7-3.20090208.el6.x86_64 1.7 M ncurses-libs i686 5.7-3.20090208.el6 /ncurses-libs-5.7-3.20090208.el6.i686 690 k ncurses-term x86_64 5.7-3.20090208.el6 /ncurses-term-5.7-3.20090208.el6.x86_64 1.4 M openssl i686 1.0.1e-30.el6 /openssl-1.0.1e-30.el6.i686 3.9 M openssl-devel i686 1.0.1e-30.el6 /openssl-devel-1.0.1e-30.el6.i686 2.2 M openssl-devel x86_64 1.0.1e-30.el6 /openssl-devel-1.0.1e-30.el6.x86_64 2.2 M openssl098e i686 0.9.8e-18.el6_5.2 /openssl098e-0.9.8e-18.el6_5.2.i686 2.1 M openssl098e x86_64 0.9.8e-18.el6_5.2 /openssl098e-0.9.8e-18.el6_5.2.x86_64 2.2 M readline i686 6.0-4.el6 /readline-6.0-4.el6.i686 386 k readline-devel i686 6.0-4.el6 /readline-devel-6.0-4.el6.i686 255 k readline-devel x86_64 6.0-4.el6 /readline-devel-6.0-4.el6.x86_64 255 k subversion x86_64 1.6.11-10.el6_5 local 2.3 M telnet x86_64 1:0.17-48.el6 local 58 k telnet-server x86_64 1:0.17-48.el6 local 37 k unixODBC i686 2.2.14-14.el6 /unixODBC-2.2.14-14.el6.i686 1.1 M unixODBC x86_64 2.2.14-14.el6 /unixODBC-2.2.14-14.el6.x86_64 1.1 M unixODBC-devel i686 2.2.14-14.el6 /unixODBC-devel-2.2.14-14.el6.i686 182 k unixODBC-devel x86_64 2.2.14-14.el6 /unixODBC-devel-2.2.14-14.el6.x86_64 182 k zlib i686 1.2.3-29.el6 /zlib-1.2.3-29.el6.i686 136 k zlib-devel i686 1.2.3-29.el6 /zlib-devel-1.2.3-29.el6.i686 115 k zlib-devel x86_64 1.2.3-29.el6 /zlib-devel-1.2.3-29.el6.x86_64 115 k Installing for dependencies: cloog-ppl x86_64 0.15.7-1.2.el6 local 93 k cpp x86_64 4.4.7-11.el6 local 3.7 M keyutils-libs i686 1.4-5.el6 local 20 k keyutils-libs-devel x86_64 1.4-5.el6 local 29 k krb5-devel x86_64 1.10.3-33.el6 local 498 k krb5-libs i686 1.10.3-33.el6 local 773 k libcom_err i686 1.41.12-21.el6 local 37 k libcom_err-devel x86_64 1.41.12-21.el6 local 32 k libselinux i686 2.0.94-5.8.el6 local 109 k libselinux-devel x86_64 2.0.94-5.8.el6 local 137 k libsepol-devel x86_64 2.0.41-4.el6 local 64 k mpfr x86_64 2.4.1-6.el6 local 157 k nss-softokn-freebl i686 3.14.3-17.el6 local 153 k perl-Error noarch 1:0.17015-4.el6 local 29 k perl-Git noarch 1.7.1-3.el6_4.1 local 28 k perl-URI noarch 1.40-2.el6 local 117 k ppl x86_64 0.10.2-11.el6 local 1.3 M xinetd x86_64 2:2.3.14-39.el6_4 local 121 k Transaction Summary ==================================================================================================================================================== Install 77 Package(s) Total size: 135 M Total download size: 24 M Installed size: 191 M Downloading Packages: ---------------------------------------------------------------------------------------------------------------------------------------------------- Total 80 MB/s | 24 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. ** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows: 1:libreoffice-core-4.0.4.2-14.el6.x86_64 has missing requires of libjawt.so()(64bit) 1:libreoffice-core-4.0.4.2-14.el6.x86_64 has missing requires of libjawt.so(SUNWprivate_1.1)(64bit) 1:libreoffice-ure-4.0.4.2-14.el6.x86_64 has missing requires of jre >= ('0', '1.5.0', None) Installing : autoconf-2.63-5.1.el6.noarch 1/77 Installing : 1:perl-Error-0.17015-4.el6.noarch 2/77 Installing : automake-1.11.1-4.el6.noarch 3/77 Installing : man-pages-es-1.55-14.el6.noarch 4/77 Installing : perl-URI-1.40-2.el6.noarch 5/77 Installing : libstdc++-devel-4.4.7-11.el6.x86_64 6/77 Installing : libsepol-devel-2.0.41-4.el6.x86_64 7/77 Installing : man-pages-es-extra-1.55-14.el6.noarch 8/77 Installing : man-pages-uk-0.1-0.11.20071108.el6.noarch 9/77 Installing : man-pages-cs-0.18.20090209-2.1.el6.noarch 10/77 Installing : ncurses-term-5.7-3.20090208.el6.x86_64 11/77 Installing : elfutils-libelf-devel-0.158-3.2.el6.x86_64 12/77 Installing : man-pages-ja-20100115-8.el6.noarch 13/77 Installing : 2:man-pages-ko-20050219-17.el6.noarch 14/77 Installing : man-pages-it-2.80-6.el6.noarch 15/77 Installing : man-pages-pl-0.24-8.1.el6.noarch 16/77 Installing : man-pages-fr-3.23-11.el6.noarch 17/77 Installing : man-pages-ru-0.97-9.el6.noarch 18/77 Installing : libgcc-4.4.7-11.el6.i686 19/77 Installing : glibc-2.12-1.149.el6.i686 20/77 Installing : nss-softokn-freebl-3.14.3-17.el6.i686 21/77 Installing : zlib-1.2.3-29.el6.i686 22/77 Installing : libcom_err-1.41.12-21.el6.i686 23/77 Installing : ncurses-libs-5.7-3.20090208.el6.i686 24/77 Installing : ncurses-devel-5.7-3.20090208.el6.x86_64 25/77 Installing : zlib-devel-1.2.3-29.el6.i686 26/77 Installing : unixODBC-2.2.14-14.el6.x86_64 27/77 Installing : mpfr-2.4.1-6.el6.x86_64 28/77 Installing : readline-6.0-4.el6.i686 29/77 Installing : libtool-ltdl-2.2.6-15.5.el6.i686 30/77 Installing : keyutils-libs-1.4-5.el6.i686 31/77 Installing : libstdc++-4.4.7-11.el6.i686 32/77 Installing : libselinux-2.0.94-5.8.el6.i686 33/77 Installing : krb5-libs-1.10.3-33.el6.i686 34/77 Installing : openssl-1.0.1e-30.el6.i686 35/77 Installing : libaio-0.3.107-10.el6.i686 36/77 Installing : libselinux-devel-2.0.94-5.8.el6.x86_64 37/77 Installing : keyutils-libs-devel-1.4-5.el6.x86_64 38/77 Installing : cpp-4.4.7-11.el6.x86_64 39/77 Installing : libcom_err-devel-1.41.12-21.el6.x86_64 40/77 Installing : krb5-devel-1.10.3-33.el6.x86_64 41/77 Installing : perl-Git-1.7.1-3.el6_4.1.noarch 42/77 Installing : git-1.7.1-3.el6_4.1.x86_64 43/77 Installing : 2:xinetd-2.3.14-39.el6_4.x86_64 44/77 Installing : ppl-0.10.2-11.el6.x86_64 45/77 Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 46/77 Installing : glibc-devel-2.12-1.149.el6.i686 47/77 Installing : gcc-4.4.7-11.el6.x86_64 48/77 Installing : gcc-c++-4.4.7-11.el6.x86_64 49/77 Installing : libtool-2.2.6-15.5.el6.x86_64 50/77 Installing : 1:telnet-server-0.17-48.el6.x86_64 51/77 Installing : openssl-devel-1.0.1e-30.el6.i686 52/77 Installing : openssl-devel-1.0.1e-30.el6.x86_64 53/77 Installing : libaio-devel-0.3.107-10.el6.x86_64 54/77 Installing : libaio-devel-0.3.107-10.el6.i686 55/77 Installing : libstdc++-devel-4.4.7-11.el6.i686 56/77 Installing : libtool-ltdl-devel-2.2.6-15.5.el6.i686 57/77 Installing : readline-devel-6.0-4.el6.x86_64 58/77 Installing : readline-devel-6.0-4.el6.i686 59/77 Installing : unixODBC-devel-2.2.14-14.el6.x86_64 60/77 Installing : ncurses-devel-5.7-3.20090208.el6.i686 61/77 Installing : zlib-devel-1.2.3-29.el6.x86_64 62/77 Installing : subversion-1.6.11-10.el6_5.x86_64 63/77 Installing : cmake-2.8.12.2-4.el6.x86_64 64/77 Installing : lzop-1.02-0.9.rc1.el6.x86_64 65/77 Installing : lrzsz-0.12.20-27.1.el6.x86_64 66/77 Installing : nc-1.84-22.el6.x86_64 67/77 Installing : compat-libstdc++-33-3.2.3-69.el6.x86_64 68/77 Installing : ksh-20120801-21.el6.x86_64 69/77 Installing : openssl098e-0.9.8e-18.el6_5.2.x86_64 70/77 Installing : 1:telnet-0.17-48.el6.x86_64 71/77 Installing : unixODBC-2.2.14-14.el6.i686 72/77 Installing : elfutils-libelf-0.158-3.2.el6.i686 73/77 Installing : elfutils-libelf-devel-0.158-3.2.el6.i686 74/77 Installing : unixODBC-devel-2.2.14-14.el6.i686 75/77 Installing : openssl098e-0.9.8e-18.el6_5.2.i686 76/77 Installing : compat-libstdc++-33-3.2.3-69.el6.i686 77/77 Verifying : man-pages-ru-0.97-9.el6.noarch 1/77 Verifying : libsepol-devel-2.0.41-4.el6.x86_64 2/77 Verifying : openssl098e-0.9.8e-18.el6_5.2.i686 3/77 Verifying : cpp-4.4.7-11.el6.x86_64 4/77 Verifying : libselinux-devel-2.0.94-5.8.el6.x86_64 5/77 Verifying : libaio-devel-0.3.107-10.el6.x86_64 6/77 Verifying : subversion-1.6.11-10.el6_5.x86_64 7/77 Verifying : 2:xinetd-2.3.14-39.el6_4.x86_64 8/77 Verifying : libtool-ltdl-2.2.6-15.5.el6.i686 9/77 Verifying : unixODBC-devel-2.2.14-14.el6.x86_64 10/77 Verifying : cmake-2.8.12.2-4.el6.x86_64 11/77 Verifying : readline-devel-6.0-4.el6.x86_64 12/77 Verifying : man-pages-fr-3.23-11.el6.noarch 13/77 Verifying : zlib-devel-1.2.3-29.el6.i686 14/77 Verifying : unixODBC-devel-2.2.14-14.el6.i686 15/77 Verifying : libstdc++-devel-4.4.7-11.el6.x86_64 16/77 Verifying : lzop-1.02-0.9.rc1.el6.x86_64 17/77 Verifying : libcom_err-devel-1.41.12-21.el6.x86_64 18/77 Verifying : automake-1.11.1-4.el6.noarch 19/77 Verifying : 1:perl-Error-0.17015-4.el6.noarch 20/77 Verifying : lrzsz-0.12.20-27.1.el6.x86_64 21/77 Verifying : libstdc++-devel-4.4.7-11.el6.i686 22/77 Verifying : zlib-1.2.3-29.el6.i686 23/77 Verifying : man-pages-pl-0.24-8.1.el6.noarch 24/77 Verifying : nc-1.84-22.el6.x86_64 25/77 Verifying : ncurses-devel-5.7-3.20090208.el6.x86_64 26/77 Verifying : man-pages-it-2.80-6.el6.noarch 27/77 Verifying : ppl-0.10.2-11.el6.x86_64 28/77 Verifying : unixODBC-2.2.14-14.el6.x86_64 29/77 Verifying : readline-6.0-4.el6.i686 30/77 Verifying : mpfr-2.4.1-6.el6.x86_64 31/77 Verifying : ncurses-libs-5.7-3.20090208.el6.i686 32/77 Verifying : compat-libstdc++-33-3.2.3-69.el6.x86_64 33/77 Verifying : 2:man-pages-ko-20050219-17.el6.noarch 34/77 Verifying : unixODBC-2.2.14-14.el6.i686 35/77 Verifying : autoconf-2.63-5.1.el6.noarch 36/77 Verifying : ksh-20120801-21.el6.x86_64 37/77 Verifying : zlib-devel-1.2.3-29.el6.x86_64 38/77 Verifying : man-pages-ja-20100115-8.el6.noarch 39/77 Verifying : libtool-ltdl-devel-2.2.6-15.5.el6.i686 40/77 Verifying : cloog-ppl-0.15.7-1.2.el6.x86_64 41/77 Verifying : libaio-devel-0.3.107-10.el6.i686 42/77 Verifying : krb5-libs-1.10.3-33.el6.i686 43/77 Verifying : perl-Git-1.7.1-3.el6_4.1.noarch 44/77 Verifying : elfutils-libelf-0.158-3.2.el6.i686 45/77 Verifying : ncurses-devel-5.7-3.20090208.el6.i686 46/77 Verifying : gcc-c++-4.4.7-11.el6.x86_64 47/77 Verifying : nss-softokn-freebl-3.14.3-17.el6.i686 48/77 Verifying : elfutils-libelf-devel-0.158-3.2.el6.x86_64 49/77 Verifying : openssl-1.0.1e-30.el6.i686 50/77 Verifying : ncurses-term-5.7-3.20090208.el6.x86_64 51/77 Verifying : perl-URI-1.40-2.el6.noarch 52/77 Verifying : keyutils-libs-devel-1.4-5.el6.x86_64 53/77 Verifying : keyutils-libs-1.4-5.el6.i686 54/77 Verifying : git-1.7.1-3.el6_4.1.x86_64 55/77 Verifying : man-pages-es-1.55-14.el6.noarch 56/77 Verifying : elfutils-libelf-devel-0.158-3.2.el6.i686 57/77 Verifying : openssl098e-0.9.8e-18.el6_5.2.x86_64 58/77 Verifying : 1:telnet-0.17-48.el6.x86_64 59/77 Verifying : libstdc++-4.4.7-11.el6.i686 60/77 Verifying : libtool-2.2.6-15.5.el6.x86_64 61/77 Verifying : krb5-devel-1.10.3-33.el6.x86_64 62/77 Verifying : man-pages-es-extra-1.55-14.el6.noarch 63/77 Verifying : glibc-devel-2.12-1.149.el6.i686 64/77 Verifying : 1:telnet-server-0.17-48.el6.x86_64 65/77 Verifying : libcom_err-1.41.12-21.el6.i686 66/77 Verifying : gcc-4.4.7-11.el6.x86_64 67/77 Verifying : man-pages-cs-0.18.20090209-2.1.el6.noarch 68/77 Verifying : man-pages-uk-0.1-0.11.20071108.el6.noarch 69/77 Verifying : openssl-devel-1.0.1e-30.el6.i686 70/77 Verifying : libselinux-2.0.94-5.8.el6.i686 71/77 Verifying : libgcc-4.4.7-11.el6.i686 72/77 Verifying : readline-devel-6.0-4.el6.i686 73/77 Verifying : glibc-2.12-1.149.el6.i686 74/77 Verifying : libaio-0.3.107-10.el6.i686 75/77 Verifying : compat-libstdc++-33-3.2.3-69.el6.i686 76/77 Verifying : openssl-devel-1.0.1e-30.el6.x86_64 77/77 Installed: autoconf.noarch 0:2.63-5.1.el6 automake.noarch 0:1.11.1-4.el6 cmake.x86_64 0:2.8.12.2-4.el6 compat-libstdc++-33.i686 0:3.2.3-69.el6 compat-libstdc++-33.x86_64 0:3.2.3-69.el6 elfutils-libelf.i686 0:0.158-3.2.el6 elfutils-libelf-devel.i686 0:0.158-3.2.el6 elfutils-libelf-devel.x86_64 0:0.158-3.2.el6 gcc.x86_64 0:4.4.7-11.el6 gcc-c++.x86_64 0:4.4.7-11.el6 git.x86_64 0:1.7.1-3.el6_4.1 glibc.i686 0:2.12-1.149.el6 glibc-devel.i686 0:2.12-1.149.el6 ksh.x86_64 0:20120801-21.el6 libaio.i686 0:0.3.107-10.el6 libaio-devel.i686 0:0.3.107-10.el6 libaio-devel.x86_64 0:0.3.107-10.el6 libgcc.i686 0:4.4.7-11.el6 libstdc++.i686 0:4.4.7-11.el6 libstdc++-devel.i686 0:4.4.7-11.el6 libstdc++-devel.x86_64 0:4.4.7-11.el6 libtool.x86_64 0:2.2.6-15.5.el6 libtool-ltdl.i686 0:2.2.6-15.5.el6 libtool-ltdl-devel.i686 0:2.2.6-15.5.el6 lrzsz.x86_64 0:0.12.20-27.1.el6 lzop.x86_64 0:1.02-0.9.rc1.el6 man-pages-cs.noarch 0:0.18.20090209-2.1.el6 man-pages-es.noarch 0:1.55-14.el6 man-pages-es-extra.noarch 0:1.55-14.el6 man-pages-fr.noarch 0:3.23-11.el6 man-pages-it.noarch 0:2.80-6.el6 man-pages-ja.noarch 0:20100115-8.el6 man-pages-ko.noarch 2:20050219-17.el6 man-pages-pl.noarch 0:0.24-8.1.el6 man-pages-ru.noarch 0:0.97-9.el6 man-pages-uk.noarch 0:0.1-0.11.20071108.el6 nc.x86_64 0:1.84-22.el6 ncurses-devel.i686 0:5.7-3.20090208.el6 ncurses-devel.x86_64 0:5.7-3.20090208.el6 ncurses-libs.i686 0:5.7-3.20090208.el6 ncurses-term.x86_64 0:5.7-3.20090208.el6 openssl.i686 0:1.0.1e-30.el6 openssl-devel.i686 0:1.0.1e-30.el6 openssl-devel.x86_64 0:1.0.1e-30.el6 openssl098e.i686 0:0.9.8e-18.el6_5.2 openssl098e.x86_64 0:0.9.8e-18.el6_5.2 readline.i686 0:6.0-4.el6 readline-devel.i686 0:6.0-4.el6 readline-devel.x86_64 0:6.0-4.el6 subversion.x86_64 0:1.6.11-10.el6_5 telnet.x86_64 1:0.17-48.el6 telnet-server.x86_64 1:0.17-48.el6 unixODBC.i686 0:2.2.14-14.el6 unixODBC.x86_64 0:2.2.14-14.el6 unixODBC-devel.i686 0:2.2.14-14.el6 unixODBC-devel.x86_64 0:2.2.14-14.el6 zlib.i686 0:1.2.3-29.el6 zlib-devel.i686 0:1.2.3-29.el6 zlib-devel.x86_64 0:1.2.3-29.el6 Dependency Installed: cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.7-11.el6 keyutils-libs.i686 0:1.4-5.el6 keyutils-libs-devel.x86_64 0:1.4-5.el6 krb5-devel.x86_64 0:1.10.3-33.el6 krb5-libs.i686 0:1.10.3-33.el6 libcom_err.i686 0:1.41.12-21.el6 libcom_err-devel.x86_64 0:1.41.12-21.el6 libselinux.i686 0:2.0.94-5.8.el6 libselinux-devel.x86_64 0:2.0.94-5.8.el6 libsepol-devel.x86_64 0:2.0.41-4.el6 mpfr.x86_64 0:2.4.1-6.el6 nss-softokn-freebl.i686 0:3.14.3-17.el6 perl-Error.noarch 1:0.17015-4.el6 perl-Git.noarch 0:1.7.1-3.el6_4.1 perl-URI.noarch 0:1.40-2.el6 ppl.x86_64 0:0.10.2-11.el6 xinetd.x86_64 2:2.3.14-39.el6_4 Complete! ``` ## 关闭多余服务 ```sql chkconfig autofs off chkconfig acpid off chkconfig sendmail off chkconfig cups-config-daemon off chkconfig cpus off chkconfig xfs off chkconfig lm_sensors off chkconfig gpm off chkconfig openibd off chkconfig pcmcia off chkconfig cpuspeed off chkconfig nfslock off chkconfig iptables off chkconfig ip6tables off chkconfig rpcidmapd off chkconfig apmd off chkconfig sendmail off chkconfig arptables_jf off chkconfig microcode_ctl off chkconfig rpcgssd off ``` 注意:如果服务不存在,则可能报错 ```sql [root@bosenrui Packages]# chkconfig microcode_ctl off error reading information on service microcode_ctl: No such file or directory ``` ## 配置解析文件 ```sql [root@bosenrui Packages]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 [root@bosenrui Packages]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:DD:0F:B5 inet addr:192.168.2.80 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fedd:fb5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4404 errors:0 dropped:0 overruns:0 frame:0 TX packets:4444 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:350715 (342.4 KiB) TX bytes:1011585 (987.8 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:156 errors:0 dropped:0 overruns:0 frame:0 TX packets:156 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11040 (10.7 KiB) TX bytes:11040 (10.7 KiB) ``` ## 检查IP地址 ```sql [root@bosenrui Packages]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0C:29:DD:0F:B5 inet addr:192.168.2.80 Bcast:192.168.2.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fedd:fb5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4404 errors:0 dropped:0 overruns:0 frame:0 TX packets:4444 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:350715 (342.4 KiB) TX bytes:1011585 (987.8 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:156 errors:0 dropped:0 overruns:0 frame:0 TX packets:156 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11040 (10.7 KiB) TX bytes:11040 (10.7 KiB) ``` ## 上传安装文件 ```sql [root@bosenrui usr]# cd local/ [root@bosenrui local]# ll total 378328 drwxr-xr-x. 2 root root 4096 Sep 23 2011 bin drwxr-xr-x. 2 root root 4096 Sep 23 2011 etc drwxr-xr-x. 2 root root 4096 Sep 23 2011 games -rw-r--r-- 1 root root 214092195 Feb 20 2017 hadoop-2.7.3.tar.gz drwxr-xr-x. 2 root root 4096 Sep 23 2011 include -rw-r--r-- 1 root root 173271626 Jun 7 2016 jdk-8u45-linux-x64.tar.gz drwxr-xr-x. 2 root root 4096 Sep 23 2011 lib drwxr-xr-x. 2 root root 4096 Sep 23 2011 lib64 drwxr-xr-x. 2 root root 4096 Sep 23 2011 libexec drwxr-xr-x. 2 root root 4096 Sep 23 2011 sbin drwxr-xr-x. 5 root root 4096 Jan 24 19:34 share drwxr-xr-x. 2 root root 4096 Sep 23 2011 src ``` ## 解压JAVA ```sql [root@bosenrui local]# tar -zxvf jdk-8u45-linux-x64.tar.gz jdk1.8.0_45/ jdk1.8.0_45/jre/ jdk1.8.0_45/jre/plugin/ jdk1.8.0_45/jre/plugin/desktop/ jdk1.8.0_45/jre/plugin/desktop/sun_java.png .........解压输出省略................... jdk1.8.0_45/lib/ct.sym jdk1.8.0_45/lib/sa-jdi.jar jdk1.8.0_45/lib/ant-javafx.jar jdk1.8.0_45/LICENSE ``` ## 移动JAVA到/usr下 ```sql [root@bosenrui local]# mv jdk1.8.0_45 /usr/java sql ``` ## 修改/etc/profile ```sql # /etc/profile # System wide environment and startup programs, for login setup # Functions and aliases go in /etc/bashrc # It's NOT a good idea to change this file unless you know what you # are doing. It's much better to create a custom.sh shell script in # /etc/profile.d/ to make custom changes to your environment, as this # will prevent the need for merging in future updates. pathmunge () { case ":${PATH}:" in *:"$1":*) ;; *) if [ "$2" = "after" ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi esac } if [ -x /usr/bin/id ]; then if [ -z "$EUID" ]; then # ksh workaround EUID=`id -u` UID=`id -ru` fi USER="`id -un`" LOGNAME=$USER MAIL="/var/spool/mail/$USER" fi # Path manipulation if [ "$EUID" = "0" ]; then pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin pathmunge /usr/sbin pathmunge /usr/local/sbin else pathmunge /usr/local/sbin after pathmunge /usr/sbin after pathmunge /sbin after fi HOSTNAME=`/bin/hostname 2>/dev/null` HISTSIZE=1000 if [ "$HISTCONTROL" = "ignorespace" ] ; then export HISTCONTROL=ignoreboth else export HISTCONTROL=ignoredups fi export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL # By default, we want umask to get set. This sets it for login shell # Current threshold for system reserved uid/gids is 200 # You could check uidgid reservation validity in # /usr/share/doc/setup-*/uidgid file if [ $UID -gt 199 ] && [ "`id -gn`" = "`id -un`" ]; then umask 002 else umask 022 fi for i in /etc/profile.d/*.sh ; do if [ -r "$i" ]; then if [ "${-#*i}" != "$-" ]; then . "$i" else . "$i" >/dev/null 2>&1 fi fi done ## 从此处开始修改 export JAVA_HOME=/usr/java export JRE_HOME=/usr/java/jre export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib export PATH=$PATH:$JAVA_HOME/bin unset i unset -f pathmunge ``` ## 使环境变量生效 ```sql [root@server usr]# source /etc/profile ``` # Hadoop安装部分 ## 上传安装文件到指定目录 ```sql [root@server ~]# cd /usr/local/ [root@bosenrui local]# ll total 378328 drwxr-xr-x. 2 root root 4096 Sep 23 2011 bin drwxr-xr-x. 2 root root 4096 Sep 23 2011 etc drwxr-xr-x. 2 root root 4096 Sep 23 2011 games -rw-r--r-- 1 root root 214092195 Feb 20 2017 hadoop-2.7.3.tar.gz drwxr-xr-x. 2 root root 4096 Sep 23 2011 include -rw-r--r-- 1 root root 173271626 Jun 7 2016 jdk-8u45-linux-x64.tar.gz drwxr-xr-x. 2 root root 4096 Sep 23 2011 lib drwxr-xr-x. 2 root root 4096 Sep 23 2011 lib64 drwxr-xr-x. 2 root root 4096 Sep 23 2011 libexec drwxr-xr-x. 2 root root 4096 Sep 23 2011 sbin drwxr-xr-x. 5 root root 4096 Jan 24 19:34 share drwxr-xr-x. 2 root root 4096 Sep 23 2011 src ``` ## 解压Hadoop ```sql [root@bosenrui local]# tar -xzvf hadoop-2.7.3.tar.gz hadoop-2.7.3/ hadoop-2.7.3/bin/ hadoop-2.7.3/bin/hadoop .........解压输出省略................... hadoop-2.7.3/LICENSE.txt hadoop-2.7.3/NOTICE.txt hadoop-2.7.3/README.txt ``` ## 修改目录名 ```sql [root@bosenrui local]# mv hadoop-2.7.3 hadoop ``` ## 修改/etc/profile ```sql [root@server local]# cat /etc/profile # /etc/profile # System wide environment and startup programs, for login setup # Functions and aliases go in /etc/bashrc # It's NOT a good idea to change this file unless you know what you # are doing. It's much better to create a custom.sh shell script in # /etc/profile.d/ to make custom changes to your environment, as this # will prevent the need for merging in future updates. pathmunge () { case ":${PATH}:" in *:"$1":*) ;; *) if [ "$2" = "after" ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi esac } if [ -x /usr/bin/id ]; then if [ -z "$EUID" ]; then # ksh workaround EUID=`id -u` UID=`id -ru` fi USER="`id -un`" LOGNAME=$USER MAIL="/var/spool/mail/$USER" fi # Path manipulation if [ "$EUID" = "0" ]; then pathmunge /sbin pathmunge /usr/sbin pathmunge /usr/local/sbin else pathmunge /usr/local/sbin after pathmunge /usr/sbin after pathmunge /sbin after fi HOSTNAME=`/bin/hostname 2>/dev/null` HISTSIZE=1000 if [ "$HISTCONTROL" = "ignorespace" ] ; then export HISTCONTROL=ignoreboth else export HISTCONTROL=ignoredups fi export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL # By default, we want umask to get set. This sets it for login shell # Current threshold for system reserved uid/gids is 200 # You could check uidgid reservation validity in # /usr/share/doc/setup-*/uidgid file if [ $UID -gt 199 ] && [ "`id -gn`" = "`id -un`" ]; then umask 002 else umask 022 fi for i in /etc/profile.d/*.sh ; do if [ -r "$i" ]; then if [ "${-#*i}" != "$-" ]; then . "$i" else . "$i" >/dev/null 2>&1 fi fi done ## 此处以下为新加入内容 export JAVA_HOME=/usr/java export JRE_HOME=/usr/java/jre export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib export PATH=$PATH:$JAVA_HOME/bin ## 此处以下为新加入内容 export HADOOP_HOME=/usr/local/hadoop #export HADOOP_OPTS="-Djava.library.path=$HADOOP_PREFIX/lib:$HADOOP_PREFIX/lib/native" export LD_LIBRARY_PATH=$HADOOP_HOME/lib/native export HADOOP_COMMON_LIB_NATIVE_DIR=/usr/local/hadoop/lib/native export HADOOP_OPTS="-Djava.library.path=/usr/local/hadoop/lib" #export HADOOP_ROOT_LOGGER=DEBUG,console export PATH=$PATH:$JAVA_HOME/bin:$HADOOP_HOME/bin:$HADOOP_HOME/sbin unset i unset -f pathmunge ``` ## 使环境变量生效 ```sql [root@server ~]# source /etc/profile ``` # 修改Hadoop配置文件 ## 进入hadoop配置目录 ```sql [root@bosenrui local]# cd /usr/local/hadoop/etc/hadoop/ ``` ## hadoop-env.sh ```sql [root@server hadoop]# vim hadoop-env.sh # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # Set Hadoop-specific environment variables here. # The only required environment variable is JAVA_HOME. All others are # optional. When running a distributed configuration it is best to # set JAVA_HOME in this file, so that it is correctly defined on # remote nodes. # The java implementation to use. export JAVA_HOME=/usr/java ## 修改此处 # The jsvc implementation to use. Jsvc is required to run secure datanodes # that bind to privileged ports to provide authentication of data transfer # protocol. Jsvc is not required if SASL is configured for authentication of # data transfer protocol using non-privileged ports. #export JSVC_HOME=${JSVC_HOME} export HADOOP_CONF_DIR=${HADOOP_CONF_DIR:-"/etc/hadoop"} # Extra Java CLASSPATH elements. Automatically insert capacity-scheduler. for f in $HADOOP_HOME/contrib/capacity-scheduler/*.jar; do if [ "$HADOOP_CLASSPATH" ]; then export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:$f else export HADOOP_CLASSPATH=$f fi done # The maximum amount of heap to use, in MB. Default is 1000. #export HADOOP_HEAPSIZE= #export HADOOP_NAMENODE_INIT_HEAPSIZE="" # Extra Java runtime options. Empty by default. export HADOOP_OPTS="$HADOOP_OPTS -Djava.net.preferIPv4Stack=true" ``` ## 配置core-site.xml ```sql [root@bosenrui hadoop]# cat core-site.xml <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
fs.defaultFS
hdfs://bosenrui:9000
hadoop.tmp.dir
/var/hadoop/tmp
``` ## 配置hdfs-site.xml ```sql [root@server hadoop]# vi hdfs-site.xml <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
dfs.replication
1
``` ## 配置mapred-site.xml ```sql [root@server hadoop]# mv mapred-site.xml.template mapred-site.xml [root@server hadoop]# vi mapred-site.xml <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
mapreduce.framework.name
yarn
``` ## 配置yarn-site.xml ```sql [root@server hadoop]# vim yarn-site.xml <?xml version="1.0"?>
yarn.resourcemanager.hostname
bosenrui
yarn.nodemanager.aux-services
mapreduce_shuffle
~ ``` ## 利用Oracle集群互信脚本创建互信 ```sql [root@bosenrui ~]# sh sshUserSetup.sh -user root -hosts "bosenrui" -advanced -noPromptPassphrase The output of this script is also logged into /tmp/sshUserSetup_2018-01-25-02-20-40.log Hosts are bosenrui user is root Platform:- Linux Checking if the remote hosts are reachable PING bosenrui (192.168.2.80) 56(84) bytes of data. 64 bytes from bosenrui (192.168.2.80): icmp_seq=1 ttl=64 time=0.082 ms 64 bytes from bosenrui (192.168.2.80): icmp_seq=2 ttl=64 time=0.054 ms 64 bytes from bosenrui (192.168.2.80): icmp_seq=3 ttl=64 time=0.044 ms 64 bytes from bosenrui (192.168.2.80): icmp_seq=4 ttl=64 time=0.051 ms 64 bytes from bosenrui (192.168.2.80): icmp_seq=5 ttl=64 time=0.050 ms --- bosenrui ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4000ms rtt min/avg/max/mdev = 0.044/0.056/0.082/0.014 ms Remote host reachability check succeeded. The following hosts are reachable: bosenrui. The following hosts are not reachable: . All hosts are reachable. Proceeding further... firsthost bosenrui numhosts 1 The script will setup SSH connectivity from the host bosenrui to all the remote hosts. After the script is executed, the user can use SSH to run commands on the remote hosts or copy files between this host bosenrui and the remote hosts without being prompted for passwords or confirmations. NOTE 1: As part of the setup procedure, this script will use ssh and scp to copy files between the local host and the remote hosts. Since the script does not store passwords, you may be prompted for the passwords during the execution of the script whenever ssh or scp is invoked. NOTE 2: AS PER SSH REQUIREMENTS, THIS SCRIPT WILL SECURE THE USER HOME DIRECTORY AND THE .ssh DIRECTORY BY REVOKING GROUP AND WORLD WRITE PRIVILEDGES TO THESE directories. Do you want to continue and let the script make the above mentioned changes (yes/no)? yes The user chose yes User chose to skip passphrase related questions. Creating .ssh directory on local host, if not present already Creating authorized_keys file on local host Changing permissions on authorized_keys to 644 on local host Creating known_hosts file on local host Changing permissions on known_hosts to 644 on local host Creating config file on local host If a config file exists already at /root/.ssh/config, it would be backed up to /root/.ssh/config.backup. Removing old private/public keys on local host Running SSH keygen on local host with empty passphrase Generating public/private rsa key pair. Your identification has been saved in /root/.ssh/id_rsa. Your public key has been saved in /root/.ssh/id_rsa.pub. The key fingerprint is: 13:1e:0b:95:fd:04:6a:7d:ce:9b:ba:9e:8f:6d:02:72 root@bosenrui The key's randomart image is: +--[ RSA 1024]----+ | .o.. | | ..o. . | | . = .o. | | + + +. | | S o | | . E. o | | o . o | | .=. | | .*=o | +-----------------+ Creating .ssh directory and setting permissions on remote host bosenrui THE SCRIPT WOULD ALSO BE REVOKING WRITE PERMISSIONS FOR group AND others ON THE HOME DIRECTORY FOR root. THIS IS AN SSH REQUIREMENT. The script would create ~root/.ssh/config file on remote host bosenrui. If a config file exists already at ~root/.ssh/config, it would be backed up to ~root/.ssh/config.backup. The user may be prompted for a password here since the script would be running SSH on host bosenrui. Warning: Permanently added 'bosenrui,192.168.2.80' (RSA) to the list of known hosts. root@bosenrui's password: Done with creating .ssh directory and setting permissions on remote host bosenrui. Copying local host public key to the remote host bosenrui The user may be prompted for a password or passphrase here since the script would be using SCP for host bosenrui. root@bosenrui's password: Done copying local host public key to the remote host bosenrui Creating keys on remote host bosenrui if they do not exist already. This is required to setup SSH on host bosenrui. Updating authorized_keys file on remote host bosenrui Updating known_hosts file on remote host bosenrui cat: /root/.ssh/known_hosts.tmp: No such file or directory cat: /root/.ssh/authorized_keys.tmp: No such file or directory SSH setup is complete. ------------------------------------------------------------------------ Verifying SSH setup =================== The script will now run the date command on the remote nodes using ssh to verify if ssh is setup correctly. IF THE SETUP IS CORRECTLY SETUP, THERE SHOULD BE NO OUTPUT OTHER THAN THE DATE AND SSH SHOULD NOT ASK FOR PASSWORDS. If you see any output other than date or are prompted for the password, ssh is not setup correctly and you will need to resolve the issue and set up ssh again. The possible causes for failure could be: 1. The server settings in /etc/ssh/sshd_config file do not allow ssh for user root. 2. The server may have disabled public key based authentication. 3. The client public key on the server may be outdated. 4. ~root or ~root/.ssh on the remote host may not be owned by root. 5. User may not have passed -shared option for shared remote users or may be passing the -shared option for non-shared remote users. 6. If there is output in addition to the date, but no password is asked, it may be a security alert shown as part of company policy. Append the additional text to the
/sysman/prov/resources/ignoreMessages.txt file. ------------------------------------------------------------------------ --bosenrui:-- Running /usr/bin/ssh -x -l root bosenrui date to verify SSH connectivity has been setup from local host to bosenrui. IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL. Please note that being prompted for a passphrase may be OK but being prompted for a password is ERROR. Thu Jan 25 02:21:06 CST 2018 ------------------------------------------------------------------------ ------------------------------------------------------------------------ Verifying SSH connectivity has been setup from bosenrui to bosenrui IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL. bash: -c: line 0: unexpected EOF while looking for matching `"' bash: -c: line 1: syntax error: unexpected end of file ------------------------------------------------------------------------ -Verification from complete- SSH verification complete. ``` # 验证Hadooop安装结果 ## 格式化hdfs ```sql [root@bosenrui ~]# hdfs namenode -format 18/01/25 02:22:33 INFO namenode.NameNode: STARTUP_MSG: /************************************************************ STARTUP_MSG: Starting NameNode STARTUP_MSG: host = bosenrui/192.168.2.80 STARTUP_MSG: args = [-format] STARTUP_MSG: version = 2.7.3 STARTUP_MSG: classpath = /usr/local/hadoop/etc/hadoop:/usr/local/hadoop/share/hadoop/common/lib/jetty-6.1.26.jar:/usr/local/hadoop/share/hadoop/common/lib/mockito-all-1.8.5.jar:/usr/local/hadoop/share/hadoop/common/lib/jetty-util-6.1.26.jar:/usr/local/hadoop/share/hadoop/common/lib/httpcore-4.2.5.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-cli-1.2.jar:/usr/local/hadoop/share/hadoop/common/lib/snappy-java-1.0.4.1.jar:/usr/local/hadoop/share/hadoop/common/lib/hadoop-auth-2.7.3.jar:/usr/local/hadoop/share/hadoop/common/lib/curator-client-2.7.1.jar:/usr/local/hadoop/share/hadoop/common/lib/jackson-core-asl-1.9.13.jar:/usr/local/hadoop/share/hadoop/common/lib/netty-3.6.2.Final.jar:/usr/local/hadoop/share/hadoop/common/lib/jersey-core-1.9.jar:/usr/local/hadoop/share/hadoop/common/lib/jsp-api-2.1.jar:/usr/local/hadoop/share/hadoop/common/lib/jersey-server-1.9.jar:/usr/local/hadoop/share/hadoop/common/lib/slf4j-api-1.7.10.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-httpclient-3.1.jar:/usr/local/hadoop/share/hadoop/common/lib/jackson-xc-1.9.13.jar:/usr/local/hadoop/share/hadoop/common/lib/jsch-0.1.42.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-net-3.1.jar:/usr/local/hadoop/share/hadoop/common/lib/jets3t-0.9.0.jar:/usr/local/hadoop/share/hadoop/common/lib/httpclient-4.2.5.jar:/usr/local/hadoop/share/hadoop/common/lib/guava-11.0.2.jar:/usr/local/hadoop/share/hadoop/common/lib/apacheds-i18n-2.0.0-M15.jar:/usr/local/hadoop/share/hadoop/common/lib/xz-1.0.jar:/usr/local/hadoop/share/hadoop/common/lib/jackson-jaxrs-1.9.13.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:/usr/local/hadoop/share/hadoop/common/lib/java-xmlbuilder-0.4.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-io-2.4.jar:/usr/local/hadoop/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/usr/local/hadoop/share/hadoop/common/lib/api-util-1.0.0-M20.jar:/usr/local/hadoop/share/hadoop/common/lib/curator-framework-2.7.1.jar:/usr/local/hadoop/share/hadoop/common/lib/servlet-api-2.5.jar:/usr/local/hadoop/share/hadoop/common/lib/htrace-core-3.1.0-incubating.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:/usr/local/hadoop/share/hadoop/common/lib/paranamer-2.3.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-lang-2.6.jar:/usr/local/hadoop/share/hadoop/common/lib/protobuf-java-2.5.0.jar:/usr/local/hadoop/share/hadoop/common/lib/hadoop-annotations-2.7.3.jar:/usr/local/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar:/usr/local/hadoop/share/hadoop/common/lib/jettison-1.1.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-configuration-1.6.jar:/usr/local/hadoop/share/hadoop/common/lib/zookeeper-3.4.6.jar:/usr/local/hadoop/share/hadoop/common/lib/stax-api-1.0-2.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-collections-3.2.2.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-codec-1.4.jar:/usr/local/hadoop/share/hadoop/common/lib/apacheds-kerberos-codec-2.0.0-M15.jar:/usr/local/hadoop/share/hadoop/common/lib/asm-3.2.jar:/usr/local/hadoop/share/hadoop/common/lib/curator-recipes-2.7.1.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-math3-3.1.1.jar:/usr/local/hadoop/share/hadoop/common/lib/gson-2.2.4.jar:/usr/local/hadoop/share/hadoop/common/lib/activation-1.1.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-digester-1.8.jar:/usr/local/hadoop/share/hadoop/common/lib/jackson-mapper-asl-1.9.13.jar:/usr/local/hadoop/share/hadoop/common/lib/log4j-1.2.17.jar:/usr/local/hadoop/share/hadoop/common/lib/avro-1.7.4.jar:/usr/local/hadoop/share/hadoop/common/lib/jsr305-3.0.0.jar:/usr/local/hadoop/share/hadoop/common/lib/xmlenc-0.52.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-compress-1.4.1.jar:/usr/local/hadoop/share/hadoop/common/lib/junit-4.11.jar:/usr/local/hadoop/share/hadoop/common/lib/commons-logging-1.1.3.jar:/usr/local/hadoop/share/hadoop/common/lib/jersey-json-1.9.jar:/usr/local/hadoop/share/hadoop/common/lib/api-asn1-api-1.0.0-M20.jar:/usr/local/hadoop/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:/usr/local/hadoop/share/hadoop/common/lib/hamcrest-core-1.3.jar:/usr/local/hadoop/share/hadoop/common/hadoop-nfs-2.7.3.jar:/usr/local/hadoop/share/hadoop/common/hadoop-common-2.7.3.jar:/usr/local/hadoop/share/hadoop/common/hadoop-common-2.7.3-tests.jar:/usr/local/hadoop/share/hadoop/hdfs:/usr/local/hadoop/share/hadoop/hdfs/lib/jetty-6.1.26.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/netty-all-4.0.23.Final.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/jetty-util-6.1.26.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/leveldbjni-all-1.8.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/jackson-core-asl-1.9.13.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/netty-3.6.2.Final.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/jersey-core-1.9.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/jersey-server-1.9.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/guava-11.0.2.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/commons-io-2.4.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/servlet-api-2.5.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/htrace-core-3.1.0-incubating.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/commons-lang-2.6.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/xercesImpl-2.9.1.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/commons-codec-1.4.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/asm-3.2.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/jackson-mapper-asl-1.9.13.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/log4j-1.2.17.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/jsr305-3.0.0.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/xmlenc-0.52.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/xml-apis-1.3.04.jar:/usr/local/hadoop/share/hadoop/hdfs/lib/commons-logging-1.1.3.jar:/usr/local/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.7.3-tests.jar:/usr/local/hadoop/share/hadoop/hdfs/hadoop-hdfs-nfs-2.7.3.jar:/usr/local/hadoop/share/hadoop/hdfs/hadoop-hdfs-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jersey-client-1.9.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jetty-6.1.26.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jetty-util-6.1.26.jar:/usr/local/hadoop/share/hadoop/yarn/lib/commons-cli-1.2.jar:/usr/local/hadoop/share/hadoop/yarn/lib/leveldbjni-all-1.8.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jackson-core-asl-1.9.13.jar:/usr/local/hadoop/share/hadoop/yarn/lib/netty-3.6.2.Final.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jersey-core-1.9.jar:/usr/local/hadoop/share/hadoop/yarn/lib/guice-servlet-3.0.jar:/usr/local/hadoop/share/hadoop/yarn/lib/javax.inject-1.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jersey-server-1.9.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jersey-guice-1.9.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jackson-xc-1.9.13.jar:/usr/local/hadoop/share/hadoop/yarn/lib/zookeeper-3.4.6-tests.jar:/usr/local/hadoop/share/hadoop/yarn/lib/guava-11.0.2.jar:/usr/local/hadoop/share/hadoop/yarn/lib/xz-1.0.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jackson-jaxrs-1.9.13.jar:/usr/local/hadoop/share/hadoop/yarn/lib/commons-io-2.4.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jaxb-api-2.2.2.jar:/usr/local/hadoop/share/hadoop/yarn/lib/servlet-api-2.5.jar:/usr/local/hadoop/share/hadoop/yarn/lib/commons-lang-2.6.jar:/usr/local/hadoop/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jettison-1.1.jar:/usr/local/hadoop/share/hadoop/yarn/lib/zookeeper-3.4.6.jar:/usr/local/hadoop/share/hadoop/yarn/lib/guice-3.0.jar:/usr/local/hadoop/share/hadoop/yarn/lib/stax-api-1.0-2.jar:/usr/local/hadoop/share/hadoop/yarn/lib/commons-collections-3.2.2.jar:/usr/local/hadoop/share/hadoop/yarn/lib/commons-codec-1.4.jar:/usr/local/hadoop/share/hadoop/yarn/lib/asm-3.2.jar:/usr/local/hadoop/share/hadoop/yarn/lib/activation-1.1.jar:/usr/local/hadoop/share/hadoop/yarn/lib/aopalliance-1.0.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jackson-mapper-asl-1.9.13.jar:/usr/local/hadoop/share/hadoop/yarn/lib/log4j-1.2.17.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jsr305-3.0.0.jar:/usr/local/hadoop/share/hadoop/yarn/lib/commons-compress-1.4.1.jar:/usr/local/hadoop/share/hadoop/yarn/lib/commons-logging-1.1.3.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jersey-json-1.9.jar:/usr/local/hadoop/share/hadoop/yarn/lib/jaxb-impl-2.2.3-1.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-api-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-server-common-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-client-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-server-sharedcachemanager-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-server-tests-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-common-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.7.3.jar:/usr/local/hadoop/share/hadoop/yarn/hadoop-yarn-registry-2.7.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/leveldbjni-all-1.8.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/jackson-core-asl-1.9.13.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/netty-3.6.2.Final.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/jersey-core-1.9.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/guice-servlet-3.0.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/javax.inject-1.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/jersey-server-1.9.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/jersey-guice-1.9.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/xz-1.0.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/commons-io-2.4.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/paranamer-2.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/protobuf-java-2.5.0.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/hadoop-annotations-2.7.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/guice-3.0.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/asm-3.2.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/aopalliance-1.0.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/jackson-mapper-asl-1.9.13.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/log4j-1.2.17.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/avro-1.7.4.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/commons-compress-1.4.1.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/junit-4.11.jar:/usr/local/hadoop/share/hadoop/mapreduce/lib/hamcrest-core-1.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.7.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.7.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.7.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.7.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.3-tests.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.7.3.jar:/usr/local/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.7.3.jar:/usr/local/hadoop/contrib/capacity-scheduler/*.jar STARTUP_MSG: build = https://git-wip-us.apache.org/repos/asf/hadoop.git -r baa91f7c6bc9cb92be5982de4719c1c8af91ccff; compiled by 'root' on 2016-08-18T01:41Z STARTUP_MSG: java = 1.8.0_45 ************************************************************/ 18/01/25 02:22:33 INFO namenode.NameNode: registered UNIX signal handlers for [TERM, HUP, INT] 18/01/25 02:22:33 INFO namenode.NameNode: createNameNode [-format] 18/01/25 02:22:35 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Formatting using clusterid: CID-8141b669-91d7-4c6a-8586-1372e7041db4 18/01/25 02:22:35 INFO namenode.FSNamesystem: No KeyProvider found. 18/01/25 02:22:35 INFO namenode.FSNamesystem: fsLock is fair:true 18/01/25 02:22:35 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit=1000 18/01/25 02:22:35 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 18/01/25 02:22:35 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 18/01/25 02:22:35 INFO blockmanagement.BlockManager: The block deletion will start around 2018 Jan 25 02:22:35 18/01/25 02:22:35 INFO util.GSet: Computing capacity for map BlocksMap 18/01/25 02:22:35 INFO util.GSet: VM type = 64-bit 18/01/25 02:22:35 INFO util.GSet: 2.0% max memory 966.7 MB = 19.3 MB 18/01/25 02:22:35 INFO util.GSet: capacity = 2^21 = 2097152 entries 18/01/25 02:22:35 INFO blockmanagement.BlockManager: dfs.block.access.token.enable=false 18/01/25 02:22:35 INFO blockmanagement.BlockManager: defaultReplication = 1 18/01/25 02:22:35 INFO blockmanagement.BlockManager: maxReplication = 512 18/01/25 02:22:35 INFO blockmanagement.BlockManager: minReplication = 1 18/01/25 02:22:35 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 18/01/25 02:22:35 INFO blockmanagement.BlockManager: replicationRecheckInterval = 3000 18/01/25 02:22:35 INFO blockmanagement.BlockManager: encryptDataTransfer = false 18/01/25 02:22:35 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 18/01/25 02:22:36 INFO namenode.FSNamesystem: fsOwner = root (auth:SIMPLE) 18/01/25 02:22:36 INFO namenode.FSNamesystem: supergroup = supergroup 18/01/25 02:22:36 INFO namenode.FSNamesystem: isPermissionEnabled = true 18/01/25 02:22:36 INFO namenode.FSNamesystem: HA Enabled: false 18/01/25 02:22:36 INFO namenode.FSNamesystem: Append Enabled: true 18/01/25 02:22:36 INFO util.GSet: Computing capacity for map INodeMap 18/01/25 02:22:36 INFO util.GSet: VM type = 64-bit 18/01/25 02:22:36 INFO util.GSet: 1.0% max memory 966.7 MB = 9.7 MB 18/01/25 02:22:36 INFO util.GSet: capacity = 2^20 = 1048576 entries 18/01/25 02:22:36 INFO namenode.FSDirectory: ACLs enabled? false 18/01/25 02:22:36 INFO namenode.FSDirectory: XAttrs enabled? true 18/01/25 02:22:36 INFO namenode.FSDirectory: Maximum size of an xattr: 16384 18/01/25 02:22:36 INFO namenode.NameNode: Caching file names occuring more than 10 times 18/01/25 02:22:36 INFO util.GSet: Computing capacity for map cachedBlocks 18/01/25 02:22:36 INFO util.GSet: VM type = 64-bit 18/01/25 02:22:36 INFO util.GSet: 0.25% max memory 966.7 MB = 2.4 MB 18/01/25 02:22:36 INFO util.GSet: capacity = 2^18 = 262144 entries 18/01/25 02:22:36 INFO namenode.FSNamesystem: dfs.namenode.safemode.threshold-pct = 0.9990000128746033 18/01/25 02:22:36 INFO namenode.FSNamesystem: dfs.namenode.safemode.min.datanodes = 0 18/01/25 02:22:36 INFO namenode.FSNamesystem: dfs.namenode.safemode.extension = 30000 18/01/25 02:22:36 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 18/01/25 02:22:36 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 18/01/25 02:22:36 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 18/01/25 02:22:36 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 18/01/25 02:22:36 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 18/01/25 02:22:36 INFO util.GSet: Computing capacity for map NameNodeRetryCache 18/01/25 02:22:36 INFO util.GSet: VM type = 64-bit 18/01/25 02:22:36 INFO util.GSet: 0.029999999329447746% max memory 966.7 MB = 297.0 KB 18/01/25 02:22:36 INFO util.GSet: capacity = 2^15 = 32768 entries 18/01/25 02:22:36 INFO namenode.FSImage: Allocated new BlockPoolId: BP-613945281-192.168.2.80-1516818156799 18/01/25 02:22:37 INFO common.Storage: Storage directory /var/hadoop/tmp/dfs/name has been successfully formatted. 18/01/25 02:22:37 INFO namenode.FSImageFormatProtobuf: Saving image file /var/hadoop/tmp/dfs/name/current/fsimage.ckpt_0000000000000000000 using no compression 18/01/25 02:22:37 INFO namenode.FSImageFormatProtobuf: Image file /var/hadoop/tmp/dfs/name/current/fsimage.ckpt_0000000000000000000 of size 351 bytes saved in 0 seconds. 18/01/25 02:22:37 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0 18/01/25 02:22:37 INFO util.ExitUtil: Exiting with status 0 18/01/25 02:22:37 INFO namenode.NameNode: SHUTDOWN_MSG: /************************************************************ SHUTDOWN_MSG: Shutting down NameNode at bosenrui/192.168.2.80 ************************************************************/ ``` ## 启动集群 ```sql [root@bosenrui ~]# start-all.sh This script is Deprecated. Instead use start-dfs.sh and start-yarn.sh 18/01/25 02:29:55 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Starting namenodes on [bosenrui] bosenrui: starting namenode, logging to /usr/local/hadoop/logs/hadoop-root-namenode-bosenrui.out localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-root-datanode-bosenrui.out Starting secondary namenodes [0.0.0.0] 0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-root-secondarynamenode-bosenrui.out 18/01/25 02:30:28 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable starting yarn daemons starting resourcemanager, logging to /usr/local/hadoop/logs/yarn-root-resourcemanager-bosenrui.out localhost: starting nodemanager, logging to /usr/local/hadoop/logs/yarn-root-nodemanager-bosenrui.out ``` ## 进程检查 ```sql [root@server ~]# jps 4976 DataNode 5425 NodeManager 5750 Jps 5322 ResourceManager 5162 SecondaryNameNode 4875 NameNode ``` ## 进入 Web界面 ![image](http://wx2.sinaimg.cn/mw690/006Pv9mtly1fnrw3xtgpyj31ge0tkn03.jpg) ## 进入 MapReduce Web界面 ![image](http://wx4.sinaimg.cn/mw690/006Pv9mtly1fnrw3q5tjlj31h90emwha.jpg) [1]: http://www.jiagulun.com/thread-273748-1-1.html/%20*%E8%A7%82%E7%9C%8B*
上一篇:
Hive 安装配置实录
|
下一篇:
返回列表
aiaiDBA
加微信获取免费职业规划+学习资料,
了解年薪50万的DBA是如何练成的
13718043309
010-86462881