You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Vladimir Klimontovich (JIRA)" <ji...@apache.org> on 2010/02/26 15:59:28 UTC

[jira] Created: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
--------------------------------------------------------------------------------------------

                 Key: HIVE-1203
                 URL: https://issues.apache.org/jira/browse/HIVE-1203
             Project: Hadoop Hive
          Issue Type: Bug
    Affects Versions: 0.5.0, 0.4.1, 0.4.0
            Reporter: Vladimir Klimontovich
             Fix For: 0.4.2, 0.5.1, 0.6.0


To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Updated: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

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

Vladimir Klimontovich updated HIVE-1203:
----------------------------------------

    Status: Patch Available  (was: Open)

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.5.0, 0.4.1, 0.4.0
>            Reporter: Vladimir Klimontovich
>            Assignee: Vladimir Klimontovich
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Updated: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

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

Vladimir Klimontovich updated HIVE-1203:
----------------------------------------

    Attachment: 0.4.patch
                0.5.patch

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>             Fix For: 0.4.2, 0.5.1, 0.6.0
>
>         Attachments: 0.4.patch, 0.5.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Updated: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

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

He Yongqiang updated HIVE-1203:
-------------------------------

               Status: Open  (was: Patch Available)
    Affects Version/s:     (was: 0.4.0)
                           (was: 0.5.0)
                           (was: 0.4.1)
        Fix Version/s: 0.7.0

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>            Reporter: Vladimir Klimontovich
>            Assignee: Vladimir Klimontovich
>             Fix For: 0.7.0
>
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Updated: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

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

Vladimir Klimontovich updated HIVE-1203:
----------------------------------------

    Attachment: trunk.patch

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>             Fix For: 0.4.2, 0.5.1, 0.6.0
>
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Commented: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

Posted by "Vladimir Klimontovich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839427#action_12839427 ] 

Vladimir Klimontovich commented on HIVE-1203:
---------------------------------------------

Well, I can't assign this issue. Seems like I don't have enough permissions

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>             Fix For: 0.4.2, 0.5.1, 0.6.0
>
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Commented: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

Posted by "He Yongqiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899488#action_12899488 ] 

He Yongqiang commented on HIVE-1203:
------------------------------------

Vladimir, can you update the patch? After that, i will test and commit it.

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>            Assignee: Vladimir Klimontovich
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Assigned: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

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

He Yongqiang reassigned HIVE-1203:
----------------------------------

    Assignee: Vikram Chandrasekhar

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>            Assignee: Vikram Chandrasekhar
>             Fix For: 0.4.2, 0.5.1, 0.6.0
>
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Assigned: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

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

Zheng Shao reassigned HIVE-1203:
--------------------------------

    Assignee: Vladimir Klimontovich

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>            Assignee: Vladimir Klimontovich
>             Fix For: 0.4.2, 0.5.1, 0.6.0
>
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Assigned: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

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

He Yongqiang reassigned HIVE-1203:
----------------------------------

    Assignee:     (was: Vikram Chandrasekhar)

Vladimir Klimontovich, please assign this issue to yourself. 


> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>             Fix For: 0.4.2, 0.5.1, 0.6.0
>
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Commented: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

Posted by "He Yongqiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838968#action_12838968 ] 

He Yongqiang commented on HIVE-1203:
------------------------------------

Thanks for the explanation.  Yes, there is no harm to do that.
I will test and commit it.

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>             Fix For: 0.4.2, 0.5.1, 0.6.0
>
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Commented: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

Posted by "Vladimir Klimontovich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838960#action_12838960 ] 

Vladimir Klimontovich commented on HIVE-1203:
---------------------------------------------

I think so. Exception could be thrown not only from Class.forName, but also from Class.newInstance. Actually it was my case as due to incorrect settings constructor of my InputFormat was throwing an exception (and this exception was being swallowed).

Also, it's a general rule in most java projects (to add exception as a cause esception). More information in stacktrace never hurts :) 
(Although I'm not sure that Hive should follow this rule)

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>             Fix For: 0.4.2, 0.5.1, 0.6.0
>
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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


[jira] Commented: (HIVE-1203) HiveInputFormat.getInputFormatFromCache "swallows" cause exception when trowing IOExcpetion

Posted by "He Yongqiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838953#action_12838953 ] 

He Yongqiang commented on HIVE-1203:
------------------------------------

Vladimir, in this case, do we really need a stack trace? It is mostly caused by ClassNotFound etc when creating an input format instance with the class name.
Is there some error that can only be found from the stack trace?

> HiveInputFormat.getInputFormatFromCache "swallows"  cause exception when trowing IOExcpetion
> --------------------------------------------------------------------------------------------
>
>                 Key: HIVE-1203
>                 URL: https://issues.apache.org/jira/browse/HIVE-1203
>             Project: Hadoop Hive
>          Issue Type: Bug
>    Affects Versions: 0.4.0, 0.4.1, 0.5.0
>            Reporter: Vladimir Klimontovich
>             Fix For: 0.4.2, 0.5.1, 0.6.0
>
>         Attachments: 0.4.patch, 0.5.patch, trunk.patch
>
>
> To fix this it's simply needed to add second parameter to IOException constructor. Patches for 0.4, 0.5 and trunk are available.

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