Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7768

zkcluster in local mode not seeing configurations in hbase-{site|default}.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.6, 0.95.0
    • 0.94.6, 0.95.0
    • None
    • None
    • Reviewed

    Description

      in case of local mode we are creating mini zk cluster with default constructor

            if (LocalHBaseCluster.isLocal(conf)) {
              final MiniZooKeeperCluster zooKeeperCluster =
                new MiniZooKeeperCluster();
      
        public MiniZooKeeperCluster() {
          this(new Configuration());
        }
      

      which is not reading any configurations in hbase-site|default.xml

      I think we can pass configuration object to MiniZooKeeperCluster

      Attachments

        1. HBASE-7768.patch
          0.9 kB
          rajeshbabu
        2. HBASE-7768_2.patch
          2 kB
          rajeshbabu

        Activity

          People

            rajesh23 rajeshbabu
            rajesh23 rajeshbabu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: