Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2979

Storage HBase doesn't support customized hbase property zookeeper.znode.parent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • 1.0.0
    • Storage - HBase
    • None

    Description

      when hbase property is set to zookeeper.znode.parent = /hbase-unsecure, we will get below erros

      org.apache.hadoop.hbase.MasterNotRunningException: org.apache.hadoop.hbase.MasterNotRunningException: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the v
      alue configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.
      at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$StubMaker.makeStub(HConnectionManager.java:1628) ~[hbase-client-0.98.7-hadoop2.jar:0.98.7-hadoop2]
      at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation$MasterServiceStubMaker.makeStub(HConnectionManager.java:1654) ~[hbase-client-0.98.7-hadoop2.jar:0.98.7-had
      oop2]
      at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getKeepAliveMasterService(HConnectionManager.java:1861) ~[hbase-client-0.98.7-hadoop2.jar:0.98.7-hadoop2]
      at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getHTableDescriptor(HConnectionManager.java:2649) ~[hbase-client-0.98.7-hadoop2.jar:0.98.7-hadoop2]
      at org.apache.hadoop.hbase.client.HBaseAdmin.getTableDescriptor(HBaseAdmin.java:397) ~[hbase-client-0.98.7-hadoop2.jar:0.98.7-hadoop2]
      at org.apache.hadoop.hbase.client.HBaseAdmin.getTableDescriptor(HBaseAdmin.java:402) ~[hbase-client-0.98.7-hadoop2.jar:0.98.7-hadoop2]
      at org.apache.drill.exec.store.hbase.DrillHBaseTable.<init>(DrillHBaseTable.java:40) ~[drill-storage-hbase-0.8.0.jar:0.8.0]
      at org.apache.drill.exec.store.hbase.HBaseSchemaFactory$HBaseSchema.getTable(HBaseSchemaFactory.java:77) [drill-storage-hbase-0.8.0.jar:0.8.0]
      at net.hydromatic.optiq.jdbc.SimpleOptiqSchema.getTable(SimpleOptiqSchema.java:75) [optiq-core-0.9-drill-r20.jar:na]
      at net.hydromatic.optiq.prepare.OptiqCatalogReader.getTableFrom(OptiqCatalogReader.java:87) [optiq-core-0.9-drill-r20.jar:na]
      at net.hydromatic.optiq.prepare.OptiqCatalogReader.getTable(OptiqCatalogReader.java:70) [optiq-core-0.9-drill-r20.jar:na]
      at net.hydromatic.optiq.prepare.OptiqCatalogReader.getTable(OptiqCatalogReader.java:42) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.EmptyScope.getTableNamespace(EmptyScope.java:67) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.IdentifierNamespace.validateImpl(IdentifierNamespace.java:75) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.AbstractNamespace.validate(AbstractNamespace.java:85) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SqlValidatorImpl.validateNamespace(SqlValidatorImpl.java:785) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SqlValidatorImpl.validateQuery(SqlValidatorImpl.java:774) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SqlValidatorImpl.validateFrom(SqlValidatorImpl.java:2605) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SqlValidatorImpl.validateFrom(SqlValidatorImpl.java:2590) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SqlValidatorImpl.validateSelect(SqlValidatorImpl.java:2813) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SelectNamespace.validateImpl(SelectNamespace.java:60) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.AbstractNamespace.validate(AbstractNamespace.java:85) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SqlValidatorImpl.validateNamespace(SqlValidatorImpl.java:785) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SqlValidatorImpl.validateQuery(SqlValidatorImpl.java:774) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.SqlSelect.validate(SqlSelect.java:211) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SqlValidatorImpl.validateScopedExpression(SqlValidatorImpl.java:748) [optiq-core-0.9-drill-r20.jar:na]
      at org.eigenbase.sql.validate.SqlValidatorImpl.validate(SqlValidatorImpl.java:464) [optiq-core-0.9-drill-r20.jar:na]
      at net.hydromatic.optiq.prepare.PlannerImpl.validate(PlannerImpl.java:174) [optiq-core-0.9-drill-r20.jar:na]
      at org.apache.drill.exec.planner.sql.handlers.DefaultSqlHandler.validateNode(DefaultSqlHandler.java:157) [drill-java-exec-0.8.0-rebuffed.jar:0.8.0]

      Attachments

        Activity

          People

            adityakishore Aditya Kishore
            yisong George Song
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: