Category Archives: How to Fix

Navicat VMware failed to connect to the database. Possible causes of error 2003

The virtual machine began to work well. After a while, it was found that Navicat suddenly connected and did not report 2003, Firefox could not get on the network, and an error was reported when the code accessed the database; In short, the remote connection failed. It may be because VMware is copied for direct use or after the second boot Click to restore the previous state (there are also copy operations), and the MAC address is the same.

If the small Lord’s method doesn’t work

Check: 1. Whether the firewall is turned off

            2. Whether the sql service is running (when MySQL is installed locally)

 

            3. Set any IP access

Execute under the root path of the database: MySQL – U root – P password

mysql> GRANT ALL PRIVILEGES ON . TO ‘root’@’%’ IDENTIFIED BY ‘123456’ WITH GRANT
OPTION;
experience‘ % in root ‘@’% ‘represents any IP. If you want to specify an IP to access the database. User name: root, login password: 123456, specify unique computer access: ‘root’ @ ‘192.168.211.132’

Refresh configuration: MySQL & gt; flush privileges;     

           

Webstorm startup error load error: undefined path variables

When starting webstorm, the following error will be reported:

The reason for this problem is that the less environment is not set properly. Please see the solution:

1. Open the setting panel as follows:

In the figure above, pay special attention to serial number 4. It must be set to global.

2. Restart webstorm and open it again without this error  

IIS + Django project reported an error. The fastcgi process exited unexpectedly

Today, after modifying the prompt in IIS + Django project, the web page reported an error “fastcgi process exited unexpectedly”

Processing procedure: 1. Confirm that in the advanced settings of the application pool used by the website, the normal option in the option “identity” in the process model class is “localsystem”

 

2. In “CMD” mode, enter the project directory and run “Python manage. Py runserver” to confirm whether the website code is normal*** This is very important.

3. Restart the server
 

The echots in Vue reports an error. After obtaining the DOM element, the chart can be displayed. The console still reports an error

 <div v-if="grade<3" ref="gradeChart" style="height: 220px;width: 300px;margin:0 auto;">




  mounted() {
      this.$nextTick(() => {
				setTimeout(()=>{
					let map1=this.initEchartMap(this.gjfsx);
					console.log(this.$refs.gradeChart,"ddkiiok")
					},50)
      })

 

  The solution is to change V-IF to v-show, and the console will not report an error

 <div v-show="grade<3" ref="gradeChart" style="height: 220px;width: 300px;margin:0 auto;">

JetBrains compilation error is due to project language level

This is described in the user manual of JetBrains. Project language level

It has two functions:

    check syntax compatibility when writing code. For example, if it is set to 7, you can’t use the features above jdk1.7 when writing code, no matter what version of JDK you use. Features like functional interfaces cannot be used, and the idea will prompt an error. Compile the source code to the bytecode of the target version. For example, if it is set to 6, the compiled code is JDK6 compatible regardless of whether JDK7 or 8 is used

     

Mac compiles Doris with MVN and reports an error checkstyle

Interpreter

Error while checkstyle execution

debug

mvn install -DskipTests -X

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] doris-fe 3.4.0 ..................................... SUCCESS [  0.383 s]
[INFO] doris-fe-common 1.0.0 .............................. SUCCESS [ 23.695 s]
[INFO] spark-dpp 1.0.0 .................................... SUCCESS [ 15.984 s]
[INFO] fe-core 3.4.0 ...................................... FAILURE [  0.949 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  41.420 s
[INFO] Finished at: 2021-05-26T16:23:43+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (validate) on project fe-core: Failed during checkstyle execution: There is 1 error reported by Checkstyle 8.19 with checkstyle.xml ruleset. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (validate) on project fe-core: Failed during checkstyle execution
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed during checkstyle execution
    at org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo.execute (CheckstyleViolationCheckMojo.java:546)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
Caused by: org.apache.maven.plugins.checkstyle.exec.CheckstyleExecutorException: There is 1 error reported by Checkstyle 8.19 with checkstyle.xml ruleset.
    at org.apache.maven.plugins.checkstyle.exec.DefaultCheckstyleExecutor.executeCheckstyle (DefaultCheckstyleExecutor.java:308)
    at org.apache.maven.plugins.checkstyle.CheckstyleViolationCheckMojo.execute (CheckstyleViolationCheckMojo.java:537)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[ERROR] 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :fe-core

Direct jumping over
-Dcheckstyle.skip
success

Communication link failure when connecting Doris

Springboot queries Doris with an error

ERROR [http-nio-10020-exec-12] [http-nio-10020-exec-12raceId] [] [5] @@GlobalExceptionAdvice@@ | server error 
org.springframework.dao.RecoverableDataAccessException: 
### Error querying database.  Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 426 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
; Communications link failure

The last packet successfully received from the server was 426 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 426 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.

An error is reported in the insert into select task scheduled by Doris

ERROR 2013 (HY000) at line 7: Lost connection to MySQL server during query

analysis

It may be that slow queries cause huge pressure on the cluster.
several slow queries reach 120s-400s, which is unbearable for the Doris cluster because of the global query_ The timeout parameter is 60. It is assumed that the task session variable of someone is set to 600s or higher

Let the development offline slow query task and the tuning SQL
slow query task for more than 100 seconds work normally after offline

But after a while, the springboot service alarms. There are mistakes again

Doris parameter

interactive_timeout=3880000

wait_timeout=3880000

Doris Fe service node alarm log

2021-06-03 16:00:08,398 WARN (Connect-Scheduler-Check-Timer-0|79) [ConnectContext.checkTimeout():365] kill wait timeout connection, remote: 1.1.1.1:57399, wait timeout: 3880000
2021-06-03 16:00:08,398 WARN (Connect-Scheduler-Check-Timer-0|79) [ConnectContext.kill():339] kill timeout query, 1.1.1.1.1:57399, kill connection: true

Doris monitoring

It can be seen that the number of connections at 15:44 drops sharply

#Elk log
you can also see that the alarm and error messages of Doris queried by springboot service also start at 15:44
so what operation variables affect the cluster at 15:44?

See waite according to the error report
_ The time is 3880000s, which is 44 days, but the default in the source code is 28800s

interactive_timeout=3880000

wait_timeout=3880000

No one went online, no one cut, and the Cluster Administrator was in my hands. I didn’t change the parameters, but I’m still not sure why the parameters will change. Go to the fe.audit audit audit log to check the operation records. Sure enough,
someone ( insider ) was using the 2020.2.3 version of DataGrid. At 15:44, the set global parameters were modified

interactive_timeout=3880000

wait_timeout=3880000

call back the two parameters to 28800s , and the connections of the cluster are restored immediately
it should be noted here that in the discussion with the community, there is only wait in Doris_ Timeout works, and the other is interactive_ Timeout in order to be compatible with MySQL, it doesn’t work

Question: why wait in Doris_ When the timeout parameter is too large, it will cause a connection error communications link failure
on the contrary, it can return to normal after being reduced. You need to sort out the code and look at the logic

Please check the
connection Doris error communications link failure

Doris query task failed to initialize storage reader

report errors

The error reported by spark when reading Doris table and importing hive table is as follows

Caused by: org.apache.doris.spark.exception.DorisInternalException: 
Doris server Doris BE{host='192.168.1.1', port=9060} internal failed, 
status code [INTERNAL_ERROR] error message is [failed to initialize storage reader. 
tablet=404802818.143972036.284b4c29fe956174-4b76f65647c70daa, res=-230, backend=192.168.1.1]

analysis

Source code analysis

Be node

olap_ scanner.cpp

Status OlapScanner::open() {
    SCOPED_TIMER(_parent->_reader_init_timer);

    if (_conjunct_ctxs.size() > _direct_conjunct_size) {
        _use_pushdown_conjuncts = true;
    }

    _runtime_filter_marks.resize(_parent->runtime_filter_descs().size(), false);

    auto res = _reader->init(_params);
    if (res != OLAP_SUCCESS) {
        OLAP_LOG_WARNING("fail to init reader.[res=%d]", res);
        std::stringstream ss;
        ss << "failed to initialize storage reader. tablet=" << _params.tablet->full_name()
           << ", res=" << res << ", backend=" << BackendOptions::get_localhost();
        return Status::InternalError(ss.str().c_str());
    }
    return Status::OK();
}

Failed to read data
be has parameters

tablet_ rowset_ stale_ sweep_ time_ SEC
type: Int64
Description: used to indicate the expiration time of cleaning up the merged version. When the current time is now() minus the latest creation time of rowset in a merged version path is greater than tablet_ rowset_ stale_ sweep_ time_ SEC, clean up the current path and delete these merged rowsets, with the unit of S
default value: 1800

that is, in the process of reading Doris, data is imported into this table, resulting in the deletion of the original version half an hour after the compaction, so the task of spark reading Doris will report an error. When you read a version from Fe, it may be merged

solve

Increase the parallelism of the spark reader. Increasing this parameter can increase the retention time of the old version

Error in require.context in vue3 vite

In the vue2 version, I usually use require. Context to get all the files of a file

require.context('./modules', true, /\.js$/)

Errors will be reported when using vue3 vite

go to the vite official document and find the official provision method as follows

import.meta.globEager("./module/*.js") 

Mybatis integrates Oracle query and reports an error in the datetime type field

Question:

The same SQL statement can be executed normally in Oracle, but an error will be reported in the mybatis framework: ora-01722: invalid number or string does not match the data type

solve

Convert variable to string type:

g.UPDATETIME >= TO_CHAR(TRUNC (SYSDATE)),
g.CHECKDATE >= TO_CHAR('2021-01-01 00:00:00'))

Mr local operation error: nativeio $windows.access0

Article catalog

1. Problem 2. Solution

1. Problems

When running Mr task in win10 environment, the error is as follows:

D:\Java\jdk1.8.0_201\bin\java.exe "-javaagent:D:\Program Files\JetBrains\IntelliJ IDEA 2020.1\lib\idea_rt.jar=64181:D:\Program Files\JetBrains\IntelliJ IDEA 2020.1\bin" -Dfile.encoding=UTF-8 -classpath D:\Java\jdk1.8.0_201\jre\lib\charsets.jar;D:\Java\jdk1.8.0_201\jre\lib\deploy.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\access-bridge-64.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\cldrdata.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\dnsns.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\jaccess.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\jfxrt.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\localedata.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\nashorn.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\sunec.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\sunjce_provider.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\sunmscapi.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\sunpkcs11.jar;D:\Java\jdk1.8.0_201\jre\lib\ext\zipfs.jar;D:\Java\jdk1.8.0_201\jre\lib\javaws.jar;D:\Java\jdk1.8.0_201\jre\lib\jce.jar;D:\Java\jdk1.8.0_201\jre\lib\jfr.jar;D:\Java\jdk1.8.0_201\jre\lib\jfxswt.jar;D:\Java\jdk1.8.0_201\jre\lib\jsse.jar;D:\Java\jdk1.8.0_201\jre\lib\management-agent.jar;D:\Java\jdk1.8.0_201\jre\lib\plugin.jar;D:\Java\jdk1.8.0_201\jre\lib\resources.jar;D:\Java\jdk1.8.0_201\jre\lib\rt.jar;D:\code_java\BigDataLearningDemo\MapReduceDemo\target\classes;D:\MavenRepos\junit\junit\4.13\junit-4.13.jar;D:\MavenRepos\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;D:\MavenRepos\org\slf4j\slf4j-log4j12\1.7.30\slf4j-log4j12-1.7.30.jar;D:\MavenRepos\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;D:\MavenRepos\log4j\log4j\1.2.17\log4j-1.2.17.jar;D:\MavenRepos\org\apache\hadoop\hadoop-client\3.1.1\hadoop-client-3.1.1.jar;D:\MavenRepos\org\apache\hadoop\hadoop-common\3.1.1\hadoop-common-3.1.1.jar;D:\MavenRepos\com\google\guava\guava\11.0.2\guava-11.0.2.jar;D:\MavenRepos\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;D:\MavenRepos\org\apache\commons\commons-math3\3.1.1\commons-math3-3.1.1.jar;D:\MavenRepos\org\apache\httpcomponents\httpclient\4.5.2\httpclient-4.5.2.jar;D:\MavenRepos\org\apache\httpcomponents\httpcore\4.4.4\httpcore-4.4.4.jar;D:\MavenRepos\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;D:\MavenRepos\commons-io\commons-io\2.5\commons-io-2.5.jar;D:\MavenRepos\commons-net\commons-net\3.6\commons-net-3.6.jar;D:\MavenRepos\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;D:\MavenRepos\org\eclipse\jetty\jetty-servlet\9.3.19.v20170502\jetty-servlet-9.3.19.v20170502.jar;D:\MavenRepos\org\eclipse\jetty\jetty-security\9.3.19.v20170502\jetty-security-9.3.19.v20170502.jar;D:\MavenRepos\org\eclipse\jetty\jetty-webapp\9.3.19.v20170502\jetty-webapp-9.3.19.v20170502.jar;D:\MavenRepos\org\eclipse\jetty\jetty-xml\9.3.19.v20170502\jetty-xml-9.3.19.v20170502.jar;D:\MavenRepos\javax\servlet\jsp\jsp-api\2.1\jsp-api-2.1.jar;D:\MavenRepos\com\sun\jersey\jersey-servlet\1.19\jersey-servlet-1.19.jar;D:\MavenRepos\commons-logging\commons-logging\1.1.3\commons-logging-1.1.3.jar;D:\MavenRepos\commons-lang\commons-lang\2.6\commons-lang-2.6.jar;D:\MavenRepos\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;D:\MavenRepos\org\apache\commons\commons-configuration2\2.1.1\commons-configuration2-2.1.1.jar;D:\MavenRepos\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar;D:\MavenRepos\org\apache\avro\avro\1.7.7\avro-1.7.7.jar;D:\MavenRepos\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;D:\MavenRepos\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;D:\MavenRepos\com\thoughtworks\paranamer\paranamer\2.3\paranamer-2.3.jar;D:\MavenRepos\org\xerial\snappy\snappy-java\1.0.5\snappy-java-1.0.5.jar;D:\MavenRepos\com\google\re2j\re2j\1.1\re2j-1.1.jar;D:\MavenRepos\com\google\protobuf\protobuf-java\2.5.0\protobuf-java-2.5.0.jar;D:\MavenRepos\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar;D:\MavenRepos\org\apache\hadoop\hadoop-auth\3.1.1\hadoop-auth-3.1.1.jar;D:\MavenRepos\com\nimbusds\nimbus-jose-jwt\4.41.1\nimbus-jose-jwt-4.41.1.jar;D:\MavenRepos\com\github\stephenc\jcip\jcip-annotations\1.0-1\jcip-annotations-1.0-1.jar;D:\MavenRepos\net\minidev\json-smart\2.3\json-smart-2.3.jar;D:\MavenRepos\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;D:\MavenRepos\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;D:\MavenRepos\org\apache\curator\curator-framework\2.12.0\curator-framework-2.12.0.jar;D:\MavenRepos\org\apache\curator\curator-client\2.12.0\curator-client-2.12.0.jar;D:\MavenRepos\org\apache\curator\curator-recipes\2.12.0\curator-recipes-2.12.0.jar;D:\MavenRepos\com\google\code\findbugs\jsr305\3.0.0\jsr305-3.0.0.jar;D:\MavenRepos\org\apache\htrace\htrace-core4\4.1.0-incubating\htrace-core4-4.1.0-incubating.jar;D:\MavenRepos\org\apache\commons\commons-compress\1.4.1\commons-compress-1.4.1.jar;D:\MavenRepos\org\tukaani\xz\1.0\xz-1.0.jar;D:\MavenRepos\org\apache\kerby\kerb-simplekdc\1.0.1\kerb-simplekdc-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerb-client\1.0.1\kerb-client-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerby-config\1.0.1\kerby-config-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerb-core\1.0.1\kerb-core-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerby-pkix\1.0.1\kerby-pkix-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerby-asn1\1.0.1\kerby-asn1-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerby-util\1.0.1\kerby-util-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerb-common\1.0.1\kerb-common-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerb-crypto\1.0.1\kerb-crypto-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerb-util\1.0.1\kerb-util-1.0.1.jar;D:\MavenRepos\org\apache\kerby\token-provider\1.0.1\token-provider-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerb-admin\1.0.1\kerb-admin-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerb-server\1.0.1\kerb-server-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerb-identity\1.0.1\kerb-identity-1.0.1.jar;D:\MavenRepos\org\apache\kerby\kerby-xdr\1.0.1\kerby-xdr-1.0.1.jar;D:\MavenRepos\com\fasterxml\jackson\core\jackson-databind\2.7.8\jackson-databind-2.7.8.jar;D:\MavenRepos\com\fasterxml\jackson\core\jackson-core\2.7.8\jackson-core-2.7.8.jar;D:\MavenRepos\org\codehaus\woodstox\stax2-api\3.1.4\stax2-api-3.1.4.jar;D:\MavenRepos\com\fasterxml\woodstox\woodstox-core\5.0.3\woodstox-core-5.0.3.jar;D:\MavenRepos\org\apache\hadoop\hadoop-hdfs-client\3.1.1\hadoop-hdfs-client-3.1.1.jar;D:\MavenRepos\com\squareup\okhttp\okhttp\2.7.5\okhttp-2.7.5.jar;D:\MavenRepos\com\squareup\okio\okio\1.6.0\okio-1.6.0.jar;D:\MavenRepos\com\fasterxml\jackson\core\jackson-annotations\2.7.8\jackson-annotations-2.7.8.jar;D:\MavenRepos\org\apache\hadoop\hadoop-yarn-api\3.1.1\hadoop-yarn-api-3.1.1.jar;D:\MavenRepos\javax\xml\bind\jaxb-api\2.2.11\jaxb-api-2.2.11.jar;D:\MavenRepos\org\apache\hadoop\hadoop-yarn-client\3.1.1\hadoop-yarn-client-3.1.1.jar;D:\MavenRepos\org\apache\hadoop\hadoop-mapreduce-client-core\3.1.1\hadoop-mapreduce-client-core-3.1.1.jar;D:\MavenRepos\org\apache\hadoop\hadoop-yarn-common\3.1.1\hadoop-yarn-common-3.1.1.jar;D:\MavenRepos\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;D:\MavenRepos\org\eclipse\jetty\jetty-util\9.3.19.v20170502\jetty-util-9.3.19.v20170502.jar;D:\MavenRepos\com\sun\jersey\jersey-core\1.19\jersey-core-1.19.jar;D:\MavenRepos\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar;D:\MavenRepos\com\sun\jersey\jersey-client\1.19\jersey-client-1.19.jar;D:\MavenRepos\com\fasterxml\jackson\module\jackson-module-jaxb-annotations\2.7.8\jackson-module-jaxb-annotations-2.7.8.jar;D:\MavenRepos\com\fasterxml\jackson\jaxrs\jackson-jaxrs-json-provider\2.7.8\jackson-jaxrs-json-provider-2.7.8.jar;D:\MavenRepos\com\fasterxml\jackson\jaxrs\jackson-jaxrs-base\2.7.8\jackson-jaxrs-base-2.7.8.jar;D:\MavenRepos\org\apache\hadoop\hadoop-mapreduce-client-jobclient\3.1.1\hadoop-mapreduce-client-jobclient-3.1.1.jar;D:\MavenRepos\org\apache\hadoop\hadoop-mapreduce-client-common\3.1.1\hadoop-mapreduce-client-common-3.1.1.jar;D:\MavenRepos\org\apache\hadoop\hadoop-annotations\3.1.1\hadoop-annotations-3.1.1.jar com.learning.nokerberos.mapreduce2.sgg9reduceJoin.TableDriver
2021-08-20 08:53:01,390 WARN [org.apache.hadoop.util.NativeCodeLoader] - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2021-08-20 08:53:01,852 INFO [org.apache.commons.beanutils.FluentPropertyBeanIntrospector] - Error when creating PropertyDescriptor for public final void org.apache.commons.configuration2.AbstractConfiguration.setProperty(java.lang.String,java.lang.Object)! Ignoring this property.
2021-08-20 08:53:01,864 WARN [org.apache.hadoop.metrics2.impl.MetricsConfig] - Cannot locate configuration: tried hadoop-metrics2-jobtracker.properties,hadoop-metrics2.properties
2021-08-20 08:53:01,912 INFO [org.apache.hadoop.metrics2.impl.MetricsSystemImpl] - Scheduled Metric snapshot period at 10 second(s).
2021-08-20 08:53:01,912 INFO [org.apache.hadoop.metrics2.impl.MetricsSystemImpl] - JobTracker metrics system started
2021-08-20 08:53:02,382 WARN [org.apache.hadoop.mapreduce.JobResourceUploader] - Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
2021-08-20 08:53:02,438 WARN [org.apache.hadoop.mapreduce.JobResourceUploader] - No job jar file set.  User classes may not be found. See Job or Job#setJar(String).
2021-08-20 08:53:02,457 INFO [org.apache.hadoop.mapreduce.JobSubmitter] - Cleaning up the staging area file:/tmp/hadoop/mapred/staging/264741960596537/.staging/job_local1960596537_0001
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
	at org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Native Method)
	at org.apache.hadoop.io.nativeio.NativeIO$Windows.access(NativeIO.java:640)
	at org.apache.hadoop.fs.FileUtil.canRead(FileUtil.java:1223)
	at org.apache.hadoop.fs.FileUtil.list(FileUtil.java:1428)
	at org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:468)
	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1919)
	at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1961)
	at org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:678)
	at org.apache.hadoop.fs.Globber.listStatus(Globber.java:77)
	at org.apache.hadoop.fs.Globber.doGlob(Globber.java:235)
	at org.apache.hadoop.fs.Globber.glob(Globber.java:149)
	at org.apache.hadoop.fs.FileSystem.globStatus(FileSystem.java:2085)
	at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:303)
	at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:274)
	at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:396)
	at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:313)
	at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:330)
	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:203)
	at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1570)
	at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1567)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1729)
	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1567)
	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1588)
	at com.learning.nokerberos.mapreduce2.sgg9reduceJoin.TableDriver.main(TableDriver.java:37)

Process finished with exit code 1

2. Solution

Copy the Hadoop. DLL file in the D: \ hadoop-3.1.1 \ bin directory to the C: \ windows \ system32 directory, and re run the MR task successfully