[jira] [Assigned] (RYA-454) Create interface for QueryExecutor

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith reassigned RYA-454:


Assignee: Andrew Smith

> Create interface for QueryExecutor
> --
>
> Key: RYA-454
> URL: https://issues.apache.org/jira/browse/RYA-454
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Assignee: Andrew Smith
>Priority: Major
>
> Create an interface to allow for queries to be executed.  To stop the 
> queries, interrupt the executor



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (RYA-410) Add geo profile dependency management to the rya-project pom file.

2018-01-18 Thread Kevin Chilton (JIRA)

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

Kevin Chilton resolved RYA-410.
---
Resolution: Done

> Add geo profile dependency management to the rya-project pom file.
> --
>
> Key: RYA-410
> URL: https://issues.apache.org/jira/browse/RYA-410
> Project: Rya
>  Issue Type: Improvement
>Reporter: Kevin Chilton
>Assignee: Kevin Chilton
>Priority: Major
>
> Right now the geo indexing feature of Rya is an optional portion of Rya that 
> is not built by default because it is not compatible with the Apache license. 
> However, geo dependencies are declared at the top of the project as if it all 
> builds depend on them. The top level pom file needs to be updated to include 
> the geoindexing profile and all artifacts related to that build need to be 
> moved to that profile's dependency management section.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (RYA-442) KafkaStreams: Implement the StartQuery and StopQuery interactors.

2018-01-18 Thread Kevin Chilton (JIRA)

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

Kevin Chilton resolved RYA-442.
---
Resolution: Done

> KafkaStreams: Implement the StartQuery and StopQuery interactors.
> -
>
> Key: RYA-442
> URL: https://issues.apache.org/jira/browse/RYA-442
> Project: Rya
>  Issue Type: Task
>Reporter: Kevin Chilton
>Assignee: Kevin Chilton
>Priority: Major
>
> We need implementations of the StartQuery and StopQuery interfaces that 
> interact with the QueryRepository to update the isActive state of a 
> StreamsQuery in Rya Streams.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (RYA-454) Create interface for QueryExecutor

2018-01-18 Thread Andrew Smith (JIRA)
Andrew Smith created RYA-454:


 Summary: Create interface for QueryExecutor
 Key: RYA-454
 URL: https://issues.apache.org/jira/browse/RYA-454
 Project: Rya
  Issue Type: Sub-task
Reporter: Andrew Smith


Create an interface to allow for queries to be executed.  To stop the queries, 
interrupt the executor



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (RYA-446) Query Manager should be install-able as a daemon

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith updated RYA-446:
-
Description: 
A rpm should be created at build time to allow the installing of the Query 
Manager.

RPM Requirements:
 * Must include dependencies to the commons-daemon-jsvc 1.1.0 rpm
 * register the daemon as a service with the provided service script
 * provide a default configuration to the install directory
 * install the Query Manager jar to the install directory
 * Provide a README file

  was:
A rpm should be created at build time to allow the installing of the Query 
Manager.

RPM Requirements:
 * Must include dependencies to the commons-daemon-jsvc 1.1.0 rpm
 * register the daemon as a service with the provided service script
 * provide a default configuration to the install directory
 * install the Query Manager jar to the install directory


> Query Manager should be install-able as a daemon
> 
>
> Key: RYA-446
> URL: https://issues.apache.org/jira/browse/RYA-446
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Assignee: Andrew Smith
>Priority: Major
>
> A rpm should be created at build time to allow the installing of the Query 
> Manager.
> RPM Requirements:
>  * Must include dependencies to the commons-daemon-jsvc 1.1.0 rpm
>  * register the daemon as a service with the provided service script
>  * provide a default configuration to the install directory
>  * install the Query Manager jar to the install directory
>  * Provide a README file



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (RYA-446) Query Manager should be install-able as a daemon

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith updated RYA-446:
-
Description: 
A rpm should be created at build time to allow the installing of the Query 
Manager.

RPM Requirements:
 * Must include dependencies to the commons-daemon-jsvc 1.1.0 rpm
 * register the daemon as a service with the provided service script
 * provide a default configuration to the install directory
 * install the Query Manager jar to the install directory

  was:
A rpm should be created at build time to allow the installing of the Query 
Manager.

This should include dependencies to the commons-daemon-jsvc rpm and a way to 
register the daemon as a service as well as a way to reference a configuration


> Query Manager should be install-able as a daemon
> 
>
> Key: RYA-446
> URL: https://issues.apache.org/jira/browse/RYA-446
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Assignee: Andrew Smith
>Priority: Major
>
> A rpm should be created at build time to allow the installing of the Query 
> Manager.
> RPM Requirements:
>  * Must include dependencies to the commons-daemon-jsvc 1.1.0 rpm
>  * register the daemon as a service with the provided service script
>  * provide a default configuration to the install directory
>  * install the Query Manager jar to the install directory



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (RYA-446) Query Manager should be install-able as a daemon

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith updated RYA-446:
-
Description: 
A rpm should be created at build time to allow the installing of the Query 
Manager.

This should include dependencies to the commons-daemon-jsvc rpm and a way to 
register the daemon as a service as well as a way to reference a configuration

  was:
A rpm should be created at build time to allow the installing of the Query 
Manager.

This should include dependencies to the commons-daemon-jsvc rpm and a way to 
register the daemon as a service


> Query Manager should be install-able as a daemon
> 
>
> Key: RYA-446
> URL: https://issues.apache.org/jira/browse/RYA-446
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Assignee: Andrew Smith
>Priority: Major
>
> A rpm should be created at build time to allow the installing of the Query 
> Manager.
> This should include dependencies to the commons-daemon-jsvc rpm and a way to 
> register the daemon as a service as well as a way to reference a configuration



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (RYA-453) Implement a Query Manager driver

2018-01-18 Thread Andrew Smith (JIRA)
Andrew Smith created RYA-453:


 Summary: Implement a Query Manager driver
 Key: RYA-453
 URL: https://issues.apache.org/jira/browse/RYA-453
 Project: Rya
  Issue Type: Sub-task
Reporter: Andrew Smith


Create a driver that uses apache-commons-daemon Daemon interface that

starts and stops the QueryManager. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (RYA-452) Need to be able to subscribe to QueryRepository for notification of QueryChanges

2018-01-18 Thread Andrew Smith (JIRA)
Andrew Smith created RYA-452:


 Summary: Need to be able to subscribe to QueryRepository for 
notification of QueryChanges
 Key: RYA-452
 URL: https://issues.apache.org/jira/browse/RYA-452
 Project: Rya
  Issue Type: Sub-task
Reporter: Andrew Smith


QueryRepository needs to be turned into an AbstractScheduledService so periodic 
updates can occur allowing notification to the subscribed listeners for when 
queries need to be start/stopped/created/deleted.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (RYA-448) Implement query manager xml configuration marshaling code

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith updated RYA-448:
-
Description: 
 
{code:java}

  

  
[HOSTNAME]
[PORT]
  


  ... 

  
{code}

  was:
 
{code:java}

  

  [HOSTNAME]
  [PORT]

  
{code}


> Implement query manager xml configuration marshaling code
> -
>
> Key: RYA-448
> URL: https://issues.apache.org/jira/browse/RYA-448
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Assignee: Kevin Chilton
>Priority: Major
>
>  
> {code:java}
> 
>   
> 
>   
> [HOSTNAME]
> [PORT]
>   
> 
> 
>   ... 
> 
>   
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (RYA-451) Create QueryManager

2018-01-18 Thread Andrew Smith (JIRA)
Andrew Smith created RYA-451:


 Summary: Create QueryManager
 Key: RYA-451
 URL: https://issues.apache.org/jira/browse/RYA-451
 Project: Rya
  Issue Type: Sub-task
Reporter: Andrew Smith


Create a QueryManager as an AbstractIdleService that hooks the 
QueryChangeLogSource services and QuerRepository notifications together 
allowing for management of new Rya-Streams queries.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (RYA-449) Create interfaces for QueryChangeLogSource

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith updated RYA-449:
-
Description: 
QueryChangeLogSource is a Guava Service that allows for subscribing and 
unsubscribing SourceListeners.

SourceListeners get notified when new QueryChangeLogs are discovered or removed.

QueryManager can then wrap a QueryChangeLog will be wraped as a 
InMemoryQueryRepository

  was:
QueryChangeLogSource is a Guava Service that allows for subscribing and 
unsubscribing SourceListeners.

 

SourceListeners get notified when new QueryChangeLogs are discovered or removed.


> Create interfaces for QueryChangeLogSource
> --
>
> Key: RYA-449
> URL: https://issues.apache.org/jira/browse/RYA-449
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Assignee: Andrew Smith
>Priority: Major
>
> QueryChangeLogSource is a Guava Service that allows for subscribing and 
> unsubscribing SourceListeners.
> SourceListeners get notified when new QueryChangeLogs are discovered or 
> removed.
> QueryManager can then wrap a QueryChangeLog will be wraped as a 
> InMemoryQueryRepository



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (RYA-450) Create a KafkaQueryChangeLogSource

2018-01-18 Thread Andrew Smith (JIRA)
Andrew Smith created RYA-450:


 Summary: Create a KafkaQueryChangeLogSource
 Key: RYA-450
 URL: https://issues.apache.org/jira/browse/RYA-450
 Project: Rya
  Issue Type: Sub-task
Reporter: Andrew Smith






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (RYA-448) Implement query manager xml configuration marshaling code

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith updated RYA-448:
-
Description: 
 
{code:java}

  

  [HOSTNAME]
  [PORT]

  
{code}

  was:
 
{code:java}

  

  [HOSTNAME]
  [PORT]

  
{code}


> Implement query manager xml configuration marshaling code
> -
>
> Key: RYA-448
> URL: https://issues.apache.org/jira/browse/RYA-448
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Assignee: Kevin Chilton
>Priority: Major
>
>  
> {code:java}
> 
>   
> 
>   [HOSTNAME]
>   [PORT]
> 
>   
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (RYA-449) Create interfaces for QueryChangeLogSource

2018-01-18 Thread Andrew Smith (JIRA)
Andrew Smith created RYA-449:


 Summary: Create interfaces for QueryChangeLogSource
 Key: RYA-449
 URL: https://issues.apache.org/jira/browse/RYA-449
 Project: Rya
  Issue Type: Sub-task
Reporter: Andrew Smith
Assignee: Andrew Smith


QueryChangeLogSource is a Guava Service that allows for subscribing and 
unsubscribing SourceListeners.

 

SourceListeners get notified when new QueryChangeLogs are discovered or removed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (RYA-447) Rya Shell Windows user.home error

2018-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on RYA-447:


Github user ejwhite922 commented on the issue:

https://github.com/apache/incubator-rya/pull/264
  
An alternative could be to escape all '\\' characters instead of changing 
to '/'.  Would this be a better solution?

final String userHome = System.getProperty("user.home");
// Replace all '\\' with '' (escaping for regex and again for java)
final String escapedUserHome = userHome.replaceAll("", 
"");
final Path rootedFile = Paths.get( file.replaceFirst("^~", escapedUserHome) 
);


> Rya Shell Windows user.home error
> -
>
> Key: RYA-447
> URL: https://issues.apache.org/jira/browse/RYA-447
> Project: Rya
>  Issue Type: Bug
>  Components: clients
>Affects Versions: 3.2.12
> Environment: Windows build
>Reporter: Eric White
>Assignee: Eric White
>Priority: Major
> Fix For: 3.2.12
>
>
> When building rya.shell under Windows, loading tests fail due to malformed 
> user.home paths.  It appears that Windows file separators ('\') are causing 
> problems when being used as part of a regex replacement operation since 
> they're not being escaped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] incubator-rya issue #264: RYA-447 Fixed issue building rya.shell under Windo...

2018-01-18 Thread ejwhite922
Github user ejwhite922 commented on the issue:

https://github.com/apache/incubator-rya/pull/264
  
An alternative could be to escape all '\\' characters instead of changing 
to '/'.  Would this be a better solution?

final String userHome = System.getProperty("user.home");
// Replace all '\\' with '' (escaping for regex and again for java)
final String escapedUserHome = userHome.replaceAll("", 
"");
final Path rootedFile = Paths.get( file.replaceFirst("^~", escapedUserHome) 
);


---


[jira] [Commented] (RYA-442) KafkaStreams: Implement the StartQuery and StopQuery interactors.

2018-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on RYA-442:


Github user asfgit commented on the issue:

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

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/670/



> KafkaStreams: Implement the StartQuery and StopQuery interactors.
> -
>
> Key: RYA-442
> URL: https://issues.apache.org/jira/browse/RYA-442
> Project: Rya
>  Issue Type: Task
>Reporter: Kevin Chilton
>Assignee: Kevin Chilton
>Priority: Major
>
> We need implementations of the StartQuery and StopQuery interfaces that 
> interact with the QueryRepository to update the isActive state of a 
> StreamsQuery in Rya Streams.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (RYA-448) Implement query manager xml configuration marshaling code

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith reassigned RYA-448:


Assignee: Kevin Chilton

> Implement query manager xml configuration marshaling code
> -
>
> Key: RYA-448
> URL: https://issues.apache.org/jira/browse/RYA-448
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Assignee: Kevin Chilton
>Priority: Major
>
>  
> {code:java}
> 
>   
> 
>   [HOSTNAME]
>   [PORT]
> 
>   
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (RYA-448) Implement query manager xml configuration marshaling code

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith updated RYA-448:
-
Description: 
 
{code:java}

  

  [HOSTNAME]
  [PORT]

  
{code}

> Implement query manager xml configuration marshaling code
> -
>
> Key: RYA-448
> URL: https://issues.apache.org/jira/browse/RYA-448
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Priority: Major
>
>  
> {code:java}
> 
>   
> 
>   [HOSTNAME]
>   [PORT]
> 
>   
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (RYA-442) KafkaStreams: Implement the StartQuery and StopQuery interactors.

2018-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on RYA-442:


Github user asfgit closed the pull request at:

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


> KafkaStreams: Implement the StartQuery and StopQuery interactors.
> -
>
> Key: RYA-442
> URL: https://issues.apache.org/jira/browse/RYA-442
> Project: Rya
>  Issue Type: Task
>Reporter: Kevin Chilton
>Assignee: Kevin Chilton
>Priority: Major
>
> We need implementations of the StartQuery and StopQuery interfaces that 
> interact with the QueryRepository to update the isActive state of a 
> StreamsQuery in Rya Streams.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] incubator-rya pull request #265: RYA-442 Implementing the Start and Stop Que...

2018-01-18 Thread asfgit
Github user asfgit closed the pull request at:

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


---


[jira] [Updated] (RYA-448) Implement query manager xml configuration marshaling code

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith updated RYA-448:
-
Summary: Implement query manager xml configuration marshaling code  (was: 
Query Manager should be able to start and stop queries)

> Implement query manager xml configuration marshaling code
> -
>
> Key: RYA-448
> URL: https://issues.apache.org/jira/browse/RYA-448
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (RYA-446) Query Manager should be install-able as a daemon

2018-01-18 Thread Andrew Smith (JIRA)

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

Andrew Smith updated RYA-446:
-
Description: 
A rpm should be created at build time to allow the installing of the Query 
Manager.

This should include dependencies to the commons-daemon-jsvc rpm and a way to 
register the daemon as a service

  was:
A rpm should be created a build time to allow the installing of the Query 
Manager.

This should include dependencies to the commons-daemon-jsvc rpm and a way to 
register the daemon as a service


> Query Manager should be install-able as a daemon
> 
>
> Key: RYA-446
> URL: https://issues.apache.org/jira/browse/RYA-446
> Project: Rya
>  Issue Type: Sub-task
>Reporter: Andrew Smith
>Assignee: Andrew Smith
>Priority: Major
>
> A rpm should be created at build time to allow the installing of the Query 
> Manager.
> This should include dependencies to the commons-daemon-jsvc rpm and a way to 
> register the daemon as a service



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (RYA-448) Query Manager should be able to start and stop queries

2018-01-18 Thread Andrew Smith (JIRA)
Andrew Smith created RYA-448:


 Summary: Query Manager should be able to start and stop queries
 Key: RYA-448
 URL: https://issues.apache.org/jira/browse/RYA-448
 Project: Rya
  Issue Type: Sub-task
Reporter: Andrew Smith






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (RYA-442) KafkaStreams: Implement the StartQuery and StopQuery interactors.

2018-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on RYA-442:


Github user isper3at commented on a diff in the pull request:

https://github.com/apache/incubator-rya/pull/265#discussion_r162113248
  
--- Diff: 
extras/rya.streams/api/src/main/java/org/apache/rya/streams/api/interactor/defaults/DefaultStartQuery.java
 ---
@@ -0,0 +1,54 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.rya.streams.api.interactor.defaults;
+
+import static java.util.Objects.requireNonNull;
+
+import java.util.UUID;
+
+import org.apache.rya.streams.api.exception.RyaStreamsException;
+import org.apache.rya.streams.api.interactor.StartQuery;
+import org.apache.rya.streams.api.queries.QueryRepository;
+
+import edu.umd.cs.findbugs.annotations.DefaultAnnotation;
+import edu.umd.cs.findbugs.annotations.NonNull;
+
+/**
+ * TODO
--- End diff --

doc


> KafkaStreams: Implement the StartQuery and StopQuery interactors.
> -
>
> Key: RYA-442
> URL: https://issues.apache.org/jira/browse/RYA-442
> Project: Rya
>  Issue Type: Task
>Reporter: Kevin Chilton
>Assignee: Kevin Chilton
>Priority: Major
>
> We need implementations of the StartQuery and StopQuery interfaces that 
> interact with the QueryRepository to update the isActive state of a 
> StreamsQuery in Rya Streams.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] incubator-rya pull request #265: RYA-442 Implementing the Start and Stop Que...

2018-01-18 Thread isper3at
Github user isper3at commented on a diff in the pull request:

https://github.com/apache/incubator-rya/pull/265#discussion_r162113248
  
--- Diff: 
extras/rya.streams/api/src/main/java/org/apache/rya/streams/api/interactor/defaults/DefaultStartQuery.java
 ---
@@ -0,0 +1,54 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.rya.streams.api.interactor.defaults;
+
+import static java.util.Objects.requireNonNull;
+
+import java.util.UUID;
+
+import org.apache.rya.streams.api.exception.RyaStreamsException;
+import org.apache.rya.streams.api.interactor.StartQuery;
+import org.apache.rya.streams.api.queries.QueryRepository;
+
+import edu.umd.cs.findbugs.annotations.DefaultAnnotation;
+import edu.umd.cs.findbugs.annotations.NonNull;
+
+/**
+ * TODO
--- End diff --

doc


---


[jira] [Commented] (RYA-413) MongoDB Rya DAO not closing MongoClient properly

2018-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on RYA-413:


Github user asfgit closed the pull request at:

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


> MongoDB Rya DAO not closing MongoClient properly
> 
>
> Key: RYA-413
> URL: https://issues.apache.org/jira/browse/RYA-413
> Project: Rya
>  Issue Type: Bug
>  Components: dao
>Affects Versions: 3.2.12
>Reporter: Eric White
>Assignee: Eric White
>Priority: Minor
> Fix For: 3.2.12
>
>
> If the MongoDBRyaDAO is destroyed, its internal mongoClient is not disposed 
> correctly.  This leaves the mongoClient closed which causes problems the next 
> time the MongoDBRyaDAO is created.
> The mongoClient is managed by MongoConnectorFactory and needs to be null'ed 
> out to be recreated properly (by calling 
> MongoConnectorFactory.closeMongoClient(); instead of mongoClient.close();)
> Also, all the static final config tags inside 
> AbstractMongoDBRdfConfigurationBuilder should be changed from protected to 
> public (like AbstractAccumuloRdfConfigurationBuilder has) so they could be 
> used inside other tests that make use of the tags.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[GitHub] incubator-rya pull request #252: RYA-410 Add geo profile dependency manageme...

2018-01-18 Thread asfgit
Github user asfgit closed the pull request at:

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


---


[jira] [Commented] (RYA-410) Add geo profile dependency management to the rya-project pom file.

2018-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on RYA-410:


Github user asfgit closed the pull request at:

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


> Add geo profile dependency management to the rya-project pom file.
> --
>
> Key: RYA-410
> URL: https://issues.apache.org/jira/browse/RYA-410
> Project: Rya
>  Issue Type: Improvement
>Reporter: Kevin Chilton
>Assignee: Kevin Chilton
>Priority: Major
>
> Right now the geo indexing feature of Rya is an optional portion of Rya that 
> is not built by default because it is not compatible with the Apache license. 
> However, geo dependencies are declared at the top of the project as if it all 
> builds depend on them. The top level pom file needs to be updated to include 
> the geoindexing profile and all artifacts related to that build need to be 
> moved to that profile's dependency management section.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)