You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2015/05/08 14:28:00 UTC

[jira] [Commented] (HADOOP-8034) Add comment/docs to enable assertions in hadoop-env.sh

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

Brahma Reddy Battula commented on HADOOP-8034:
----------------------------------------------

Added the initial Patch..I think, I need to add to hadoop-env.cmd also..

> Add comment/docs to enable assertions in hadoop-env.sh
> ------------------------------------------------------
>
>                 Key: HADOOP-8034
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8034
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: conf, scripts
>    Affects Versions: 2.7.0
>            Reporter: Eli Collins
>            Assignee: Brahma Reddy Battula
>              Labels: newbie
>         Attachments: HADOOP-8034.patch
>
>
> For testing it's useful to enable jvm assertions.   Let's add a commented out line to hadoop-env.sh that sets the "-enableassertions" and "-enablesystemassertions" jvm options to make it easier to run "debug" builds. Per HADOOP-8033 perhaps this should be HADOOP_JAVA_PLATFORM_OPTS.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)