环境是hive和Hadoop 报错如:User: liwei is not allowed to impersonate anonymous 修改hadoop 配置文件 $HADOOP_HOME/etc/hadoop/core-site.xml <property> <name>hadoop.pro ...
分类:
编程语言 时间:
2021-01-27 13:53:02
阅读次数:
0
树的直径+统计连通块数。 和树的直径的模板题不同的是要求出所有能够构成直径两个端点的点,即为最深的根。 注意对$n=1$的特殊处理,这个corner case还是挺好想的,第一次交$23$分,调试一下就发现了。 由于要从小到大输出所有最深的根,故将它们全部插入集合中输出。 连通分量直接dfs统计就行 ...
分类:
其他好文 时间:
2021-01-27 13:11:33
阅读次数:
0
00. Table of Contents @ 01. QUICK REMINDER OF THE PRINCIPLES In our introductory article on inkjet waveforms, we described what a waveform is and how ...
分类:
其他好文 时间:
2021-01-27 13:09:53
阅读次数:
0
图片: 使用pygame编写的代码源代码: import pygame pygame.init() canvas=pygame.Surface((4096,4096)) rgb=[0,0,0] x_y=[0,0] for r in range(256): rgb[2]=0 rgb[1]=0 for ...
分类:
其他好文 时间:
2021-01-27 13:07:13
阅读次数:
0
Integer Inquiry poj1503 题目 Problem Description One of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of power ...
分类:
其他好文 时间:
2021-01-27 13:01:44
阅读次数:
0
LSTM原理 CNN卷积神经网络 应用:图像,视频 RNN 递归神经网络 应用:NLP 1RNN结构 one to one 比如输入一张图片,它会给我们输出是猫还是狗 one to many 比如输入一张图片,给出一些列图片描述 many to one 比如文本分析,给出文本是积极还是消极的 man ...
分类:
其他好文 时间:
2021-01-26 12:10:00
阅读次数:
0
Chapter 4 - Clustering Models Segment 3 - DBSCan clustering to identify outliers DBSCAN for Outlier Detection Unsupervised method that clusters core s ...
分类:
数据库 时间:
2021-01-26 11:57:37
阅读次数:
0
Power Strings Description Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcde ...
分类:
其他好文 时间:
2021-01-26 11:47:12
阅读次数:
0
删除数据库时提示:message:Database DBname is not empty. One or more tables exist. ##解决方案1: 先删除数据库中的所有表,再删除数据库 ##解决方案2: 强制删除 drop database db_hive cascade; ...
分类:
数据库 时间:
2021-01-26 11:44:00
阅读次数:
0
下载zsh sudo apt-get install zsh sudo apt-get install git 下载oh-my-zsh 因为zsh配置起来太麻烦了,直接安装oh-my-zsh即可,前往oh-my-zsh官网: https://ohmyz.sh 使用命令: $ sh -c "$(cur ...
分类:
系统相关 时间:
2021-01-26 11:42:41
阅读次数:
0