Absolute path only to var/lib/heavyai/storage/Import

Comments

3 comments

  • Avatar
    Candido Dessanti

    Hi,

    You need to enclose the parameter contents with single quotes to change the allowed import/export paths from the cli.

    heavydb --data /opt/mapd_storage/ --allowed-import-paths='["/myimport_path"]' --num-gpu=2

    As you noticed, the import and export directories in the data directory are turned on by default.

    Bests,
    Candido

    0
    Comment actions Permalink
  • Avatar
    Иван Л

    Hello, Where should I paste this text? 

    heavydb --data /opt/mapd_storage/ --allowed-import-paths='["/myimport_path"]' --num-gpu=2

    0
    Comment actions Permalink
  • Avatar
    Candido Dessanti

    This configuration is used when you are running the database thru a prompt.

    If you use the database in a docker container or the systemctl, you should add thios parameter in the heavy.conf file.

    Adding the 

    allowed-import-paths=["/myimport_path"]

    should do the trick

    Candido

    0
    Comment actions Permalink

Please sign in to leave a comment.