Skip to content

hbase-site.xml makes container non-restartable #9

Description

@dav-ell

First of all, great repo! It does everything I need, even after all these years.

The hbase-site.xml that comes with this repository, however, has a bug here:

  <property>
    <name>hbase.rootdir</name>
    <value>file:///data/hbase</value>
  </property>
  <property>
    <name>hbase.zookeeper.property.dataDir</name>
    <value>file:///data/hbase/zookeeper</value>
  </property>

For some reason, when I exec into the container, I see my data saved at /data/hbase, as expected, but the zookeeper info is saved at "file:/data/hbase/zookeeper". It's very odd, but because of that, when the container shuts down and I go to restart it, it doesn't work. The fix is just to change it to this:

  <property>
    <name>hbase.rootdir</name>
    <value>/data/hbase</value>
  </property>
  <property>
    <name>hbase.zookeeper.property.dataDir</name>
    <value>/data/hbase/zookeeper</value>
  </property>

Any chance of this getting fixed in the repo and updated on docker hub? Or do I need to fork the repo and do it myself under my user?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions