Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2392

merge join resutls in ERROR 2176

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2
    • impl
    • None
    • Reviewed

    Description

      This is regression for dotNext.

      a = load '/user/user1/pig/tests/data/singlefile/studenttab10k';
      b = load '/user/user1/pig/tests/data/singlefile/votertab10k';
      c = order a by $0;
      d = order b by $0;
      store c into '/user/user1/pig/out/user1.1322779146/dotNext_MergeJoin_1.out.intermediate1';
      store d into '/user/user1/pig/out/user1.1322779146/dotNext_MergeJoin_1.out.intermediate2';
      exec;
      e = load '/user/user1/pig/out/user1.1322779146/dotNext_MergeJoin_1.out.intermediate1';
      f = load '/user/user1/pig/out/user1.1322779146/dotNext_MergeJoin_1.out.intermediate2';
      g = join e by $0, f by $0 using 'merge';
      store g into '/user/user1/pig/out/user1.1322779146/dotNext_MergeJoin_1.out'

      Backend error message
      ---------------------
      AttemptID:attempt_1321041443489_3292_m_000000_0 Info:Error: org.apache.pig.backend.executionengine.ExecException: ERROR 2176: Error processing right input during merge join
      at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POMergeJoin.throwProcessingException(POMergeJoin.java:458)
      at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POMergeJoin.getNext(POMergeJoin.java:188)
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapBase.runPipeline(PigGenericMapBase.java:267)
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapBase.map(PigGenericMapBase.java:262)
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigGenericMapBase.map(PigGenericMapBase.java:64)
      at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144)
      at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:711)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:328)
      at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:147)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1152)
      at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:142)
      Caused by: java.io.IOException: Delegation Token can be issued only with kerberos or web authentication
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getDelegationToken(FSNamesystem.java:4027)
      at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getDelegationToken(NameNodeRpcServer.java:281)
      at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.hadoop.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:365)
      at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1490)
      at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1486)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1152)
      at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1484)

      at org.apache.hadoop.ipc.Client.call(Client.java:1085)
      at org.apache.hadoop.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:193)
      at $Proxy8.getDelegationToken(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:100)
      at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:65)
      at $Proxy8.getDelegationToken(Unknown Source)
      at org.apache.hadoop.hdfs.DFSClient.getDelegationToken(DFSClient.java:429)
      at org.apache.hadoop.hdfs.DistributedFileSystem.getDelegationToken(DistributedFileSystem.java:812)
      at org.apache.hadoop.hdfs.DistributedFileSystem.getDelegationTokens(DistributedFileSystem.java:839)
      at org.apache.hadoop.fs.viewfs.ChRootedFileSystem.getDelegationTokens(ChRootedFileSystem.java:311)
      at org.apache.hadoop.fs.viewfs.ViewFileSystem.getDelegationTokens(ViewFileSystem.java:490)
      at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:134)
      at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:90)
      at org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodes(TokenCache.java:83)
      at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:205)
      at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigTextInputFormat.listStatus(PigTextInputFormat.java:36)
      at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:269)
      at org.apache.pig.impl.io.ReadToEndLoader.init(ReadToEndLoader.java:154)
      at org.apache.pig.impl.io.ReadToEndLoader.<init>(ReadToEndLoader.java:137)
      at org.apache.pig.impl.builtin.DefaultIndexableLoader.initRightLoader(DefaultIndexableLoader.java:208)
      at org.apache.pig.impl.builtin.DefaultIndexableLoader.seekNear(DefaultIndexableLoader.java:192)
      at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POMergeJoin.seekInRightStream(POMergeJoin.java:410)
      at org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POMergeJoin.getNext(POMergeJoin.java:186)
      ... 11 more

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              araceli Araceli Henley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: