[
https://issues.apache.org/jira/browse/SOLR-17112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17811420#comment-17811420
]
ASF subversion and git services commented on SOLR-17112:
--------------------------------------------------------
Commit 5e2e68aaa0dd214bd708b8ab9816f2dd732235f1 in solr's branch
refs/heads/branch_9_5 from Vincenzo D'Amore
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=5e2e68aaa0d ]
SOLR-17112 - bin/solr script doesn't do ps properly on some systems (#2225)
---------
Co-authored-by: Eric Pugh <[email protected]>
> bin/solr script doesn't do ps properly on some systems
> ------------------------------------------------------
>
> Key: SOLR-17112
> URL: https://issues.apache.org/jira/browse/SOLR-17112
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools
> Affects Versions: 9.4
> Reporter: Ishan Chattopadhyaya
> Assignee: Eric Pugh
> Priority: Major
> Labels: newdev
> Fix For: main (10.0), 9.5
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> On Google's colab, the following fails:
> {code}
> !wget https://dlcdn.apache.org/solr/solr/9.4.0/solr-9.4.0.tgz && tar -xf
> solr-9.4.0.tgz && cd solr-9.4.0 && echo `pwd`
> !apt update && apt install bc -y && cd solr-9.4.0 && bin/solr stop -p 8983;
> bin/solr -c -force -Denable.packages=true
> !cd solr-9.4.0 && bin/solr package add-repo data-import-handler
> "https://raw.githubusercontent.com/searchscale/dataimporthandler/master/repo/"
> {code}
> If I add the following before the last line, it works:
> {code}
> !cat solr-9.4.0/bin/solr|sed -e 's:ps -f -p:ps -fww -p:g' > tmp; cp tmp
> solr-9.4.0/bin/solr; chmod +x solr-9.4.0/bin/solr
> {code}
> I think that extra "ww" is needed to make sure Solr works fine on all
> systems. FYI [~dep4b].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]