我想在hadoop集群上提交一个作业,但出现了这个错误。你知道我怎么修吗?或者至少大体上有什么可能性?
java.lang.IllegalArgumentException: Can not create a Path from a null string
at org.apache.hadoop.fs.Path.checkPathArg(Path.java:87)
at org.apache.hadoop.fs.Path.<init>(Path.java:99)
Can not create a Path from a null string
null
这是提交我工作的bash脚本。
# !/bin/bash
SUBMIT_SCRIPT=/usr/local/job_submit.sh
JAR_LOC="$PWD/Models.jar"
ORG_ID="2"
INPUT_LOC=/starting/part*
OUTPUT_LOC=/user/v/output
hadoop fs -rm -r ${OUTPUT_LOC}
LIB="$JAR_LOC" \
$SUBMIT_SCRIPT \
-j DataJob \
-m PassThrough -r PassThrough \
-DinputPath=${INPUT_LOC}\
-DoutputPath=${OUTPUT_LOC}
#hadoop fs -cat ${OUTPUT_LOC}/part* > out.txt
暂无答案!
目前还没有任何答案,快来回答吧!