Unrecognized Mr import data to HBase tableoutputformat


Environment: win10, compiler idea
Premise: all jar packages are imported automatically with maven
When writing Mr program, you need to import data to HBase, but the tableoutputformat class compiler cannot recognize it.
You need to introduce the jar package into the pom.xml file. After checking, this class comes from the org.apache.hadoop.hbase.mapreduce package
It depends on HBase server. The following dependencies are added to the POM file:


Recommended Today

Windows server side programming – Chapter 2 device IO and inter thread communication – 8 – the architecture of ports around I / O

Architecture of ports around I / O When the service application is initialized, I / O completion ports are created through functions such as createnewcompletionport. The application also needs to create a thread pool to handle client requests. Now the question is: how many threads should there be in the thread pool? This question is […]