会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大数据小码农
代码改变世界
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
下一页
2019年11月22日
Kerberos常见错误
摘要: 1.CDH安装Kerberos后,重启集群报错 ~~~ Socket Reader 1 for port 8022: readAndProcess from client 192.168.50.83 threw exception [javax.security.sasl.SaslException
阅读全文
posted @ 2019-11-22 10:38 大数据小码农
阅读(2189)
评论(0)
推荐(0)
2019年11月21日
expect实现脚本的 自动交互
摘要: 1.需求 最近需要使用scp自动将本地服务器的文件拷贝到远程服务器上; 2.安装expect ~~~ 安装expect前,需要安装tcl环境 yum y install tcl yum y install expect ~~~ 3.expect脚本 ~~~ !/usr/bin/expect set
阅读全文
posted @ 2019-11-21 23:11 大数据小码农
阅读(272)
评论(0)
推荐(0)
2019年11月15日
Hive分区表新增字段,查询为Null
摘要: 1.问题 在开发过程中,向hive分区表新增字段,发现查询新增字段的值为NULL 2.问题复现 1.创建分区表,并插入数据 ~~~ create table student(id int,name string) partitioned by (dt string); insert into tab
阅读全文
posted @ 2019-11-15 16:43 大数据小码农
阅读(1860)
评论(0)
推荐(0)
2019年11月14日
通过crontab监控SparkStreaming任务运行状态
摘要: 1.问题 最近发现SparkStreaming提交的job经常在半夜挂掉,于是写了个定时任务监控SparkStreaming的运行状态,保证其不挂掉 2.shell脚本 ~~~ touch /opt/module/jobs/monitorlog.txt vim /opt/module/jobs/mo
阅读全文
posted @ 2019-11-14 23:15 大数据小码农
阅读(1060)
评论(0)
推荐(0)
2019年11月4日
Linux服务器修改系统时间
摘要: 1.问题 最近发现有一台服务器的时间比北京时间慢了8个小时,发现采用的是 UTC 时区 2.修改 UTC 时区为 CST 中国标准时间 ~~~ mv /etc/localtime /etc/localtime.bak ln s /usr/share/zoneinfo/Asia/Shanghai /e
阅读全文
posted @ 2019-11-04 09:42 大数据小码农
阅读(5852)
评论(0)
推荐(0)
2019年11月2日
CDH5.16.1安装Sentry
摘要: 1.环境 CentOS 7.6 CDH 5.16.1 2.安装Sentry 1.创建数据库 ~~~sql create database sentry default character set utf8; CREATE USER 'sentry'@'%' IDENTIFIED BY 'admin'
阅读全文
posted @ 2019-11-02 14:02 大数据小码农
阅读(919)
评论(0)
推荐(0)
Linux命令删除指定日期的文件
摘要: 1.需求 按时间删除 hive 产生的日志 2.查看 /var/log/hive目录 ~~~ cd /var/log/hive ll ~~~ 3.使用find命令按时间筛选 find 参数说明 ~~~ amin n: 最后一次访问发生在 n分钟 之内 amin n: 最后一次访问发生在距离当前时间
阅读全文
posted @ 2019-11-02 14:01 大数据小码农
阅读(36124)
评论(3)
推荐(2)
2019年10月29日
使用Beeline连接Impala
摘要: 1.环境 CDH 5.16.1 集群未集成Kerberos 2.下载Impala JDBC驱动 下载地址:https://downloads.cloudera.com/connectors/impala_jdbc_2.5.41.1061.zip 3.将压缩包下的ImpalaJDBC41.jar,TC
阅读全文
posted @ 2019-10-29 10:38 大数据小码农
阅读(1984)
评论(0)
推荐(0)
2019年10月28日
Azkaban安装配置
摘要: 1. 环境 Centos 7.6 Mysql 5.7.25 2.安装Azkaban 1.创建 /opt/module/azkaban 目录 ~~~ mkdir p /opt/module/azkaban ~~~ 2.解压 azkaban executor server 2.5.0.tar.gz、az
阅读全文
posted @ 2019-10-28 16:44 大数据小码农
阅读(1332)
评论(0)
推荐(0)
2019年10月25日
CentOS7 离线搭建 CDH5.16.1
摘要: #1. 环境 Centos 7.6 JDK 1.8 Scala 2.11.8 服务器3台 #2. 服务器搭建前环境准备 ####1.所有节点关闭防火墙 #查看防火墙状态 firewall-cmd --state #停止firewall systemctl stop firewalld.service
阅读全文
posted @ 2019-10-25 18:04 大数据小码农
阅读(1498)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告