incubator-hcatalog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viraj Bhat (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HCATALOG-346) HCat client returns no error message when dropping invalid partition
Date Mon, 26 Mar 2012 05:56:31 GMT
HCat client returns no error message when dropping invalid partition
--------------------------------------------------------------------

                 Key: HCATALOG-346
                 URL: https://issues.apache.org/jira/browse/HCATALOG-346
             Project: HCatalog
          Issue Type: Bug
          Components: client
    Affects Versions: 0.2
            Reporter: Viraj Bhat


I have a partitioned table in HCat which is partitioned by name of Grid and Date.

grid=XY and datestamp

I try to drop a really arbitrary partition

{quote}
$ /home/y/bin/hcat -e "alter table mytable drop partition (grid='XY',dt='20112_02_22');"

WARNING: org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter
in all the log4j.properties files.
Hive history file=/tmp/user/hive_job_log_gmon_201203260541_1093410301.txt
OK
Time taken: 1.161 seconds
{quote}

Looking at the log file:
{quote}
---
QueryEnd QUERY_STRING="alter table mytable drop partition (grid='XY',dt='20112_02_22')" QUERY_ID="user_20120326054141_150852e1-9c51-4a98-bb22-4f5ece9716dd"
QUERY_RET_CODE="0" QUERY_NUM_TASKS="0" TIME="1332740513665"
----
{quote}
Regards
Viraj

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message