smizy / docker-hbase Goto Github PK
View Code? Open in Web Editor NEWApache HBase docker image based on alpine
License: Other
Apache HBase docker image based on alpine
License: Other
Thanks for providing the container! After pulling the image we notice that hbase.regionserver.thrift.framed
is set to False
in hbase-default.xml
.
However, the HBase official document and Cloudera troubleshooting page recommends to set hbase.regionserver.thrift.framed
and hbase.regionserver.thrift.compact
to True
:
This is the recommended transport for thrift servers and requires a similar setting on the client side. Changing this to false will select the default transport, vulnerable to DoS when malformed requests are issued due to THRIFT-601.
To prevent the possibility of crashes due to buffer overruns, use the framed and compact transport protocols by setting hbase.regionserver.thrift.framed and hbase.regionserver.thrift.compact to true in hbase-site.xml.
Maybe it's better to enable these two parameters? Thank you!
Hello @smizy,
Thanks for sharing!
The volume_from
is not supported in docker-compose 3.x version.
I tried to replace volume_from
:
namenode-1:
container_name: namenode-1
networks: ["vnet"]
hostname: namenode-1.vnet
image: smizy/hadoop-base:2.7.3-alpine
expose: ["8020"]
ports: ["50070"]
environment:
- SERVICE_8020_NAME=namenode
- SERVICE_50070_IGNORE=true
- HADOOP_ZOOKEEPER_QUORUM=zookeeper-1.vnet:2181
- HADOOP_HEAPSIZE=1000
- HADOOP_NAMENODE_HA=
entrypoint: entrypoint.sh
volumes:
- namenode:/usr/local/hadoop-2.7.3
command: namenode-1
hmaster-1:
container_name: hmaster-1
networks: ["vnet"]
hostname: hmaster-1.vnet
image: smizy/hbase:1.2.6-alpine
expose: [16000]
ports: [16010]
depends_on: ["zookeeper-1"]
environment:
- SERVICE_16000_NAME=hmaster
- SERVICE_16010_IGNORE=true
- HBASE_ZOOKEEPER_QUORUM=zookeeper-1.vnet:2181
volumes:
- namenode:/usr/local/hadoop-2.7.3
command: hmaster-1
volumes:
namenode:
And I got this error :
namenode-1 | ls: /usr/local/hadoop-2.7.3/etc/hadoop/*.mustache: No such file or directory
namenode-1 | su-exec: hdfs: No such file or directory
Do you have any idea?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.