You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2015/08/04 11:31:05 UTC

[jira] [Commented] (SOLR-7847) Implement the logic that runs examples in Java instead of in OS specific scripts (bin/solr and bin/solr.cmd)

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

Jan Høydahl commented on SOLR-7847:
-----------------------------------

(/) Applied the patch to trunk
(/) Ran techproducts example
(/) Quick inspection of patch

(x) Ran cloud example with non-default answers to all prompts
The cloud example works, but the patch version is much more verbose than the current one, it adds this printout after starting each cloud node:
{noformat}
Checking status of Solr at http://localhost:9876/solr ...

Solr is running in cloud mode with status:
{
  "solr_home":"/Users/janhoy/workspace/trunk_6x_A/solr/example/cloud/node1/solr/",
  "version":"6.0.0-SNAPSHOT 1694016M - janhoy - 2015-08-04 11:07:18",
  "startTime":"2015-08-04T09:26:46.716Z",
  "uptime":"0 days, 0 hours, 0 minutes, 10 seconds",
  "memory":"59.8 MB (%12.2) of 490.7 MB",
  "cloud":{
    "ZooKeeper":"localhost:10876",
    "liveNodes":"1",
    "collections":"1"},
  "baseUrl":"http://localhost:9876/solr"}
{noformat}
I don't think that verbose output is helpful for people trying Solr for the first time - it takes up screen space and looks "complex". Suggest you skip it and keep the output as it is today.


All on OSX

> Implement the logic that runs examples in Java instead of in OS specific scripts (bin/solr and bin/solr.cmd)
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-7847
>                 URL: https://issues.apache.org/jira/browse/SOLR-7847
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>            Reporter: Timothy Potter
>            Assignee: Timothy Potter
>         Attachments: SOLR-7847.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Off-shoot from SOLR-7043 to tackle the specific task of moving the logic that runs the examples (cloud, techproducts, etc) to Java code instead of complex OS-specific scripts.
> This is only one small step along the way to get SOLR-7043 resolved.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org