Grokbase Groups Lucene dev June 2016
FAQ
[ https://issues.apache.org/jira/browse/SOLR-8801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Rowe reopened SOLR-8801:
------------------------------

Reopening to backport to 5.6 and 5.5.2.
/bin/solr create script always returns exit code 0
---------------------------------------------------

Key: SOLR-8801
URL: https://issues.apache.org/jira/browse/SOLR-8801
Project: Solr
Issue Type: Bug
Components: scripts and tools, SolrCloud
Affects Versions: 5.4, 5.5
Reporter: Khalid Alharbi
Assignee: Steve Rowe
Priority: Minor
Fix For: 6.0.1, 6.1, master (7.0)

Attachments: SOLR_8801.patch, SOLR_8801.patch

Original Estimate: 1m
Remaining Estimate: 1m

/bin/solr create collection script always returns exit code 0 when a collection already exists (solrCloud mode).
version 5.1 returns exit code 1 but I just noticed that versions 5.4.0 and 5.5.0 returns 0
$ solr create -c my-collection -p 8983
Connecting to ZooKeeper at localhost:9983 ...
Re-using existing configuration directory my-collection
ERROR:
Collection 'my-collection' already exists!
Checked collection existence using Collections API command:
http://localhost:8983/solr/admin/collections?action=list
$ echo $?


--
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

Search Discussions

  • ASF subversion and git services (JIRA) at Jun 17, 2016 at 9:53 pm
    [ https://issues.apache.org/jira/browse/SOLR-8801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15337049#comment-15337049 ]

    ASF subversion and git services commented on SOLR-8801:
    -------------------------------------------------------

    Commit f249b61dcb3e36a75bb75115a3fc3c8daa969721 in lucene-solr's branch refs/heads/branch_5_5 from [~steve_rowe]
    [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f249b61 ]

    SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists

    /bin/solr create script always returns exit code 0
    ---------------------------------------------------

    Key: SOLR-8801
    URL: https://issues.apache.org/jira/browse/SOLR-8801
    Project: Solr
    Issue Type: Bug
    Components: scripts and tools, SolrCloud
    Affects Versions: 5.4, 5.5
    Reporter: Khalid Alharbi
    Assignee: Steve Rowe
    Priority: Minor
    Fix For: 5.6, 6.0.1, 6.1, 5.5.2, master (7.0)

    Attachments: SOLR_8801.patch, SOLR_8801.patch

    Original Estimate: 1m
    Remaining Estimate: 1m

    /bin/solr create collection script always returns exit code 0 when a collection already exists (solrCloud mode).
    version 5.1 returns exit code 1 but I just noticed that versions 5.4.0 and 5.5.0 returns 0
    $ solr create -c my-collection -p 8983
    Connecting to ZooKeeper at localhost:9983 ...
    Re-using existing configuration directory my-collection
    ERROR:
    Collection 'my-collection' already exists!
    Checked collection existence using Collections API command:
    http://localhost:8983/solr/admin/collections?action=list
    $ echo $?


    --
    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
  • ASF subversion and git services (JIRA) at Jun 17, 2016 at 9:53 pm
    [ https://issues.apache.org/jira/browse/SOLR-8801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15337050#comment-15337050 ]

    ASF subversion and git services commented on SOLR-8801:
    -------------------------------------------------------

    Commit 77e7fbbaa37223e91f2adae9829ef48c689286ea in lucene-solr's branch refs/heads/branch_5x from [~steve_rowe]
    [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=77e7fbb ]

    SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists

    /bin/solr create script always returns exit code 0
    ---------------------------------------------------

    Key: SOLR-8801
    URL: https://issues.apache.org/jira/browse/SOLR-8801
    Project: Solr
    Issue Type: Bug
    Components: scripts and tools, SolrCloud
    Affects Versions: 5.4, 5.5
    Reporter: Khalid Alharbi
    Assignee: Steve Rowe
    Priority: Minor
    Fix For: 5.6, 6.0.1, 6.1, 5.5.2, master (7.0)

    Attachments: SOLR_8801.patch, SOLR_8801.patch

    Original Estimate: 1m
    Remaining Estimate: 1m

    /bin/solr create collection script always returns exit code 0 when a collection already exists (solrCloud mode).
    version 5.1 returns exit code 1 but I just noticed that versions 5.4.0 and 5.5.0 returns 0
    $ solr create -c my-collection -p 8983
    Connecting to ZooKeeper at localhost:9983 ...
    Re-using existing configuration directory my-collection
    ERROR:
    Collection 'my-collection' already exists!
    Checked collection existence using Collections API command:
    http://localhost:8983/solr/admin/collections?action=list
    $ echo $?


    --
    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
  • Steve Rowe (JIRA) at Jun 17, 2016 at 9:53 pm
    [ https://issues.apache.org/jira/browse/SOLR-8801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Steve Rowe resolved SOLR-8801.
    ------------------------------
            Resolution: Fixed
         Fix Version/s: 5.5.2
                        5.6
    /bin/solr create script always returns exit code 0
    ---------------------------------------------------

    Key: SOLR-8801
    URL: https://issues.apache.org/jira/browse/SOLR-8801
    Project: Solr
    Issue Type: Bug
    Components: scripts and tools, SolrCloud
    Affects Versions: 5.4, 5.5
    Reporter: Khalid Alharbi
    Assignee: Steve Rowe
    Priority: Minor
    Fix For: 5.6, 5.5.2, master (7.0), 6.1, 6.0.1

    Attachments: SOLR_8801.patch, SOLR_8801.patch

    Original Estimate: 1m
    Remaining Estimate: 1m

    /bin/solr create collection script always returns exit code 0 when a collection already exists (solrCloud mode).
    version 5.1 returns exit code 1 but I just noticed that versions 5.4.0 and 5.5.0 returns 0
    $ solr create -c my-collection -p 8983
    Connecting to ZooKeeper at localhost:9983 ...
    Re-using existing configuration directory my-collection
    ERROR:
    Collection 'my-collection' already exists!
    Checked collection existence using Collections API command:
    http://localhost:8983/solr/admin/collections?action=list
    $ echo $?


    --
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieslucene
postedJun 17, '16 at 9:52p
activeJun 17, '16 at 9:53p
posts4
users1
websitelucene.apache.org

1 user in discussion

Steve Rowe (JIRA): 4 posts

People

Translate

site design / logo © 2019 Grokbase