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

Hitesh Shah commented on MAPREDUCE-3709:
----------------------------------------

@Eli, I don't have a rhel6 host to try and reproduce this and a rhel5 host does 
not show this issue. 

Yarn already has fixes in place for malloc arena when running a proper cluster 
( yarn-config.sh sets it if not set and yarn sets malloc_arena_max ( if present 
in the node manager's env ) into the application's env unless its overridden by 
the user's config. [ Refer to ContainerLaunch#sanitiveEnv, 
YarnConfiguration.NM_ADMIN_USER_ENV and 
YarnConfiguration.DEFAULT_NM_ADMIN_USER_ENV).

One option to try and fix the test in your case would be change the pom file to 
have this:

{quote}
@@ -104,6 +104,7 @@
         <configuration>
           <environmentVariables>
             <JAVA_HOME>${java.home}</JAVA_HOME>
+            <MALLOC_ARENA_MAX>4</MALLOC_ARENA_MAX>
           </environmentVariables>
        </configuration>
       </plugin>
{quote}

Could you try the above change and see if it resolves the test failure in your 
env? The above change will result in launch_container.sh setting the malloc 
arena max value to 4. 

                
> TestDistributedShell is failing
> -------------------------------
>
>                 Key: MAPREDUCE-3709
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3709
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2, test
>    Affects Versions: 0.23.1
>            Reporter: Eli Collins
>            Priority: Blocker
>
> TestDistributedShell#testDSShell is failing the assert on line 90 on 
> branch-23.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to