自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(22)
  • 收藏
  • 关注

转载 ps -ef | grep 用法详解

ps命令将某个进程显示出来grep命令是查找中间的|是管道命令 是指ps命令与grep同时执行PS是LINUX下最常用的也是非常强大的进程查看命令grep命令是查找,是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。grep全称是Global Regular Expression Print,表示全局正则表达式版本,它的使用权限是所有用户。以下这条...

2018-12-29 17:26:25 482

转载 ps -aux | grep 用法详解

运行 ps aux 的到如下信息:   ps auxUSER    PID   %CPU %MEM VSZ   RSS TTY    STAT   START TIME COMMANDsmmsp 3521   0.0    0.7     6556 1616     ?        Ss      20:40 0:00 sendmail: Queue runner@01:00:00 fr...

2018-12-29 17:24:58 34089 2

原创 superset ERROR:root:libmysqlclient.so.20: cannot open shared object file: No such file or directory

superset 连接mysql报错如下superset ERROR:root:libmysqlclient.so.20: cannot open shared object file: No such file or directory具体报错:  解决办法:find / -namelibmysqlclient.so.20对应的文件路径如下:/data/a...

2018-12-29 15:05:53 888

转载 Raid0,Raid1,Raid5,Raid10的总结

RAID0定义:RAID 0又称为Stripe或Striping,它代表了所有RAID级别中最高的存储性能。RAID 0提高存储性能的原理是把连续的数据分散到多个磁盘上存取,这样,系统有数据请求就可以被多个磁盘并行的执行,每个磁盘执行属于它自己的那部分数据请求。这种数据上的并行操作可以充分利用总线的带宽,显著提高磁盘整体存取性能。工作原理:系统向三个磁盘组成的逻辑硬盘(RAID...

2018-12-21 16:58:31 1126

转载 方法的覆盖(override)、重载(overload)和重写(overwrite)

方法的覆盖(override)、重载(overload)和重写(overwrite) 覆盖(override) Example Output 重载(overload) Example Output 重写(overwrite) Example Output 覆盖(override)继承了父类的同名无參函数:当子类从父类继承一个无參方...

2018-12-20 17:41:31 384

原创 hbase ERROR [main] regionserver.HRegionServerCommandLine: Region server exiting

2018-12-13 17:07:07,513 ERROR [main] regionserver.HRegionServerCommandLine: Region server exitingjava.lang.RuntimeException: HRegionServer Aborted        at org.apache.hadoop.hbase.regionserver.HReg...

2018-12-18 17:40:41 2445 1

转载 hive java.lang.NoSuchMethodError: com.ibm.icu.impl.ICUBinary.getRequiredData

环境说明hadoop-2.7.4hive-2.3.2hbase-1.4.2jdk1.8.0_161问题现象原先启动hiveserver2和metastore的两个服务一直运行状况良好,重启这个两个服务后都出现如下异常信息启动命令示例:hive --service hiveserver2Exception in thread "main" java.lang.NoS...

2018-12-13 17:41:15 1513

原创 phoenix和hbase可视化安装

使用Squirrel可视化sql操作hbase前提条件:hadoop集群,hbase集群,及phoenix(单机或者集群)已经完成安装。注意:phoenix的安装版本一定要和hbase匹配。否则则会一直报错1:下载http://www.squirrelsql.org/        去官网下载版本(版本无严格要求,我下载最新版本)squirrel-sql-3.9.0-standar...

2018-12-13 16:18:08 1663

转载 squirrel安装(连接hbase,整合phoenix)phoenix可视化安装

注意:使用Squirrel 链接 Phoenix的前提是 HBase 集群已经集成了 Phoenix一.下载安装(squirrel是一个连接hbase数据库的界面工具)从网址http://www.squirrelsql.org/下载相应版本的squirrel的安装jar包,比如下载squirrel-sql-3.7-standard.jar双击安装,出现如下安装界面,下一步开始安装 ...

2018-12-13 15:54:14 1270 1

转载 superset 配置连接 hbase

1. 简单说明最近配置superset查询hbase, 根据网上查询到的文档和经验,成功了一次(python3.4  superset 0.20.),后边重试换各种版本就不行了。最后根据错误终于发现了曙光。以下的环境配置是   superset         0.25.6  python    3.6.5 注: superset配置说明 https://github.com/...

2018-12-12 11:40:03 1027

转载 Linux(CentOS6)上安装python3.6 并创建虚拟环境 -----最牛逼的方法

...安装IUS,IUS provides Red Hat Package Manager(RPM) packages for some newer versions of select software....https://ius.io/GettingStarted/yum upateyum install https://centos6.iuscommunity.org/ius...

2018-12-12 11:39:04 358

原创 将hbase中的表映射到phoenix中用sql语句操作

将hbase中的表映射到phoenix中用sql语句操作[root@master ~]# hbase shellhbase(main):001:0> create 'SHUJUBU',  {NAME=>'cf1'}, {NAME=>'cf2'}hbase(main):001:0> hbase(main):042:0> put 'SHUJUBU', '001',...

2018-12-11 16:13:41 456

原创 phoenix的安装

phoenix 安装hbase和Phoenix版本要匹配我的版本hbase-1.4.6apache-phoenix-4.14.1-HBase-1.4-binhbase集群三个节点。Phoenix只在master节点上安装安装过程下载Phoenixwget http://mirrors.shu.edu.cn/apache/phoenix/apache-phoenix-4.14...

2018-12-11 10:54:45 308

转载 Phoenix安装

 不多说,直接上干货!   写在前面的话    我这里,三个节点的bigdata集群。分别为master、slave1和slave2。      1、Phoenix的下载  我的HBase版本是hbase-0.98.19。 下载地址:  http://mirror.bit.edu.cn/apache/phoenix/  或者 ...

2018-12-11 10:40:04 536

原创 root:Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: No wo

hive与superset集成,superset连接hive出现root:Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: No worthy mechs found'  缺少安装组件yum install cyrus-sasl-plain  cyr...

2018-12-10 13:58:49 3792 1

原创 用不同的python版本创建虚拟环境

默认情况下virtualenv venv 是用python2.7  linux自带python创建的环境指定python3 virtualenv -p /home/data/appcom/python3/bin/python3 venv 安装的时候pip3是python3pip是python2.7...

2018-12-10 11:20:01 233

原创 pip3 出现 -bash /usr/local/bin/pip3 /usr/local/bin/python3 no directory

同时安装python和python3[root@master ~]# pythonPython 2.7.5 (default, Apr 11 2018, 07:36:10)[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2Type "help", "copyright", "credits" or "license" for more inf...

2018-12-10 10:10:14 11590 2

转载 报错:bash: pip: command not found

$ wget https://bootstrap.pypa.io/get-pip.py$ python get-pip.py$ pip -V  #查看pip版本

2018-12-10 10:02:40 949

转载 CentOS 7 下使用yum安装MySQL5.7.20 最简单 图文详解

CentOS7默认数据库是mariadb, 但是 好多用的都是mysql ,但是CentOS7的yum源中默认好像是没有mysql的。上一篇安装的是5.6的但是我想安装5.7的  yum安装是最简单的 尝试过编译安装各种问题,最后就决定用yum。(经过一段时间的学习又写了一篇用源码安装mysql5.7.22的 点击打开链接)1.卸载  先停掉mysql进程   没有安装过的可以直接跳过...

2018-12-05 11:47:56 145

转载 CentOS7下安装MySQL5.7安装与配置(YUM)

http://blog.csdn.net/xyang81/article/details/51759200安装环境:CentOS7 64位 MINI版,安装MySQL5.71、配置YUM源在MySQL官网中下载YUM源rpm安装包:http://dev.mysql.com/downloads/repo/yum/ # 下载mysql源安装包shell> wget http:...

2018-12-04 17:46:04 153 1

原创 yum安装后出现 Loaded plugins: fastestmirror, refresh-packagekit, security

yum安装后出现Loaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfileSetting up Install ProcessNo package gcc available.Error: Nothing to do如果网路良好先检查1....

2018-12-04 09:15:18 12077 4

原创 centos7 重新安装yum和python2

yum源不能使用重新安装[root@master ~]# cat /etc/redhat-releaseCentOS Linux release 7.5.1804 (Core)python和yum卸载rpm -qa|grep python|xargs rpm -e --allmatches --nodepswhereis python|xargs rm -frrpm -qa|gre...

2018-12-04 09:13:23 934

空空如也

空空如也

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

TA关注的人

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