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

Wenxin He commented on MAPREDUCE-6921:
--------------------------------------

Thanks for your updating, [~Sonia].
One more nit: would you please indent two spaces per level like this, according 
to 
[HowToContribute|https://wiki.apache.org/hadoop/HowToContribute#Making_Changes]'s
 "Making Changes" section?


{noformat}
   static {
-    ((Log4JLogger) Client.LOG).getLogger().setLevel(Level.ALL);
-    ((Log4JLogger) Server.LOG).getLogger().setLevel(Level.ALL);
-    ((Log4JLogger) SaslRpcClient.LOG).getLogger().setLevel(Level.ALL);
-    ((Log4JLogger) SaslRpcServer.LOG).getLogger().setLevel(Level.ALL);
-    ((Log4JLogger) SaslInputStream.LOG).getLogger().setLevel(Level.ALL);
+    GenericTestUtils.setLogLevel(Client.LOG, Level.TRACE);
+    GenericTestUtils.setLogLevel(Server.LOG, Level.TRACE);
+    GenericTestUtils.setLogLevel(SaslRpcClient.LOG, Level.TRACE);
+    GenericTestUtils.setLogLevel(SaslRpcServer.LOG, Level.TRACE);
+    GenericTestUtils.setLogLevel(SaslInputStream.LOG, Level.TRACE);
   }
{noformat}

> TestUmbilicalProtocolWithJobToken#testJobTokenRpc test fails in trunk
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-6921
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6921
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 3.0.0-beta1
>         Environment: Ubuntu 14.04 
> x86, ppc64le
> $ java -version
> openjdk version "1.8.0_111"
> OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
> OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
>            Reporter: Sonia Garudi
>            Assignee: Sonia Garudi
>         Attachments: MAPREDUCE-6921.patch
>
>
> The test fails consistently without the error below :
> {code}
> java.lang.ExceptionInInitializerError: null
>       at 
> org.apache.hadoop.mapreduce.security.TestUmbilicalProtocolWithJobToken.<clinit>(TestUmbilicalProtocolWithJobToken.java:76)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to