Recent learning-related issues are running the "./bin/hadoop jar./share/hadoop/mapreduce/hadoop-mapreduce-examples-*.jar grep./input./output ' dfs[ A-Z.] + ' "command, the following error has occurred:
18/10/07 11:41:32 INFO Configuration.deprecation:session.id is deprecated. Instead, use Dfs.metrics.session-id
18/10/07 11:41:32 INFO JVM. Jvmmetrics:initializing JVM Metrics with Processname=jobtracker, sessionid=
Java.net.ConnectException:Call from jasmine-virtual-machine/127.0.1.1 to 192.168.16.132:8020 failed on connection Exception:java.net.ConnectException: Deny connection; For more details see:http://wiki.apache.org/hadoop/connectionrefused
At Sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)
At Sun.reflect.NativeConstructorAccessorImpl.newInstance (nativeconstructoraccessorimpl.java:62)
At Sun.reflect.DelegatingConstructorAccessorImpl.newInstance (delegatingconstructoraccessorimpl.java:45)
At Java.lang.reflect.Constructor.newInstance (constructor.java:423)
At Org.apache.hadoop.net.NetUtils.wrapWithMessage (netutils.java:791)
At Org.apache.hadoop.net.NetUtils.wrapException (netutils.java:731)
At Org.apache.hadoop.ipc.Client.call (client.java:1474)
At Org.apache.hadoop.ipc.Client.call (client.java:1401)
At Org.apache.hadoop.ipc.protobufrpcengine$invoker.invoke (protobufrpcengine.java:232)
At Com.sun.proxy. $Proxy 9.delete (Unknown Source)
At Org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.delete ( clientnamenodeprotocoltranslatorpb.java:521)
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.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod (retryinvocationhandler.java:187)
At Org.apache.hadoop.io.retry.RetryInvocationHandler.invoke (retryinvocationhandler.java:102)
At Com.sun.proxy. $Proxy 10.delete (Unknown Source)
At Org.apache.hadoop.hdfs.DFSClient.delete (dfsclient.java:1918)
At Org.apache.hadoop.hdfs.distributedfilesystem$12.docall (distributedfilesystem.java:638)
At Org.apache.hadoop.hdfs.distributedfilesystem$12.docall (distributedfilesystem.java:634)
At Org.apache.hadoop.fs.FileSystemLinkResolver.resolve (filesystemlinkresolver.java:81)
At Org.apache.hadoop.hdfs.DistributedFileSystem.delete (distributedfilesystem.java:634)
At Org.apache.hadoop.examples.Grep.run (grep.java:95)
At Org.apache.hadoop.util.ToolRunner.run (toolrunner.java:70)
At Org.apache.hadoop.examples.Grep.main (grep.java:101)
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.apache.hadoop.util.programdriver$programdescription.invoke (programdriver.java:71)
At Org.apache.hadoop.util.ProgramDriver.run (programdriver.java:144)
At Org.apache.hadoop.examples.ExampleDriver.main (exampledriver.java:74)
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.apache.hadoop.util.RunJar.run (runjar.java:221)
At Org.apache.hadoop.util.RunJar.main (runjar.java:136)
Caused by:java.net.ConnectException: Deny connection
At Sun.nio.ch.SocketChannelImpl.checkConnect (Native Method)
At Sun.nio.ch.SocketChannelImpl.finishConnect (socketchannelimpl.java:717)
At Org.apache.hadoop.net.SocketIOWithTimeout.connect (socketiowithtimeout.java:206)
At Org.apache.hadoop.net.NetUtils.connect (netutils.java:530)
At Org.apache.hadoop.net.NetUtils.connect (netutils.java:494)
At Org.apache.hadoop.ipc.client$connection.setupconnection (client.java:609)
At Org.apache.hadoop.ipc.client$connection.setupiostreams (client.java:707)
At org.apache.hadoop.ipc.client$connection.access$2800 (client.java:370)
At Org.apache.hadoop.ipc.Client.getConnection (client.java:1523)
At Org.apache.hadoop.ipc.Client.call (client.java:1440)
... More
The main problem is to reject the link, the workaround is as follows:
Hadoop operational issues: INFO Configuration.deprecation:session.id is deprecated. Instead, use Dfs.metrics.session-id