Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> Bug when adding multiple partitions


+
Jan Dolinár 2013-08-15, 05:50
+
Navis류승우 2013-08-20, 04:23
Copy link to this message
-
Re: Bug when adding multiple partitions
https://issues.apache.org/jira/browse/HIVE-5122

2013/8/20 Navis류승우 <[EMAIL PROTECTED]>:
> Looks like a bug. I'll fix that.
>
> 2013/8/15 Jan Dolinár <[EMAIL PROTECTED]>:
>> Hi everyone,
>>
>> Consider following DDL:
>>
>>     CREATE TABLE partition_test
>>       (a INT)
>>     PARTITIONED BY (b INT);
>>
>>     ALTER TABLE partition_test ADD
>>         PARTITION (b=1) location '/tmp/test1'
>>         PARTITION (b=2) location '/tmp/test2';
>>
>> Now lets have a look what was created:
>>
>>     DESCRIBE EXTENDED partition_test PARTITION (b=1);
>>     DESCRIBE EXTENDED partition_test PARTITION (b=2);
>>
>> Both describe statements yield "location:hdfs://example.com:9000/tmp/test1",
>> which is obviously incorrect.
>>
>> This behavior *is* mentioned on wiki[1], but the article speaks specifically
>> of hive 0.7. I just tested this in versions 0.7.1 and 0.10.0, and they both
>> exhibit this bug. I wasn't even able to find a JIRA for this issue, was I
>> looking wrong? Or should a new one be created?
>>
>> Best regards,
>> Jan Dolinar
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AddPartitions
+
Edward Capriolo 2013-08-20, 23:26
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB