You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Geovanie Marquez <ge...@wellcentive.com> on 2013/09/23 19:16:40 UTC

Memory Implications on NameNode of creating SymLinks using FIleContext

Hi,

Symbolic Links are supported in Hadoop 2.0 using FileContext's objects
createSymLink()<http://hadoop.apache.org/docs/current/api/org/apache/hadoop/fs/FileContext.html>
 method.

I am looking at using symlinks heavily in a program that places all files
for the previous month in Hadoop Archives (HARs), but I am wondering if
using symlinks consume Namenode memory similar to having small files in
HDFS which would defeat the purpose of placing these in HARs and bring me
roundrobin to the original problem of small files.

Also, the reason I want to use symlinks is so that when the files are
HAR'ed (and as a consequence moved) I don't have to update HBase (my file
metastore) with the new file location.

What is the memory footprint of symlinks in a NameNode?

-- 
This email, including any attachments, contains information that is 
privileged, confidential, and/or otherwise exempt from disclosure under 
applicable law. If you are not the intended recipient, then any disclosure, 
dissemination, distribution, copying, or any other use of this 
communication or its contents is prohibited. If you have received this 
email in error, please notify the sender immediately and destroy all 
electronic and hard copies of this email and its attachments.