hadoop-common-issues mailing list archives

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

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

Allen Wittenauer commented on HADOOP-8034:

Hmm. I don't think HADOOP_JAVA_PLATFORM_OPTS is actually supported by any code anymore...
So this should probably be similar to the examples we have for GC.

> 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

View raw message