You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Glenn Weidner (JIRA)" <ji...@apache.org> on 2017/09/09 01:35:00 UTC

[jira] [Updated] (SYSTEMML-1664) File URI schemes not properly handled

     [ https://issues.apache.org/jira/browse/SYSTEMML-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glenn Weidner updated SYSTEMML-1664:
------------------------------------
    Fix Version/s:     (was: SystemML 1.0)
                   SystemML 0.15

> File URI schemes not properly handled
> -------------------------------------
>
>                 Key: SYSTEMML-1664
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1664
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>             Fix For: SystemML 0.15
>
>
> SystemML's file handling currently relies only on the default file system implementation configured in used Hadoop configuration. This creates two major problems:
> * When reading from object stores (e.g., via swift or s3), the configured hadoop configuration might not necessarily specify the default fs implementation, leading to failures as shown below.
> * If HDFS is used as default fs implementation, users cannot load local files by prefixing {{file:///}} but are required to put these files first into HDFS.
> {code}
> Caused by: org.apache.sysml.api.mlcontext.MLContextException: Exception occurred while validating script
>   at org.apache.sysml.api.mlcontext.ScriptExecutor.validateScript(ScriptExecutor.java:506)
>   at org.apache.sysml.api.mlcontext.ScriptExecutor.execute(ScriptExecutor.java:286)
>   at org.apache.sysml.api.mlcontext.MLContext.execute(MLContext.java:303)
>   ... 43 more
> Caused by: org.apache.sysml.parser.LanguageException: Invalid Parameters : ERROR: null -- line 2, column 2 -- Read input file does not exist on FS (local mode): swift://<logical_name>/census.csv
>   at org.apache.sysml.parser.Expression.raiseValidateError(Expression.java:549)
>   at org.apache.sysml.parser.DataExpression.validateExpression(DataExpression.java:641)
>   at org.apache.sysml.parser.StatementBlock.validate(StatementBlock.java:592)
>   at org.apache.sysml.parser.DMLTranslator.validateParseTree(DMLTranslator.java:143)
>   at org.apache.sysml.api.mlcontext.ScriptExecutor.validateScript(ScriptExecutor.java:504)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)