Talend Pivotal GPDB-psql错误-无法打开文件进行读取:没有这样的文件或目录

Talend Pivotal GPDB-psql错误-无法打开文件进行读取:没有这样的文件或目录,talend,greenplum,hawq,Talend,Greenplum,Hawq,我正试图将数据从csv文件导入gpdb表,但COPY命令失败,并显示“无此类文件或目录”错误消息—尽管事实如此 我要读的文件肯定在那里 场景 我们正试图使用来自SQL server的Talend工具将数据写入名为“pivotal greenplum database”的目标系统 其中,数据流组件称为tGreenplumBulkExec 错误: tGreenplumBulkExec_1|org.postgresql.util.PSQLException:ERROR: could not

我正试图将数据从csv文件导入gpdb表,但COPY命令失败,并显示“无此类文件或目录”错误消息—尽管事实如此 我要读的文件肯定在那里

场景

我们正试图使用来自SQL server的Talend工具将数据写入名为“pivotal greenplum database”的目标系统

其中,数据流组件称为tGreenplumBulkExec

错误:

    tGreenplumBulkExec_1|org.postgresql.util.PSQLException:ERROR: 
could not open file "/path/to/file.csv" for reading: No such file or directory|1
Path permission of Input file already checked.
Double checked the file path in talend component setting.
t终止数据流:

    tGreenplumBulkExec_1|org.postgresql.util.PSQLException:ERROR: 
could not open file "/path/to/file.csv" for reading: No such file or directory|1
Path permission of Input file already checked.
Double checked the file path in talend component setting.
从SQL server读取-->写入hdfs-->tmap-->tGreenplumOutputBulk-->TGreenPlumDulkExec

详细的堆栈跟踪

Exception in component tGreenplumBulkExec_1
org.postgresql.util.PSQLException: ERROR: could not open file/path/to/file.csv for reading: No such file or directory
    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1592)
    at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1327)
    at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:336)
    at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:328)
    at bigdata.jobname_0_1.jobname.tGreenplumBulkExec_1Process(jobname.java:10080)
    at bigdata.jobname_0_1.jobname.tJDBCInput_1Process(jobname.java:9783)
    at bigdata.jobname_0_1.jobname.runJobInTOS(jobname.java:11692)
    at bigdata.jobname_0_1.jobname.main(jobname.java:11431)
2017-02-04 13:29:39|eAM8VI|eAM8VI|eAM8VI|BIGDATA|jobname|Default|6|Java Exception|tGreenplumBulkExec_1|org.postgresql.util.PSQLException:ERROR: could not open file "/path/to/file.csv" for reading: No such file or directory|1
[statistics] disconnected
Job jobname ended at 13:29 04/02/2017. [exit code=1]
我们尝试过:

    tGreenplumBulkExec_1|org.postgresql.util.PSQLException:ERROR: 
could not open file "/path/to/file.csv" for reading: No such file or directory|1
Path permission of Input file already checked.
Double checked the file path in talend component setting.

如果您有任何帮助,我们将不胜感激。

它可能在sql server上查找目录,而不是本地Talend运行服务器。此外,如果您使用的是远程执行服务器,它可能正在查看。您查看过外包商吗?使用pscp命令将文件从Windows复制到Linux:pscp-pw password C:\Users\Admin\Desktop\test.txt\user@192.168.33.10:/home/gpadmin/sor.csv获取此错误:Java.io.FileNotFoundException:\home\gpadmin\sor.csv(系统找不到指定的路径)| 1为什么要使用TgreenPlumblulkexec提取csv。请改用tDelimitedFileInput,提取后可以加载到中