Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A8A8517F1B for ; Sat, 24 Jan 2015 10:41:38 +0000 (UTC) Received: (qmail 29905 invoked by uid 500); 24 Jan 2015 10:41:38 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 29858 invoked by uid 500); 24 Jan 2015 10:41:38 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 29846 invoked by uid 99); 24 Jan 2015 10:41:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Jan 2015 10:41:38 +0000 Date: Sat, 24 Jan 2015 10:41:38 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11507) Hadoop RPC Authentication problem with different user locale MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-11507?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14= 290535#comment-14290535 ]=20 Hudson commented on HADOOP-11507: --------------------------------- FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #83 (See [https://builds.apa= che.org/job/Hadoop-Yarn-trunk-Java8/83/]) HADOOP-11507 Hadoop RPC Authentication problem with different user locale. = (Talat UYARER via stevel) (stevel: rev 56df5f41eb71b44894dac0b9363ed5785f00= a2c6) * hadoop-common-project/hadoop-common/CHANGES.txt * hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/secur= ity/SaslPropertiesResolver.java > Hadoop RPC Authentication problem with different user locale > ------------------------------------------------------------ > > Key: HADOOP-11507 > URL: https://issues.apache.org/jira/browse/HADOOP-11507 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 2.6.0, 2.5.2 > Reporter: Talat UYARER > Assignee: Talat UYARER > Priority: Minor > Fix For: 2.7.0 > > Attachments: HADOOP-11507.patch > > > When I try to use hadoop mapreduce framework with Turkish locale that set= default mapreduce.map.java.opts and mapreduce.reduce.java.opts to -Duser= .language=3Dtr. It throws exception.=20 > After Long research, i found a little bug in org.apache.hadoop.security.S= aslPropertiesResolver line 68. default setting of hadoop.rpc.protection is = authentication. When i make locale Turkish authentication parameter with to= UpperCase become AUTHENT=C4=B0CAT=C4=B0ON. Please attention to dotted big i= . This is a Turkish letter. It is very similar big i, it just have addition= dot. :) > IMHO who-one use upper or lowercase method for settings, it should use Lo= cale.ENGLISH. I created a patch file. But I could not test it. I can not fi= nd which tests should i run. If you show me, I will be glad. =20 > BTW I think, Hadoop Tests should be run different locale.=20 > {block} > ERROR operation.Operation: Error running hive query:=20 > org.apache.hive.service.cli.HiveSQLException: Error while processing stat= ement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.q= l.exec.mr.MapRedTask > at org.apache.hive.service.cli.operation.SQLOperation.runInternal= (SQLOperation.java:147) > at org.apache.hive.service.cli.operation.SQLOperation.access$000(= SQLOperation.java:69) > at org.apache.hive.service.cli.operation.SQLOperation$1$1.run(SQL= Operation.java:200) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:415) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroup= Information.java:1614) > at org.apache.hadoop.hive.shims.HadoopShimsSecure.doAs(HadoopShim= sSecure.java:502) > at org.apache.hive.service.cli.operation.SQLOperation$1.run(SQLOp= eration.java:213) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.= java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolEx= ecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolE= xecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > {block} > p.s. Exception is generated by a Hive query. It can be generated by any m= ap reduce job.=20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)