mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-06 08:11:54 +00:00
update hive
This commit is contained in:
parent
d91eb0185b
commit
072b9f1da0
@ -1,11 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
## replace config
|
||||
: ${EXTRA_CONF_DIR:=/config/hive}
|
||||
|
||||
if [ -d "$EXTRA_CONF_DIR" ]; then
|
||||
cp $EXTRA_CONF_DIR/* /usr/local/hive/conf
|
||||
fi
|
||||
test -d /config/hadoop && cp /config/hadoop/* /usr/local/hadoop/etc/hadoop/
|
||||
test -d /config/hive && cp /config/hive/* /usr/local/hive/conf/
|
||||
|
||||
hive --service metastore
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user