【问题标题】:Import .prpt file in Pentaho Server using Command Line使用命令行在 Pentaho Server 中导入 .prpt 文件
【发布时间】:2015-03-10 21:34:32
【问题描述】:

我想在 Pentaho BI Server 中上传 .prpt(Pentaho 报告文件)。我正在使用以下命令:

./import-export.sh --import --url=https://server/pentaho/ --username=user --password=pass --source=file-system --type=files --charset=UTF-8 --path=/public--file-path=/home/kishan/folder/Clients/abc/Daily_Reports/Prpt/xyz.prpt --logfile=/home/user/upload.log --permission=true --overwrite=true --retainOwnership=true

所以,我想获取位于上述文件路径值的文件,并将其上传到公共文件夹中的 BI 服务器。但是,我收到以下错误:

CommandLineProcessor.ERROR_0001 - 缺少参数:文件路径

即使我在上面的命令中有这个参数,为什么会这样说。

【问题讨论】:

    标签: pentaho


    【解决方案1】:

    我让它工作了。这是对我有用的命令:

    ./import-export.sh --import --url=http://localhost:8080/pentaho --username=admin --password=password --charset=UTF-8 --path=/public --file- path=/home/some_directoryN/Daily_Reports/Prpt/xyz.prpt --logfile=/home/kishan/upload.log --permission=true" + "--overwrite=true --retainOwnership=true

    因此,要使其工作,您需要服务器文件系统上的文件(文件路径参数),您要将文件上传到该文件。 path 参数是您要上传报表的 BI 服务器上的路径

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-11-13
      • 1970-01-01
      • 2013-07-14
      • 1970-01-01
      • 2013-01-13
      相关资源
      最近更新 更多