hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Lo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-15615) MapReduce example in v3.1.0 is not working
Date Wed, 18 Jul 2018 03:13:00 GMT
Tom Lo created HADOOP-15615:
-------------------------------

             Summary: MapReduce example in v3.1.0 is not working
                 Key: HADOOP-15615
                 URL: https://issues.apache.org/jira/browse/HADOOP-15615
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Tom Lo


I run

```

cd ~/hadoop-3.1.0

./bin/hdfs dfs -mkdir /input

./bin/hdfs dfs -put etc/hadoop/* /input

./bin/hdfs dfs -ls /input

bin/hadoop jar share/hadoop/mapreduce/hadoop-mapreduce-examples-3.1.0.jar grep /input /output
'dfs[a-z.]+'

```

 

But I got:

```

2018-07-18 11:08:16,295 WARN util.NativeCodeLoader: Unable to load native-hadoop library for
your platform... using builtin-java classes where applicable

2018-07-18 11:08:17,659 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032

2018-07-18 11:08:18,676 INFO mapreduce.JobResourceUploader: Disabling Erasure Coding for path:
/tmp/hadoop-yarn/staging/101-medialab-tomlo/.staging/job_1531881751698_0008

2018-07-18 11:08:19,055 INFO input.FileInputFormat: Total input files to process : 32

2018-07-18 11:08:19,132 INFO mapreduce.JobSubmitter: number of splits:32

2018-07-18 11:08:19,178 INFO Configuration.deprecation: yarn.resourcemanager.system-metrics-publisher.enabled
is deprecated. Instead, use yarn.system-metrics-publisher.enabled

2018-07-18 11:08:19,315 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1531881751698_0008

2018-07-18 11:08:19,318 INFO mapreduce.JobSubmitter: Executing with tokens: []

2018-07-18 11:08:19,588 INFO conf.Configuration: resource-types.xml not found

2018-07-18 11:08:19,589 INFO resource.ResourceUtils: Unable to find 'resource-types.xml'.

2018-07-18 11:08:19,711 INFO impl.YarnClientImpl: Submitted application application_1531881751698_0008

2018-07-18 11:08:19,777 INFO mapreduce.Job: The url to track the job: http://localhost:8088/proxy/application_1531881751698_0008/

2018-07-18 11:08:19,778 INFO mapreduce.Job: Running job: job_1531881751698_0008

2018-07-18 11:08:29,966 INFO mapreduce.Job: Job job_1531881751698_0008 running in uber mode
: false

2018-07-18 11:08:29,969 INFO mapreduce.Job:  map 0% reduce 0%

2018-07-18 11:08:49,203 INFO mapreduce.Job:  map 13% reduce 0%

2018-07-18 11:08:50,214 INFO mapreduce.Job:  map 19% reduce 0%

2018-07-18 11:09:20,501 INFO mapreduce.Job:  map 28% reduce 0%

2018-07-18 11:09:21,511 INFO mapreduce.Job:  map 34% reduce 0%

2018-07-18 11:09:29,592 INFO mapreduce.Job:  map 34% reduce 11%

2018-07-18 11:09:45,714 INFO mapreduce.Job:  map 38% reduce 11%

2018-07-18 11:09:47,729 INFO mapreduce.Job:  map 50% reduce 13%

2018-07-18 11:09:53,788 INFO mapreduce.Job:  map 50% reduce 17%

2018-07-18 11:10:14,950 INFO mapreduce.Job:  map 53% reduce 17%

2018-07-18 11:10:15,957 INFO mapreduce.Job:  map 59% reduce 17%

2018-07-18 11:10:16,965 INFO mapreduce.Job:  map 66% reduce 17%

2018-07-18 11:10:17,972 INFO mapreduce.Job:  map 66% reduce 22%

2018-07-18 11:10:41,164 INFO mapreduce.Job:  map 69% reduce 22%

2018-07-18 11:10:42,169 INFO mapreduce.Job:  map 81% reduce 22%

2018-07-18 11:10:47,210 INFO mapreduce.Job:  map 81% reduce 27%

2018-07-18 11:11:08,350 INFO mapreduce.Job:  map 84% reduce 27%

2018-07-18 11:11:09,360 INFO mapreduce.Job:  map 97% reduce 27%

2018-07-18 11:11:11,380 INFO mapreduce.Job:  map 97% reduce 32%

2018-07-18 11:11:23,487 INFO mapreduce.Job: Task Id : attempt_1531881751698_0008_m_000031_0,
Status : FAILED

Error: java.io.FileNotFoundException: Path is not a file: /input/shellprofile.d

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:90)

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:76)

 at org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getBlockLocations(FSDirStatAndListingOp.java:153)

 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1927)

 at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:738)

 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:424)

 at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)

 at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815)

 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:1682)

 at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675)

 

 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.ipc.RemoteException.instantiateException(RemoteException.java:121)

 at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:88)

 at org.apache.hadoop.hdfs.DFSClient.callGetBlockLocations(DFSClient.java:856)

 at org.apache.hadoop.hdfs.DFSClient.getLocatedBlocks(DFSClient.java:843)

 at org.apache.hadoop.hdfs.DFSClient.getLocatedBlocks(DFSClient.java:832)

 at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:996)

 at org.apache.hadoop.hdfs.DistributedFileSystem$4.doCall(DistributedFileSystem.java:326)

 at org.apache.hadoop.hdfs.DistributedFileSystem$4.doCall(DistributedFileSystem.java:322)

 at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)

 at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:334)

 at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:950)

 at org.apache.hadoop.mapreduce.lib.input.LineRecordReader.initialize(LineRecordReader.java:86)

 at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.initialize(MapTask.java:560)

 at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:798)

 at org.apache.hadoop.mapred.MapTask.run(MapTask.java:347)

 at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:174)

 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:1682)

 at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:168)

Caused by: org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): Path is not
a file: /input/shellprofile.d

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:90)

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:76)

 at org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getBlockLocations(FSDirStatAndListingOp.java:153)

 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1927)

 at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:738)

 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:424)

 at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)

 at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815)

 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:1682)

 at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675)

 

 at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1491)

 at org.apache.hadoop.ipc.Client.call(Client.java:1437)

 at org.apache.hadoop.ipc.Client.call(Client.java:1347)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)

 at com.sun.proxy.$Proxy17.getBlockLocations(Unknown Source)

 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getBlockLocations(ClientNamenodeProtocolTranslatorPB.java:311)

 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:422)

 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)

 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)

 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)

 at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)

 at com.sun.proxy.$Proxy18.getBlockLocations(Unknown Source)

 at org.apache.hadoop.hdfs.DFSClient.callGetBlockLocations(DFSClient.java:854)

 ... 17 more

 

2018-07-18 11:11:31,584 INFO mapreduce.Job: Task Id : attempt_1531881751698_0008_m_000031_2,
Status : FAILED

Error: java.io.FileNotFoundException: Path is not a file: /input/shellprofile.d

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:90)

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:76)

 at org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getBlockLocations(FSDirStatAndListingOp.java:153)

 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1927)

 at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:738)

 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:424)

 at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)

 at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815)

 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:1682)

 at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675)

 

 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.ipc.RemoteException.instantiateException(RemoteException.java:121)

 at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:88)

 at org.apache.hadoop.hdfs.DFSClient.callGetBlockLocations(DFSClient.java:856)

 at org.apache.hadoop.hdfs.DFSClient.getLocatedBlocks(DFSClient.java:843)

 at org.apache.hadoop.hdfs.DFSClient.getLocatedBlocks(DFSClient.java:832)

 at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:996)

 at org.apache.hadoop.hdfs.DistributedFileSystem$4.doCall(DistributedFileSystem.java:326)

 at org.apache.hadoop.hdfs.DistributedFileSystem$4.doCall(DistributedFileSystem.java:322)

 at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)

 at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:334)

 at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:950)

 at org.apache.hadoop.mapreduce.lib.input.LineRecordReader.initialize(LineRecordReader.java:86)

 at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.initialize(MapTask.java:560)

 at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:798)

 at org.apache.hadoop.mapred.MapTask.run(MapTask.java:347)

 at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:174)

 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:1682)

 at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:168)

Caused by: org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): Path is not
a file: /input/shellprofile.d

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:90)

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:76)

 at org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getBlockLocations(FSDirStatAndListingOp.java:153)

 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1927)

 at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:738)

 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:424)

 at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)

 at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815)

 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:1682)

 at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675)

 

 at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1491)

 at org.apache.hadoop.ipc.Client.call(Client.java:1437)

 at org.apache.hadoop.ipc.Client.call(Client.java:1347)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)

 at com.sun.proxy.$Proxy17.getBlockLocations(Unknown Source)

 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getBlockLocations(ClientNamenodeProtocolTranslatorPB.java:311)

 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:422)

 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)

 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)

 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)

 at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)

 at com.sun.proxy.$Proxy18.getBlockLocations(Unknown Source)

 at org.apache.hadoop.hdfs.DFSClient.callGetBlockLocations(DFSClient.java:854)

 ... 17 more

 

2018-07-18 11:11:31,586 INFO mapreduce.Job: Task Id : attempt_1531881751698_0008_m_000031_1,
Status : FAILED

Error: java.io.FileNotFoundException: Path is not a file: /input/shellprofile.d

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:90)

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:76)

 at org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getBlockLocations(FSDirStatAndListingOp.java:153)

 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1927)

 at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:738)

 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:424)

 at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)

 at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815)

 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:1682)

 at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675)

 

 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.ipc.RemoteException.instantiateException(RemoteException.java:121)

 at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:88)

 at org.apache.hadoop.hdfs.DFSClient.callGetBlockLocations(DFSClient.java:856)

 at org.apache.hadoop.hdfs.DFSClient.getLocatedBlocks(DFSClient.java:843)

 at org.apache.hadoop.hdfs.DFSClient.getLocatedBlocks(DFSClient.java:832)

 at org.apache.hadoop.hdfs.DFSClient.open(DFSClient.java:996)

 at org.apache.hadoop.hdfs.DistributedFileSystem$4.doCall(DistributedFileSystem.java:326)

 at org.apache.hadoop.hdfs.DistributedFileSystem$4.doCall(DistributedFileSystem.java:322)

 at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)

 at org.apache.hadoop.hdfs.DistributedFileSystem.open(DistributedFileSystem.java:334)

 at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:950)

 at org.apache.hadoop.mapreduce.lib.input.LineRecordReader.initialize(LineRecordReader.java:86)

 at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.initialize(MapTask.java:560)

 at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:798)

 at org.apache.hadoop.mapred.MapTask.run(MapTask.java:347)

 at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:174)

 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:1682)

 at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:168)

Caused by: org.apache.hadoop.ipc.RemoteException(java.io.FileNotFoundException): Path is not
a file: /input/shellprofile.d

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:90)

 at org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:76)

 at org.apache.hadoop.hdfs.server.namenode.FSDirStatAndListingOp.getBlockLocations(FSDirStatAndListingOp.java:153)

 at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getBlockLocations(FSNamesystem.java:1927)

 at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getBlockLocations(NameNodeRpcServer.java:738)

 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.getBlockLocations(ClientNamenodeProtocolServerSideTranslatorPB.java:424)

 at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)

 at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869)

 at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815)

 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:1682)

 at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675)

 

 at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1491)

 at org.apache.hadoop.ipc.Client.call(Client.java:1437)

 at org.apache.hadoop.ipc.Client.call(Client.java:1347)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228)

 at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)

 at com.sun.proxy.$Proxy17.getBlockLocations(Unknown Source)

 at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getBlockLocations(ClientNamenodeProtocolTranslatorPB.java:311)

 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:422)

 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)

 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)

 at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)

 at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)

 at com.sun.proxy.$Proxy18.getBlockLocations(Unknown Source)

 at org.apache.hadoop.hdfs.DFSClient.callGetBlockLocations(DFSClient.java:854)

 ... 17 more

 

2018-07-18 11:11:40,675 INFO mapreduce.Job:  map 100% reduce 0%

2018-07-18 11:11:41,681 INFO mapreduce.Job:  map 100% reduce 100%

2018-07-18 11:11:41,692 INFO mapreduce.Job: Job job_1531881751698_0008 failed with state FAILED
due to: Task failed task_1531881751698_0008_m_000031

Job failed as tasks failed. failedMaps:1 failedReduces:0 killedMaps:0 killedReduces: 0

 

2018-07-18 11:11:41,906 INFO mapreduce.Job: Counters: 40

 File System Counters

 FILE: Number of bytes read=0

 FILE: Number of bytes written=6618329

 FILE: Number of read operations=0

 FILE: Number of large read operations=0

 FILE: Number of write operations=0

 HDFS: Number of bytes read=105727

 HDFS: Number of bytes written=0

 HDFS: Number of read operations=93

 HDFS: Number of large read operations=0

 HDFS: Number of write operations=0

 Job Counters 

 Failed map tasks=4

 Killed reduce tasks=1

 Launched map tasks=35

 Launched reduce tasks=1

 Other local map tasks=4

 Data-local map tasks=31

 Total time spent by all maps in occupied slots (ms)=579444

 Total time spent by all reduces in occupied slots (ms)=168418

 Total time spent by all map tasks (ms)=579444

 Total time spent by all reduce tasks (ms)=168418

 Total vcore-milliseconds taken by all map tasks=579444

 Total vcore-milliseconds taken by all reduce tasks=168418

 Total megabyte-milliseconds taken by all map tasks=593350656

 Total megabyte-milliseconds taken by all reduce tasks=172460032

 Map-Reduce Framework

 Map input records=2704

 Map output records=24

 Map output bytes=625

 Map output materialized bytes=583

 Input split bytes=3459

 Combine input records=24

 Combine output records=14

 Spilled Records=14

 Failed Shuffles=0

 Merged Map outputs=0

 GC time elapsed (ms)=3862

 CPU time spent (ms)=0

 Physical memory (bytes) snapshot=0

 Virtual memory (bytes) snapshot=0

 Total committed heap usage (bytes)=7036469248

 File Input Format Counters 

 Bytes Read=102268

2018-07-18 11:11:41,947 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032

org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory hdfs://localhost:19000/output
already exists

 at org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:164)

 at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(JobSubmitter.java:280)

 at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:146)

 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:1682)

 at org.apache.hadoop.mapreduce.Job.submit(Job.java:1567)

 at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1588)

 at org.apache.hadoop.examples.Grep.run(Grep.java:94)

 at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)

 at org.apache.hadoop.examples.Grep.main(Grep.java:103)

 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:308)

 at org.apache.hadoop.util.RunJar.main(RunJar.java:222)

```



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message