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

Make scalar work for secure hadoop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • impl
    • None
    • Reviewed

    Description

      Error message:
      open file
      'hdfs://gsbl90890.blue.ygrid.yahoo.com/tmp/temp851711738/tmp727366271'; error =
      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:4975)
      at
      org.apache.hadoop.hdfs.server.namenode.NameNode.getDelegationToken(NameNode.java:432)
      at sun.reflect.GeneratedMethodAccessor22.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.RPC$Server.call(RPC.java:523) at
      org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1301) at
      org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1297) 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:1062)
      at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1295) at
      org.apache.pig.impl.builtin.ReadScalars.exec(ReadScalars.java:66) at
      org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.getNext(POUserFunc.java:229)
      at
      org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POUserFunc.getNext(POUserFunc.java:313)
      at
      org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POCast.getNext(POCast.java:448)
      at
      org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.POCast.getNext(POCast.java:441)
      at
      org.apache.pig.backend.hadoop.executionengine.physicalLayer.expressionOperators.Divide.getNext(Divide.java:72)
      at
      org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POForEach.processPlan(POForEach.java:358)
      at
      org.apache.pig.backend.hadoop.executionengine.physicalLayer.relationalOperators.POForEach.getNext(POForEach.java:291)
      at
      org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase.runPipeline(PigMapBase.java:236)
      at
      org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase.map(PigMapBase.java:231)
      at
      org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigMapBase.map(PigMapBase.java:53)
      at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144) at
      org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:638) at
      org.apache.hadoop.mapred.MapTask.run(MapTask.java:314) at
      org.apache.hadoop.mapred.Child$4.run(Child.java:217) 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:1062)
      at org.apache.hadoop.mapred.Child.main(Child.java:211)

      Attachments

        1. PIG-1601-1.patch
          2 kB
          Daniel Dai

        Issue Links

          Activity

            People

              daijy Daniel Dai
              daijy Daniel Dai
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: