Solr
  1. Solr
  2. SOLR-3611

We do not show ZooKeeper data in the UI for a node that has children.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0, 6.0
    • Component/s: SolrCloud, web gui
    • Labels:
      None

      Description

      There is sometimes useful data at these nodes.

      For example, /collections/collection1 will have children nodes, but it also has data as well - some json that links the collection to the config name.

        Activity

        Hide
        Hoss Man added a comment -

        bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment

        Show
        Hoss Man added a comment - bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment
        Hide
        Robert Muir added a comment -

        rmuir20120906-bulk-40-change

        Show
        Robert Muir added a comment - rmuir20120906-bulk-40-change
        Hide
        Yonik Seeley added a comment -

        It looks like the data should be returned by the /zookeeper handler, so it looks like we just need a fix to the UI.

        curl "$URL/zookeeper?detail=true&path=/collections/collection1"

        {"znode":{
            "path":"/collections/collection1","prop":{
              "version":0,
              "aversion":0,
              "children_count":2,
              "ctime":"Mon Sep 03 15:17:42 EDT 2012 (1346699862200)",
              "cversion":2,
              "czxid":109,
              "dataLength":23,
              "ephemeralOwner":0,
              "mtime":"Mon Sep 03 15:17:42 EDT 2012 (1346699862200)",
              "mzxid":109,
              "pzxid":126},
            "data":"{\"configName\":\"myconf\"}"},"tree":[{"data":{
        
        Show
        Yonik Seeley added a comment - It looks like the data should be returned by the /zookeeper handler, so it looks like we just need a fix to the UI. curl "$URL/zookeeper?detail=true&path=/collections/collection1" { "znode" :{ "path" : "/collections/collection1" , "prop" :{ "version" :0, "aversion" :0, "children_count" :2, "ctime" : "Mon Sep 03 15:17:42 EDT 2012 (1346699862200)" , "cversion" :2, "czxid" :109, "dataLength" :23, "ephemeralOwner" :0, "mtime" : "Mon Sep 03 15:17:42 EDT 2012 (1346699862200)" , "mzxid" :109, "pzxid" :126}, "data" : "{\" configName\ ":\" myconf\ "}" }, "tree" :[{ "data" :{
        Hide
        Mark Miller added a comment -

        I'll commit a fix for this in a moment - looks like it simply does not show the data pane if children > 0 and if we simply remove that check, things are fine.

        Show
        Mark Miller added a comment - I'll commit a fix for this in a moment - looks like it simply does not show the data pane if children > 0 and if we simply remove that check, things are fine.
        Hide
        Uwe Schindler added a comment -

        Closed after release.

        Show
        Uwe Schindler added a comment - Closed after release.

          People

          • Assignee:
            Mark Miller
            Reporter:
            Mark Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development