Dataframe can do a lot of things, but when you store it locally, you can only save the parquest format. You need to store the source format, and you need to convert it to a rdd type to map every line in the dataframe into a string connected by a comma.
1. Role description of the cluster: role description leader (leader) leader is responsible for publishing decisions, mainly dealing with write request follower (follower) Follower is used to receive client requests and return results to the client (only read requests can be processed, if write requests are received, please
1. Hadoop capacity expansion 1. Configure the hosts file of each node, add the IP and hostname of the newly added two nodes, and add the following content: 192.168.11.131 master1192.168.11.132 master219
Source: http://stackoverflow.com/questions/29392169/populating-field-values-for-referred-documents-in-agg
/ / construct SqlSessionpublic interface SqlSessionFactory {/ / 8 methods can be used to create SqlSession instance SqlSession openSession ()
Warm Tip: to see the high-definition no-code picture, please open it with your mobile phone and click the picture to enlarge. 1. The problem describes how to load a data file with multiple characters as field separators into the Hive table, as follows: the field delimiter is "@ # $" test1@#$test1nam
My blog has been migrated to xdoujiang.com, please go there to communicate with me the basic environment 1, the current version of cat / etc/debian_version7.82, installation package lvm2apt-get install lvm2-y one, will
1. Course introduction this article will first introduce the HBase command line, and then introduce the java code to add, delete, modify and query the tables in hbase. All commands in this article are in CentOS-6.4-x86_64,hadoop-2.5.2,jdk1.8.0_1
Warm Tip: to see the high-definition no-code picture, please open it with your mobile phone and click the picture to enlarge. 1. Purpose of documentation this document focuses on how to use Sentry to manage the permissions of Hive/Impala external tables. Content summary 1. Create a test library and external table 2. Create roles and authorize
1. On the controller page: php// this class is automatically generated by the system and is only used for testing purposes namespace Home\ Controller;use Think\ Controller\ RestController;class
1. Download and add SPARK_HOME = D:\ spark-2.3.0-bin-hadoop2.7 on D disk as follows. And add% SPARK_HOME%/bin to the environment variable PATH. Then go to the command line and type pys
There are a lot of opinions about software design principles on the Internet, which are very accurate and official, but for some beginners, they may not know what to say. In the end, they are depressed, and it should be a pleasure to learn software. So what are the principles of software design? (1) Reliability to make a reliable software
There are usually three options for background data sources in multidimensional analysis (BI) systems. First, the general database; second, the professional data warehouse; third, the data source of the BI system. However, all three options have their own problems. Ordinary databases are generally stored in row style, so it is difficult to obtain the hope of multidimensional analysis.
Sorted out a number of jmeter commonly used beanshell scripts for your reference! Timestamp import java.text.SimpleDateFormat;import java.util.Calendar;import
1. Host configuration description A few days ago, I learned that the company had purchased several new hosts, so the leader of our group applied to the company for one back to do data analysis. The server is Hewlett-Packard mainframe, the model is: HP EliteDesk 800G3. It's not strong, but it's used to make GPU.
Deployment: divided into test environment and production environment. Hadoop distributions: Apache, CDH (tar package, rpm package, parcel package, which must be managed by cloudera manager), HDP Note: disable IPV6; within the framework of big data
I personally tested and built, because it is a beginner to build all the way down a lot of detours. If there are incorrect or more concise steps, please propose the environment: virtual machine installed on win10, centos7 installed on virtual machine, and liunx interface (previously built once, both the network and port can be telne.
[topic description] Write a function that add two numbers An and B. You should not use + or any arithmetic operator
I have previously written methods relative to the parent element and the next sibling element. This time supplement all the methods that xpath uses to find elements relative to the position of the node. Instead of citing examples, you can go to practice. Xpath relative node search method: 1. Xpath ('. / ancestor::*')
When building a cluster, the data mount point of hdfs must be specified to a separate directory, not under / home, because in the process of use, it is likely to cause a mount point to be full, if so, / home may be full, affecting the normal use of the linux system.