A fix for 0.23 local mode: put "yarn-default.xml" into the configuration
------------------------------------------------------------------------

                 Key: PIG-2415
                 URL: https://issues.apache.org/jira/browse/PIG-2415
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: 0.10, 0.9.2, 0.11
            Reporter: Daniel Dai
            Assignee: Daniel Dai
             Fix For: 0.10, 0.9.2, 0.11


Otherwise I get:

Caused by: java.io.IOException: Can't get JobTracker Kerberos principal for use 
as renewer
        at 
org.apache.hadoop.mapreduce.security.TokenCache.obtainTokensForNamenodesInternal(TokenCache.java:106)
        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.output.FileOutputFormat.checkOutputSpecs(FileOutputFormat.java:137)
        at 
org.apache.pig.newplan.logical.rules.InputOutputFileValidator$InputOutputFileVisitor.visit(InputOutputFileValidator.java:80)
        ... 24 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to