LoginSignup
3
3

More than 5 years have passed since last update.

embulkのtemporary dirctoryを変更する

Posted at

embulkのテンポラリディレクトリとしてjava.io.tmpdirを参照している。
そのため、下記のコマンドで変更可能。

embulk "-J -Djava.io.tmpdir=tmp/" run test.yml

実行中はjrubyのファイルとかができる

[tmp] ls
jruby-51186              

それとは別にplugin側でテンポラリディレクトリを持つことがある。

例えば、embulk-output-td: https://github.com/treasure-data/embulk-output-td#configuration
tmpdir: temporal directory (string, optional) if set to null, plugin will use directory that could get from System.property

参照するパラメータ違うため、別途yml内で指定する必要がある。

3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3