[jira] [Commented] (SOLR-12202) failed to run solr-exporter.cmd on Windows platform
[ https://issues.apache.org/jira/browse/SOLR-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16460674#comment-16460674 ] Minoru Osuka commented on SOLR-12202: - Hi [~koji], I added a patch file for branch_7_3. Could you check it? > failed to run solr-exporter.cmd on Windows platform > --- > > Key: SOLR-12202 > URL: https://issues.apache.org/jira/browse/SOLR-12202 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.3 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Major > Attachments: SOLR-12202.patch, SOLR-12202_branch_7_3.patch > > > failed to run solr-exporter.cmd on Windows platform due to following: > - incorrect main class name. > - incorrect classpath specification. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-12202) failed to run solr-exporter.cmd on Windows platform
[ https://issues.apache.org/jira/browse/SOLR-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-12202: Attachment: SOLR-12202_branch_7_3.patch > failed to run solr-exporter.cmd on Windows platform > --- > > Key: SOLR-12202 > URL: https://issues.apache.org/jira/browse/SOLR-12202 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.3 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Major > Attachments: SOLR-12202.patch, SOLR-12202_branch_7_3.patch > > > failed to run solr-exporter.cmd on Windows platform due to following: > - incorrect main class name. > - incorrect classpath specification. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-12202) failed to run solr-exporter.cmd on Windows platform
[ https://issues.apache.org/jira/browse/SOLR-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-12202: Description: failed to run solr-exporter.cmd on Windows platform due to following: - incorrect main class name. - incorrect classpath specification. was: cannot run solr-exporter.cmd on Windows due to following: - incorrect main class name. - incorrect classpath specification. > failed to run solr-exporter.cmd on Windows platform > --- > > Key: SOLR-12202 > URL: https://issues.apache.org/jira/browse/SOLR-12202 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.3 >Reporter: Minoru Osuka >Priority: Major > Attachments: SOLR-12202.patch > > > failed to run solr-exporter.cmd on Windows platform due to following: > - incorrect main class name. > - incorrect classpath specification. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-12202) failed to run solr-exporter.cmd on Windows platform
[ https://issues.apache.org/jira/browse/SOLR-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-12202: Summary: failed to run solr-exporter.cmd on Windows platform (was: cannot run solr-exporter.cmd on Windows) > failed to run solr-exporter.cmd on Windows platform > --- > > Key: SOLR-12202 > URL: https://issues.apache.org/jira/browse/SOLR-12202 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.3 >Reporter: Minoru Osuka >Priority: Major > Attachments: SOLR-12202.patch > > > cannot run solr-exporter.cmd on Windows due to following: > - incorrect main class name. > - incorrect classpath specification. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-12202) cannot run solr-exporter.cmd on Windows
[ https://issues.apache.org/jira/browse/SOLR-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-12202: Description: cannot run solr-exporter.cmd on Windows due to following: - incorrect main class name. - incorrect classpath specification. was: solr-exporter.cmd could not be run on Windows due to following: - incorrect main class name. - incorrect classpath specification. > cannot run solr-exporter.cmd on Windows > --- > > Key: SOLR-12202 > URL: https://issues.apache.org/jira/browse/SOLR-12202 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.3 >Reporter: Minoru Osuka >Priority: Major > Attachments: SOLR-12202.patch > > > cannot run solr-exporter.cmd on Windows due to following: > - incorrect main class name. > - incorrect classpath specification. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-12202) cannot run solr-exporter.cmd on Windows
[ https://issues.apache.org/jira/browse/SOLR-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-12202: Summary: cannot run solr-exporter.cmd on Windows (was: solr-exporter.cmd cannot be run on Windows) > cannot run solr-exporter.cmd on Windows > --- > > Key: SOLR-12202 > URL: https://issues.apache.org/jira/browse/SOLR-12202 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.3 >Reporter: Minoru Osuka >Priority: Major > Attachments: SOLR-12202.patch > > > solr-exporter.cmd could not be run on Windows due to following: > - incorrect main class name. > - incorrect classpath specification. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-12202) solr-exporter.cmd cannot be run on Windows
[ https://issues.apache.org/jira/browse/SOLR-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-12202: Attachment: SOLR-12202.patch > solr-exporter.cmd cannot be run on Windows > -- > > Key: SOLR-12202 > URL: https://issues.apache.org/jira/browse/SOLR-12202 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.3 >Reporter: Minoru Osuka >Priority: Major > Attachments: SOLR-12202.patch > > > solr-exporter.cmd could not be run on Windows due to following: > - incorrect main class name. > - incorrect classpath specification. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-12202) solr-exporter.cmd cannot be run on Windows
[ https://issues.apache.org/jira/browse/SOLR-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-12202: Priority: Major (was: Critical) > solr-exporter.cmd cannot be run on Windows > -- > > Key: SOLR-12202 > URL: https://issues.apache.org/jira/browse/SOLR-12202 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.3 >Reporter: Minoru Osuka >Priority: Major > > solr-exporter.cmd could not be run on Windows due to following: > - incorrect main class name. > - incorrect classpath specification. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Created] (SOLR-12202) solr-exporter.cmd cannot be run on Windows
Minoru Osuka created SOLR-12202: --- Summary: solr-exporter.cmd cannot be run on Windows Key: SOLR-12202 URL: https://issues.apache.org/jira/browse/SOLR-12202 Project: Solr Issue Type: Bug Security Level: Public (Default Security Level. Issues are Public) Components: metrics Affects Versions: 7.3 Reporter: Minoru Osuka solr-exporter.cmd could not be run on Windows due to following: - incorrect main class name. - incorrect classpath specification. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16388911#comment-16388911 ] Minoru Osuka commented on SOLR-11795: - Hi [~ctargett], Thank you for your feedback and the corrections. Your corrections are pretty clear! https://github.com/apache/lucene-solr/commit/be11f56bbcf3085829f09eb9d30eede4bba62705 > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795-ref-guide.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Comment Edited] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387324#comment-16387324 ] Minoru Osuka edited comment on SOLR-11795 at 3/6/18 7:48 AM: - Hi [~ctargett] and [~koji], I attached a new patch (SOLR-11795-12.patch) for above comment. It includes the following changes: - Fix typo in CLI help and document. - Describe default values. - Format a document like other one. - Change README.txt to synbolic link like contrib/ltr. Could you please review again? was (Author: minoru): Hi [~ctargett] and [~koji], I'm sorry to bother you over and over. I attached SOLR-11795-ref-guide.patch for above comment. It includes the following changes: - Fix typo in CLI help and document. - Describe default values. - Format a document like other one. - Create correct README.txt. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795-ref-guide.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387431#comment-16387431 ] Minoru Osuka commented on SOLR-11795: - Hi [~ctargett] and [~koji], I'm sorry to bother you over and over. I attached SOLR-11795-ref-guide.patch for above comment. It includes the following changes: - Fix typo in CLI help and document. - Describe default values. - Format a document like other one. - Create correct README.txt. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795-ref-guide.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Comment Edited] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387324#comment-16387324 ] Minoru Osuka edited comment on SOLR-11795 at 3/6/18 7:45 AM: - Hi [~ctargett] and [~koji], I'm sorry to bother you over and over. I attached SOLR-11795-ref-guide.patch for above comment. It includes the following changes: - Fix typo in CLI help and document. - Describe default values. - Format a document like other one. - Create correct README.txt. was (Author: minoru): Hi [~ctargett] and [~koji], I attached a new patch (SOLR-11795-12.patch) for above comment. It includes the following changes: - Fix typo in CLI help and document. - Describe default values. - Format a document like other one. - Change README.txt to synbolic link like contrib/ltr. Could you please review again? > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795-ref-guide.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-ref-guide.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795-ref-guide.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387417#comment-16387417 ] Minoru Osuka commented on SOLR-11795: - Hi [~ctargett] and [~koji], Sorry, I will make README.txt without creating README.md. I withdraw SOLR-11795-12.patch. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795.patch, solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: (was: SOLR-11795-12.patch) > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795.patch, solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-12.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-12.patch, SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, > SOLR-11795-dev-tools.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387324#comment-16387324 ] Minoru Osuka commented on SOLR-11795: - Hi [~ctargett] and [~koji], I attached a new patch (SOLR-11795-12.patch) for above comment. It includes the following changes: - Fix typo in CLI help and document. - Describe default values. - Format a document like other one. - Change README.txt to synbolic link like contrib/ltr. Could you please review again? > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-12.patch, SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, > SOLR-11795-dev-tools.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16387161#comment-16387161 ] Minoru Osuka commented on SOLR-11795: - Hi [~ctargett], Thanks for letting me know it. I will attach patch for Ref Guide. Please wait a moment. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795.patch, solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16382918#comment-16382918 ] Minoru Osuka commented on SOLR-11795: - [~shinichiro abe], Thank you for finding a typo. Argparse4j dependency? Could you please show me the code of the question in this patch so that I can understand your question? [~koji] and [~thetaphi], I Attach a patch (SOLR-11795-11.patch) that fixed typo. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795.patch, solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-11.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-11.patch, > SOLR-11795-2.patch, SOLR-11795-3.patch, SOLR-11795-4.patch, > SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795-7.patch, > SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, > SOLR-11795.patch, solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Comment Edited] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16381992#comment-16381992 ] Minoru Osuka edited comment on SOLR-11795 at 3/1/18 1:29 PM: - Hi [~koji] and [~thetaphi] I apologize for the delay. I attached the latest patch (SOLR-11795-10.patch) that gathered all changes into one. - Changed configuration file format to XML. - Included dev-tools. Could you please test it on a test branch? was (Author: minoru): Hi [~koji] and [~thetaphi] I apologize for the delay. I attached the latest patch (SOLR-11795-10.patch) that gathered all changes into one. - Changed configuration file format to XML. - Included dev-tools. Could you please test it on a test branch? > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-2.patch, > SOLR-11795-3.patch, SOLR-11795-4.patch, SOLR-11795-5.patch, > SOLR-11795-6.patch, SOLR-11795-7.patch, SOLR-11795-8.patch, > SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16381992#comment-16381992 ] Minoru Osuka commented on SOLR-11795: - Hi [~koji] and [~thetaphi] I apologize for the delay. I attached the latest patch (SOLR-11795-10.patch) that gathered all changes into one. - Changed configuration file format to XML. - Included dev-tools. Could you please test it on a test branch? > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-2.patch, > SOLR-11795-3.patch, SOLR-11795-4.patch, SOLR-11795-5.patch, > SOLR-11795-6.patch, SOLR-11795-7.patch, SOLR-11795-8.patch, > SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-10.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-10.patch, SOLR-11795-2.patch, > SOLR-11795-3.patch, SOLR-11795-4.patch, SOLR-11795-5.patch, > SOLR-11795-6.patch, SOLR-11795-7.patch, SOLR-11795-8.patch, > SOLR-11795-9.patch, SOLR-11795-dev-tools.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16376293#comment-16376293 ] Minoru Osuka commented on SOLR-11795: - Hi, [~thetaphi] and [~dsmiley], I'm working on replace YAML to XML like solrconfig.xml. I'll attach new patch file. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, > SOLR-11795-dev-tools.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16375507#comment-16375507 ] Minoru Osuka commented on SOLR-11795: - [~thetaphi], I apologize for any inconvenience caused, and appreciate your bringing this issue to my attention. I will answer your question. Q. Why to hell not build this object graph in pure Java code? A. There is a library named SnakeYAML. It seemed easy to handle YAML, so I used it. I was not careful enough with that. Q. Or is this intended to be customized by end-users? A. Yes. I think the metrics that end-user want to get by end users will differ. I want to be able to add what they needed and delete what they did not need like solrconfig.xml. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, > SOLR-11795-dev-tools.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16373784#comment-16373784 ] Minoru Osuka commented on SOLR-11795: - I attached new patch file (SOLR-11795-dev-tools.patch) for dev-tools. It includes following: - Add idea settings. - Add maven pom.template. I apologize for causing you a trouble. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, > SOLR-11795-dev-tools.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-dev-tools.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: master (8.0), 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, > SOLR-11795-dev-tools.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: (was: SOLR-11795-9.patch) > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-9.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16372333#comment-16372333 ] Minoru Osuka commented on SOLR-11795: - I attached new patch file (SOLR-11795-9.patch) that passed `ant validate` task. It includes to fix following: - added SHA1 checksum, LICENSE and NOTICE files into solr/licenses directory. - fixed invalid source code. (use DefaultSolrThreadFactory and InputStreamReader.) - added JAR version into lucene/ivy-versions.properties. - fixed duplicate section name for Ref Guide. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-9.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795-9.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16370228#comment-16370228 ] Minoru Osuka commented on SOLR-11795: - I'm sorry, my patch file has mistakes. - avoid invalid logging pattern. - add jar checksum file to solr/licenses. - fix duplicate section name for Ref Guide. I attached new patch (SOLR-11795-8.patch) that fix it. I apologize for causing you a trouble. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-8.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Fix For: 7.3 > > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795-8.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > Time Spent: 20m > Remaining Estimate: 0h > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Comment Edited] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16369726#comment-16369726 ] Minoru Osuka edited comment on SOLR-11795 at 2/20/18 5:17 AM: -- Hi, Thank you for quick reply. Why test code uses these configs is following: - The test indexes exampledocs data to test if facet count can be exporsed as metrics. Any data can be used, but I used exampledocs. (https://issues.apache.org/jira/browse/SOLR-11795?focusedCommentId=16304229=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16304229) - The test uses managed_schema because indexing without worrying about the data format. - Since the test code is using managed_schema, there are several updateProcessors for add unknown fields to the schema. (UpdateRequestProcessors means updateProcessor?) Does that answer your question? was (Author: minoru): Hi, Thank you for quick reply. Why test code uses these configs is following: - The test indexes exampledocs data to test if facet count can be exporsed as metrics. Any data can be used, but I used exampledocs. - The test uses managed_schema because indexing without worrying about the data format. - Since the test code is using managed_schema, there are several updateProcessors for add unknown fields to the schema. (UpdateRequestProcessors means updateProcessor?) Does that answer your question? > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16369726#comment-16369726 ] Minoru Osuka commented on SOLR-11795: - Hi, Thank you for quick reply. Why test code uses these configs is following: - The test indexes exampledocs data to test if facet count can be exporsed as metrics. Any data can be used, but I used exampledocs. - The test uses managed_schema because indexing without worrying about the data format. - Since the test code is using managed_schema, there are several updateProcessors for add unknown fields to the schema. (UpdateRequestProcessors means updateProcessor?) Does that answer your question? > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Comment Edited] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16369681#comment-16369681 ] Minoru Osuka edited comment on SOLR-11795 at 2/20/18 3:30 AM: -- I replaced luceneMatchVersion to "${tests.luceneMatchVersion:LATEST}". And made solrconfig.xml compact. Please see SOLR-11795-7.patch. was (Author: minoru): I replaced luceneMatchVersion to "${tests.luceneMatchVersion: LATEST}". And made solrconfig.xml compact. Please see SOLR-11795-7.patch. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16369681#comment-16369681 ] Minoru Osuka commented on SOLR-11795: - I replaced luceneMatchVersion to "$ \{tests.luceneMatchVersion: LATEST}". And made solrconfig.xml compact. Please see SOLR-11795-7.patch. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Comment Edited] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16369681#comment-16369681 ] Minoru Osuka edited comment on SOLR-11795 at 2/20/18 3:29 AM: -- I replaced luceneMatchVersion to "${tests.luceneMatchVersion: LATEST}". And made solrconfig.xml compact. Please see SOLR-11795-7.patch. was (Author: minoru): I replaced luceneMatchVersion to "$ \{tests.luceneMatchVersion: LATEST}". And made solrconfig.xml compact. Please see SOLR-11795-7.patch. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-7.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, > SOLR-11795-7.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16369114#comment-16369114 ] Minoru Osuka commented on SOLR-11795: - Hi [~koji], I attached the latest patch (SOLR-11795-6.patch). I added Ref Guide content and images, also it includes test code that checking scrape error. Please check this patch file. {code:java} $ git apply /path/to/SOLR-11795-6.patch {code} Thanks, > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-6.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795-6.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-5.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795-5.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-4.patch > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795-4.patch, SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-3.patch Attach new patch file. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795-3.patch, > SOLR-11795.patch, solr-dashboard.png, solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795-2.patch Attach new patch file. > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Assignee: Koji Sekiguchi >Priority: Minor > Attachments: SOLR-11795-2.patch, SOLR-11795.patch, > solr-dashboard.png, solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Fix Version/s: (was: master (8.0)) > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: metrics >Affects Versions: 7.2 >Reporter: Minoru Osuka >Priority: Minor > Attachments: SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Comment Edited] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16304229#comment-16304229 ] Minoru Osuka edited comment on SOLR-11795 at 12/27/17 1:17 PM: --- solr-exporter can expose search results, Metrics API response, and Solr API responses as metrics. The following example exposes facets results as metrics: {code} queries: - query: collection: collection1 path: /select params: - q: "*:*" - start: 0 - rows: 0 - json.facet: |- { category: { type: terms, field: cat } } jsonQueries: # solr_facets_category - |- .facets.category.buckets[] as $object | $object.val as $term | $object.count as $value | { name : "solr_facets_category", type : "GAUGE", help : "Category facets", label_names : ["collection", "term"], label_values : ["collection1", $term], value: $value } {code} For other metrics settings, please see config.yml. was (Author: minoru): solr-exporter can expose the search results as well as the Metrics API as metrics. For example, expose the facets results as metrics as following (config.yml): {code} queries: - query: collection: collection1 path: /select params: - q: "*:*" - start: 0 - rows: 0 - json.facet: |- { category: { type: terms, field: cat } } jsonQueries: # solr_facets_category - |- .facets.category.buckets[] as $object | $object.val as $term | $object.count as $value | { name : "solr_facets_category", type : "GAUGE", help : "Category facets", label_names : ["collection", "term"], label_values : ["collection1", $term], value: $value } {code} > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 7.2 >Reporter: Minoru Osuka >Priority: Minor > Fix For: master (8.0) > > Attachments: SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Summary: Add Solr metrics exporter for Prometheus (was: Add Solr metrics exporter for Prometheus to contrib directory) > Add Solr metrics exporter for Prometheus > > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 7.2 >Reporter: Minoru Osuka >Priority: Minor > Fix For: master (8.0) > > Attachments: SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Comment Edited] (SOLR-11795) Add Solr metrics exporter for Prometheus to contrib directory
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16304229#comment-16304229 ] Minoru Osuka edited comment on SOLR-11795 at 12/27/17 5:15 AM: --- solr-exporter can expose the search results as well as the Metrics API as metrics. For example, expose the facets results as metrics as following (config.yml): {code} queries: - query: collection: collection1 path: /select params: - q: "*:*" - start: 0 - rows: 0 - json.facet: |- { category: { type: terms, field: cat } } jsonQueries: # solr_facets_category - |- .facets.category.buckets[] as $object | $object.val as $term | $object.count as $value | { name : "solr_facets_category", type : "GAUGE", help : "Category facets", label_names : ["collection", "term"], label_values : ["collection1", $term], value: $value } {code} was (Author: minoru): solr-exporter can expose the search results as well as the Metrics API as metrics. For example, expose the facets results as metrics as following (config.yml): {code:yml} queries: - query: collection: collection1 path: /select params: - q: "*:*" - start: 0 - rows: 0 - json.facet: |- { category: { type: terms, field: cat } } jsonQueries: # solr_facets_category - |- .facets.category.buckets[] as $object | $object.val as $term | $object.count as $value | { name : "solr_facets_category", type : "GAUGE", help : "Category facets", label_names : ["collection", "term"], label_values : ["collection1", $term], value: $value } {code} > Add Solr metrics exporter for Prometheus to contrib directory > - > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 7.2 >Reporter: Minoru Osuka >Priority: Minor > Fix For: master (8.0) > > Attachments: SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-11795) Add Solr metrics exporter for Prometheus to contrib directory
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16304229#comment-16304229 ] Minoru Osuka commented on SOLR-11795: - solr-exporter can expose the search results as well as the Metrics API as metrics. For example, expose the facets results as metrics as following (config.yml): {code:yml} queries: - query: collection: collection1 path: /select params: - q: "*:*" - start: 0 - rows: 0 - json.facet: |- { category: { type: terms, field: cat } } jsonQueries: # solr_facets_category - |- .facets.category.buckets[] as $object | $object.val as $term | $object.count as $value | { name : "solr_facets_category", type : "GAUGE", help : "Category facets", label_names : ["collection", "term"], label_values : ["collection1", $term], value: $value } {code} > Add Solr metrics exporter for Prometheus to contrib directory > - > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 7.2 >Reporter: Minoru Osuka >Priority: Minor > Fix For: master (8.0) > > Attachments: SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-11795) Add Solr metrics exporter for Prometheus to contrib directory
[ https://issues.apache.org/jira/browse/SOLR-11795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-11795: Attachment: SOLR-11795.patch Attach a patch file. > Add Solr metrics exporter for Prometheus to contrib directory > - > > Key: SOLR-11795 > URL: https://issues.apache.org/jira/browse/SOLR-11795 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) >Affects Versions: 7.2 >Reporter: Minoru Osuka >Priority: Minor > Fix For: master (8.0) > > Attachments: SOLR-11795.patch, solr-dashboard.png, > solr-exporter-diagram.png > > > I 'd like to monitor Solr using Prometheus and Grafana. > I've already created Solr metrics exporter for Prometheus. I'd like to > contribute to contrib directory if you don't mind. > !solr-exporter-diagram.png|thumbnail! > !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Created] (SOLR-11795) Add Solr metrics exporter for Prometheus to contrib directory
Minoru Osuka created SOLR-11795: --- Summary: Add Solr metrics exporter for Prometheus to contrib directory Key: SOLR-11795 URL: https://issues.apache.org/jira/browse/SOLR-11795 Project: Solr Issue Type: Improvement Security Level: Public (Default Security Level. Issues are Public) Affects Versions: 7.2 Reporter: Minoru Osuka Priority: Minor Fix For: master (8.0) Attachments: solr-dashboard.png, solr-exporter-diagram.png I 'd like to monitor Solr using Prometheus and Grafana. I've already created Solr metrics exporter for Prometheus. I'd like to contribute to contrib directory if you don't mind. !solr-exporter-diagram.png|thumbnail! !solr-dashboard.png|thumbnail! -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9373) Add the constructor with no argument to SolrInputDocument
[ https://issues.apache.org/jira/browse/SOLR-9373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15411906#comment-15411906 ] Minoru Osuka commented on SOLR-9373: [~janhoy]: Thank you for your comment, I will correct the Issue Type from before. I agree with you. I also think this is not a bug and it should be handling constructor correctly as you saying. If Solr restore the constructor with no argment, we will use latest Solr with Flume, and don't need to wait for Kite SDK to be resolved. > Add the constructor with no argument to SolrInputDocument > - > > Key: SOLR-9373 > URL: https://issues.apache.org/jira/browse/SOLR-9373 > Project: Solr > Issue Type: Wish > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrJ >Affects Versions: 6.1 >Reporter: Minoru Osuka > Attachments: SOLR-9373.patch > > > I'm working on create a patch to upgrade Solr 6.0.1 for Flume. > Issue : https://issues.apache.org/jira/browse/FLUME-2919 > Since Solr 6.1.0 has been released, I'm trying to create a patch to upgrade > 6.1.0 again. > But, java.lang.NoSuchMethodError occurs at compile time owing to the > constructor with no argument has been removed from the SolrInputDocument by > SOLR-9065. > {noformat} > Caused by: java.lang.NoSuchMethodError: > org.apache.solr.common.SolrInputDocument: method ()V not found > at > org.apache.solr.handler.extraction.SolrContentHandler.(SolrContentHandler.java:90) > at > org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory$TrimSolrContentHandler.(TrimSolrContentHandlerFactory.java:50) > at > org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory.createSolrContentHandler(TrimSolrContentHandlerFactory.java:40) > at > org.apache.solr.morphlines.cell.SolrCellBuilder$SolrCell.doProcess(SolrCellBuilder.java:232) > at > org.kitesdk.morphline.stdio.AbstractParser.doProcess(AbstractParser.java:96) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at org.kitesdk.morphline.base.Connector.process(Connector.java:64) > at > org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181) > at org.kitesdk.morphline.stdlib.LogCommand.doProcess(LogCommand.java:56) > at > org.kitesdk.morphline.stdlib.LogDebugBuilder$LogDebug.doProcess(LogDebugBuilder.java:56) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at > org.kitesdk.morphline.stdlib.TryRulesBuilder$TryRules.doProcess(TryRulesBuilder.java:115) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at org.kitesdk.morphline.base.Connector.process(Connector.java:64) > at > org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181) > at > org.kitesdk.morphline.tika.DetectMimeTypeBuilder$DetectMimeType.doProcess(DetectMimeTypeBuilder.java:166) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at org.kitesdk.morphline.base.Connector.process(Connector.java:64) > at > org.kitesdk.morphline.scriptengine.java.scripts.MyJavaClass6.eval(MyJavaClass6.java:15) > ... 69 more > {noformat} > It could not invoke the constructor with variable arguments using java > reflection. Please restore the no arguments constructor to SolrInputDocument. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9373) Add the constructor with no argument to SolrInputDocument
[ https://issues.apache.org/jira/browse/SOLR-9373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-9373: --- Issue Type: Wish (was: Bug) > Add the constructor with no argument to SolrInputDocument > - > > Key: SOLR-9373 > URL: https://issues.apache.org/jira/browse/SOLR-9373 > Project: Solr > Issue Type: Wish > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrJ >Affects Versions: 6.1 >Reporter: Minoru Osuka > Attachments: SOLR-9373.patch > > > I'm working on create a patch to upgrade Solr 6.0.1 for Flume. > Issue : https://issues.apache.org/jira/browse/FLUME-2919 > Since Solr 6.1.0 has been released, I'm trying to create a patch to upgrade > 6.1.0 again. > But, java.lang.NoSuchMethodError occurs at compile time owing to the > constructor with no argument has been removed from the SolrInputDocument by > SOLR-9065. > {noformat} > Caused by: java.lang.NoSuchMethodError: > org.apache.solr.common.SolrInputDocument: method ()V not found > at > org.apache.solr.handler.extraction.SolrContentHandler.(SolrContentHandler.java:90) > at > org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory$TrimSolrContentHandler.(TrimSolrContentHandlerFactory.java:50) > at > org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory.createSolrContentHandler(TrimSolrContentHandlerFactory.java:40) > at > org.apache.solr.morphlines.cell.SolrCellBuilder$SolrCell.doProcess(SolrCellBuilder.java:232) > at > org.kitesdk.morphline.stdio.AbstractParser.doProcess(AbstractParser.java:96) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at org.kitesdk.morphline.base.Connector.process(Connector.java:64) > at > org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181) > at org.kitesdk.morphline.stdlib.LogCommand.doProcess(LogCommand.java:56) > at > org.kitesdk.morphline.stdlib.LogDebugBuilder$LogDebug.doProcess(LogDebugBuilder.java:56) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at > org.kitesdk.morphline.stdlib.TryRulesBuilder$TryRules.doProcess(TryRulesBuilder.java:115) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at org.kitesdk.morphline.base.Connector.process(Connector.java:64) > at > org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181) > at > org.kitesdk.morphline.tika.DetectMimeTypeBuilder$DetectMimeType.doProcess(DetectMimeTypeBuilder.java:166) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at org.kitesdk.morphline.base.Connector.process(Connector.java:64) > at > org.kitesdk.morphline.scriptengine.java.scripts.MyJavaClass6.eval(MyJavaClass6.java:15) > ... 69 more > {noformat} > It could not invoke the constructor with variable arguments using java > reflection. Please restore the no arguments constructor to SolrInputDocument. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-9373) Add the constructor with no argument to SolrInputDocument
[ https://issues.apache.org/jira/browse/SOLR-9373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-9373: --- Attachment: SOLR-9373.patch Attach a patch file. > Add the constructor with no argument to SolrInputDocument > - > > Key: SOLR-9373 > URL: https://issues.apache.org/jira/browse/SOLR-9373 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: SolrJ >Affects Versions: 6.1 >Reporter: Minoru Osuka > Attachments: SOLR-9373.patch > > > I'm working on create a patch to upgrade Solr 6.0.1 for Flume. > Issue : https://issues.apache.org/jira/browse/FLUME-2919 > Since Solr 6.1.0 has been released, I'm trying to create a patch to upgrade > 6.1.0 again. > But, java.lang.NoSuchMethodError occurs at compile time owing to the > constructor with no argument has been removed from the SolrInputDocument by > SOLR-9065. > {noformat} > Caused by: java.lang.NoSuchMethodError: > org.apache.solr.common.SolrInputDocument: method ()V not found > at > org.apache.solr.handler.extraction.SolrContentHandler.(SolrContentHandler.java:90) > at > org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory$TrimSolrContentHandler.(TrimSolrContentHandlerFactory.java:50) > at > org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory.createSolrContentHandler(TrimSolrContentHandlerFactory.java:40) > at > org.apache.solr.morphlines.cell.SolrCellBuilder$SolrCell.doProcess(SolrCellBuilder.java:232) > at > org.kitesdk.morphline.stdio.AbstractParser.doProcess(AbstractParser.java:96) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at org.kitesdk.morphline.base.Connector.process(Connector.java:64) > at > org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181) > at org.kitesdk.morphline.stdlib.LogCommand.doProcess(LogCommand.java:56) > at > org.kitesdk.morphline.stdlib.LogDebugBuilder$LogDebug.doProcess(LogDebugBuilder.java:56) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at > org.kitesdk.morphline.stdlib.TryRulesBuilder$TryRules.doProcess(TryRulesBuilder.java:115) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at org.kitesdk.morphline.base.Connector.process(Connector.java:64) > at > org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181) > at > org.kitesdk.morphline.tika.DetectMimeTypeBuilder$DetectMimeType.doProcess(DetectMimeTypeBuilder.java:166) > at > org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) > at org.kitesdk.morphline.base.Connector.process(Connector.java:64) > at > org.kitesdk.morphline.scriptengine.java.scripts.MyJavaClass6.eval(MyJavaClass6.java:15) > ... 69 more > {noformat} > It could not invoke the constructor with variable arguments using java > reflection. Please restore the no arguments constructor to SolrInputDocument. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Created] (SOLR-9373) Add the constructor with no argument to SolrInputDocument
Minoru Osuka created SOLR-9373: -- Summary: Add the constructor with no argument to SolrInputDocument Key: SOLR-9373 URL: https://issues.apache.org/jira/browse/SOLR-9373 Project: Solr Issue Type: Bug Security Level: Public (Default Security Level. Issues are Public) Components: SolrJ Affects Versions: 6.1 Reporter: Minoru Osuka I'm working on create a patch to upgrade Solr 6.0.1 for Flume. Issue : https://issues.apache.org/jira/browse/FLUME-2919 Since Solr 6.1.0 has been released, I'm trying to create a patch to upgrade 6.1.0 again. But, java.lang.NoSuchMethodError occurs at compile time owing to the constructor with no argument has been removed from the SolrInputDocument by SOLR-9065. {noformat} Caused by: java.lang.NoSuchMethodError: org.apache.solr.common.SolrInputDocument: method ()V not found at org.apache.solr.handler.extraction.SolrContentHandler.(SolrContentHandler.java:90) at org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory$TrimSolrContentHandler.(TrimSolrContentHandlerFactory.java:50) at org.apache.solr.morphlines.cell.TrimSolrContentHandlerFactory.createSolrContentHandler(TrimSolrContentHandlerFactory.java:40) at org.apache.solr.morphlines.cell.SolrCellBuilder$SolrCell.doProcess(SolrCellBuilder.java:232) at org.kitesdk.morphline.stdio.AbstractParser.doProcess(AbstractParser.java:96) at org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) at org.kitesdk.morphline.base.Connector.process(Connector.java:64) at org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181) at org.kitesdk.morphline.stdlib.LogCommand.doProcess(LogCommand.java:56) at org.kitesdk.morphline.stdlib.LogDebugBuilder$LogDebug.doProcess(LogDebugBuilder.java:56) at org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) at org.kitesdk.morphline.stdlib.TryRulesBuilder$TryRules.doProcess(TryRulesBuilder.java:115) at org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) at org.kitesdk.morphline.base.Connector.process(Connector.java:64) at org.kitesdk.morphline.base.AbstractCommand.doProcess(AbstractCommand.java:181) at org.kitesdk.morphline.tika.DetectMimeTypeBuilder$DetectMimeType.doProcess(DetectMimeTypeBuilder.java:166) at org.kitesdk.morphline.base.AbstractCommand.process(AbstractCommand.java:156) at org.kitesdk.morphline.base.Connector.process(Connector.java:64) at org.kitesdk.morphline.scriptengine.java.scripts.MyJavaClass6.eval(MyJavaClass6.java:15) ... 69 more {noformat} It could not invoke the constructor with variable arguments using java reflection. Please restore the no arguments constructor to SolrInputDocument. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-9141) ClassCastException occurs in /sql handler with GROUP BY aggregationMode=facet and single shard
[ https://issues.apache.org/jira/browse/SOLR-9141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15302079#comment-15302079 ] Minoru Osuka commented on SOLR-9141: [~joel.bernstein], +1. ((Number)bucket.get("count")).longValue(); seems faster than my patch (on my Macbook). {noformat} package test; import java.util.ArrayList; import java.util.List; public class CastTest { public static void main(String[] args) { List objList = new ArrayList(); for (int i = 0; i < 1; i++) { objList.add(new Integer(i)); } long start = System.nanoTime(); for (Object obj : objList) { long l = new Long(obj.toString()).longValue(); } long end = System.nanoTime(); System.out.println(String.format("new Long(obj.toString()).longValue(); : %1$,10d ns", (end - start))); start = System.nanoTime(); for (Object obj : objList) { long l = ((Number)obj).longValue(); } end = System.nanoTime(); System.out.println(String.format("((Number)obj).longValue(); : %1$,10d ns", (end - start))); } } {noformat} {noformat} new Long(obj.toString()).longValue(); : 11,301,332 ns ((Number)obj).longValue();:831,366 ns {noformat} > ClassCastException occurs in /sql handler with GROUP BY aggregationMode=facet > and single shard > -- > > Key: SOLR-9141 > URL: https://issues.apache.org/jira/browse/SOLR-9141 > Project: Solr > Issue Type: Bug > Components: Parallell SQL >Affects Versions: 6.0 >Reporter: Minoru Osuka >Assignee: Joel Bernstein > Attachments: SOLR-9141-test.patch, SOLR-9141-test.patch, > SOLR-9141.patch > > > ClassCastException occurs in /sql request handler using -ORDER BY- GROUP BY > clause. > {noformat} > $ curl --data-urlencode "stmt=select count(*) from access_log" > "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; > {"result-set":{"docs":[ > {"count(*)":1309}, > {"EOF":true,"RESPONSE_TIME":239}]}} > $ curl --data-urlencode 'stmt=select response, count(*) as count from > access_log group by response' > "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; > {"result-set":{"docs":[ > {"EXCEPTION":"java.lang.ClassCastException: java.lang.Integer cannot be cast > to java.lang.Long","EOF":true,"RESPONSE_TIME":53}]}} > {noformat} > See following error messages: > {noformat} > 2016-05-19 10:18:06.477 ERROR (qtp1791930789-21) [c:access_log s:shard1 > r:core_node1 x:access_log_shard1_replica1] o.a.s.c.s.i.s.ExceptionStream > java.io.IOException: java.lang.ClassCastException: java.lang.Integer cannot > be cast to java.lang.Long > at > org.apache.solr.client.solrj.io.stream.FacetStream.open(FacetStream.java:300) > at > org.apache.solr.handler.SQLHandler$LimitStream.open(SQLHandler.java:1265) > at > org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153) > at > org.apache.solr.handler.SQLHandler$MetadataStream.open(SQLHandler.java:1511) > at > org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47) > at > org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362) > at > org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301) > at > org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167) > at > org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183) > at > org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299) > at > org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95) > at > org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60) > at > org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65) > at > org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725) > at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) > at > org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308) > at > org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262) > at >
[jira] [Comment Edited] (SOLR-9141) ClassCastException occurs in /sql request handler using GROUP BY clause.
[ https://issues.apache.org/jira/browse/SOLR-9141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15298032#comment-15298032 ] Minoru Osuka edited comment on SOLR-9141 at 5/24/16 1:15 PM: - Hi Joel, Yes, It seems basic -ORDER BY- GROUP BY clause is failing. Field type for the response is following: {noformat} $ curl "http://localhost:8983/solr/access_log/schema/fields/response; { "responseHeader":{ "status":0, "QTime":3}, "field":{ "name":"response", "type":"int", "docValues":true, "multiValued":false, "indexed":true, "stored":true}} $ curl "http://localhost:8983/solr/access_log/schema/fieldtypes/int; { "responseHeader":{ "status":0, "QTime":246}, "fieldType":{ "name":"int", "class":"solr.TrieIntField", "positionIncrementGap":"0", "precisionStep":"0", "fields":["response"], "dynamicFields":["*_i"]}, "warn":"This API is deprecated"} {noformat} aggregationMode=map_reduce works fine. Rsult of simple count is following: {noformat} $ curl --data-urlencode "stmt=SELECT count(*) FROM access_log" "http://localhost:8983/solr/access_log/sql?aggregationMode=map_reduce; {"result-set":{"docs":[ {"count(*)":1157}, {"EOF":true,"RESPONSE_TIME":7}]}} {noformat} And result of -ORDER BY- GROUP BY clause is following: {noformat} $ curl --data-urlencode 'stmt=SELECT response, count(*) FROM access_log GROUP BY response' "http://localhost:8983/solr/access_log/sql?aggregationMode=map_reduce; {"result-set":{"docs":[ {"response":200}, {"response":404}, {"response":500}, {"EOF":true,"RESPONSE_TIME":18}]}} {noformat} Also aggregationMode=facet works fine without -ORDER BY- GROUP BY clause. {noformat} $ curl --data-urlencode "stmt=SELECT count(*) FROM access_log" "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"count(*)":1157}, {"EOF":true,"RESPONSE_TIME":9}]}} {noformat} If SQL specified -ORDER BY- GROUP BY clause, it does't work due to ClassCastException. {noformat} $ curl --data-urlencode 'stmt=SELECT response, count(*) FROM access_log GROUP BY response' "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"EXCEPTION":"java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long","EOF":true,"RESPONSE_TIME":35}]}} {noformat} Please see following solr.log: {noformat} 2016-05-24 08:48:24.944 INFO (qtp1791930789-21) [c:access_log s:shard1 r:core_node1 x:access_log_shard1_replica1] o.a.s.c.S.Request [access_log_shard1_replica1] webapp=/solr path=/sql params={aggregationMode=facet=select+response,+count(*)+as+count+from+access_log+group+by+response} status=0 QTime=5 2016-05-24 08:48:24.970 INFO (qtp1791930789-12) [c:access_log s:shard1 r:core_node1 x:access_log_shard1_replica1] o.a.s.c.S.Request [access_log_shard1_replica1] webapp=/solr path=/select params={q=*:*={"response":{"type":"terms","field":"response","limit":100,"sort":{"index":"asc"},"facet":{}}}&_stateVer_=access_log:10=0=javabin=2} hits=1157 status=0 QTime=5 2016-05-24 08:48:24.979 ERROR (qtp1791930789-21) [c:access_log s:shard1 r:core_node1 x:access_log_shard1_replica1] o.a.s.c.s.i.s.ExceptionStream java.io.IOException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at org.apache.solr.client.solrj.io.stream.FacetStream.open(FacetStream.java:300) at org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153) at org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47) at org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362) at org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301) at org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167) at org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183) at org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299) at org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95) at org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60) at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65) at org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308) at
[jira] [Updated] (SOLR-9141) ClassCastException occurs in /sql request handler using GROUP BY clause.
[ https://issues.apache.org/jira/browse/SOLR-9141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-9141: --- Description: ClassCastException occurs in /sql request handler using -ORDER BY- GROUP BY clause. {noformat} $ curl --data-urlencode "stmt=select count(*) from access_log" "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"count(*)":1309}, {"EOF":true,"RESPONSE_TIME":239}]}} $ curl --data-urlencode 'stmt=select response, count(*) as count from access_log group by response' "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"EXCEPTION":"java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long","EOF":true,"RESPONSE_TIME":53}]}} {noformat} See following error messages: {noformat} 2016-05-19 10:18:06.477 ERROR (qtp1791930789-21) [c:access_log s:shard1 r:core_node1 x:access_log_shard1_replica1] o.a.s.c.s.i.s.ExceptionStream java.io.IOException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at org.apache.solr.client.solrj.io.stream.FacetStream.open(FacetStream.java:300) at org.apache.solr.handler.SQLHandler$LimitStream.open(SQLHandler.java:1265) at org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153) at org.apache.solr.handler.SQLHandler$MetadataStream.open(SQLHandler.java:1511) at org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47) at org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362) at org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301) at org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167) at org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183) at org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299) at org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95) at org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60) at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65) at org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308) at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:518) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) at
[jira] [Commented] (SOLR-9141) ClassCastException occurs in /sql request handler using ORDER BY clause.
[ https://issues.apache.org/jira/browse/SOLR-9141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15298148#comment-15298148 ] Minoru Osuka commented on SOLR-9141: Sorry, I made a typo. wrong : ORDER BY correct: GROUP BY I will correct that. > ClassCastException occurs in /sql request handler using ORDER BY clause. > > > Key: SOLR-9141 > URL: https://issues.apache.org/jira/browse/SOLR-9141 > Project: Solr > Issue Type: Bug > Components: Parallell SQL >Affects Versions: 6.0 >Reporter: Minoru Osuka >Assignee: Joel Bernstein > Attachments: SOLR-9141.patch > > > ClassCastException occurs in /sql request handler using ORDER BY clause. > {noformat} > $ curl --data-urlencode "stmt=select count(*) from access_log" > "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; > {"result-set":{"docs":[ > {"count(*)":1309}, > {"EOF":true,"RESPONSE_TIME":239}]}} > $ curl --data-urlencode 'stmt=select response, count(*) as count from > access_log group by response' > "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; > {"result-set":{"docs":[ > {"EXCEPTION":"java.lang.ClassCastException: java.lang.Integer cannot be cast > to java.lang.Long","EOF":true,"RESPONSE_TIME":53}]}} > {noformat} > See following error messages: > {noformat} > 2016-05-19 10:18:06.477 ERROR (qtp1791930789-21) [c:access_log s:shard1 > r:core_node1 x:access_log_shard1_replica1] o.a.s.c.s.i.s.ExceptionStream > java.io.IOException: java.lang.ClassCastException: java.lang.Integer cannot > be cast to java.lang.Long > at > org.apache.solr.client.solrj.io.stream.FacetStream.open(FacetStream.java:300) > at > org.apache.solr.handler.SQLHandler$LimitStream.open(SQLHandler.java:1265) > at > org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153) > at > org.apache.solr.handler.SQLHandler$MetadataStream.open(SQLHandler.java:1511) > at > org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47) > at > org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362) > at > org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301) > at > org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167) > at > org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183) > at > org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299) > at > org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95) > at > org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60) > at > org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65) > at > org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725) > at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) > at > org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308) > at > org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) > at org.eclipse.jetty.server.Server.handle(Server.java:518) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) > at >
[jira] [Commented] (SOLR-9141) ClassCastException occurs in /sql request handler using ORDER BY clause.
[ https://issues.apache.org/jira/browse/SOLR-9141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15298032#comment-15298032 ] Minoru Osuka commented on SOLR-9141: Hi Joel, Yes, It seems basic ORDER BY clause is failing. Field type for the response is following: {noformat} $ curl "http://localhost:8983/solr/access_log/schema/fields/response; { "responseHeader":{ "status":0, "QTime":3}, "field":{ "name":"response", "type":"int", "docValues":true, "multiValued":false, "indexed":true, "stored":true}} $ curl "http://localhost:8983/solr/access_log/schema/fieldtypes/int; { "responseHeader":{ "status":0, "QTime":246}, "fieldType":{ "name":"int", "class":"solr.TrieIntField", "positionIncrementGap":"0", "precisionStep":"0", "fields":["response"], "dynamicFields":["*_i"]}, "warn":"This API is deprecated"} {noformat} aggregationMode=map_reduce works fine. Rsult of simple count is following: {noformat} $ curl --data-urlencode "stmt=SELECT count(*) FROM access_log" "http://localhost:8983/solr/access_log/sql?aggregationMode=map_reduce; {"result-set":{"docs":[ {"count(*)":1157}, {"EOF":true,"RESPONSE_TIME":7}]}} {noformat} And result of ORDER BY clause is following: {noformat} $ curl --data-urlencode 'stmt=SELECT response, count(*) FROM access_log GROUP BY response' "http://localhost:8983/solr/access_log/sql?aggregationMode=map_reduce; {"result-set":{"docs":[ {"response":200}, {"response":404}, {"response":500}, {"EOF":true,"RESPONSE_TIME":18}]}} {noformat} Also aggregationMode=facet works fine without ORDER BY clause. {noformat} $ curl --data-urlencode "stmt=SELECT count(*) FROM access_log" "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"count(*)":1157}, {"EOF":true,"RESPONSE_TIME":9}]}} {noformat} If SQL specified ORDER BY clause, it does't work due to ClassCastException. {noformat} $ curl --data-urlencode 'stmt=SELECT response, count(*) FROM access_log GROUP BY response' "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"EXCEPTION":"java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long","EOF":true,"RESPONSE_TIME":35}]}} {noformat} Please see following solr.log: {noformat} 2016-05-24 08:48:24.944 INFO (qtp1791930789-21) [c:access_log s:shard1 r:core_node1 x:access_log_shard1_replica1] o.a.s.c.S.Request [access_log_shard1_replica1] webapp=/solr path=/sql params={aggregationMode=facet=select+response,+count(*)+as+count+from+access_log+group+by+response} status=0 QTime=5 2016-05-24 08:48:24.970 INFO (qtp1791930789-12) [c:access_log s:shard1 r:core_node1 x:access_log_shard1_replica1] o.a.s.c.S.Request [access_log_shard1_replica1] webapp=/solr path=/select params={q=*:*={"response":{"type":"terms","field":"response","limit":100,"sort":{"index":"asc"},"facet":{}}}&_stateVer_=access_log:10=0=javabin=2} hits=1157 status=0 QTime=5 2016-05-24 08:48:24.979 ERROR (qtp1791930789-21) [c:access_log s:shard1 r:core_node1 x:access_log_shard1_replica1] o.a.s.c.s.i.s.ExceptionStream java.io.IOException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at org.apache.solr.client.solrj.io.stream.FacetStream.open(FacetStream.java:300) at org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153) at org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47) at org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362) at org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301) at org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167) at org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183) at org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299) at org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95) at org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60) at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65) at org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308) at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262) at
[jira] [Updated] (SOLR-9141) ClassCastException occurs in /sql request handler using ORDER BY clause.
[ https://issues.apache.org/jira/browse/SOLR-9141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-9141: --- Priority: Major (was: Critical) > ClassCastException occurs in /sql request handler using ORDER BY clause. > > > Key: SOLR-9141 > URL: https://issues.apache.org/jira/browse/SOLR-9141 > Project: Solr > Issue Type: Bug > Components: Parallell SQL >Affects Versions: 6.0 >Reporter: Minoru Osuka > Attachments: SOLR-9141.patch > > > ClassCastException occurs in /sql request handler using ORDER BY clause. > {noformat} > $ curl --data-urlencode "stmt=select count(*) from access_log" > "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; > {"result-set":{"docs":[ > {"count(*)":1309}, > {"EOF":true,"RESPONSE_TIME":239}]}} > $ curl --data-urlencode 'stmt=select response, count(*) as count from > access_log group by response' > "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; > {"result-set":{"docs":[ > {"EXCEPTION":"java.lang.ClassCastException: java.lang.Integer cannot be cast > to java.lang.Long","EOF":true,"RESPONSE_TIME":53}]}} > {noformat} > See following error messages: > {noformat} > 2016-05-19 10:18:06.477 ERROR (qtp1791930789-21) [c:access_log s:shard1 > r:core_node1 x:access_log_shard1_replica1] o.a.s.c.s.i.s.ExceptionStream > java.io.IOException: java.lang.ClassCastException: java.lang.Integer cannot > be cast to java.lang.Long > at > org.apache.solr.client.solrj.io.stream.FacetStream.open(FacetStream.java:300) > at > org.apache.solr.handler.SQLHandler$LimitStream.open(SQLHandler.java:1265) > at > org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153) > at > org.apache.solr.handler.SQLHandler$MetadataStream.open(SQLHandler.java:1511) > at > org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47) > at > org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362) > at > org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301) > at > org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167) > at > org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183) > at > org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299) > at > org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95) > at > org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60) > at > org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65) > at > org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725) > at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) > at > org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308) > at > org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) > at org.eclipse.jetty.server.Server.handle(Server.java:518) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) > at > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244) > at >
[jira] [Updated] (SOLR-9141) ClassCastException occurs in /sql request handler using ORDER BY clause.
[ https://issues.apache.org/jira/browse/SOLR-9141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-9141: --- Description: ClassCastException occurs in /sql request handler using ORDER BY clause. {noformat} $ curl --data-urlencode "stmt=select count(*) from access_log" "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"count(*)":1309}, {"EOF":true,"RESPONSE_TIME":239}]}} $ curl --data-urlencode 'stmt=select response, count(*) as count from access_log group by response' "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"EXCEPTION":"java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long","EOF":true,"RESPONSE_TIME":53}]}} {noformat} See following error messages: {noformat} 2016-05-19 10:18:06.477 ERROR (qtp1791930789-21) [c:access_log s:shard1 r:core_node1 x:access_log_shard1_replica1] o.a.s.c.s.i.s.ExceptionStream java.io.IOException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at org.apache.solr.client.solrj.io.stream.FacetStream.open(FacetStream.java:300) at org.apache.solr.handler.SQLHandler$LimitStream.open(SQLHandler.java:1265) at org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153) at org.apache.solr.handler.SQLHandler$MetadataStream.open(SQLHandler.java:1511) at org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47) at org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362) at org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301) at org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167) at org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183) at org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299) at org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95) at org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60) at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65) at org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308) at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:518) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572) at
[jira] [Updated] (SOLR-9141) ClassCastException occurs in /sql request handler using ORDER BY clause.
[ https://issues.apache.org/jira/browse/SOLR-9141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-9141: --- Attachment: SOLR-9141.patch Attach path file. > ClassCastException occurs in /sql request handler using ORDER BY clause. > > > Key: SOLR-9141 > URL: https://issues.apache.org/jira/browse/SOLR-9141 > Project: Solr > Issue Type: Bug > Components: Parallell SQL >Affects Versions: 6.0 >Reporter: Minoru Osuka >Priority: Critical > Attachments: SOLR-9141.patch > > > ClassCastException occurs in /sql request handler using ORDER BY clause. > ``` > $ curl --data-urlencode "stmt=select count(*) from access_log" > "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; > {"result-set":{"docs":[ > {"count(*)":1309}, > {"EOF":true,"RESPONSE_TIME":239}]}} > $ curl --data-urlencode 'stmt=select response, count(*) as count from > access_log group by response' > "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; > {"result-set":{"docs":[ > {"EXCEPTION":"java.lang.ClassCastException: java.lang.Integer cannot be cast > to java.lang.Long","EOF":true,"RESPONSE_TIME":53}]}} > ``` > See following error messages: > ``` > 2016-05-19 10:18:06.477 ERROR (qtp1791930789-21) [c:access_log s:shard1 > r:core_node1 x:access_log_shard1_replica1] o.a.s.c.s.i.s.ExceptionStream > java.io.IOException: java.lang.ClassCastException: java.lang.Integer cannot > be cast to java.lang.Long > at > org.apache.solr.client.solrj.io.stream.FacetStream.open(FacetStream.java:300) > at > org.apache.solr.handler.SQLHandler$LimitStream.open(SQLHandler.java:1265) > at > org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153) > at > org.apache.solr.handler.SQLHandler$MetadataStream.open(SQLHandler.java:1511) > at > org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47) > at > org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362) > at > org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301) > at > org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167) > at > org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183) > at > org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299) > at > org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95) > at > org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60) > at > org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65) > at > org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725) > at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229) > at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) > at > org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308) > at > org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262) > at > org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) > at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) > at > org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) > at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) > at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160) > at > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) > at > org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) > at > org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092) > at > org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) > at > org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) > at > org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) > at > org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) > at org.eclipse.jetty.server.Server.handle(Server.java:518) > at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) > at > org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244) > at >
[jira] [Created] (SOLR-9141) ClassCastException occurs in /sql request handler using ORDER BY clause.
Minoru Osuka created SOLR-9141: -- Summary: ClassCastException occurs in /sql request handler using ORDER BY clause. Key: SOLR-9141 URL: https://issues.apache.org/jira/browse/SOLR-9141 Project: Solr Issue Type: Bug Components: Parallell SQL Affects Versions: 6.0 Reporter: Minoru Osuka Priority: Critical ClassCastException occurs in /sql request handler using ORDER BY clause. ``` $ curl --data-urlencode "stmt=select count(*) from access_log" "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"count(*)":1309}, {"EOF":true,"RESPONSE_TIME":239}]}} $ curl --data-urlencode 'stmt=select response, count(*) as count from access_log group by response' "http://localhost:8983/solr/access_log/sql?aggregationMode=facet; {"result-set":{"docs":[ {"EXCEPTION":"java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long","EOF":true,"RESPONSE_TIME":53}]}} ``` See following error messages: ``` 2016-05-19 10:18:06.477 ERROR (qtp1791930789-21) [c:access_log s:shard1 r:core_node1 x:access_log_shard1_replica1] o.a.s.c.s.i.s.ExceptionStream java.io.IOException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long at org.apache.solr.client.solrj.io.stream.FacetStream.open(FacetStream.java:300) at org.apache.solr.handler.SQLHandler$LimitStream.open(SQLHandler.java:1265) at org.apache.solr.client.solrj.io.stream.SelectStream.open(SelectStream.java:153) at org.apache.solr.handler.SQLHandler$MetadataStream.open(SQLHandler.java:1511) at org.apache.solr.client.solrj.io.stream.ExceptionStream.open(ExceptionStream.java:47) at org.apache.solr.handler.StreamHandler$TimerStream.open(StreamHandler.java:362) at org.apache.solr.response.TextResponseWriter.writeTupleStream(TextResponseWriter.java:301) at org.apache.solr.response.TextResponseWriter.writeVal(TextResponseWriter.java:167) at org.apache.solr.response.JSONWriter.writeNamedListAsMapWithDups(JSONResponseWriter.java:183) at org.apache.solr.response.JSONWriter.writeNamedList(JSONResponseWriter.java:299) at org.apache.solr.response.JSONWriter.writeResponse(JSONResponseWriter.java:95) at org.apache.solr.response.JSONResponseWriter.write(JSONResponseWriter.java:60) at org.apache.solr.response.QueryResponseWriterUtil.writeQueryResponse(QueryResponseWriterUtil.java:65) at org.apache.solr.servlet.HttpSolrCall.writeResponse(HttpSolrCall.java:725) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:469) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:229) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:184) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676) at org.eclipse.jetty.servlets.CrossOriginFilter.handle(CrossOriginFilter.java:308) at org.eclipse.jetty.servlets.CrossOriginFilter.doFilter(CrossOriginFilter.java:262) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:518) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95) at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246) at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
[jira] [Commented] (SOLR-6699) To enable SPDY in a SolrCloud setup
[ https://issues.apache.org/jira/browse/SOLR-6699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14199735#comment-14199735 ] Minoru Osuka commented on SOLR-6699: Solr is available as servlet. What happens if Solr which applied this patch had deployed in the servlet container that doesn't support the SPDY protocol? I would like to recommend that you enable SPDY by the system property. For example, -Denablespdy=true or false To enable SPDY in a SolrCloud setup --- Key: SOLR-6699 URL: https://issues.apache.org/jira/browse/SOLR-6699 Project: Solr Issue Type: Improvement Reporter: Harsh Prasad Attachments: SOLR-6699.patch, SOLR-6699.patch Solr has lot of inter node communication happening during distributed searching or indexing. Benefits of SPDY is as follows: -Multiple requests can be sent in parallel (multiplexing) and responses can be received out of order. -Headers are compressed and optimized. This implementation will be using clear-text spdy and not the usual TLS layer spdy. This patch is contributed by Yahoo! Japan. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-5290) Warming up using search logs.
[ https://issues.apache.org/jira/browse/SOLR-5290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13792471#comment-13792471 ] Minoru Osuka commented on SOLR-5290: The patch includes test code. Warming up using search logs. - Key: SOLR-5290 URL: https://issues.apache.org/jira/browse/SOLR-5290 Project: Solr Issue Type: Wish Components: search Affects Versions: 4.4 Reporter: Minoru Osuka Priority: Minor Attachments: SOLR-5290.patch It is possible to warm up of cache automatically in newSearcher event, but it is impossible to warm up of cache automatically in firstSearcher event because there isn't old searcher. We describe queries in solrconfig.xml if we required to cache in firstSearcher event like this: {code:xml} listener event=firstSearcher class=solr.QuerySenderListener arr name=queries lst str name=qstatic firstSearcher warming in solrconfig.xml/str /lst /arr /listener {code} This setting is very statically. I want to query dynamically in firstSearcher event when restart solr. So I paid my attention to the past search log. I think if there are past search logs, it is possible to warm up of cache automatically in firstSearcher event like an autowarming of the cache in newSearcher event. I had created QueryLogSenderListener which extended QuerySenderListener. Sample definition in solrconfig.xml: - directory : Specify the Solr log directory. (Required) - regex : Describe the regular expression of log. (Required) - encoding : Specify the Solr log encoding. (Default : UTF-8) - count : Specify the number of the log to process. (Default : 100) - paths : Specify the request handler name to process. - exclude_params : Specify the request parameter to except. {code:xml} !-- Warming up using search logs. -- listener event=firstSearcher class=solr.QueryLogSenderListener arr name=queries lst str name=qstatic firstSearcher warming in solrconfig.xml/str /lst /arr str name=directorylogs/str str name=encodingUTF-8/str str name=regex![CDATA[^(?level[\w]+)\s+\-\s+(?timestamp[\d\-\s\.:]+);\s+(?class[\w\.\_\$]+);\s+\[(?core.+)\]\s+webapp=(?webapp.+)\s+path=(?path.+)\s+params=\{(?params.*)\}\s+hits=(?hits\d+)\s+status=(?status\d+)\s+QTime=(?qtime\d+).*]]/str arr name=paths str/select/str /arr int name=count100/int arr name=exclude_params strindent/str str_/str /arr /listener {code} I'd like to propose this feature. -- This message was sent by Atlassian JIRA (v6.1#6144) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Created] (SOLR-5290) Warming up using search logs.
Minoru Osuka created SOLR-5290: -- Summary: Warming up using search logs. Key: SOLR-5290 URL: https://issues.apache.org/jira/browse/SOLR-5290 Project: Solr Issue Type: Wish Components: search Affects Versions: 4.4 Reporter: Minoru Osuka Priority: Minor It is possible to warm up of cache automatically in newSearcher event, but it is impossible to warm up of cache automatically in firstSearcher event because there isn't old searcher. We describe queries in solrconfig.xml if we required to cache in firstSearcher event like this: {code:xml} listener event=firstSearcher class=solr.QuerySenderListener arr name=queries lst str name=qstatic firstSearcher warming in solrconfig.xml/str /lst /arr /listener {code} This setting is very statically. I want to query dynamically in firstSearcher event when restart solr. So I paid my attention to the past search log. I think if there are past search logs, it is possible to warm up of cache automatically in firstSearcher event like an autowarming of the cache in newSearcher event. I had created QueryLogSenderListener which extended QuerySenderListener. Sample definition in solrconfig.xml: - directory : Specify the Solr log directory. (Required) - regex : Describe the regular expression of log. (Required) - encoding : Specify the Solr log encoding. (Default : UTF-8) - count : Specify the number of the log to process. (Default : 100) - paths : Specify the request handler name to process. - exclude_params : Specify the request parameter to except. {code:xml} !-- Warming up using search logs. -- listener event=firstSearcher class=solr.QueryLogSenderListener arr name=queries lst str name=qstatic firstSearcher warming in solrconfig.xml/str /lst /arr str name=directorylogs/str str name=encodingUTF-8/str str name=regex![CDATA[^(?level[\w]+)\s+\-\s+(?timestamp[\d\-\s\.:]+);\s+(?class[\w\.\_\$]+);\s+\[(?core.+)\]\s+webapp=(?webapp.+)\s+path=(?path.+)\s+params=\{(?params.*)\}\s+hits=(?hits\d+)\s+status=(?status\d+)\s+QTime=(?qtime\d+).*]]/str arr name=paths str/select/str /arr int name=count100/int arr name=exclude_params strindent/str str_/str /arr /listener {code} I'd like to propose this feature. -- This message was sent by Atlassian JIRA (v6.1#6144) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-5290) Warming up using search logs.
[ https://issues.apache.org/jira/browse/SOLR-5290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-5290: --- Attachment: SOLR-5290.patch Here is a patch. Warming up using search logs. - Key: SOLR-5290 URL: https://issues.apache.org/jira/browse/SOLR-5290 Project: Solr Issue Type: Wish Components: search Affects Versions: 4.4 Reporter: Minoru Osuka Priority: Minor Attachments: SOLR-5290.patch It is possible to warm up of cache automatically in newSearcher event, but it is impossible to warm up of cache automatically in firstSearcher event because there isn't old searcher. We describe queries in solrconfig.xml if we required to cache in firstSearcher event like this: {code:xml} listener event=firstSearcher class=solr.QuerySenderListener arr name=queries lst str name=qstatic firstSearcher warming in solrconfig.xml/str /lst /arr /listener {code} This setting is very statically. I want to query dynamically in firstSearcher event when restart solr. So I paid my attention to the past search log. I think if there are past search logs, it is possible to warm up of cache automatically in firstSearcher event like an autowarming of the cache in newSearcher event. I had created QueryLogSenderListener which extended QuerySenderListener. Sample definition in solrconfig.xml: - directory : Specify the Solr log directory. (Required) - regex : Describe the regular expression of log. (Required) - encoding : Specify the Solr log encoding. (Default : UTF-8) - count : Specify the number of the log to process. (Default : 100) - paths : Specify the request handler name to process. - exclude_params : Specify the request parameter to except. {code:xml} !-- Warming up using search logs. -- listener event=firstSearcher class=solr.QueryLogSenderListener arr name=queries lst str name=qstatic firstSearcher warming in solrconfig.xml/str /lst /arr str name=directorylogs/str str name=encodingUTF-8/str str name=regex![CDATA[^(?level[\w]+)\s+\-\s+(?timestamp[\d\-\s\.:]+);\s+(?class[\w\.\_\$]+);\s+\[(?core.+)\]\s+webapp=(?webapp.+)\s+path=(?path.+)\s+params=\{(?params.*)\}\s+hits=(?hits\d+)\s+status=(?status\d+)\s+QTime=(?qtime\d+).*]]/str arr name=paths str/select/str /arr int name=count100/int arr name=exclude_params strindent/str str_/str /arr /listener {code} I'd like to propose this feature. -- This message was sent by Atlassian JIRA (v6.1#6144) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-4751) The replication problem of the file in a subdirectory.
[ https://issues.apache.org/jira/browse/SOLR-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-4751: --- Attachment: SOLR-4751.patch When the directory of a renaming place did not exist, it modified so that a directory will be created. The test code was satisfactory. Ran ant test -Dtestcase=TestReplicationHandler The replication problem of the file in a subdirectory. -- Key: SOLR-4751 URL: https://issues.apache.org/jira/browse/SOLR-4751 Project: Solr Issue Type: Bug Components: replication (java) Affects Versions: 4.2.1 Reporter: Minoru Osuka Assignee: Koji Sekiguchi Priority: Minor Attachments: SOLR-4751.patch, SOLR-4751.patch When set lang/stopwords_ja.txt to confFiles in replication settings, {code:xml} requestHandler name=/replication class=solr.ReplicationHandler lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt,lang/stopwords_ja.txt/str /lst /requestHandler {code} Only stopwords_ja.txt exists in solr/collection1/conf/lang directory on slave node. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-4751) The replication problem of the file in a subdirectory.
[ https://issues.apache.org/jira/browse/SOLR-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13660264#comment-13660264 ] Minoru Osuka commented on SOLR-4751: Sekiguchi-san, Thank you so much for your help! The replication problem of the file in a subdirectory. -- Key: SOLR-4751 URL: https://issues.apache.org/jira/browse/SOLR-4751 Project: Solr Issue Type: Bug Components: replication (java) Affects Versions: 4.2.1 Reporter: Minoru Osuka Assignee: Koji Sekiguchi Priority: Minor Fix For: 5.0, 4.4, 4.3.1 Attachments: SOLR-4751.patch, SOLR-4751.patch When set lang/stopwords_ja.txt to confFiles in replication settings, {code:xml} requestHandler name=/replication class=solr.ReplicationHandler lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt,lang/stopwords_ja.txt/str /lst /requestHandler {code} Only stopwords_ja.txt exists in solr/collection1/conf/lang directory on slave node. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-4751) The replication problem of the file in a subdirectory.
[ https://issues.apache.org/jira/browse/SOLR-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13655849#comment-13655849 ] Minoru Osuka commented on SOLR-4751: Sorry for the inconvenience. I'll modify test code. The replication problem of the file in a subdirectory. -- Key: SOLR-4751 URL: https://issues.apache.org/jira/browse/SOLR-4751 Project: Solr Issue Type: Bug Components: replication (java) Affects Versions: 4.2.1 Reporter: Minoru Osuka Assignee: Koji Sekiguchi Priority: Minor Attachments: SOLR-4751.patch When set lang/stopwords_ja.txt to confFiles in replication settings, {code:xml} requestHandler name=/replication class=solr.ReplicationHandler lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt,lang/stopwords_ja.txt/str /lst /requestHandler {code} Only stopwords_ja.txt exists in solr/collection1/conf/lang directory on slave node. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-4751) The replication problem of the file in a subdirectory.
[ https://issues.apache.org/jira/browse/SOLR-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-4751: --- Description: When set lang/stopwords_ja.txt to confFiles in replication settings, {code:xml} requestHandler name=/replication class=solr.ReplicationHandler lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt,lang/stopwords_ja.txt/str /lst /requestHandler {code} Only stopwords_ja.txt exists in solr/collection1/conf/lang directory on slave node. was: When set lang/stopwords_ja.txt to confFiles, {code:xml} lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt,lang/stopwords_ja.txt/str /lst {code} Only stopwords_ja.txt exists in solr/collection1/conf/lang directory on slave node. The replication problem of the file in a subdirectory. -- Key: SOLR-4751 URL: https://issues.apache.org/jira/browse/SOLR-4751 Project: Solr Issue Type: Bug Components: replication (java) Affects Versions: 4.2.1 Reporter: Minoru Osuka Priority: Minor Attachments: SOLR-4751.patch When set lang/stopwords_ja.txt to confFiles in replication settings, {code:xml} requestHandler name=/replication class=solr.ReplicationHandler lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt,lang/stopwords_ja.txt/str /lst /requestHandler {code} Only stopwords_ja.txt exists in solr/collection1/conf/lang directory on slave node. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (SOLR-4751) The replication problem of the file in a subdirectory.
[ https://issues.apache.org/jira/browse/SOLR-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13646658#comment-13646658 ] Minoru Osuka commented on SOLR-4751: Hi Sekiguchi-san, Please see following code, core/src/java/org/apache/solr/handler/SnapPuller.java {code:java} private void copyTmpConfFiles2Conf(File tmpconfDir) { File confDir = new File(solrCore.getResourceLoader().getConfigDir()); for (File file : tmpconfDir.listFiles()) { File oldFile = new File(confDir, file.getName()); if (oldFile.exists()) { File backupFile = new File(confDir, oldFile.getName() + . + getDateAsStr(new Date(oldFile.lastModified(; boolean status = oldFile.renameTo(backupFile); if (!status) { throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, Unable to rename: + oldFile + to: + backupFile); } } boolean status = file.renameTo(oldFile); if (status) { } else { throw new SolrException(SolrException.ErrorCode.SERVER_ERROR, Unable to rename: + file + to: + oldFile); } } } {code} This code does not assume subdirectory exists in conf directory. Only the files specified by confFiles exists in temporary directory. All files are not gathered in lang directory in temporary directory. This code will rename incomplete lang directory to conf directory. Need to find files recursively. The replication problem of the file in a subdirectory. -- Key: SOLR-4751 URL: https://issues.apache.org/jira/browse/SOLR-4751 Project: Solr Issue Type: Bug Components: replication (java) Affects Versions: 4.2.1 Reporter: Minoru Osuka Priority: Minor Attachments: SOLR-4751.patch When set lang/stopwords_ja.txt to confFiles in replication settings, {code:xml} requestHandler name=/replication class=solr.ReplicationHandler lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt,lang/stopwords_ja.txt/str /lst /requestHandler {code} Only stopwords_ja.txt exists in solr/collection1/conf/lang directory on slave node. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Updated] (SOLR-4751) The replication problem of the file in a subdirectory.
[ https://issues.apache.org/jira/browse/SOLR-4751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Minoru Osuka updated SOLR-4751: --- Attachment: SOLR-4751.patch The replication problem of the file in a subdirectory. -- Key: SOLR-4751 URL: https://issues.apache.org/jira/browse/SOLR-4751 Project: Solr Issue Type: Bug Components: replication (java) Affects Versions: 4.2.1 Reporter: Minoru Osuka Priority: Minor Attachments: SOLR-4751.patch When set lang/stopwords_ja.txt to confFiles, {code:xml} lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt,lang/stopwords_ja.txt/str /lst {code} Only stopwords_ja.txt exists in solr/collection1/conf/lang directory on slave node. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Created] (SOLR-4751) The replication problem of the file in a subdirectory.
Minoru Osuka created SOLR-4751: -- Summary: The replication problem of the file in a subdirectory. Key: SOLR-4751 URL: https://issues.apache.org/jira/browse/SOLR-4751 Project: Solr Issue Type: Bug Components: replication (java) Affects Versions: 4.2.1 Reporter: Minoru Osuka Priority: Minor Attachments: SOLR-4751.patch When set lang/stopwords_ja.txt to confFiles, {code:xml} lst name=master str name=replicateAftercommit/str str name=replicateAfterstartup/str str name=confFilesschema.xml,stopwords.txt,lang/stopwords_ja.txt/str /lst {code} Only stopwords_ja.txt exists in solr/collection1/conf/lang directory on slave node. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Created] (SOLR-4538) DateMathParser doesn't work correctly.
Minoru Osuka created SOLR-4538: -- Summary: DateMathParser doesn't work correctly. Key: SOLR-4538 URL: https://issues.apache.org/jira/browse/SOLR-4538 Project: Solr Issue Type: Bug Components: search Affects Versions: 4.1 Reporter: Minoru Osuka DateMathParser doesn't work correctly. http://lucene.apache.org/solr/4_1_0/solr-core/org/apache/solr/util/DateMathParser.html fq=last_modified:2013-03-08T00:46:15Z/DAY+6MONTHS+3DAYS expected; last_modified:2013-09-11T00:00:00Z actual; last_modified:2013-09-08T00:00:00Z -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org