File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export HEAVYAI_STORAGE=/var/lib/heavyai
1717export HEAVYAI_PATH=/opt/heavyai
1818export HEAVYAI_LOG=/var/lib/heavyai/data/mapd_log
1919
20- cd $HEAVYAI_PATH /systemd
20+ pushd $HEAVYAI_PATH /systemd
2121./install_heavy_systemd.sh
2222
2323# Press Enter multiple times.
@@ -32,7 +32,7 @@ wget --continue --progress=dot:giga 'https://datasets.clickhouse.com/hits_compat
3232pigz -d -f hits.csv.gz
3333chmod 777 ~ hits.csv
3434
35- sudo bash -c " echo 'allowed-import-paths = [\" /home/ubuntu/ \" ]' > /var/lib/heavyai/heavy.conf_"
35+ sudo bash -c " echo 'allowed-import-paths = [\" $( echo ~ ) \" ]' > /var/lib/heavyai/heavy.conf_"
3636sudo bash -c " cat /var/lib/heavyai/heavy.conf >> /var/lib/heavyai/heavy.conf_"
3737sudo bash -c " mv /var/lib/heavyai/heavy.conf_ /var/lib/heavyai/heavy.conf && chown heavyai /var/lib/heavyai/heavy.conf"
3838sudo systemctl restart heavydb
@@ -43,6 +43,7 @@ command time -f '%e' /opt/heavyai/bin/heavysql -t -p HyperInteractive <<< "COPY
4343
4444# Loaded: 99997497 recs, Rejected: 0 recs in 572.633000 secs
4545
46+ popd
4647./run.sh 2>&1 | tee log.txt
4748
4849echo -n " Data size: "
You can’t perform that action at this time.
0 commit comments