![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
技术
pete1223
这个作者很懒,什么都没留下…
展开
-
flink官网的kafka producer 报错
项目场景:flink官网的 kafka producer代码报错serialization.SimpleStringSchema 问题描述:flink官网的 kafka producer代码报错serialization.SimpleStringSchema stream.addSink(new FlinkKafkaProducer<String>( "zqjtest", (KafkaSerializationSchema<S...原创 2020-09-05 17:59:20 · 3503 阅读 · 1 评论 -
利用beautifulsoup 取图片
# -*- coding: utf-8 -*-import urllibfrom bs4 import BeautifulSouplocal="D:\\PythonPractice\\WebCrawler\\Photo\\"def get_content(url): """doc.""" html=urllib.urlopen(url) content=html.r原创 2016-04-15 23:10:11 · 5045 阅读 · 0 评论 -
集体智慧编程--推荐系统
# -*- coding: utf-8 -*-#用户数据from math import sqrtcritics = { 'user1': {'goods1': 2.5, 'goods2': 3.5, 'goods3': 3.0, 'goods4': 3.5, 'goods5': 2.5, 'goods6': 3.0}, 'user2': {'goods1': 3.0, 'goods2'转载 2016-04-16 21:10:42 · 357 阅读 · 0 评论 -
idea maven Scala全依赖打包
<?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://原创 2018-07-25 11:46:58 · 3262 阅读 · 0 评论 -
FSImage CheckPoint
什么时候进行checkpoint什么时候进行checkpoint由两个参数dfs.namenode.checkpoint.preiod(默认值是3600,即1小时)和dfs.namenode.checkpoint.txns(默认值是1000000)来决定。period参数表示,经过1小时就进行一次checkpoint,txns参数表示,hdfs经过100万次操作后就要进行checkpoint了...转载 2018-12-05 12:48:33 · 292 阅读 · 0 评论 -
LINUX 降低密码复杂度,centos7 环境下修改root密码报错如下: BAD PASSWORD: it is too simplistic/systematic
问题:centos7 环境下修改root密码报错如下:BAD PASSWORD: it is too simplistic/systematic解决:编辑/etc/pam.d/system-auth1、修改内容:password requisite pam_cracklib.so try_first_pass retry=3password sufficient pam_unix....转载 2019-07-14 11:38:34 · 4631 阅读 · 0 评论 -
hadoop mapreduce job.splitmetainfo does not exist错误解决
For more detailed output, check application tracking page:http://s101:8088/cluster/app/application_1564489361939_0001Then, click on links to logs of each attempt.Diagnostics: File file:/home/hadoop/...原创 2019-07-31 16:30:39 · 1252 阅读 · 0 评论