在spark环境中运行demo的时候报错,怎么解决?
/usr/spark-1.6/bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn --deploy-mode client --executor-cores 1 --queue thequeue /usr/spark-1.6/lib/spark-examples*.jar 10
INFO SparkContext: Successfully stopped SparkContext
Exception in thread "main" org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /user/root/.sparkStaging/application_1456656873625_0001/spark-assembly-1.6.0-hadoop2.6.0.jar 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(BlockManager.java:1550)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNewBlockTargets(FSNamesystem.java: