[Hadoop] Menghapus Temporary Dir


import org.apache.hadoop.fs.Path;
import org.apache.hadoop.conf.Configuration;
        try {
            Path tmp= new Path(conf.get("hadoop.tmp.dir"));
            tmp.getFileSystem(conf).delete(tmp, true);
            } catch(Exception e) {
               
            }

  1. ilmu yang sangat bermanfaat mbak.. makasih :D

  1. Belum ada trackback.

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.

Bergabunglah dengan 1.383 pengikut lainnya.