From issues-return-40231-archive-asf-public=cust-asf.ponee.io@tez.apache.org Thu Jan 24 04:36:07 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 410AE18066C for ; Thu, 24 Jan 2019 04:36:06 +0100 (CET) Received: (qmail 24960 invoked by uid 500); 24 Jan 2019 03:36:04 -0000 Mailing-List: contact issues-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list issues@tez.apache.org Received: (qmail 24949 invoked by uid 99); 24 Jan 2019 03:36:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jan 2019 03:36:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 657E6C270B for ; Thu, 24 Jan 2019 03:36:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id y2IZiGQGBPru for ; Thu, 24 Jan 2019 03:36:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 47D125F67C for ; Thu, 24 Jan 2019 03:36:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A2CA1E0C57 for ; Thu, 24 Jan 2019 03:36:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3ED09242AA for ; Thu, 24 Jan 2019 03:36:00 +0000 (UTC) Date: Thu, 24 Jan 2019 03:36:00 +0000 (UTC) From: "TezQA (JIRA)" To: issues@tez.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEZ-4032) TEZ will throw "Client cannot authenticate via:[TOKEN, KERBEROS]" when used with HDFS federation(non viewfs, only hdfs schema used). 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/TEZ-4032?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D167506= 82#comment-16750682 ]=20 TezQA commented on TEZ-4032: ---------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 8m 4s= {color} | {color:blue} Docker mode activated. {color} | || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0= m 0s{color} | {color:green} The patch does not contain any @author tags. {= color} | | {color:red}-1{color} | {color:red} test4tests {color} | {color:red} 0m = 0s{color} | {color:red} The patch doesn't appear to include any new or modi= fied tests. Please justify why no new tests are needed for this patch. Also= please list what manual steps were performed to verify this patch. {color}= | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}= 0m 27s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0= m 14s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}= 0m 26s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} = 0m 39s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0= m 20s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}= 0m 16s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0= m 16s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m = 16s{color} | {color:green} the patch passed {color} | | {color:orange}-0{color} | {color:orange} checkstyle {color} | {color:oran= ge} 0m 23s{color} | {color:orange} tez-api: The patch generated 13 new + 9= 71 unchanged - 1 fixed =3D 984 total (was 972) {color} | | {color:red}-1{color} | {color:red} whitespace {color} | {color:red} 0m = 0s{color} | {color:red} The patch has 1 line(s) that end in whitespace. Use= git apply --whitespace=3Dfix <>. Refer https://git-scm.com/doc= s/git-apply {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} = 0m 54s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0= m 23s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:red}-1{color} | {color:red} unit {color} | {color:red} 1m 42s{col= or} | {color:red} tez-api in the patch failed. {color} | | {color:green}+1{color} | {color:green} asflicense {color} | {color:green}= 0m 7s{color} | {color:green} The patch does not generate ASF License war= nings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 14m 32s{colo= r} | {color:black} {color} | \\ \\ || Reason || Tests || | Failed junit tests | tez.dag.api.TestTezConfiguration | \\ \\ || Subsystem || Report/Notes || | Docker | Client=3D17.05.0-ce Server=3D17.05.0-ce Image:yetus/tez:d4a62de = | | JIRA Issue | TEZ-4032 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/1295608= 2/TEZ-4032.002.patch | | Optional Tests | dupname asflicense javac javadoc unit findbugs ch= eckstyle compile | | uname | Linux aec501df3505 4.4.0-138-generic #164~14.04.1-Ubuntu SMP Fri = Oct 5 08:56:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/patchprocess/precommit/personality/provided.sh | | git revision | master / a031817 | | maven | version: Apache Maven 3.3.9 | | Default Java | 1.8.0_191 | | findbugs | v3.0.1 | | checkstyle | https://builds.apache.org/job/PreCommit-TEZ-Build/80/artifac= t/out/diff-checkstyle-tez-api.txt | | whitespace | https://builds.apache.org/job/PreCommit-TEZ-Build/80/artifac= t/out/whitespace-eol.txt | | unit | https://builds.apache.org/job/PreCommit-TEZ-Build/80/artifact/out/= patch-unit-tez-api.txt | | Test Results | https://builds.apache.org/job/PreCommit-TEZ-Build/80/test= Report/ | | Max. process+thread count | 197 (vs. ulimit of 10000) | | modules | C: tez-api U: tez-api | | Console output | https://builds.apache.org/job/PreCommit-TEZ-Build/80/con= sole | | Powered by | Apache Yetus 0.8.0 http://yetus.apache.org | This message was automatically generated. > TEZ will throw "Client cannot authenticate via:[TOKEN, KERBEROS]" when u= sed with HDFS federation(non viewfs, only hdfs schema used).=20 > -------------------------------------------------------------------------= ------------------------------------------------------------- > > Key: TEZ-4032 > URL: https://issues.apache.org/jira/browse/TEZ-4032 > Project: Apache Tez > Issue Type: Bug > Affects Versions: 0.9.1 > Reporter: zhangbutao > Priority: Major > Attachments: TEZ-4032.001.patch, TEZ-4032.002.patch > > > I execute hive tez job in HDFS federation and kerberos. The hadoop cluste= r has multiple namespace (hdfs://ns1,hdfs://ns2,hdfs://ns3 ...)and we don'= t use viewfs schema. Hive tez job will throw error as follows when the t= able is created in hdfs://ns2 (default configuration fs.defaluFS=3Dhdfs://= ns1)=EF=BC=9A > {code:java} > 2019-01-21 15:43:46,507 [WARN] [TezChild] |ipc.Client|: Exception encount= ered while connecting to the server : org.apache.hadoop.security.AccessCont= rolException: Client cannot authenticate via:[TOKEN, KERBEROS] > 2019-01-21 15:43:46,507 [INFO] [TezChild] |retry.RetryInvocationHandler|:= java.io.IOException: DestHost:destPort docker5.cmss.com:8020 , LocalHost:l= ocalPort docker1.cmss.com/10.254.10.116:0. Failed on local exception: java.= io.IOException: org.apache.hadoop.security.AccessControlException: Client c= annot authenticate via:[TOKEN, KERBEROS], while invoking ClientNamenodeProt= ocolTranslatorPB.getFileInfo over docker5.cmss.com/10.254.2.106:8020 after = 14 failover attempts. Trying to failover after sleeping for 10827ms. > 2019-01-21 15:43:57,338 [WARN] [TezChild] |ipc.Client|: Exception encount= ered while connecting to the server : org.apache.hadoop.security.AccessCont= rolException: Client cannot authenticate via:[TOKEN, KERBEROS] > 2019-01-21 15:43:57,363 [ERROR] [TezChild] |tez.MapRecordSource|: org.apa= che.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while process= ing writable (null) > =09at org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java= :568) > =09at org.apache.hadoop.hive.ql.exec.tez.MapRecordSource.processRow(MapRe= cordSource.java:92) > =09at org.apache.hadoop.hive.ql.exec.tez.MapRecordSource.pushRecord(MapRe= cordSource.java:76) > =09at org.apache.hadoop.hive.ql.exec.tez.MapRecordProcessor.run(MapRecord= Processor.java:419) > =09at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.initializeAndRunPro= cessor(TezProcessor.java:267) > =09at org.apache.hadoop.hive.ql.exec.tez.TezProcessor.run(TezProcessor.ja= va:250) > =09at org.apache.tez.runtime.LogicalIOProcessorRuntimeTask.run(LogicalIOP= rocessorRuntimeTask.java:374) > =09at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Ca= llable.java:73) > =09at org.apache.tez.runtime.task.TaskRunner2Callable$1.run(TaskRunner2Ca= llable.java:61) > =09at java.security.AccessController.doPrivileged(Native Method) > =09at javax.security.auth.Subject.doAs(Subject.java:422) > =09at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInfor= mation.java:1682) > =09at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRu= nner2Callable.java:61) > =09at org.apache.tez.runtime.task.TaskRunner2Callable.callInternal(TaskRu= nner2Callable.java:37) > =09at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36) > =09at com.google.common.util.concurrent.TrustedListenableFutureTask$Trust= edFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java= :108) > =09at com.google.common.util.concurrent.InterruptibleTask.run(Interruptib= leTask.java:41) > =09at com.google.common.util.concurrent.TrustedListenableFutureTask.run(T= rustedListenableFutureTask.java:77) > =09at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecuto= r.java:1142) > =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecut= or.java:617) > =09at java.lang.Thread.run(Thread.java:745) > Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: org.apache.h= adoop.hive.ql.metadata.HiveException: java.io.IOException: DestHost:destPor= t docker4.cmss.com:8020 , LocalHost:localPort docker1.cmss.com/10.254.10.11= 6:0. Failed on local exception: java.io.IOException: org.apache.hadoop.secu= rity.AccessControlException: Client cannot authenticate via:[TOKEN, KERBERO= S] > =09at org.apache.hadoop.hive.ql.exec.FileSinkOperator.createBucketFiles(F= ileSinkOperator.java:742) > =09at org.apache.hadoop.hive.ql.exec.FileSinkOperator.process(FileSinkOpe= rator.java:897) > =09at org.apache.hadoop.hive.ql.exec.Operator.baseForward(Operator.java:9= 95) > =09at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:941) > =09at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:928) > =09at org.apache.hadoop.hive.ql.exec.SelectOperator.process(SelectOperato= r.java:95) > =09at org.apache.hadoop.hive.ql.exec.Operator.baseForward(Operator.java:9= 95) > =09at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:941) > =09at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:928) > =09at org.apache.hadoop.hive.ql.exec.UDTFOperator.forwardUDTFOutput(UDTFO= perator.java:133) > =09at org.apache.hadoop.hive.ql.udf.generic.UDTFCollector.collect(UDTFCol= lector.java:45) > =09at org.apache.hadoop.hive.ql.udf.generic.GenericUDTF.forward(GenericUD= TF.java:110) > =09at org.apache.hadoop.hive.ql.udf.generic.GenericUDTFInline.process(Gen= ericUDTFInline.java:64) > =09at org.apache.hadoop.hive.ql.exec.UDTFOperator.process(UDTFOperator.ja= va:116) > =09at org.apache.hadoop.hive.ql.exec.Operator.baseForward(Operator.java:9= 95) > =09at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:941) > =09at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:928) > =09at org.apache.hadoop.hive.ql.exec.SelectOperator.process(SelectOperato= r.java:95) > =09at org.apache.hadoop.hive.ql.exec.Operator.baseForward(Operator.java:9= 95) > =09at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:941) > =09at org.apache.hadoop.hive.ql.exec.TableScanOperator.process(TableScanO= perator.java:125) > =09at org.apache.hadoop.hive.ql.exec.MapOperator$MapOpCtx.forward(MapOper= ator.java:153) > =09at org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java= :555) > =09... 20 more > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)