- 博客(15)
- 资源 (2)
- 收藏
- 关注
原创 【Hadoop】:Windows下使用IDEA搭建Hadoop开发环境
笔者鼓弄了两个星期,终于把所有有关hadoop的环境配置好了,一是虚拟机上的完全分布式集群,但是为了平时写代码的方便,则在windows上也配置了hadoop的伪分布式集群,同时在IDEA上就可以编写代码,同时在windows环境下进行运行。(如果不配置windows下的伪分布式集群,则在IDEA上编写的代码无法在windows平台下运行)。笔者在网络上找了很多有关windows下使用i...
2020-12-29 09:20:00 6049 4
原创 【Hadoop】:HDFS简介
一.定义HDFS(Hadoop Distributed File System):它是一个文件系统,用于储存文件,通过目录树来定位文件。同时,它是分布式的,由很多服务器联系起来实现其功能,集群的服务器有各自的角色。HDFS的使用场景:适合一次写入,多次读入的场景,且不支持文件的修改。适合用来做数据分析,不适合做网盘应用。二.优点1.高容错性:a):数据自动保存为多个副本。它通过增...
2020-12-15 08:06:00 209
原创 【Hadoop】:Hadoop的启动与停止
1.启动NameNode:hadoop-daemon.sh start namenode2.启动DataNode:hadoop-daemon.sh start datanode3.启动Secondary DataNode:hadoop-daemon.sh start secondarydatanode4.停止某个Node:hadoop-daemon.sh s...
2020-12-14 20:31:00 167
原创 【Hadoop】:配置出错error出现:Stop it first
出现的错误如下:hadoop@mike-VirtualBox:/usr/local/hadoop/hadoop$ ./sbin/start-dfs.sh20/12/14 20:15:06 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builti...
2020-12-14 19:11:00 17786 4
原创 【Leetcode】总结:1
当需要进行两次循环嵌套时,我们常常使用双指针法,直接将时间复杂度O(n^2)降低到O(n),这个是做题时候的一个技巧,一看到两个循环,就需要想到双指针!写下记录一下,以免之后做题的时候忘记了...
2020-12-13 20:23:00 60
原创 【Leetcode】155: 最小栈(Python)
题目描述:设计一个支持 push ,pop ,top 操作,并能在常数时间内检索到最小元素的栈。push(x) —— 将元素 x 推入栈中。pop()—— 删除栈顶的元素。top()—— 获取栈顶元素。getMin() —— 检索栈中的最小元素。示例:输入:["MinStack","push","push","push","getMin","pop","top","getMi...
2020-12-12 12:21:00 140
原创 【深入理解计算机系统】 八:AVR汇编语言
8.1. Creating an Executable Program from Assembly CodeThe following figure shows an assembly program. You may create this program using aplain text editor, that is, a program that stores the te...
2020-12-11 09:20:00 1039
原创 【深入理解计算机系统】 七:AVR指令集架构
7.1. Types of Instruction SetsThe set of instructions that a microprocessor can execute and their structure is generically called itsinstruction set architectureor ISA. The ISA description con...
2020-12-11 09:17:00 1691
原创 【深入理解计算机系统】 六:AVR架构和运行环境
6.1. The Execution EnvironmentThe architecture of a microprocessor consists of several modules that allow the execution of the instructions in itsmachine language. These circuits are too comple...
2020-12-11 09:10:00 792
原创 【深入理解计算机系统】 四:顺序逻辑电路
5.1. The ClockThe circuits implemented only with simple digital gates such as NAND, AND, OR, inverters, etc., arecombinational circuitsmeaning that once a combination of values is set at the i...
2020-12-11 08:58:00 2641
原创 【深入理解计算机系统】 三:布尔逻辑与组合电路
4.1. Boolean ExpressionsToday’s digital circuits are built so that they can perform very fast operations over data that is encoded in binary. The underlying operations are part of what is known ...
2020-12-11 08:50:00 2455
原创 【深入理解计算机系统】 二:计算机中的内存
3.1. RAM MemoryIn this document you will learn how the RAM in a computer system is used to store all the data and coded required to execute a program. You will also learn about a technique calle...
2020-12-11 08:43:00 2870 1
原创 【深入理解计算机系统】 一:数值表示与编码
本课程内容来自于悉尼大学ELEC1601:introduction to the computer system2.1. Binary LogicThe digital electronic circuits are capable of manipulating signals in two possible states: zero and one. As a consequen...
2020-12-10 20:12:00 1178
原创 【汇编语言:AVR架构】:常用指令集合
下面是AVR架构下的汇编语言常用指令集,英语原版看起来会更容易理解,如下所示:上面是常用的指令,全部指令集的使用方法可以在之类找到:http://ww1.microchip.com/downloads/en/devicedoc/atmel-0856-avr-instruction-set-manual.pdf...
2020-12-06 13:31:00 1631
Python深度学习全彩版(不是扫描的,是原件)
2019-06-27
网络抓包64位版本wireshark.zip
2019-05-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人