bigData
我怀念的是_无话不说
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Mongo Studio3T 设置脚本激活方式
1.创建一个txt2.重命名改成studio3T.bat3.内容输入@echo offECHO 重置Studio 3T的使用日期......FOR /f "tokens=1,2,* " %%i IN ('reg query "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\3t\mongochef\enterprise" ^| find /V "in...原创 2020-01-02 19:04:22 · 799 阅读 · 0 评论 -
python发送http post请求数据
#!/usr/bin/python3# -*- coding:UTF-8-*-# Author: zhuhongqiangimport jsonimport timefrom urllib import requestimport urllib.requestdef httpPost(): post_data = {} post_data['msg_content'...原创 2018-05-22 16:51:16 · 2688 阅读 · 0 评论 -
spark-sql启动报错GSS initiate failed
18/01/30 13:21:14 WARN Client: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mec...原创 2018-01-30 13:46:21 · 8073 阅读 · 0 评论 -
oozie重装问题小记Failed to create Oozie database tables.
cloudera manager删除oozie之后重新安装报错问题如下:解决办法:返回cloudera manager主页,查看已经有了oozie的服务,直接启动它!真是坑爹的设计原创 2018-01-31 10:59:02 · 2398 阅读 · 0 评论 -
hue启动报Kerberos Ticket Renewer已停止
解决:原因:kerberos凭证过期; 先进入kerberos模式: kadmin.local命令然后,然后操作下面的kadmin.local: modprinc -maxrenewlife 90day krbtgt/YOUR_REALM.COMkadmin.local: modprinc -maxrenewlife 90day +allow_renewable hue/<h...原创 2018-01-31 14:30:38 · 1574 阅读 · 0 评论 -
clouderaManager自定义连接mysql数据库
mysql> grant all on *.* to 'temp'@'%' identified by 'temp' with grant option;$ sudo /usr/share/cmf/schema/scm_prepare_database.sh mysql -h myhost1.sf.cloudera.com -utemp -ptemp --scm-host myhost2.s...原创 2018-02-01 12:01:27 · 4323 阅读 · 0 评论 -
python连接数据库查询DEMO
#!/usr/bin/python3# -*- coding: UTF-8 -*-# __author__ :zhuhongqiangimport pymysql as MySQLdbdburl = "127.0.0.1"username = "root"password = "root"dbname = "test"# 根据sql 操作数据库def getConnecti...原创 2018-03-15 14:25:31 · 677 阅读 · 0 评论 -
python钉钉机器人运维脚本监控
#!/usr/bin/python3# -*- coding:UTF-8-*-# Author: zhuhongqiangfrom urllib import requestimport jsonfrom sys import argvaccess_token = "xxx"def send_msg(mobile, item_name): """ 钉钉机器人...原创 2018-03-21 11:50:15 · 3813 阅读 · 0 评论 -
python获取当前时间戳&格式化时间
#!/usr/bin/python3# -*- coding:UTF-8-*-# Author: zhuhongqiangimport timeif __name__ == "__main__": now = time.time() print("当前时间戳:%s"%now) #格式化年月日时分秒 local_time = time.localtime(now)...原创 2018-03-21 14:31:44 · 8259 阅读 · 0 评论 -
pyspark连hbase报org.apache.spark.examples.pythonconverters.ImmutableBytesWritableToStringConverter
ERROR python.Converter: Failed to load converter: org.apache.spark.examples.pythonconverters.ImmutableBytesWritableToStringConverterTraceback (most recent call last): File "<stdin>", line 1, ...原创 2018-03-23 18:14:57 · 5227 阅读 · 1 评论 -
ganglia-web添加登录认证权限
##1:生成账号密码 htpasswd -c /etc/httpd/auth.basic adminganglia###2:vim /etc/httpd/conf/httpd.conf #在配置文件末尾加上下面这些:<Directory "/var/www/html/ganglia"> AuthType Basic Options None AllowOver...原创 2018-04-10 18:53:49 · 656 阅读 · 0 评论
分享