[GitHub] incubator-rya issue #199: RYA-316 Long OBJ string

2017-08-07 Thread isper3at
Github user isper3at commented on the issue:

https://github.com/apache/incubator-rya/pull/199
  
sure, shouldn't be an issue


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (RYA-316) Long LineStrings break MongoDB ingest

2017-08-07 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/RYA-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16117781#comment-16117781
 ] 

ASF GitHub Bot commented on RYA-316:


Github user isper3at commented on the issue:

https://github.com/apache/incubator-rya/pull/199
  
sure, shouldn't be an issue


> Long LineStrings break MongoDB ingest
> -
>
> Key: RYA-316
> URL: https://issues.apache.org/jira/browse/RYA-316
> Project: Rya
>  Issue Type: Bug
>  Components: dao
>Reporter: Aaron Mihalik
>Assignee: Andrew Smith
>
> MongoDB will reject statements they contain very long linestrings.  
> Basically, the mongodb index key is limited to 1024 chars, so the insert will 
> fail if the literal is longer.
> [Here is some example 
> code|https://github.com/amihalik/rya-mongo-debugging/blob/master/src/main/java/com/github/amihalik/rya/mongo/debugging/linestring/LoadLineString.java].
>   I think the inserts will work if you use 10 points, but fail if you use 
> linestrings with 100 points.



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


[GitHub] incubator-rya issue #199: RYA-316 Long OBJ string

2017-08-07 Thread amihalik
Github user amihalik commented on the issue:

https://github.com/apache/incubator-rya/pull/199
  
@isper3at Since this was so straightforward, can you go ahead and hash the 
S and O as well?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-rya pull request #200: Added Access-Control-Allow-Origin * header ...

2017-08-07 Thread Ejgood21
GitHub user Ejgood21 opened a pull request:

https://github.com/apache/incubator-rya/pull/200

Added Access-Control-Allow-Origin * header to both response objects


## Description
>What Changed?
[Brief Description of what changed]

### Tests
>Coverage?

[Description of what tests were written]

### Links
[Jira](https://issues.apache.org/jira/browse/RYA-NUMBER)

### Checklist
- [ ] Code Review
- [ ] Squash Commits

 People To Reivew
[Add those who should review this]


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/Ejgood21/incubator-rya master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-rya/pull/200.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 #200


commit 86f2275c1907fc84844a93ae8c84f7857f356a7f
Author: Ejgood21 
Date:   2017-08-07T20:36:50Z

Merge pull request #3 from apache/master

Merging master into ejgood21 fork

commit 37ba169774eb466798eec79dbadf44127500e2e6
Author: Evan 
Date:   2017-08-07T21:15:16Z

Adding Access-Control-Allow-Origin * header to both response objects




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-rya issue #200: Added Access-Control-Allow-Origin * header to both...

2017-08-07 Thread asfgit
Github user asfgit commented on the issue:

https://github.com/apache/incubator-rya/pull/200
  
Can one of the admins verify this patch?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (RYA-250) Smart URI avoid data duplication

2017-08-07 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/RYA-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16117113#comment-16117113
 ] 

ASF GitHub Bot commented on RYA-250:


Github user asfgit commented on the issue:

https://github.com/apache/incubator-rya/pull/153
  

Refer to this link for build results (access rights to CI server needed): 

https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/365/Build
 result: FAILURE[...truncated 5.78 MB...][INFO] 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/src/main/java/org/apache/rya/export/accumulo/conf/AccumuloExportConstants.java:
 Recompile with -Xlint:deprecation for details.[INFO] [INFO] --- 
maven-resources-plugin:2.7:testResources (default-testResources) @ 
rya.export.accumulo ---[INFO] Using 'UTF-8' encoding to copy filtered 
resources.[INFO] skip non existing resourceDirectory 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/src/test/resources[INFO]
 Copying 3 resources[INFO] [INFO] --- maven-compiler-plugin:3.2:testCompile 
(default-testCompile) @ rya.export.accumulo ---[INFO] Changes detected - 
recompiling the module![INFO] Compiling 5 source files to 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/target/test-classes[INFO]
 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/src/test/java/org/apache/rya/export/accumulo/AccumuloRyaStatementStoreTest.java:
 Some input files use or override a deprecated API.[INFO] 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/src/test/java/org/apache/rya/export/accumulo/AccumuloRyaStatementStoreTest.java:
 Recompile with -Xlint:deprecation for details.[INFO] [INFO] --- 
maven-surefire-plugin:2.18.1:test (default-test) @ rya.export.accumulo 
---[INFO] Surefire report directory: 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/target/surefire-reports---
 T E S T S---Running 
org.apache.rya.export.api.conf.AccumuloConfigurationAdapterTestERROR: Maven JVM 
terminated unexpectedly with exit code 137Setting status of 
88a10ddea8ed7f22afd593e36901736632483f16 to FAILURE with url 
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/365/
 and message: 'FAILURE 'Using context: Jenkins: clean package -Pgeoindexing



> Smart URI avoid data duplication
> 
>
> Key: RYA-250
> URL: https://issues.apache.org/jira/browse/RYA-250
> Project: Rya
>  Issue Type: Task
>  Components: dao
>Affects Versions: 3.2.10
>Reporter: Eric White
>Assignee: Eric White
> Fix For: 3.2.10
>
>
> Implement Smart URI methods for avoiding data duplication.



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


[GitHub] incubator-rya issue #153: RYA-250 Smart URI avoiding data duplication

2017-08-07 Thread asfgit
Github user asfgit commented on the issue:

https://github.com/apache/incubator-rya/pull/153
  

Refer to this link for build results (access rights to CI server needed): 

https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/365/Build
 result: FAILURE[...truncated 5.78 MB...][INFO] 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/src/main/java/org/apache/rya/export/accumulo/conf/AccumuloExportConstants.java:
 Recompile with -Xlint:deprecation for details.[INFO] [INFO] --- 
maven-resources-plugin:2.7:testResources (default-testResources) @ 
rya.export.accumulo ---[INFO] Using 'UTF-8' encoding to copy filtered 
resources.[INFO] skip non existing resourceDirectory 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/src/test/resources[INFO]
 Copying 3 resources[INFO] [INFO] --- maven-compiler-plugin:3.2:testCompile 
(default-testCompile) @ rya.export.accumulo ---[INFO] Changes detected - 
recompiling the module![INFO] Compiling 5 source files to 
/home/jenkins/jenkins-slave/work
 
space/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/target/test-classes[INFO]
 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/src/test/java/org/apache/rya/export/accumulo/AccumuloRyaStatementStoreTest.java:
 Some input files use or override a deprecated API.[INFO] 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/src/test/java/org/apache/rya/export/accumulo/AccumuloRyaStatementStoreTest.java:
 Recompile with -Xlint:deprecation for details.[INFO] [INFO] --- 
maven-surefire-plugin:2.18.1:test (default-test) @ rya.export.accumulo 
---[INFO] Surefire report directory: 
/home/jenkins/jenkins-slave/workspace/incubator-rya-master-with-optionals-pull-requests/extras/rya.export/export.accumulo/target/surefire-reports---
 T E S T S
 ---Running 
org.apache.rya.export.api.conf.AccumuloConfigurationAdapterTestERROR: Maven JVM 
terminated unexpectedly with exit code 137Setting status of 
88a10ddea8ed7f22afd593e36901736632483f16 to FAILURE with url 
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/365/
 and message: 'FAILURE 'Using context: Jenkins: clean package -Pgeoindexing



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-rya issue #191: RYA-306 Remove rya.benchmark committed gen

2017-08-07 Thread ejwhite922
Github user ejwhite922 commented on the issue:

https://github.com/apache/incubator-rya/pull/191
  
I made all changes requested.  Let me know if anything else is needed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (RYA-306) remove generated source from git

2017-08-07 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/RYA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16117097#comment-16117097
 ] 

ASF GitHub Bot commented on RYA-306:


Github user ejwhite922 commented on the issue:

https://github.com/apache/incubator-rya/pull/191
  
I made all changes requested.  Let me know if anything else is needed.


> remove generated source from git
> 
>
> Key: RYA-306
> URL: https://issues.apache.org/jira/browse/RYA-306
> Project: Rya
>  Issue Type: Bug
>  Components: build
>Reporter: Jeff Dasch
>Assignee: Eric White
>Priority: Trivial
>
> Several files in {{extras/rya.benchmark/src/main/gen}} get modified at 
> compile time.  They should be removed from git and configured to be created 
> in {{extras/rya.benchmark/target/generated-sources}} so they can be removed 
> by {{mvn clean}}.
> Files in question:
> {noformat}
>   modified:   extras/rya.benchmark/src/main/gen/META-INF/sun-jaxb.episode
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/ObjectFactory.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/Parameters.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/QueriesBenchmarkConf.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/Rya.java
> {noformat}



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


[jira] [Commented] (RYA-306) remove generated source from git

2017-08-07 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/RYA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16117054#comment-16117054
 ] 

ASF GitHub Bot commented on RYA-306:


Github user asfgit commented on the issue:

https://github.com/apache/incubator-rya/pull/191
  

Refer to this link for build results (access rights to CI server needed): 

https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/362/



> remove generated source from git
> 
>
> Key: RYA-306
> URL: https://issues.apache.org/jira/browse/RYA-306
> Project: Rya
>  Issue Type: Bug
>  Components: build
>Reporter: Jeff Dasch
>Assignee: Eric White
>Priority: Trivial
>
> Several files in {{extras/rya.benchmark/src/main/gen}} get modified at 
> compile time.  They should be removed from git and configured to be created 
> in {{extras/rya.benchmark/target/generated-sources}} so they can be removed 
> by {{mvn clean}}.
> Files in question:
> {noformat}
>   modified:   extras/rya.benchmark/src/main/gen/META-INF/sun-jaxb.episode
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/ObjectFactory.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/Parameters.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/QueriesBenchmarkConf.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/Rya.java
> {noformat}



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


[GitHub] incubator-rya issue #191: RYA-306 Remove rya.benchmark committed gen

2017-08-07 Thread asfgit
Github user asfgit commented on the issue:

https://github.com/apache/incubator-rya/pull/191
  

Refer to this link for build results (access rights to CI server needed): 

https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/363/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (RYA-306) remove generated source from git

2017-08-07 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/RYA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16117053#comment-16117053
 ] 

ASF GitHub Bot commented on RYA-306:


Github user asfgit commented on the issue:

https://github.com/apache/incubator-rya/pull/191
  

Refer to this link for build results (access rights to CI server needed): 

https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/363/



> remove generated source from git
> 
>
> Key: RYA-306
> URL: https://issues.apache.org/jira/browse/RYA-306
> Project: Rya
>  Issue Type: Bug
>  Components: build
>Reporter: Jeff Dasch
>Assignee: Eric White
>Priority: Trivial
>
> Several files in {{extras/rya.benchmark/src/main/gen}} get modified at 
> compile time.  They should be removed from git and configured to be created 
> in {{extras/rya.benchmark/target/generated-sources}} so they can be removed 
> by {{mvn clean}}.
> Files in question:
> {noformat}
>   modified:   extras/rya.benchmark/src/main/gen/META-INF/sun-jaxb.episode
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/ObjectFactory.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/Parameters.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/QueriesBenchmarkConf.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/Rya.java
> {noformat}



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


[jira] [Commented] (RYA-306) remove generated source from git

2017-08-07 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/RYA-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16117020#comment-16117020
 ] 

ASF GitHub Bot commented on RYA-306:


Github user asfgit commented on the issue:

https://github.com/apache/incubator-rya/pull/191
  

Refer to this link for build results (access rights to CI server needed): 

https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/364/



> remove generated source from git
> 
>
> Key: RYA-306
> URL: https://issues.apache.org/jira/browse/RYA-306
> Project: Rya
>  Issue Type: Bug
>  Components: build
>Reporter: Jeff Dasch
>Assignee: Eric White
>Priority: Trivial
>
> Several files in {{extras/rya.benchmark/src/main/gen}} get modified at 
> compile time.  They should be removed from git and configured to be created 
> in {{extras/rya.benchmark/target/generated-sources}} so they can be removed 
> by {{mvn clean}}.
> Files in question:
> {noformat}
>   modified:   extras/rya.benchmark/src/main/gen/META-INF/sun-jaxb.episode
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/ObjectFactory.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/Parameters.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/QueriesBenchmarkConf.java
>   modified:   
> extras/rya.benchmark/src/main/gen/org/apache/rya/benchmark/query/Rya.java
> {noformat}



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


[GitHub] incubator-rya issue #191: RYA-306 Remove rya.benchmark committed gen

2017-08-07 Thread asfgit
Github user asfgit commented on the issue:

https://github.com/apache/incubator-rya/pull/191
  

Refer to this link for build results (access rights to CI server needed): 

https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/364/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Assigned] (RYA-296) Implement owl:hasSelf inference

2017-08-07 Thread Andrew Smith (JIRA)

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

Andrew Smith reassigned RYA-296:


Assignee: Andrew Smith

> Implement owl:hasSelf inference
> ---
>
> Key: RYA-296
> URL: https://issues.apache.org/jira/browse/RYA-296
> Project: Rya
>  Issue Type: Sub-task
>  Components: sail
>Reporter: Jesse Hatfield
>Assignee: Andrew Smith
>
> An *{{owl:hasSelf}}* restriction defines the set of resources that are 
> connected to themselves by a specific property.
> If the ontology states that a {{:Narcissist}} is a resource that {{:loves}} 
> itself, then the inference engine should:
> 1. Rewrite queries of the form {{?x rdf:type :Narcissist}} to find all 
> resources matching {{?x :loves ?x}} (as well as anything explicitly stated to 
> be a :Narcissist) .
> 2. Rewrite queries of either form {{:A :loves ?y}} or {{?z :loves :A}} to 
> match {{:A}} if {{:A}} is known to have the type {{:Narcissist}} .



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


[jira] [Resolved] (RYA-313) Rya Mongo Blows up on Large result sets

2017-08-07 Thread Andrew Smith (JIRA)

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

Andrew Smith resolved RYA-313.
--
Resolution: Fixed

> Rya Mongo Blows up on Large result sets
> ---
>
> Key: RYA-313
> URL: https://issues.apache.org/jira/browse/RYA-313
> Project: Rya
>  Issue Type: Bug
>  Components: dao
>Affects Versions: 3.2.10
> Environment: Mongo DB with Rya 3.2.11-SNAPSHOT with a lot of data in 
> Rya
>Reporter: Aaron Mihalik
>Assignee: Andrew Smith
>
> Simple queries that return a lot of results fail because mongo is trying to 
> send all of the results back at once.  For instance, if I have a lot of data 
> and run something like:
> {noformat}
> SELECT * WHERE 
> {
>   ?s a ?t.
> }
> {noformat}
> I will get this exception.
> {noformat}
> Caused by: com.mongodb.MongoCommandException: Command failed with error 
> 16389: 'aggregation result exceeds maximum document size (16MB)' on server 
> localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "aggregation 
> result exceeds maximum document size (16MB)", "code" : 16389 }
> {noformat}
> I think we need to toss in a "AggregationOptions with Batch = 1000", but I 
> couldn't get that to work immediately.  Somebody with more mongo experience 
> needs to look at this.
> [Here is the line of 
> code|https://github.com/apache/incubator-rya/blob/master/dao/mongodb.rya/src/main/java/org/apache/rya/mongodb/iter/RyaStatementBindingSetCursorIterator.java#L114]



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


[jira] [Commented] (RYA-316) Long LineStrings break MongoDB ingest

2017-08-07 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/RYA-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16116904#comment-16116904
 ] 

ASF GitHub Bot commented on RYA-316:


GitHub user isper3at opened a pull request:

https://github.com/apache/incubator-rya/pull/199

RYA-316 Long OBJ string

## Description
>What Changed?

Hash the indexed object field with SHA256.
This will allow the indexer not to break
if the object is longer than 1024 bytes.

### Tests
>Coverage?

Updated the tests with the new fields

### Links
[Jira](https://issues.apache.org/jira/browse/RYA-316)

### Checklist
- [ ] Code Review
- [ ] Squash Commits

 People To Reivew
@meiercaleb 
@amihalik 
@pujav65 


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/isper3at/incubator-rya RYA-316

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-rya/pull/199.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 #199


commit 94f6c9bad01d0cf7c2716895678692065796fa13
Author: isper3at 
Date:   2017-08-07T17:28:46Z

RYA-316 Long OBJ string

Hash the indexed object field with SHA256.
This will allow the indexer not to break
if the object is longer than 1024 bytes.




> Long LineStrings break MongoDB ingest
> -
>
> Key: RYA-316
> URL: https://issues.apache.org/jira/browse/RYA-316
> Project: Rya
>  Issue Type: Bug
>  Components: dao
>Reporter: Aaron Mihalik
>Assignee: Andrew Smith
>
> MongoDB will reject statements they contain very long linestrings.  
> Basically, the mongodb index key is limited to 1024 chars, so the insert will 
> fail if the literal is longer.
> [Here is some example 
> code|https://github.com/amihalik/rya-mongo-debugging/blob/master/src/main/java/com/github/amihalik/rya/mongo/debugging/linestring/LoadLineString.java].
>   I think the inserts will work if you use 10 points, but fail if you use 
> linestrings with 100 points.



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


[GitHub] incubator-rya pull request #199: RYA-316 Long OBJ string

2017-08-07 Thread isper3at
GitHub user isper3at opened a pull request:

https://github.com/apache/incubator-rya/pull/199

RYA-316 Long OBJ string

## Description
>What Changed?

Hash the indexed object field with SHA256.
This will allow the indexer not to break
if the object is longer than 1024 bytes.

### Tests
>Coverage?

Updated the tests with the new fields

### Links
[Jira](https://issues.apache.org/jira/browse/RYA-316)

### Checklist
- [ ] Code Review
- [ ] Squash Commits

 People To Reivew
@meiercaleb 
@amihalik 
@pujav65 


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/isper3at/incubator-rya RYA-316

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-rya/pull/199.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 #199


commit 94f6c9bad01d0cf7c2716895678692065796fa13
Author: isper3at 
Date:   2017-08-07T17:28:46Z

RYA-316 Long OBJ string

Hash the indexed object field with SHA256.
This will allow the indexer not to break
if the object is longer than 1024 bytes.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---