自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

魂醉的一亩二分地

夜阑风静縠纹平。小舟从此逝,江海寄余生。

  • 博客(8)
  • 资源 (1)
  • 收藏
  • 关注

原创 CDH HDFS failover 配置

CDH默认的有一个(NN)namenode,一个(SNN)secondary namenode,但是这里要注意的是,SNN并不提供failover的能力 也就是说NN挂了,SNN是不会接管服务的,只能从SNN恢复NN,然后启动NN。CDH也提供了,HDFS failover的能力,但是要依靠zookeeper服务。配置failover需要具备以下几点要求: 1.namenode和standby

2017-05-25 16:35:25 866

原创 CDH (cloudeta's distribution for hadoop) 添加节点

CDH (cloudera's distribution for hadoop)是cloudera公司发布的的hadoop,是基于apache hadoop版本研发的,优点是部署方便,管理方便,也是最流行的发行版本,拥有最多的部署案例,今天我们就介绍一下安装使用。上一篇文章介绍了CM得安装,安装好CM后,那么我们就可以安装CDH了,我这里以新增节点的方式介绍一下新增主机信息:1

2017-05-24 16:21:33 1272

原创 Cloudera manager install

cloudera manager 是CDH(cloudera's distribution for hadoop)的管理软件,所以在安装CDH之前,我们必须先安装cloudera manager有三种安装方式:a.自动在线安装,服务器需要访问外网,下载资源,优点是简单b.手动安装包安装,比如rpm,yum等等c.手动tarballs安装,和apache安装差不多

2017-05-23 17:54:33 1532

原创 linux 大硬盘格式化挂载使用

这里将不适用fdisk,应为fdisk最大分区是2T,使用parted进行分区,格式为gptparted /dev/sdd    GNU Parted 2.1Using /dev/sddWelcome to GNU Parted! Type 'help' to view a list of commands.(parted) mklabel gpt              

2017-05-16 12:41:26 1524

原创 Postgresql 归档失败

9.2.9版本的postgresql报以下错误2017-05-12 16:15:03.944 CST,,,6641,,58802902.19f1,4789,,2017-01-19 10:48:34 CST,,0,LOG,00000,"archive command failed with exit code 1","The failed archive command was: DIR=/pgar

2017-05-15 14:49:30 2516

原创 Postgresql GROUPING SETS、CUBE和ROLLUP

group sets select * from test; id | name —–+——— 1 | apple 2 | apple 3 | banana 4 | orange 5 | pumpkin 2 | apple 2 | apple 5 | orange 3 | apple 100 | apple

2017-05-10 17:29:25 1212

原创 Postgresql窗口函数

row_number()rank()dense_rank()percent_rank()cume_dist()举例:hank=> select * from test order by name; id  |  name   -----+--------- 100 | apple   2 | apple   2 | apple   2 | a

2017-05-09 15:38:57 604

原创 Postgresql General-Purpose Aggregate Functions

Postgresql 普通聚合函数测试表: select id from test  where id id ----  1  2  3  4  5  6  7  8  9求平均值,最大,以及最小值函数select avg(id),max(id),min(id)  from test where id       avg

2017-05-08 17:13:05 479

GREENPLUM管理向导

This guide provides information and instructions for configuring, maintaining and using a Greenplum Database system. This guide is intended for system and database administrators responsible for managing a Greenplum Database system. This guide assumes knowledge of Linux/UNIX system administration, database management systems, database administration, and structured query language (SQL). Because Greenplum Database is based on PostgreSQL 8.2.14, this guide assumes some familiarity with PostgreSQL. Links and cross-references to PostgreSQL documentation are provided throughout this guide for features that are similar to those in Greenplum Database.

2018-04-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除