[PR] Update dependency commons-cli:commons-cli to v1.8.0 [solr]
solrbot opened a new pull request, #2481: URL: https://github.com/apache/solr/pull/2481 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [commons-cli:commons-cli](https://commons.apache.org/proper/commons-cli/) ([source](https://gitbox.apache.org/repos/asf?p=commons-cli.git)) | dependencies | minor | `1.7.0` -> `1.8.0` | --- ### Configuration **Schedule**: Branch creation - "* * * * 0" (UTC), Automerge - At any time (no schedule defined). **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/solrbot/renovate-github-action) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org
[PR] Update dependency org.apache.commons:commons-compress to v1.26.2 [solr]
solrbot opened a new pull request, #2480: URL: https://github.com/apache/solr/pull/2480 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.apache.commons:commons-compress](https://commons.apache.org/proper/commons-compress/) ([source](https://gitbox.apache.org/repos/asf?p=commons-compress.git)) | dependencies | patch | `1.26.1` -> `1.26.2` | --- ### Configuration **Schedule**: Branch creation - "* * * * 0" (UTC), Automerge - At any time (no schedule defined). **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/solrbot/renovate-github-action) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org
[jira] [Commented] (SOLR-16093) HttpClient does not gracefully handle IPv6
[ https://issues.apache.org/jira/browse/SOLR-16093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17849494#comment-17849494 ] David Smiley commented on SOLR-16093: - I see the same problem! JDK 17, Solr 9.4. Docker with RHEL 9.3 if that matters. I wish I could reproduce this locally > HttpClient does not gracefully handle IPv6 > -- > > Key: SOLR-16093 > URL: https://issues.apache.org/jira/browse/SOLR-16093 > Project: Solr > Issue Type: Test >Reporter: Mike Drob >Priority: Major > > I was running tests inside of a docker container (trying to parallelize some > stuff in a different way) and likely had my networking set up incorrectly. > This was with JDK17. > I'm not sure how the IPv6 shard addresses got in there, maybe that what Solr > decided to register in zookeeper, or maybe it was an artifact of my docker > container doing some weird translation. > {{shards=http://127.0.0.1:41629/x_bm/lr/collection1|[::1]:4/x_bm/lr|[::1]:6/x_bm/lr,http://127.0.0.1:44693/x_bm/lr/collection1,[::1]:4/x_bm/lr|http://127.0.0.1:44741/x_bm/lr/collection1}} > {noformat} > 2> 88712 INFO (qtp1293439783-64) [ x:collection1] o.a.s.c.S.Request > webapp=/x_bm/lr path=/select > params={q=id:42=http://127.0.0.1:41629/x_bm/lr/collection1|[::1]:4/x_bm/lr|[::1]:6/x_bm/lr,http://127.0.0.1:44693/x_bm/lr/collection1,[::1]:4/x_bm/lr|http://127.0.0.1:44741/x_bm/lr/collection1=0=javabin=2} > status=500 QTime=252 > 2> 88716 ERROR (qtp1293439783-64) [ x:collection1] o.a.s.s.HttpSolrCall > org.apache.solr.common.SolrException: > org.apache.solr.client.solrj.SolrServerException: Unsupported address type > 2> => org.apache.solr.common.SolrException: > org.apache.solr.client.solrj.SolrServerException: Unsupported address type > 2>at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:504) > 2> org.apache.solr.common.SolrException: > org.apache.solr.client.solrj.SolrServerException: Unsupported address type > 2>at > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:504) > ~[main/:?] > 2>at > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:230) > ~[main/:?] > 2>at org.apache.solr.core.SolrCore.execute(SolrCore.java:2866) > ~[main/:?] > 2>at > org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:881) [main/:?] > 2>at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:600) > [main/:?] > 2>at > org.apache.solr.servlet.SolrDispatchFilter.dispatch(SolrDispatchFilter.java:234) > [main/:?] > 2>at > org.apache.solr.servlet.SolrDispatchFilter.lambda$doFilter$0(SolrDispatchFilter.java:202) > [main/:?] > 2>at > org.apache.solr.servlet.ServletUtils.traceHttpRequestExecution2(ServletUtils.java:257) > [main/:?] > 2>at > org.apache.solr.servlet.ServletUtils.rateLimitRequest(ServletUtils.java:227) > [main/:?] > 2>at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:197) > [main/:?] > 2>at > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179) > [main/:?] > 2>at > org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) > [jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at > org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) > [jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at > org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:187) > [main/:?] > 2>at > org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) > [jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at > org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) > [jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at > org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) > [jetty-servlet-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at > org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) > [jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) > [jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at > org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) > [jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at > org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) > [jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at > org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) > [jetty-server-9.4.44.v20210927.jar:9.4.44.v20210927] > 2>at >
[jira] [Commented] (SOLR-14673) Add CLI for Streaming Expressions
[ https://issues.apache.org/jira/browse/SOLR-14673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17849458#comment-17849458 ] Eric Pugh commented on SOLR-14673: -- I've opened up a draft PR to bring the patch file up to date and use SolrCLI. In my mind, I was thinking a command might look like: bin/solr stream echo(hello) and you would run that streaming expression. How ever, maybe what the patch expects is a bin/solr stream myexpression.expr and the myexpression.expr would contain the text "echo(hello)" ?? > Add CLI for Streaming Expressions > - > > Key: SOLR-14673 > URL: https://issues.apache.org/jira/browse/SOLR-14673 > Project: Solr > Issue Type: New Feature > Components: streaming expressions >Reporter: Joel Bernstein >Assignee: Eric Pugh >Priority: Major > Attachments: SOLR-14673.patch, SOLR-14673.patch, SOLR-14673.patch, > SOLR-14673.patch, SOLR-14673.patch > > Time Spent: 10m > Remaining Estimate: 0h > > This ticket will provide a simple CLI that will run a Streaming Expression > from the command line and return the results as a delimited result set. This > will allow Streaming Expressions to be used from the command line to extract > data as well as load data into Solr. > Sample syntax: > {code:java} > bin/expr expr_file{code} > This will run the expression in _expr_file_. > Output will be to standard out as delimited records. > *Standard-In, Standard-out and Pipe Composition.* > The CLI can read from *standard-in* and write to *standard-out* in delimited > records. This allows Streaming Expressions to be composed using unix pipes > with other command line tools and other streaming expressions. Example syntax: > {code:java} > cat data.csv | ./bin/expr load.expr {code} > The load.expr file uses the *stndin()* function to read from standard-in and > load date to Solr. Here is a sample load.expr > {code:java} > let(cli-zkhost="localhost:9983", > > update(collection1, >parseCSV(stndin())) > {code} > In the example above the *let* expression is used to set the *cli-zkhost* and > then run the Streaming Expression: > {code:java} > update(collection1, >parseCSV(stndin()){code} > The *stndin* function reads the data from standard-in. The *parseCSV* > function parses the lines into tuples and the *update* function sends the > data to collection1 for indexing. > > *Querying Solr and Pipe Composition* > The CLI can also be used to query Solr and pipe the result to other > applications on the command line. This can automate activities like alerting, > data backup, replication etc... > > > > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org
[PR] SOLR-14673: Add bin/solr stream CLI [solr]
epugh opened a new pull request, #2479: URL: https://github.com/apache/solr/pull/2479 https://issues.apache.org/jira/browse/SOLR-14673 # Description Bring in code that @joel-bernstein wrote, but using the SolrCLI infrastructure. # Solution Another CLI client ;-) # Tests Copied over the basic tests from the patch. I still need to write an integration style test and ideally one that exercies the basic auth. # Checklist Please review the following and check all that apply: - [ ] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability. - [ ] I have created a Jira issue and added the issue ID to my pull request title. - [ ] I have given Solr maintainers [access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to contribute to my PR branch. (optional but recommended) - [ ] I have developed this patch against the `main` branch. - [ ] I have run `./gradlew check`. - [ ] I have added tests for my changes. - [ ] I have added documentation for the [Reference Guide](https://github.com/apache/solr/tree/main/solr/solr-ref-guide) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org
[jira] [Assigned] (SOLR-14673) Add CLI for Streaming Expressions
[ https://issues.apache.org/jira/browse/SOLR-14673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Pugh reassigned SOLR-14673: Assignee: Eric Pugh (was: Joel Bernstein) > Add CLI for Streaming Expressions > - > > Key: SOLR-14673 > URL: https://issues.apache.org/jira/browse/SOLR-14673 > Project: Solr > Issue Type: New Feature > Components: streaming expressions >Reporter: Joel Bernstein >Assignee: Eric Pugh >Priority: Major > Attachments: SOLR-14673.patch, SOLR-14673.patch, SOLR-14673.patch, > SOLR-14673.patch, SOLR-14673.patch > > > This ticket will provide a simple CLI that will run a Streaming Expression > from the command line and return the results as a delimited result set. This > will allow Streaming Expressions to be used from the command line to extract > data as well as load data into Solr. > Sample syntax: > {code:java} > bin/expr expr_file{code} > This will run the expression in _expr_file_. > Output will be to standard out as delimited records. > *Standard-In, Standard-out and Pipe Composition.* > The CLI can read from *standard-in* and write to *standard-out* in delimited > records. This allows Streaming Expressions to be composed using unix pipes > with other command line tools and other streaming expressions. Example syntax: > {code:java} > cat data.csv | ./bin/expr load.expr {code} > The load.expr file uses the *stndin()* function to read from standard-in and > load date to Solr. Here is a sample load.expr > {code:java} > let(cli-zkhost="localhost:9983", > > update(collection1, >parseCSV(stndin())) > {code} > In the example above the *let* expression is used to set the *cli-zkhost* and > then run the Streaming Expression: > {code:java} > update(collection1, >parseCSV(stndin()){code} > The *stndin* function reads the data from standard-in. The *parseCSV* > function parses the lines into tuples and the *update* function sends the > data to collection1 for indexing. > > *Querying Solr and Pipe Composition* > The CLI can also be used to query Solr and pipe the result to other > applications on the command line. This can automate activities like alerting, > data backup, replication etc... > > > > -- This message was sent by Atlassian Jira (v8.20.10#820010) - To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org