mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-15 10:26:44 +00:00
add hive
This commit is contained in:
14
hive/2.1.1/bootstrap.sh
Executable file
14
hive/2.1.1/bootstrap.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# setup hadoop
|
||||
bash /etc/start_hadoop.sh -bash
|
||||
|
||||
hive --service metastore
|
||||
|
||||
if [[ $1 == "-d" ]]; then
|
||||
while true; do sleep 1000; done
|
||||
fi
|
||||
|
||||
if [[ $1 == "-bash" ]]; then
|
||||
/bin/bash
|
||||
fi
|
||||
Reference in New Issue
Block a user