博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Centos7安装greenplum遇到的问题
阅读量:5986 次
发布时间:2019-06-20

本文共 3038 字,大约阅读时间需要 10 分钟。

Centos7安装greenplum遇到的问题

问题1:gpcheck的时候xfs文件系统报错

20180725:09:02:10:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-dedupe hostnames

20180725:09:02:10:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-Detected platform: Generic Linux Cluster

20180725:09:02:10:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-generate data on servers

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-copy data files from servers

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-delete remote tmp files

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[INFO]:-Using gpcheck config file: /home/hahahahah/greenplum-db/./etc/gpcheck.cnf

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/mapper/cl-root has 6 XFS mount options and 4 are expected

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/mapper/cl-root is missing the recommended mount option 'allocsize=16m'

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/mapper/cl-home has 7 XFS mount options and 4 are expected

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/mapper/cl-home is missing the recommended mount option 'allocsize=16m'

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/sda1 has 7 XFS mount options and 4 are expected

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): XFS filesystem on device /dev/sda1 is missing the recommended mount option 'allocsize=16m'

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-24): potential NTPD issue.  gpcheck end time (Wed Jul 25 09:02:10 2018) time on machine (Wed Jul 25 09:02:13 2018)

20180725:09:02:11:002498 gpcheck:bigdata-3-22:hahahahah-[ERROR]:-GPCHECK_ERROR host(bigdata-3-23): XFS filesystem on device /dev/mappe

 

网络解决方法:修改/etc/fstab的配置如下:

/dev/mapper/cl-root     /                       xfs     nodev,noatime,nobarrier,inode64,allocsize=16m      0 0

UUID=2d2cd8de-8d11-4cf0-8780-070a806a0fbb /boot                   xfs     nodev,noatime,nobarrier,inode64,allocsize=16m      0 0

/dev/mapper/cl-home     /home                   xfs     nodev,noatime,nobarrier,inode64,allocsize=16m      0 0

/dev/mapper/cl-swap     swap                    swap    nodev,noatime,inode64,nobarrier,allocsize=16m      0 0

重启不生效!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

 

解决办法:修改gpcheck的代码:注释掉一行,绕过XFS mounts检查。

 

 

问题2:gp初始化segment节点启动失败,查看日志,问题如下:

20180725:14:15:18:013574 gpcreateseg.sh:bigdata-3-22:iflytek-[WARN]:-Failed to insert port=40000 in /home/iflytek/greenplum/data/primary/gpseg1/postgresql.conf on bigdata-3-24

20180725:14:15:18:013574 gpcreateseg.sh:bigdata-3-22:iflytek-[INFO]:-End Function ED_PG_CONF

20180725:14:15:19:013574 gpcreateseg.sh:bigdata-3-22:iflytek-[FATAL][1]:-Failed Update port number to 40000

主节点操作不了从节点的文件,因为没有安装ed编辑器ed-1.1-3.3.el6.x86_64。安装完之后,初始化成功。

转载地址:http://hhylx.baihongyu.com/

你可能感兴趣的文章
asp.net中获取网站根目录和物理路径的方法
查看>>
Android 开发中常用的Eclipse快捷键
查看>>
第三次作业
查看>>
ASP.NET缓存全解析1 转自网络原文作者李天平
查看>>
【Unity Shader学习笔记】(四)绘制Julia奇幻图形
查看>>
UML架构(转载)
查看>>
解决bash: mysql: command not found 的方法
查看>>
EF for Mysql
查看>>
java第四章:数组
查看>>
WEB服务器安装oracle jdbc
查看>>
DevExpress学习之ASPxGridView后台增加列
查看>>
例题6-20 UVa1599 Ideal Path(两次BFS)
查看>>
SOCKIT 在make时出现(target pattern contains no % stop)???
查看>>
java_instanceof运算符的总结
查看>>
pip install GitHub package
查看>>
mybatis中传递参数时,会加上单引号
查看>>
关于 using namespace * (转载)
查看>>
布局设置加版心?
查看>>
Java常用排序算法 / 程序员必须掌握的8大排序算法
查看>>
网络编程中常需考虑的情况
查看>>