[
https://issues.apache.org/jira/browse/FLUME-2337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917982#comment-13917982
]
Ashish Paliwal commented on FLUME-2337:
---------------------------------------
Would be worth setting JAVA_HOME, if not already set. Can use following for
setting
export JAVA_HOME=${/usr/libexec/java_home}
I think the reason for small Heap was to keep the Agent footprint smaller,
Flume Dev can confirm on this setting
> export JAVA_HOME in flume-env.sh.template
> -----------------------------------------
>
> Key: FLUME-2337
> URL: https://issues.apache.org/jira/browse/FLUME-2337
> Project: Flume
> Issue Type: Bug
> Components: Configuration, Shell
> Affects Versions: v1.4.0
> Reporter: Roshan Naik
> Assignee: Roshan Naik
> Attachments: FLUME-2337.patch
>
>
> JAVA_HOME is set but not exported currently in flume-env.template
> When this is not exported, the invocation of 'hadoop GetJavaProperty' in
> startup script, it runs into JAVA_HOME not set error followed by
> ClassNotFoundException.
--
This message was sent by Atlassian JIRA
(v6.2#6252)