Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dav-ell opened this issue Feb 15, 2020 · 0 comments
Open

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

dav-ell opened this issue Feb 15, 2020 · 0 comments

Comments

@dav-ell
Copy link

dav-ell commented Feb 15, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant