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

ASF GitHub Bot commented on RYA-443:
------------------------------------

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

    https://github.com/apache/incubator-rya/pull/272#discussion_r167232266
  
    --- Diff: 
extras/rya.streams/api/src/main/java/org/apache/rya/streams/api/queries/QueryChange.java
 ---
    @@ -110,6 +110,16 @@ public boolean equals(final Object o) {
             return false;
         }
     
    +    @Override
    +    public String toString() {
    +        return "QueryChange: {" +
    +               "    Query ID: " + queryId + ",\n" +
    +               "    Change Type: " + changeType + ",\n" +
    +               "    Is Active: " + isActive + ",\n" +
    +               "    SPARQL: " + sparql + "\n" +
    --- End diff --
    
    Is "sparql" coming from user input?  Might want to wrap that in 
org.apache.rya.api.log.LogUtils.clean(sparql)


> Implement a single node query manager
> -------------------------------------
>
>                 Key: RYA-443
>                 URL: https://issues.apache.org/jira/browse/RYA-443
>             Project: Rya
>          Issue Type: Task
>            Reporter: Andrew Smith
>            Assignee: Kevin Chilton
>            Priority: Major
>
> We need an application that watches the QueryChangeLog to see when the 
> isActive state of queries changes and then reacts to the state change. If 
> isActive goes to true, the system must start processing the query. If it is 
> false, then it must stop processing the query. This application needs to 
> start when the host machine starts. We plan to support CentOS 7.



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

Reply via email to