You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by kartheek muthyala <ka...@gmail.com> on 2011/11/30 18:25:58 UTC

Directories in the volume

Hi all,
When we set the hadoop configuration, we specify a storage directory path.
Once we start running the cluster, we see some directories getting created
inside that specified path.
Current, Detach, tmp, storage.
1. Current directory is the actual storage directory, which is in
accordance with the namespace of the datanode.
2. tmp directory is a temporary directory used for creating Blocks
temporarily in this directory. And when finalized these blocks are moved to
current directory.
3. storage is a file which encodes the storageID of the volume.
*4. Detach:Any idea why this directory is maintained?*
*
*
Correct me, if i am wrong in interpreting the functionality's of the other
directories.

Thanks,
Kartheek.

Directories in the volume

Posted by kartheek muthyala <ka...@gmail.com>.
Hi all,
When we set the hadoop configuration, we specify a storage directory path.
Once we start running the cluster, we see some directories getting created
inside that specified path.
Current, Detach, tmp, storage.
1. Current directory is the actual storage directory, which is in
accordance with the namespace of the datanode.
2. tmp directory is a temporary directory used for creating Blocks
temporarily in this directory. And when finalized these blocks are moved to
current directory.
3. storage is a file which encodes the storageID of the volume.
*4. Detach:Any idea why this directory is maintained?*
*
*
Correct me, if i am wrong in interpreting the functionality's of the other
directories.

Thanks,
Kartheek.

Directories in the volume

Posted by kartheek muthyala <ka...@gmail.com>.
Hi all,
When we set the hadoop configuration, we specify a storage directory path.
Once we start running the cluster, we see some directories getting created
inside that specified path.
Current, Detach, tmp, storage.
1. Current directory is the actual storage directory, which is in
accordance with the namespace of the datanode.
2. tmp directory is a temporary directory used for creating Blocks
temporarily in this directory. And when finalized these blocks are moved to
current directory.
3. storage is a file which encodes the storageID of the volume.
*4. Detach:Any idea why this directory is maintained?*
*
*
Correct me, if i am wrong in interpreting the functionality's of the other
directories.

Thanks,
Kartheek.