Monthly Archives: October 2015

log4j详解与实战

http://www.iteye.com/topic/378077   log4j是一个非常强大的log记录软件,下面我们就来看看在项目中如何使log4j。 首先当然是得到log4j的jar档,推荐使用1.2.X版,下载地址: http://logging.apache.org/log4j/1.2/download.html 我们先看一个最简单的示例: 【示例1】 项目结构: 【注:由于这里的多个项目公用一个jar档,我们可以创建一个专门放置jar档的Java工程,然后将jar档放到lib目录下。在要使用的工程中按图所示进行引用 】 Java代码: package... Read More | Share it now!

Oozie Shell Action 配置

Shell Action Shell action运行一个shell命令,需要配置的有job-tracker,name-node和一些必要的参数。 经过配置,在启动Shell... Read More | Share it now!

Oozie Coordinator使用及详解

Oozie所支持工作流,工作流定义通过将多个Hadoop... Read More | Share it now!

Cloudera Manager Installation

Before installing Hortonworks, please set up your Centos Envirenment: https://wp.huangshiyang.com/env-set-up-centos Automated Installation Ideal for trying Cloudera enterprise data hub, the installer will download Cloudera Manager from... Read More | Share it now!

Set up CentOS for Hortonworks and Cloudera

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.1.0/bk_ambari-installation/content/prepare_the_environment.html   #Network vi /etc/sysconfig/network-scripts/ifcfg-eth0 -> ONBOOT=yes /etc/sysconfig/network-scripts/ifup... Read More | Share it now!

Hostname

The hostname command returns results from DNS and /etc/hosts. hostname is equivilant to uname -n and is the actual “hostname” or “nodename” of the box. All the other hostname arguments use this nodename to look up info. So... Read More | Share it now!

CentOS Linux下VNC Server远程桌面配置详解

PS:偶以前基本不用Linux的远程图形桌面,前几天有开发的同事配置CentOS的vnc有问题,找我解决,就顺便记录总结一下,这个总结是比较完整的。下面的配置在CentOS5.x和6.x、SUSE企业版亲测验证,其他发行版按理也通用: 一、安装相应桌面环境与vnc服务端和客户端: #... Read More | Share it now!

Disk Partitioning With fdisk Linux分区

Reference: http://www.liquidweb.com/kb/disk-partitioning-with-fdisk-2/ 1. 显示 disk 信息 命令: fdisk -l 或: parted -l (以G为单位进行显示) 或: df -h 2. 选择目标disk 命令: fdisk /dev/sda 名称可能因disk而异 3.... Read More | Share it now!