ADO interface _RecordsetPtr pointer

Original reference: ADO interface_RecordsetPtr-CSDN blog _RecordsetPtr smart pointer, which is a pointer specially set up for operating the database through the recordset. Through this interface, various operations can be performed on the records, fields, etc. in the database table. To be clear: the database and the ADO record set are two different concepts, two storage […]

1. Hadoop3.1.3 cluster construction

1. Cluster planning hadoop01(209.2) hadoop02(209.3) hadoop03(209.4) HDFS NameNode DataNode DataNode SecondaryNameNode DataNode YARN NodeManager ResourceManager NodeManager NodeManager Do not put NameNode and SecondaryNameNode on the same server 2. Create user useradd atguigu passwd *** Configure atguigu user permissions vim /etc/sudoers ## Allow root to run any commands anywhere root ALL=(ALL) ALL ## Allows people in […]

Hadoop3.3.4 distributed installation

Installation prerequisites: The Java environment has been configured and password-free SSH login between all machines. Note: flinkv1, flinkv2, and flinkv3 below are aliases of the three servers. 1. Cluster deployment planning Note: NameNode and SecondaryNameNode should not be installed on the same server Note: ResourceManager also consumes a lot of memory. Do not configure it […]

Build a Hadoop fully distributed cluster

Table of Contents Preparations required for construction: Building process: 1. Install the virtual machine 2. Configure the network 3. Modify the host name 4. Bind the host name and IP 5. Configure password-free login 6. Use remote connection tools to upload jdk and hadoop 7. Install jdk and Hadoop 1. Unzip jdk and hadoop 2. […]

HBase and Hadoop integration

1. Start the hadoop service process and hbase service process [Command 001]: 2.Create the directory /root/experiment/datas on HDFS [Command 002]: hadoop fs -mkdir -p /root/experiment/hbase/file1.txt /root/experiment/datas 3. Upload the local directory /root/experiment/datas/hbase/file1.txt file to the /root/experiment/datas directory of HDFS [Command 003]: hadoop fs -put /root/experiment/datas/hbase/file1.txt /root/experiment/datas 2) Experimental process 1. Double-click the “IDEA” […]

Hadoop 3.3.6 distributed cluster environment construction

1 System Configuration A total of 3 centOS virtual machines have been prepared, master, slave1, slave2 Configure hosts resolution vim /etc/hosts master slave1 slave2 Modify hostname #Execute the following commands on the corresponding server hostnamectl set-hostname master hostnamectl set-hostname slave1 hostnamectl set-hostname slave2 Turn off firewall #Close firewall systemctl stop firewalld.service #Disable […]

IDEA integrates Hadoop3.x under Windows

1. Hadoop development package download 1.1 Download the corresponding hadoop development package on the windows system, for example: hadoop3.3.5 version 1.1 Unzip the development package and rename it 2. Patch 2.1 Since it is a windows development system, some patches need to be installed to run normally. Install them in the bin directory of hadoop. […]

WSL + Vscode one-stop to build Hadoop pseudo-distributed + Spark environment

Wsl + Vscode one-stop to build Hadoop + Spark environment If you want to build an environment such as Linux, Hadoop, Spark, etc., the common practice now is to install a virtual machine on VM, Virtualbox and other software This article introduces how to build a relevant environment on the windows subsystem (Windows Subsystem for […]

CentOS7 Hadoop3.X pseudo-distributed environment construction

Build environment: windows10, VMware16.2.3, centOS7.9, jdk-8u162-linux-x64.tar.gz, hadoop3.1.0 Links to Hadoop for various versions of Hadoop jdk8 download link jdk 1. Basic configuration preparations 1.1 Static IP address and other configurations Note: If you are prompted for insufficient permissions, you need to use root permissions. 1.1.1 Non-clone machine configuration static IP address ####1.1.2 Configure a static […]

Java Graduation Project JavaWeb Animal Adoption Website Based on Jsp+Servlet

Project type: JAVA WEB project Project name: JavaWeb animal adoption website based on Jsp + Servlet User type: dual roles (administrator + caring person) Design pattern: Jsp + Servlet Development Tools: Eclipse Database: Mysql + Navicat Database table: 6 sheets Applicable: When studying and experimenting with JAVA courses such as software engineering, computer science and […]