You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Paul Yang (JIRA)" <ji...@apache.org> on 2010/08/17 04:11:16 UTC

[jira] Created: (HIVE-1547) Unarchiving operation throws NPE

Unarchiving operation throws NPE
--------------------------------

                 Key: HIVE-1547
                 URL: https://issues.apache.org/jira/browse/HIVE-1547
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.7.0
            Reporter: Paul Yang
            Assignee: Paul Yang
             Fix For: 0.7.0


Unarchiving a partition throws a null pointer exception similar to the following:

2010-08-16 12:44:18,801 ERROR exec.DDLTask (SessionState.java:printError(277)) - Failed with exception null
java.lang.NullPointerException
        at org.apache.hadoop.hive.ql.exec.DDLTask.unarchive(DDLTask.java:729)
        at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:195)
        at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:108)
        at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:55)
        at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:609)
        at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:478)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:356)
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:140)
        at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:199)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:351)
        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.util.RunJar.main(RunJar.java:156)

This error seems to be DFS specific, as local file system in the unit tests don't catch this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1547) Unarchiving operation throws NPE

Posted by "Paul Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Yang updated HIVE-1547:
----------------------------

    Status: Patch Available  (was: Open)

> Unarchiving operation throws NPE
> --------------------------------
>
>                 Key: HIVE-1547
>                 URL: https://issues.apache.org/jira/browse/HIVE-1547
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Paul Yang
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1547.1.patch
>
>
> Unarchiving a partition throws a null pointer exception similar to the following:
> 2010-08-16 12:44:18,801 ERROR exec.DDLTask (SessionState.java:printError(277)) - Failed with exception null
> java.lang.NullPointerException
>         at org.apache.hadoop.hive.ql.exec.DDLTask.unarchive(DDLTask.java:729)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:195)
>         at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:108)
>         at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:55)
>         at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:609)
>         at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:478)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:356)
>         at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:140)
>         at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:199)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:351)
>         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.util.RunJar.main(RunJar.java:156)
> This error seems to be DFS specific, as local file system in the unit tests don't catch this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1547) Unarchiving operation throws NPE

Posted by "Paul Yang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Yang updated HIVE-1547:
----------------------------

    Attachment: HIVE-1547.1.patch

> Unarchiving operation throws NPE
> --------------------------------
>
>                 Key: HIVE-1547
>                 URL: https://issues.apache.org/jira/browse/HIVE-1547
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Paul Yang
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1547.1.patch
>
>
> Unarchiving a partition throws a null pointer exception similar to the following:
> 2010-08-16 12:44:18,801 ERROR exec.DDLTask (SessionState.java:printError(277)) - Failed with exception null
> java.lang.NullPointerException
>         at org.apache.hadoop.hive.ql.exec.DDLTask.unarchive(DDLTask.java:729)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:195)
>         at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:108)
>         at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:55)
>         at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:609)
>         at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:478)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:356)
>         at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:140)
>         at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:199)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:351)
>         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.util.RunJar.main(RunJar.java:156)
> This error seems to be DFS specific, as local file system in the unit tests don't catch this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HIVE-1547) Unarchiving operation throws NPE

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-1547:
-----------------------------

          Status: Resolved  (was: Patch Available)
    Hadoop Flags: [Reviewed]
      Resolution: Fixed

Committed. Thanks Paul

> Unarchiving operation throws NPE
> --------------------------------
>
>                 Key: HIVE-1547
>                 URL: https://issues.apache.org/jira/browse/HIVE-1547
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Paul Yang
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1547.1.patch
>
>
> Unarchiving a partition throws a null pointer exception similar to the following:
> 2010-08-16 12:44:18,801 ERROR exec.DDLTask (SessionState.java:printError(277)) - Failed with exception null
> java.lang.NullPointerException
>         at org.apache.hadoop.hive.ql.exec.DDLTask.unarchive(DDLTask.java:729)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:195)
>         at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:108)
>         at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:55)
>         at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:609)
>         at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:478)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:356)
>         at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:140)
>         at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:199)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:351)
>         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.util.RunJar.main(RunJar.java:156)
> This error seems to be DFS specific, as local file system in the unit tests don't catch this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HIVE-1547) Unarchiving operation throws NPE

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899297#action_12899297 ] 

Namit Jain commented on HIVE-1547:
----------------------------------

+1

> Unarchiving operation throws NPE
> --------------------------------
>
>                 Key: HIVE-1547
>                 URL: https://issues.apache.org/jira/browse/HIVE-1547
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.7.0
>            Reporter: Paul Yang
>            Assignee: Paul Yang
>             Fix For: 0.7.0
>
>         Attachments: HIVE-1547.1.patch
>
>
> Unarchiving a partition throws a null pointer exception similar to the following:
> 2010-08-16 12:44:18,801 ERROR exec.DDLTask (SessionState.java:printError(277)) - Failed with exception null
> java.lang.NullPointerException
>         at org.apache.hadoop.hive.ql.exec.DDLTask.unarchive(DDLTask.java:729)
>         at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:195)
>         at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:108)
>         at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:55)
>         at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:609)
>         at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:478)
>         at org.apache.hadoop.hive.ql.Driver.run(Driver.java:356)
>         at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:140)
>         at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:199)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:351)
>         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.util.RunJar.main(RunJar.java:156)
> This error seems to be DFS specific, as local file system in the unit tests don't catch this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.