[
https://issues.apache.org/jira/browse/RYA-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16317439#comment-16317439
]
ASF GitHub Bot commented on RYA-428:
------------------------------------
GitHub user kchilton2 opened a pull request:
https://github.com/apache/incubator-rya/pull/262
RYA-428 Made the Rya Shell's load statements file command accept relative
paths.
## Description
The Rya Shell's load-file command has been updated to accept relative paths.
### Tests
Added a test for the relative path case.
### Links
https://issues.apache.org/jira/browse/RYA-428
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kchilton2/incubator-rya RYA-428
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-rya/pull/262.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #262
----
commit 742ab0e72160eb0f3f3d72c1d2a93828ca370b0b
Author: kchilton2 <kevin.e.chilton@...>
Date: 2018-01-09T00:30:37Z
RYA-428 Made the Rya Shell's load statements file command accept relative
paths.
----
> Mongo Shell: Can not load statements file.
> ------------------------------------------
>
> Key: RYA-428
> URL: https://issues.apache.org/jira/browse/RYA-428
> Project: Rya
> Issue Type: Bug
> Affects Versions: 3.2.12
> Environment: Executing the shaded shell jar connecting to Mongo DB
> running on my local machine.
> Reporter: Kevin Chilton
> Assignee: Kevin Chilton
> Fix For: 3.2.12
>
> Attachments: test1.nt
>
>
> While using the Rya shell, if you connect to an instance of Mongo DB and try
> to load a statements file using the following command:
> {code}
> rya/localhost:test> load-data --file ~/test1.nt
> {code}
> Then you will see the following output:
> {code}
> Detected RDF Format: N-Triples (mimeTypes=text/plain; ext=nt)
> Command failed java.lang.RuntimeException: Can not load the RDF Statement
> data. Reason: Could not load the statements into Rya.
> {code}
> See the attached test1.nt file for the data that was used while executing
> this test.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)