CuterCorley CuterCorley
4年前
CentOS 常见异常及解决办法
1.pip3安装mysqlclient报错pythonsetup.pyegg_infoCheckthelogsforfullcommandoutput.在CentOS上部署Django项目时,经常需要安装MySQL数据库引擎,如mysqlclient,在执行pip3installmysqlclient命令时,可能会报错如下:
Stella981 Stella981
4年前
Hive重写表数据丢失风险记录
若在Hive中执行INSERTOVERWRITE重写同一个表的数据时,有可能会造成数据丢失。如INSERTOVERWRITETABLEtable\_nameSELECT\FROMtable\_name一、新建一张分区表createtabletest_chj_cols(idstr
Wesley13 Wesley13
4年前
ubuntu设置 SSH 通过密钥登录
1\.制作密钥对首先在服务器上制作密钥对。首先用密码登录到你打算使用密钥登录的账户,然后执行以下命令:root@host~$sshkeygen<建立密钥对Generatingpublic/privatersakeypair.Enterfileinwhichtosavethe
Stella981 Stella981
4年前
ES6中Generator理解
1\.生成器函数声明  function\ name(args){};2\.yield使用function hello(){    console.log('before hello');  //可看到hello()并不会立刻执行函数, 到第一次next调用时才会    var name 
Stella981 Stella981
4年前
RabbitMQ(3) Spring boot集成RabbitMQ
springboot集成RabbitMQ非常简单,如果只是简单的使用配置非常少,springboot提供了springbootstarteramqp项目对消息各种支持。资源代码:练习用的代码。https://github.com/xiaozhuanfeng?tabrepositories!(https://oscimg.oschina
Stella981 Stella981
4年前
JavaScript里面的居民们3
如代码,分别实现diyTrim及removeRepetition函数,并跑通代码中的测试用例。1<!DOCTYPEhtml2<html3<head4<metacharset"utf8"/5<titleJS里的居民们3</title
Stella981 Stella981
4年前
Es6获取数据
$(function(){$.ajax({//请求方式type:"GET",//文件位置url:"js/data.json",//返回数据格式为json,也可以是其他格式如dataType:"json",//请求成功后要执行的函数,拼接htmlsuccess:function(res){var
Easter79 Easter79
4年前
Storm消息机制
Storm消息机制博客分类:分布式计算这章讨论Storm's reliability capabilities, 如何保证从spout emit出来的所有tuple都被正确的执行(fully processed)?What does it mean for a message to be "fully processed"?首先的问题
Stella981 Stella981
4年前
Hadoop2.7.1集群安装笔记
环境准备centos免登陆设置  在主机master上cd ~/.ssh                如果没有该目录,先执行一次ssh localhostrm ./id_rsa             删除之前生成的公匙(如果有)sshkeygen t rsa        一
Wesley13 Wesley13
4年前
MySQL Server 安装
1、安装mysql5.7.18winx64.msi;2、打开cmd,进入C:\\ProgramFiles\\MySQL\\MySQLServer5.7\\bin;3、执行mysqld–install;!image(https://oscimg.oschina.net/oscnet/ed24e74285c4d0940eb2a