windows hadoop spark and
windows 优化
# 现象: Windows 10中Tiworker.exe进程反复出现,占用大量CPU sc delete wuauserv wuauserv 解决 win+R打开运行输入services.msc打开服务 找到windows update服务右键属性,把启动类型调成禁用或手动,点击应用,最后按下面的 ......
pycharm安装(windows10)
下载地址 https://www.jetbrains.com/pycharm/ 下载后,选择合适的路径安装,选项如下 默认JetBrains进行安装 安装后,重启电脑(后期手动重启也可) 重启后, 激活PyCharm。双击PyCharm桌面软件 PyCharm激活和插件(Plugins,Code W ......
Windows上使用FFmpeg实现本地视频推送模拟海康协议rtsp视频流
场景 Nginx搭建RTMP服务器+FFmpeg实现海康威视摄像头预览: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/121202130 上面记录的是使用FFmpeg拉取海康协议摄像头的rtsp流并推流到流媒体服务器。 如果在其 ......
python+selenium(windows10) 安装
1 . 安装 python 2. 安装 selenium (pip list查看是否已安装) 2.1 cmd窗口输入:pip(如果有内容显示,说明正常) 2.2 cmd输入指令安装selenium:pip install selenium==* .**.** ( 也可以不指定版本) 【如果安装中途断 ......
CF1060E Sergey and Subway 题解
[题面](https://codeforces.com/problemset/problem/1060/E) 由题意可知,在原图中经过边数为 $2$ 的一对点,在新图中经过边数为 $1$。所以每对点在新图中的距离为: $$ \begin{aligned} \lceil \frac{dis(i,j)} ......
Windows 操作系统命令行 netsh int ip reset 的作用详解
`netsh int ip reset` 命令是用于重置 Windows 操作系统中的网络设置和配置的命令。它是 `netsh` 命令行工具的一部分,用于管理网络设置。这个命令在网络故障排除、修复网络连接问题以及清除可能存在的网络配置冲突时非常有用。让我们来详细解释这个命令及其使用场景。 **命令详 ......
Windows 操作系统命令行 netsh winsock reset 的作用详解
这个命令是一个用于 Windows 操作系统中的网络故障排除工具,它用于重置 Winsock 相关的配置,以解决与网络连接和通信相关的问题。 **命令解释:** - `netsh`: 这是 Windows 中的一个命令行工具,用于管理网络、接口和配置。 - `winsock`: 这是 Windows ......
python安装(Windows10)
1.python.org/ (官网下载) 2.python安装,双击安装(最好不要C盘,因为我没有分盘,所以只能在C盘),记得选择下方选项Add python.exe to Path 3. 安装完成后。看下这个目录 C:\python\Scripts,有没 pip.exe 和 easy_instal ......
【转载】The Dog and the Shadow
## Article Format Source ChatGPT ## Main Content Source Title: The City Mouse and the Country Mouse Source: https://www.zhihu.com/question/263840407/a ......
获取Windows窗口
抄自: https://blog.csdn.net/freedom2211/article/details/131288406 windowIterator.h class CWindowIterator{ private: static char* wchar2char(const wchar_t ......
AGC064C Erase and Divide Game
[题面传送门](https://atcoder.jp/contests/agc064/tasks/agc064_c) 首先考虑你只插入若干个数怎么做:按位从低到高插入一棵 Trie,问题就变成:在 Trie 上每次可以往左儿子走或者往右儿子走,如果当某个人操作的时候为空节点那么这个人就输了。 如果我 ......
Spark异常总结
1、Spark读写同一张表报错问题Cannot overwrite a path that is also being read from 问题描述:Spark SQL在执行ORC和Parquet格式的文件解析时,默认使用Spark内置的解析器(Spark内置解析器效率更高),这些内置解析器不支持递 ......
NetSuite: Get specific Custom Record Types and related sub Custom Fields
背景 以前当使用search.create({})来获取数据时,我们需要制定特定的数据返回列;例如:search.createColumn(options) 而query可以使用 SELECT * FROM 来动态返回所有的数据列(这在有的时候是一个优点),那么如何让search也动态返回所有的数据 ......
CodeForces 1858D Trees and Segments
[洛谷传送门](https://www.luogu.com.cn/problem/CF1858D "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1858/D "CF 传送门") 美丽度的式子可以写成 $(a - 1) \tim ......
[Typescript] Don't compare generic function, instead compare function arguments and return type
Typescript has its problem that when you try to compare generic function to a function signature, you will run into issue. Because for one function, i ......
Unveiling the Power of Diagnostic Tools: Cat Caterpillar ET, Volvo Vocom II Interface, JLR DoIP VCI, WABCO Diagnostic Kit, and GM Tech 2
In the realm of automotive diagnostics, the right tools can make all the difference. Whether you're a professional mechanic or an avid car enthusiast, ......
Learn Git in 30 days——第 02 天:在 Windows 平台必装的三套 Git 工具
写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 要开始使用 Git 版本控制,首先要安装适当的 Git 工具,这个系列的文章主要还是以 Windows 平台为主 ......
card,swallow-and-electron-cloud
贺卡,燕子和电子云 Created: 2023-07-16T17:52+08:00 Published: 2023-08-15T17:36+08:00 Categories: Fragment [toc] # 贺卡 翻日记,看到高三时候班级举行过随机互赠贺卡的活动,对于这件事我只有一点点模糊的印象, ......
如何使用Android模拟器实现windows虚拟串口通信调试
如何用Android模拟器调试串口 一、安装虚拟串口软件 虚拟串口软件推荐 Virtual Serial Port Driver 官网和 Virtual Serial Port Kit 官网 都可以免费试用15天。 这里以Virtual Serial Port Driver为例,打开安装好的Virt ......
nvm及nodejs安装和使用(Windows下切换多版本nodejs)
一、安装nvm nvm是一个简单的bash脚本,它是用来管理系统中多个已存的Node.js版本 注:如果在安装nvm前已经安装了node,建议先将原来的node进行卸载或删除,可通过where node查看node安装路径: 1、下载并安装nvm,下载地址:https://github.com/co ......
CF1513D GCD and MST 题解
## 题面 对于一个序列,若有 $(i,j)(i typedef long long valueType; typedef std::vector ValueVector; typedef std::pair ValuePair; typedef std::vector PairVector; ty ......
spark中decode函数
decode函数 decode(bin, charset) - 使用第二个参数字符集解码第一个参数。 decode(expr, search, result [, search, result ] ... [, default]) - 解码比较 expr 对每个搜索值一一进行。如果 expr 等于搜 ......
CF1859D Andrey and Escape from Capygrad 题解
## 思路 思考贪心,容易得出我们只有不断往右跳跃才能走得更远。 所以,对于一个线段 $[l, r]$ 可以轻易到达 $[a, b]$,那么只对 $[l, b]$ 有用,这些点都可以跳到 $b$,$[b + 1, r]$ 这一部分不能往回跳,所以不用考虑。 那么我们就可以把这些线段都当成 $[l, ......
在Windows Server 2008上启用自动文件夹备份
## 要在Windows Server 2008上启用自动文件夹备份,您可以使用内置的Windows备份功能。下面是如何设置它的方法: ### 1. 点击“开始”按钮并选择“服务器管理器”,打开“服务器管理器”。 ![服务器管理器](https://img2023.cnblogs.com/blog/ ......
spark3的bug
1.[SPARK-39936][SQL] Store schema in properties for Spark Views,spark视图保存到hive metastore时未清空tableschema导致解析失败 Hive DataType解析器主要发生在Hive的元数据存储(Hive Met ......
windows使用命令格式化U盘
1、 DISKPART命令格式化U盘 Diskpart是Windows下一个非常强大的磁盘管理工具,可以用于删除、创建、格式化分区等操作。使用CMD命令行执行Diskpart命令,也可以对U盘进行格式化。 1. 连接U盘,打开CMD命令行窗口。 2. 在命令行窗口中输入“diskpart”进入磁盘管 ......
Go - Keywords, Operators and punctuation
Keywords The following keywords are reserved and may not be used as identifiers. break default func interface select case defer go map struct chan els ......
Hadoop - WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform...
# Hadoop - WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... 配置完hadoop启动的时候出现如下警告信息: ```shell WARN util.NativeCode ......