pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew C. Oliver (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-4156) [PATCH] fix NPE when running scripts stored on hdfs://
Date Fri, 05 Sep 2014 22:14:28 GMT
Andrew C. Oliver created PIG-4156:
-------------------------------------

             Summary: [PATCH] fix NPE when running scripts stored on hdfs://
                 Key: PIG-4156
                 URL: https://issues.apache.org/jira/browse/PIG-4156
             Project: Pig
          Issue Type: Bug
          Components: impl
    Affects Versions: 0.12.0, 0.12.1, 0.13.0, 0.13.1
         Environment: Linux / CentOS 6
            Reporter: Andrew C. Oliver
             Fix For: 0.12.1, 0.14.0, 0.13.1


pig -useHCatalog hdfs://myserver:8020/load/scripts/mydir/myscript.pig

throws a NPE due to a bogus if statement (patch included)

Error before Pig is launched
----------------------------
ERROR 2999: Unexpected internal error. null

java.lang.NullPointerException
        at org.apache.pig.impl.io.FileLocalizer.fetchFilesInternal(FileLocalizer.java:799)
        at org.apache.pig.impl.io.FileLocalizer.fetchFiles(FileLocalizer.java:767)
        at org.apache.pig.PigServer.registerJar(PigServer.java:546)
        at org.apache.pig.PigServer.addJarsFromProperties(PigServer.java:253)
        at org.apache.pig.PigServer.<init>(PigServer.java:231)
        at org.apache.pig.PigServer.<init>(PigServer.java:214)
        at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:46)
        at org.apache.pig.Main.run(Main.java:603)
        at org.apache.pig.Main.main(Main.java:164)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
================================================================================



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message