hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4650) local.cache.size is set to 10 GB, while DEFAULT_CACHE_SIZE is set to 1 MB
Date Thu, 13 Nov 2008 08:14:44 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-4650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647222#action_12647222
] 

Amareshwari Sriramadasu commented on HADOOP-4650:
-------------------------------------------------

Dont know whether DEFAULT_CACHE_SIZE is set to 1 MB purposefully. 

Comments on the patch:
1. The change in Changes.txt will be done by the committer. Patch need not do it. 
2. Changes done in DistributedCache doesn't look necessary. The change required would be 
{code}
-  private static final long DEFAULT_CACHE_SIZE = 1048576L;
+  private static final long DEFAULT_CACHE_SIZE = 10737418240L;
{code}

> local.cache.size is set to 10 GB, while DEFAULT_CACHE_SIZE is set to 1 MB
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-4650
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4650
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: filecache
>            Reporter: Jeff Hammerbacher
>            Priority: Trivial
>         Attachments: HADOOP-4650.patch
>
>
> In filecache.DistributedCache.java, the constant DEFAULT_CACHE_SIZE is set to 1 MB, while
the value of local.cache.size in conf/hadoop-default.xml is 10 GB. I'm assuming these two
values should be consistent, and that 10 GB is the appropriate value.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message