0

我正在尝试使用 mlcp 命令将一些位于 Windows 中的 csv 文件加载到 Marklogic DB 中,如下所示:

./mlcp.sh import -mode local -options_file ../conf/conn.txt -input_file_path "/windows_path/" -input_file_type delimited_text -generate_uri -output_uri-replace "/windows_path/,'/file_path/'"

得到以下异常:

INFO contentpump.LocalJobRunner: Content type: XML
ERROR contentpump.ContentPump:Error running a ContentPump job
java.io.IOException: No input files found with the specified input path file:/windows_path/ and input file pattern .* 
Caused by: org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: file: /windows_path/

但文件在 windows 路径中可用。当我尝试从 Linux 服务器执行以下命令时

cd /windows-path/ 

我得到以下异常:

-bash: cd: /windows_path/: Key has expired

我是Linux新手,谁能解释一下。为什么会有这样的例外?我需要在 Linux 服务器中挂载 windows 路径吗?如果是这样,我怎样才能实现它?

提前致谢。

4

0 回答 0