当前位置:网站首页>Cluster usage specification
Cluster usage specification
2022-07-29 08:17:00 【Hand tear can】
1. Try to use the database table of the application layer , Reduce access to the source layer library table ; Or build your own application layer table and update it regularly ;
2."spark Inquire about ,pandas Handle 、 Splicing " and "spark Inquire about 、 Handle 、 Splicing " Balance the calculation speed 、 Cluster resources occupy both ;
3. Avoid spark.dataframe turn pd.dataframe and to_csv; take spark.dataframe Directly to csv Save to hdfs:
192.168.101.11 yes master Of ip, Default web UI Interface port 50070, File upload and download port 8020
3.1 Select the cluster location to store : for example hdfs://192.168.101.11:8020/tmp/123.csv
3.2 preservation
spark_df.write.format(“csv”).options(header=‘true’, inferschema=‘true’).save(‘hdfs://192.168.101.11:8020/tmp/’ + “123.csv”)
3.3 see
df = od.spark.read.format(‘com.databricks.spark.csv’).options(header=‘true’, inferschema=‘true’).load(‘hdfs://192.168.101.11:8020/tmp/123.csv’)
边栏推荐
- Low power Bluetooth 5.0 chip nrf52832-qfaa
- [robomaster] control RM motor from scratch (2) -can communication principle and electric regulation communication protocol
- Simplefoc parameter adjustment 2- speed and position control
- Proteus simulation based on msp430f2491 (realize water lamp)
- Low cost 2.4GHz wireless transceiver chip -- ci24r1
- Inclination sensor accuracy calibration test
- Reading of false news detection papers (3): semi supervised content-based detection of misinformation via tensor embeddings
- 阿里巴巴政委体系-第一章、政委建在连队上
- Detailed explanation of two modes of FTP
- Tb6600+stm32f407 test
猜你喜欢

BiSeNet v2
![[beauty of software engineering - column notes]](/img/90/658f4d954c876bed2fccb431232e52.png)
[beauty of software engineering - column notes] "one question and one answer" issue 2 | 30 common software development problem-solving strategies

UE4 principle and difference between skylight and reflecting sphere

SQL 面试碰到的一个问题

Solve the problem of MSVC2017 compiler with yellow exclamation mark in kits component of QT

Huawei wireless device configuration uses WDS technology to deploy WLAN services

Qt/PyQt 窗口类型与窗口标志

分段分页以及段页结合

Hal library learning notes - 8 concept of serial communication

Implementation of simple matcap+fresnel shader in unity
随机推荐
What is the working principle of the noise sensor?
torch.Tensor.to的用法
Stm8s003 domestic substitute for dp32g003 32-bit microcontroller chip
AES 双向加密解密工具
Unity beginner 2 - tile making and world interaction (2D)
110道 MySQL面试题及答案 (持续更新)
What is Amazon self support number and what should sellers do?
MySQL rownum implementation
Simplefoc parameter adjustment 1-torque control
Compatible with cc1101/cmt2300-dp4301 sub-1g wireless transceiver chip
Use the cloud code to crack the problem of authentication code encountered during login
Unity beginner 3 - enemy movement control and setting of blood loss area (2D)
Exercise: store department information
Proteus simulation based on msp430f2491 (realize water lamp)
Alibaba political commissar system - Chapter 4: political commissars are built on companies
C language interview preparation I (about understanding Department)
Some simple uses of crawler requests Library
Si12t and si14t low power capacitive touch chips
STM32 serial port garbled
Product promotion channels and strategies, cosmetics brand promotion methods and steps