Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit e5dbc48

Browse files
authored
Remove HBase code (#179)
1 parent c632d91 commit e5dbc48

5 files changed

Lines changed: 2 additions & 282 deletions

File tree

Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
FROM openjdk:8
22

3-
# Versions of spark + hbase to use for our testing environment
4-
ENV SPARK_VERSION=2.0.2 \
5-
HBASE_VERSION=1.2.3
3+
ENV SPARK_VERSION=2.0.2
64

75
# install gcc
86
RUN apt-get update --fix-missing && \
@@ -24,10 +22,6 @@ RUN hash -r && \
2422
# RUN conda update -q conda && \
2523
conda info -a # Useful for debugging any issues with conda
2624

27-
# install hbase
28-
RUN wget -nv https://archive.apache.org/dist/hbase/$HBASE_VERSION/hbase-$HBASE_VERSION-bin.tar.gz && \
29-
tar -zxf hbase-$HBASE_VERSION-bin.tar.gz
30-
3125
# build + activate conda environment
3226
COPY ./environment.yml /python_moztelemetry/
3327
RUN conda env create -f /python_moztelemetry/environment.yml

moztelemetry/hbase.py

Lines changed: 0 additions & 173 deletions
This file was deleted.

runtests.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ if [ ! -f /.dockerenv ]; then
1010
exit $?
1111
fi
1212

13-
# Start hbase
14-
/hbase-$HBASE_VERSION/bin/start-hbase.sh
15-
/hbase-$HBASE_VERSION/bin/hbase-daemon.sh start thrift
16-
1713
# Run tests
1814
if [ $# -gt 0 ]; then
1915
ARGS="$@"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
install_requires=['boto', 'boto3', 'ujson', 'requests', 'protobuf',
1919
'expiringdict', 'functools32', 'futures', 'py4j',
2020
'pandas>=0.14.1', 'numpy>=1.8.2',
21-
'happybase>=1.1.0', 'PyYAML', 'python-snappy'],
21+
'PyYAML', 'python-snappy'],
2222
setup_requires=['pytest-runner', 'setuptools_scm'],
2323
# put pytest last to workaround this bug
2424
# https://bitbucket.org/pypa/setuptools/issues/196/tests_require-pytest-pytest-cov-breaks

tests/test_hbase.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)