工作流程1 Map Task MR工作流程2 Reduce Task 1)提交切片信息,jar包,和xml配置文件到yarn。2)Yarn ResourceManager启动一个MR AppMaster。3)AppMaster根据切片信息启动相应数量的Map Task。4)Map Task取读取按照 ...
分类:
其他好文 时间:
2020-07-03 23:29:37
阅读次数:
60
视频讲解: https://www.bilibili.com/video/BV16i4y1G7i2/ 需要完成以下步骤: 前后端分离,进行简单增查改删(CRUD) 前端使用VUE 后端使用Spring Data JPA 数据库使用MySQL #EmployeeController.java pack ...
分类:
数据库 时间:
2020-07-03 21:51:58
阅读次数:
72
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your t ...
分类:
其他好文 时间:
2020-07-03 21:48:09
阅读次数:
68
一.消息发送端 pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> application.y ...
分类:
编程语言 时间:
2020-07-03 21:42:43
阅读次数:
76
package Task; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.net ...
分类:
编程语言 时间:
2020-07-03 21:41:22
阅读次数:
76
概述 MVC(Model–view–controller)是软件工程中的一种软件架构模式,基于此模式把软件系统分为三个基本部分:模型(Model)、视图(View)和控制器(Controller)。目的是通过这样的设计使程序结构更加简洁、直观,降低问题的复杂度。其中各个组成部分的职责为: 视图(Vi ...
分类:
编程语言 时间:
2020-07-03 21:38:48
阅读次数:
71
Spring-tool-suite的下载:https://spring.io/tools SpringBoot简介 SpringBoot是整个Spring技术栈的整合,来简化Spring应用开发,约定大于配置,去繁从简,just run 就能创建一个独立的,产品级别的应用。 解决: "Spring全 ...
分类:
编程语言 时间:
2020-07-03 21:13:52
阅读次数:
92
作用:为每个线程创建一个独立的空间,使得线程对自己的空间中的数据进行操作(数据隔离)。 import threading from threading import local import time obj = local() def task(i): obj.xxxxx = i time.sle ...
分类:
其他好文 时间:
2020-07-03 21:07:57
阅读次数:
58
一、背景 原文链接 https://blog.csdn.net/trayvonnn/article/details/106239934 仅作分享,感谢作者 本文写的是单应用下的springboot,并非微服务,如果是微服务可以参考nocos或者springcloud config。 一般在企业开发流 ...
分类:
编程语言 时间:
2020-07-03 21:04:05
阅读次数:
679
目录讲解 src/main/java:存放代码 src/main/resourcces static:存放静态文件,比如css、js、image,(访问方式:http://localhost:8080/js/main.js) templates:存放静态页面jsp、html、tpl config:存 ...
分类:
编程语言 时间:
2020-07-03 21:03:32
阅读次数:
277