mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 08:31:55 +00:00
15 lines
195 B
Bash
Executable File
15 lines
195 B
Bash
Executable File
#!/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
|