Install HIVE’s problems

The problem encountered in the experiment During the experiment, hive cannot be opened java.lang.NoSuchMethodError:com.google.common.base.Preconditions.checkArgument The reason is that in the hive installation directory, the guava.jar and Hadoop installation directory in the hive installation directoryshare/hadoop/common/libInner GUAVA.JAR version is different. The solution is to delete the low version and copy the high version. 2.Start Hive Times Error:Tue […]

2021 IT IT eating melon guide

January January 7th -Tesla CEO Musk became the richest man in the world (Versailles. January 12th -The source code of Microsoft and Cisco is sold publicly ($ 1 million in package price) January 16 -39 -year -old network technicians staying in the nursing home (real hammer, 39 -year -old programmer is already older) January 26 […]

Based on the MobileNetssDEPLOY model, DEMO is detected to maintain world peace

Model download address mobilenet_ssd # USAGE # python deep_learning_object_detection.py –image 0.jpg \ # –prototxt MobileNetSSD_deploy.prototxt –model MobileNetSSD_deploy.caffemodel # import the necessary packages import numpy as np import argparse import cv2 # construct the argument parse and parse the arguments ap = argparse.ArgumentParser() ap.add_argument(“-i”, “–image”, required=True, help=”path to input image”) ap.add_argument(“-p”, “–prototxt”, required=True, help=”path to Caffe […]

python basic file operation, function

File operation +mode: R+T W+T A+T R+B W+B A+B readable and written, other functions as people, R, w, aim F.Seek (OFFSET, when) file pointer to move offES F.Seek (3,0) when the default value is 0 0: The beginning of the file 1: Current pointer position 2: Refer to the end Emphasized: where when = 1 […]

Certification Information Daquan (Thirty-two) —— HUAWEI certification list

Huawei certification list      others    GB0-500:Implementing Secure Firewalls       GB0-800:Huawei-3Com Certified internet Expert:Routing and Switching       GB0-540:Advanced Intrusion Prevention System Configuration       GB0-520:Building Secure Virtual Private Networks       HCNE    GB0-180:Huawei Certified Network Engineer       GB0-183:Huawei-3Com Certified Network Engineer       HCSE  […]

java8 lambda traversal and beanutils.copyproperties () Method small test dabria

package com.pfq.deal.audit.biz.server; import java.util.ArrayList; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; /**  *   * @author Dabria_ly * July 31, 2017  */ public class TestCopy { private static final Logger LOG = LoggerFactory.getLogger(TestCopy.class); public static void main(String[] args) { List<TestCopyEntity> tceList = new ArrayList<TestCopyEntity>(); TestCopyEntity TCE1 = New TestCopyEntity (1, “Zhang San”, “Information Description 1”); […]

TORINGBOOT project is made into jar package and deployed on the Linux server

First, click Mavenproject on the right, and then click Lifecycle, Package in the project, and wait for “Success” to complete the jar package. Tell a pit point: I have a local LIB in the project, and I need to pack it into the jar package together. Method: Add the following code to the POM file. […]

AI virtual person, cross -border QR code, WeChat is looking for more &#8220;friends&#8221; in North America

Value Jun Note:Since its renamed “TechCrunch Disrupt” in 2010, this venture capital conference organized by well -known American technology media TechCrunch has reached the eighth year. In September this year, TC DISRUPT was held as scheduled. In addition to the standardized entrepreneurial arena, programming competition, stove -edge conversation and other agenda, Titanium Media reporter Ding […]

Python Learning Tutorial: The usage you must know in the Python dictionary

Introduction dictionary (DICT) is a built -in data structure in Python, consisting of multiple key values, key (key) and values (value) separated by colon, each key value is divided by a comma (,) separate, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated, separated. The entire […]

spark cluster uses hanlp for distributed segmentation operation description

This article shares a small case that uses Hanlp words, that is, using hanlp to complete the distributed segmentation in the spark cluster, the article is sorted from [qq_33872191] Blog, thanks for sharing! The following is the full text: divided two steps: First step: Implement Hankcs.hanlp/Corpus.io.iOOADAPTER 1. public class HadoopFileIoAdapter implements IIOAdapter { 2.  3.   @Override […]

java get .xlsx or .xls file content

public void importTemplate(MultipartFile file) throws Exception { InputStream inputStream = file.getInputStream(); XSSFWorkbook workbook = new XSSFWorkbook(inputStream); XSSFSheet sheetOne = workbook.getSheetAt(0); int rowOneIndex = 1;// Starting from 1, 0 is the title non -data while (sheetOne.getRow(rowOneIndex) != null) { XSSFRow row = sheetOne.getRow(rowOneIndex);// Get the specified row according to RowoneIndex try { // Get the value […]

KMP Find the Delivery link XDU

1. Link to the topic: https://vjudge.net/contest/70325#problem/D D – Cyclic Nacklace   HDU – 3746  CC always becomes very depressed at the end of this month, he has checked his credit card yesterday, without any surprise, there are only 99.9 yuan left. he is too distressed and thinking about how to tide over the last days. […]

python commonly used third -party library Admin

below is found online, and the following common three -party library is compiled by myself Common third -party library1, Internet crawler• Requests -Highly encapsulated the HTTP protocol to support very rich link access functions. pip install -i https://pypi.tuna.tsinghua.edu.cn/simple requests • pyspider -a powerful network crawler system written by a Chinese with a powerful WebUI. pip […]

2018CCPC Internet Tournament &#038;&#038; HDU 6348: A. Buy and Reset (priority queue+greed)

  Buy and Resell Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 480    Accepted Submission(s): 114 Problem Description The Power Cube is used as a stash of Exotic Power. There are n cities numbered 1,2,…,n where allowed to trade it. The trading price of the Power Cube in the i-th city is ai dollars per cube. Noswal is a foxy […]

IOSRXSWIFT use (documentation)

Target and summarize the content of the documentation, so that it is convenient to check it yourself ~ Click on how toTargetAction: button.rx.tap.subscrible(onNext:{ …}) proxyDelegate: scrollView.rx.contentOffset .subscrible(onNext:{ contentOffset in …}) Closed back adjustmentBlock: URLSession.shared.rx.data(request:URLRequest(url:url)) .subscrible(onNext{ data in …}) .onError{ error in …}) NoticeNotify: NotificationCenter.default.rx .notification(.UIApplicationiWillEnterForeground) .subscrible(onNext:{ notification in …}) Multiple tasks have dependent relationships: execute […]

Python electronic medical record (EDR) machine learning and deep learning data pre -processing, medical text tag data pre -processing machine learning medical data processing

Data cleaning process, process the original data into data that can be used for machine learning or deep learning training. Data original format: Data and code, refer to the data and sharing of Teacher Liu Huanyong 1. Imported package required import os from collections import Counter 2. Define the data tags in advance: (Jupyter Notebook) […]

linux

1. Download official download address:maven download two. Unzip TAR-ZXVF Apache-Maven-3.3.9-bin.tar.gz (installation path:/usr/local/maven) 3. Installation Add the following in the /ETC /Profile file export MAVEN_HOME=/usr/local/maven  export PATH=$MAVEN_HOME/bin:$PATH 4. Effective source /etc/profile 5. Verification mvn -v As shown in the figure above, the version information is displayed, indicating that the installation is successful! 6. Configure local warehouse […]

Python list commonly used operation The

list is one of the basic data types of Python. Other programming languages also have similar data types. For example, array in JS, array in Java, etc. It can also store various data types: the list is one of the basic data types in Python, and there are data classes similar to the list in […]

#Linux system

1. NMCLI command daily usage1.nmcli dev status // View the connection status of the existing network equipment of the system2.nmcli conn show // View existing connection3.NMCli Conn up ENS33 // Start (connected) ENS334.NMCli Conn down ENS33 // Close (disconnect) ENS335.NMCli Conn Delete UUID1 UUID2 UUID3 // Delete the unnecessary connection (UUID1 UUID2 UUID3)6.nmcli dev show […]