gpt4 book ai didi

java - DatasetNotFoundException-salesforce2hadoop

转载 作者:行者123 更新时间:2023-12-02 21:24:31 24 4
gpt4 key购买 nike

我正在使用 salesforce2hadoop 库将数据从Salesforce导出到hadoop。

我使用以下命令相同。

sudo java -jar salesforce2hadoop-assembly-1.0.jar init -u myUsername -p myPassword -b /home/nfsuser/imports/salesforce -w /home/sanjay/Desktop/enterprise.wsdl -s /home/nfsuser/imports/salesforce/account Account

我们收到以下错误:

org.kitesdk.data.DatasetNotFoundException: Unknown dataset URI: /home/nfsuser/imports/salesforce/account. Check that JARs for null datasets are on the classpath.



在上述问题上需要帮助。

这是相同的 https://github.com/datadudes/salesforce2hadoop的链接

最佳答案

-b下载销售人员数据的基本路径参数应采用以下两种格式之一:

  • hdfs:// localhost / imports / salesforce
  • 文件:/// path / to / dir

  • 尝试一下:
    sudo java -jar salesforce2hadoop-assembly-1.0.jar init -u myUsername -p myPassword -b **file://**/home/nfsuser/imports/salesforce -w /home/sanjay/Desktop/enterprise.wsdl -s /home/nfsuser/imports/salesforce/account Account

    关于java - DatasetNotFoundException-salesforce2hadoop,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36449079/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com