Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error submitting job to sandbox instance


Error submitting job to sandbox instance

New Contributor

Hi, we have installed the latest sandbox on an Azure instance, per the instructions. The version is hdp- We are trying to submit a job to the sandbox, and get a series of exceptions. It appears that the scheduler is not able to find the datanode, per the following exception. This is a brand new machine, configured from the Azure install wizard. Does anyone know why this might be happening? How does a node get excluded?

org.apache.hadoop.ipc.RemoteException( File /tmp/bigid/5bd7870166414371827d813b/5bd7870166414371827d8130 could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and 1 node(s) are excluded in this operation. at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock( at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNewBlockTargets( at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock( at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock( at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock( at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod( at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ at org.apache.hadoop.ipc.RPC$ at org.apache.hadoop.ipc.Server$Handler$ at org.apache.hadoop.ipc.Server$Handler$ at Method) at at at org.apache.hadoop.ipc.Server$ at at at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke( at com.sun.proxy.$Proxy113.addBlock(Unknown Source) at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at at at com.sun.proxy.$Proxy114.addBlock(Unknown Source) at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.locateFollowingBlock( at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream( at org.apache.hadoop.hdfs.DFSOutputStream$


Re: Error submitting job to sandbox instance

Super Mentor

@Andrew Brunette

Your error and description looks the one very similar mentioned in the following HCC thread:

So can you please check the following:
1. Verify your "/etc/hosts" file for hostname mapping.

# cat /etc/hosts
# hostname -f

2. Verify if port 50010 is opened or not an bound to correct address or All addresses?

# netstat -tnlpa | grep 50010

3. Check your Hadoop Configs if the following property is set to "true"? Via Ambari UI you can add it to "Custom hdfs-site"


By default the value of this property is "false" (if not set explicitly). This property determines whether clients should use datanode hostnames when connecting to datanodes.


Don't have an account?
Coming from Hortonworks? Activate your account here