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
|
#!/bin/bash
|
||||||
|
|
||||||
## replace config
|
## replace config
|
||||||
: ${EXTRA_CONF_DIR:=/config/hive}
|
test -d /config/hadoop && cp /config/hadoop/* /usr/local/hadoop/etc/hadoop/
|
||||||
|
test -d /config/hive && cp /config/hive/* /usr/local/hive/conf/
|
||||||
if [ -d "$EXTRA_CONF_DIR" ]; then
|
|
||||||
cp $EXTRA_CONF_DIR/* /usr/local/hive/conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
hive --service metastore
|
hive --service metastore
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user