hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brahma Reddy Battula (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8034) Add comment/docs to enable assertions in hadoop-env.sh
Date Fri, 08 May 2015 12:28:00 GMT

    [ 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)

Mime
View raw message