查找文件: [root@bigdata admin]# find . -type f -name "a.txt" ./Downloads/hadoop-2.10.0/a.txt 拥有遍历文件夹功能的 查找关键字 文件、文件夹: [root@bigdata admin]# vi a [root@big ...
分类:
系统相关 时间:
2020-04-11 20:26:04
阅读次数:
98
Farmer John has decided to reward his cows for their hard work by taking them on a tour of the big city! The cows must decide how best to spend their ...
分类:
其他好文 时间:
2020-04-10 15:56:32
阅读次数:
76
问题: 连接mysql数据库报错Connections could not be acquired from the underlying database! 解决流程: 1.检查Hibernate.cfg.xml配置文件中的驱动、URL、用户名和密码都没有问题 2.检查驱动,没问题 3.做sql连 ...
分类:
Web程序 时间:
2020-04-10 00:05:53
阅读次数:
93
# 题意 一个数列f,f1=1,f2=1,f3=1,f4=1,fi(i>4)=fi-1+fi-2+fi-3+fi-4 多组输入,每次一个n求出第n项 # 题解 预处理出前10000项,查表即可 1 //package com.company; 2 import java.math.BigIntege ...
分类:
其他好文 时间:
2020-04-08 11:56:09
阅读次数:
56
Python提供了一个struct模块来解决bytes和其他二进制数据类型的转换。 struct的pack函数把任意数据类型变成bytes: >表示字节顺序是big-endian,也就是网络序,I表示4字节无符号整数。 I:4字节无符号整数和H:2字节无符号整数 def bmp_info(data) ...
分类:
其他好文 时间:
2020-04-07 22:41:53
阅读次数:
82
[Toc] 一、初识大数据 大数据(BIG DATA),指无法在一定时间范围内用常规软件工具进行捕捉、管理和处理的数据集合,是需要新处理模式才能具有更强的决策力、洞察发现力和流程优化能力的海量、高增长率和多样化的信息资产 1MB = 1024KB、1GB = 1024MB 1TB = 1024GB、 ...
分类:
其他好文 时间:
2020-04-07 14:19:05
阅读次数:
132
Apache MADlib: big data machine learning in SQL. support PostgreSQL 11. Madlib runs in database on Postgres. It's an effort to bing machine learning i ...
分类:
Web程序 时间:
2020-04-06 17:38:55
阅读次数:
87
1、 subst函数 格式:$(subst <from>, <to>, <text>)功能:把字串<text>中的<from>字符串替换成<to>返回:函数返回被替换过后的字符串。 示例: $(subst a,the,There is a big tree) 把“There is a big tre ...
分类:
其他好文 时间:
2020-04-06 09:36:45
阅读次数:
77
http://www.semantikoz.com/blog/lambda-architecture-velocity-volume-big-data-hadoop-storm/ Big data architecture paradigms are commonly separated into ...
分类:
其他好文 时间:
2020-04-05 22:02:51
阅读次数:
90
面试题41. 数据流中的中位数 如何得到一个数据流中的中位数?如果从数据流中读出奇数个数值,那么中位数就是所有数值排序之后位于中间的数值。如果从数据流中读出偶数个数值,那么中位数就是所有数值排序之后中间两个数的平均值。 例如, [2,3,4] 的中位数是 3 [2,3] 的中位数是 (2 + 3) ...
分类:
其他好文 时间:
2020-04-03 20:16:41
阅读次数:
68