@@ -59,6 +59,7 @@ RUN rm -rf /hue
# Install DB connectors
RUN ./build/env/bin/pip install psycopg2-binary
+RUN ./build/env/bin/pip install redis==2.10.6
COPY tools/docker/hue/conf desktop/conf
COPY tools/docker/hue/startup.sh .
@@ -17,6 +17,11 @@ hue:
[desktop]
app_blacklist=filebrowser,oozie,search,hbase,security,jobbrowser,metastore
+ [[task_server]]
+ enabled=true
+ ## broker_url=amqp://guest:guest@127.0.0.1//
+ broker_url=redis://redis:6379/0'
+
[impala]
server_host=172.31.114.171
@@ -6,3 +6,10 @@
# How to uninstall
kubectl delete -f hue/
+# If using Workers
+ kubectl create -f celery/
+ kubectl create -f redis/
@@ -22,7 +22,13 @@ spec:
- name: config-volume
mountPath: /usr/share/hue/desktop/conf/z-hue.ini
subPath: hue-ini
+ - name: config-volume-extra
+ mountPath: /usr/share/hue/desktop/conf/zz-hue.ini
+ subPath: hue-ini
volumes:
configMap:
name: hue-config
+ configMap:
+ name: hue-config-extra
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
- name: redis-service
+ name: redis
spec:
selector:
pod: redis