You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sudhanshu Arora (JIRA)" <ji...@apache.org> on 2012/11/27 01:20:57 UTC

[jira] [Created] (HIVE-3747) Provide hive operation name for hookContext

Sudhanshu Arora created HIVE-3747:
-------------------------------------

             Summary: Provide hive operation name for hookContext
                 Key: HIVE-3747
                 URL: https://issues.apache.org/jira/browse/HIVE-3747
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
            Reporter: Sudhanshu Arora


The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 

The following public API should be added in HookContext.
public String getOperationName() {
    return SessionState.get().getHiveOperation().name();
}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-3747) Provide hive operation name for hookContext

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

Hudson commented on HIVE-3747:
------------------------------

Integrated in Hive-trunk-h0.21 #1831 (See [https://builds.apache.org/job/Hive-trunk-h0.21/1831/])
    HIVE-3747 Provide hive operation name for hookContext
(Shreepadma Venugopalan via namit) (Revision 1416377)

     Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1416377
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/HookContext.java

                
> Provide hive operation name for hookContext
> -------------------------------------------
>
>                 Key: HIVE-3747
>                 URL: https://issues.apache.org/jira/browse/HIVE-3747
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Sudhanshu Arora
>            Assignee: Shreepadma Venugopalan
>         Attachments: HIVE-3747.1.patch.txt
>
>
> The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 
> The following public API should be added in HookContext.
> public String getOperationName() {
>     return SessionState.get().getHiveOperation().name();
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-3747) Provide hive operation name for hookContext

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

Shreepadma Venugopalan updated HIVE-3747:
-----------------------------------------

    Attachment: HIVE-3747.1.patch.txt
    
> Provide hive operation name for hookContext
> -------------------------------------------
>
>                 Key: HIVE-3747
>                 URL: https://issues.apache.org/jira/browse/HIVE-3747
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Sudhanshu Arora
>            Assignee: Shreepadma Venugopalan
>         Attachments: HIVE-3747.1.patch.txt
>
>
> The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 
> The following public API should be added in HookContext.
> public String getOperationName() {
>     return SessionState.get().getHiveOperation().name();
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-3747) Provide hive operation name for hookContext

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

Namit Jain updated HIVE-3747:
-----------------------------

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

Committed. Thanks Shreepadma
                
> Provide hive operation name for hookContext
> -------------------------------------------
>
>                 Key: HIVE-3747
>                 URL: https://issues.apache.org/jira/browse/HIVE-3747
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Sudhanshu Arora
>            Assignee: Shreepadma Venugopalan
>         Attachments: HIVE-3747.1.patch.txt
>
>
> The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 
> The following public API should be added in HookContext.
> public String getOperationName() {
>     return SessionState.get().getHiveOperation().name();
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HIVE-3747) Provide hive operation name for hookContext

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

Shreepadma Venugopalan updated HIVE-3747:
-----------------------------------------

    Status: Patch Available  (was: Open)
    
> Provide hive operation name for hookContext
> -------------------------------------------
>
>                 Key: HIVE-3747
>                 URL: https://issues.apache.org/jira/browse/HIVE-3747
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Sudhanshu Arora
>            Assignee: Shreepadma Venugopalan
>         Attachments: HIVE-3747.1.patch.txt
>
>
> The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 
> The following public API should be added in HookContext.
> public String getOperationName() {
>     return SessionState.get().getHiveOperation().name();
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-3747) Provide hive operation name for hookContext

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

Shreepadma Venugopalan commented on HIVE-3747:
----------------------------------------------

Thanks Namit for creating a review request. Will do so in the future for other reviews. 
                
> Provide hive operation name for hookContext
> -------------------------------------------
>
>                 Key: HIVE-3747
>                 URL: https://issues.apache.org/jira/browse/HIVE-3747
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Sudhanshu Arora
>            Assignee: Shreepadma Venugopalan
>         Attachments: HIVE-3747.1.patch.txt
>
>
> The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 
> The following public API should be added in HookContext.
> public String getOperationName() {
>     return SessionState.get().getHiveOperation().name();
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-3747) Provide hive operation name for hookContext

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

Namit Jain commented on HIVE-3747:
----------------------------------

https://reviews.facebook.net/D7089

just for the record
                
> Provide hive operation name for hookContext
> -------------------------------------------
>
>                 Key: HIVE-3747
>                 URL: https://issues.apache.org/jira/browse/HIVE-3747
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Sudhanshu Arora
>            Assignee: Shreepadma Venugopalan
>         Attachments: HIVE-3747.1.patch.txt
>
>
> The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 
> The following public API should be added in HookContext.
> public String getOperationName() {
>     return SessionState.get().getHiveOperation().name();
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (HIVE-3747) Provide hive operation name for hookContext

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

Shreepadma Venugopalan reassigned HIVE-3747:
--------------------------------------------

    Assignee: Shreepadma Venugopalan
    
> Provide hive operation name for hookContext
> -------------------------------------------
>
>                 Key: HIVE-3747
>                 URL: https://issues.apache.org/jira/browse/HIVE-3747
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Sudhanshu Arora
>            Assignee: Shreepadma Venugopalan
>
> The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 
> The following public API should be added in HookContext.
> public String getOperationName() {
>     return SessionState.get().getHiveOperation().name();
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-3747) Provide hive operation name for hookContext

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

Namit Jain commented on HIVE-3747:
----------------------------------

+1
                
> Provide hive operation name for hookContext
> -------------------------------------------
>
>                 Key: HIVE-3747
>                 URL: https://issues.apache.org/jira/browse/HIVE-3747
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Sudhanshu Arora
>            Assignee: Shreepadma Venugopalan
>         Attachments: HIVE-3747.1.patch.txt
>
>
> The hookContext exposed through ExecuteWithHookContext, does not provide the name of the Hive operation. 
> The following public API should be added in HookContext.
> public String getOperationName() {
>     return SessionState.get().getHiveOperation().name();
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira