hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishna Kumar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-2003) LOAD compilation does not set the outputs during semantic analysis resulting in no authorization checks being done for it.
Date Wed, 23 Feb 2011 09:55:38 GMT

     [ https://issues.apache.org/jira/browse/HIVE-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Krishna Kumar updated HIVE-2003:
--------------------------------

    Attachment: HIVE-2003.patch.txt

Patch attached.

1. LoadSemanticAnalyzer adds the table/partition to the outputs

2. QTestUtil.cleanup() used to call setup.tearDown, resulting in the commands run during createSources
being run without a zookeeper server instance. So I have moved setup.tearDown to QTestUtil.shutdown().

3. EnforceReadOnlyTables also needs to allow outputs during initialization loads/creates.
So a session boolean indicates initialization phase.

4. TestParse.vm and TestParseNegative.vm needed to be fixed too. Setup create a QTestUtil
instance each time but tearDown seems to consider qt as a reusable instance. Changed tearDown
to shutdown QTestUtil every time.

5. Test results regenerated.

> LOAD compilation does not set the outputs during semantic analysis resulting in no authorization
checks being done for it.
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-2003
>                 URL: https://issues.apache.org/jira/browse/HIVE-2003
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Krishna Kumar
>            Assignee: Krishna Kumar
>            Priority: Minor
>         Attachments: HIVE-2003.patch.txt
>
>
> The table/partition being loaded is not being added to outputs in the LoadSemanticAnalyzer.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message