Chukwa
  1. Chukwa
  2. CHUKWA-566

HBaseWriter does not set hbase.zookeeper.quorum properly

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      In my collector configs I set hbase.zookeeper.quorum to something other than localhost and it does not get picked up by HBaseWriter when using HBase 0.90.0-rc1. In the constructor something like this must be done:

      hconf = HBaseConfiguration.create();
      hconf.set("hbase.zookeeper.quorum", conf.get("hbase.zookeeper.quorum"));
      

        Activity

        Hide
        Bill Graham added a comment -

        Committed.

        Show
        Bill Graham added a comment - Committed.
        Hide
        Bill Graham added a comment -

        Agreed, the hbase-site.xml approach is cleaner. I verified that this approach works with the collector.

        I've added a step to do this in the QuickStart wiki and patch 1 removes that block from conf/chukwa-collector-conf.xml.template. Will commit shortly.

        Show
        Bill Graham added a comment - Agreed, the hbase-site.xml approach is cleaner. I verified that this approach works with the collector. I've added a step to do this in the QuickStart wiki and patch 1 removes that block from conf/chukwa-collector-conf.xml.template. Will commit shortly.
        Hide
        Eric Yang added a comment -

        hbase.zookeeper.quorum should be pick up from hbase-site.xml on the classpath to avoid having hbase.zookeeper.quorum in chukwa-collector-conf.xml. If the classpath approach works, we should remove the hbase.zookeeper.quorum from the template file.

        Show
        Eric Yang added a comment - hbase.zookeeper.quorum should be pick up from hbase-site.xml on the classpath to avoid having hbase.zookeeper.quorum in chukwa-collector-conf.xml. If the classpath approach works, we should remove the hbase.zookeeper.quorum from the template file.

          People

          • Assignee:
            Bill Graham
            Reporter:
            Bill Graham
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development