[jira] [Updated] (HIVE-2962) Remove unnecessary JAR dependencies

2012-04-18 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2962:
-

Attachment: report.tar.gz

Attaching Ivy dependency reports generated on the 0.9.0 branch.

 Remove unnecessary JAR dependencies
 ---

 Key: HIVE-2962
 URL: https://issues.apache.org/jira/browse/HIVE-2962
 Project: Hive
  Issue Type: Task
  Components: Build Infrastructure
Reporter: Carl Steinbach
 Fix For: 0.9.0

 Attachments: report.tar.gz


 The tarballs currently include a bunch of JARs which aren't real Hive 
 dependencies. I think in most cases this is caused by unnecessary transitive 
 dependencies that are getting pulled down by Ivy.
 Also, once the contents of the lib directory are sanitized we need to 
 reconcile it with the list of dependencies in the LICENSE file.

--
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




[jira] [Updated] (HIVE-2918) Hive Dynamic Partition Insert - move task not considering 'hive.exec.max.dynamic.partitions' from CLI

2012-04-13 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2918:
-

Status: Patch Available  (was: Open)

 Hive Dynamic Partition Insert - move task not considering 
 'hive.exec.max.dynamic.partitions' from CLI
 -

 Key: HIVE-2918
 URL: https://issues.apache.org/jira/browse/HIVE-2918
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.8.1, 0.8.0, 0.7.1
 Environment: Cent OS 64 bit
Reporter: Bejoy KS
Assignee: Carl Steinbach
 Attachments: HIVE-2918.D2703.1.patch


 Dynamic Partition insert showing an error with the number of partitions 
 created even after the default value of 'hive.exec.max.dynamic.partitions' is 
 bumped high to 2000.
 Error Message:
 Failed with exception Number of dynamic partitions created is 1413, which is 
 more than 1000. To solve this try to set hive.exec.max.dynamic.partitions to 
 at least 1413.
 These are the following properties set on hive CLI
 hive set hive.exec.dynamic.partition=true;
 hive set hive.exec.dynamic.partition.mode=nonstrict;
 hive set hive.exec.max.dynamic.partitions=2000;
 hive set hive.exec.max.dynamic.partitions.pernode=2000;
 This is the query with console error log
 hive 
  INSERT OVERWRITE TABLE partn_dyn Partition (pobox)
  SELECT country,state,pobox FROM non_partn_dyn;
 Total MapReduce jobs = 2
 Launching Job 1 out of 2
 Number of reduce tasks is set to 0 since there's no reduce operator
 Starting Job = job_201204021529_0002, Tracking URL = 
 http://0.0.0.0:50030/jobdetails.jsp?jobid=job_201204021529_0002
 Kill Command = /usr/lib/hadoop/bin/hadoop job  
 -Dmapred.job.tracker=0.0.0.0:8021 -kill job_201204021529_0002
 2012-04-02 16:05:28,619 Stage-1 map = 0%,  reduce = 0%
 2012-04-02 16:05:39,701 Stage-1 map = 100%,  reduce = 0%
 2012-04-02 16:05:50,800 Stage-1 map = 100%,  reduce = 100%
 Ended Job = job_201204021529_0002
 Ended Job = 248865587, job is filtered out (removed at runtime).
 Moving data to: 
 hdfs://0.0.0.0/tmp/hive-cloudera/hive_2012-04-02_16-05-24_919_5976014408587784412/-ext-1
 Loading data to table default.partn_dyn partition (pobox=null)
 Failed with exception Number of dynamic partitions created is 1413, which is 
 more than 1000. To solve this try to set hive.exec.max.dynamic.partitions to 
 at least 1413.
 FAILED: Execution Error, return code 1 from 
 org.apache.hadoop.hive.ql.exec.MoveTask
 I checked the job.xml of the first map only job, there the value 
 hive.exec.max.dynamic.partitions=2000 is reflected but the move task is 
 taking the default value from hive-site.xml . If I change the value in 
 hive-site.xml then the job completes successfully. Bottom line,the property 
 'hive.exec.max.dynamic.partitions'set on CLI is not being considered by move 
 task

--
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




[jira] [Updated] (HIVE-2931) conf settings may be ignored

2012-04-13 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2931:
-

Resolution: Duplicate
Status: Resolved  (was: Patch Available)

 conf settings may be ignored
 

 Key: HIVE-2931
 URL: https://issues.apache.org/jira/browse/HIVE-2931
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Kevin Wilfong
 Attachments: HIVE-2931.D2781.1.patch, hive.2931.1.patch


 This is a pretty serious problem.
 If a conf variable is changed, Hive may not pick up the variable unless the 
 metastore variables are changed.
 When any session variables are changed, it might be simpler to update the 
 corresponding Hive conf.

--
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




[jira] [Updated] (HIVE-2405) get_privilege does not get user level privilege

2012-04-11 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2405:
-

Component/s: Security
 Authorization

 get_privilege does not get user level privilege
 ---

 Key: HIVE-2405
 URL: https://issues.apache.org/jira/browse/HIVE-2405
 Project: Hive
  Issue Type: Bug
  Components: Authorization, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Fix For: 0.8.0

 Attachments: HIVE-2405.1.patch, HIVE-2405.2.patch


 hive set hive.security.authorization.enabled=true;
 hive  grant all to user heyongqiang;  
 hive show grant user heyongqiang; 
 principalName heyongqiang 
 principalType USER
 privilege All 
 grantTime Wed Aug 24 11:51:54 PDT 2011
 grantor   heyongqiang 
 Time taken: 0.032 seconds
 hive  CREATE TABLE src (foo INT, bar STRING); 
 Authorization failed:No privilege 'Create' found for outputs { 
 database:default}. Use show grant to get more details.

--
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




[jira] [Updated] (HIVE-2504) Warehouse table subdirectories should inherit the group permissions of the warehouse parent directory

2012-04-09 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2504:
-

  Resolution: Fixed
Assignee: Chinna Rao Lalam  (was: Rohini Palaniswamy)
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Closing this ticket again since Chinna's patch for HIVE-2504 was committed back 
in January.

Please do not reopen tickets that have been marked fixed/resolved (i.e. tickets 
for which a patch has already been committed). Open a new ticket if you think 
there's a problem with the original patch. Thanks.

 Warehouse table subdirectories should inherit the group permissions of the 
 warehouse parent directory
 -

 Key: HIVE-2504
 URL: https://issues.apache.org/jira/browse/HIVE-2504
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Reporter: Carl Steinbach
Assignee: Chinna Rao Lalam
 Fix For: 0.9.0

 Attachments: HIVE-2504-1.patch, HIVE-2504.patch, HIVE-2504.patch


 When the Hive Metastore creates a subdirectory in the Hive warehouse for
 a new table it does so with the default HDFS permissions. Since the default
 dfs.umask value is 022, this means that the new subdirectory will not inherit 
 the
 group write permissions of the hive warehouse directory.
 We should make the umask used by Warehouse.mkdirs() configurable, and set
 it to use a default value of 002.

--
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




[jira] [Updated] (HIVE-1805) Ability to create dynamic partitions atomically

2012-04-09 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-1805:
-

Component/s: Metastore

 Ability to create dynamic partitions atomically
 ---

 Key: HIVE-1805
 URL: https://issues.apache.org/jira/browse/HIVE-1805
 Project: Hive
  Issue Type: New Feature
  Components: Metastore
Reporter: Namit Jain



--
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




[jira] [Updated] (HIVE-2920) TestStatsPublisherEnhanced throws NPE on JDBC connection failure

2012-04-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2920:
-

Attachment: HIVE-2920.D2577.1.patch

 TestStatsPublisherEnhanced throws NPE on JDBC connection failure
 

 Key: HIVE-2920
 URL: https://issues.apache.org/jira/browse/HIVE-2920
 Project: Hive
  Issue Type: Bug
  Components: Statistics, Testing Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2920.D2577.1.patch, HIVE-2920.D2577.1.patch




--
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




[jira] [Updated] (HIVE-2920) TestStatsPublisherEnhanced throws NPE on JDBC connection failure

2012-04-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2920:
-

Release Note: 


  Status: Patch Available  (was: Open)

This patch moves the StatsAggregator cleanup code from the setUp() method to 
the tearDown() method in order to insure that it gets called *after* 
StatsPublisher.init() (which creates some tables that StatsAggregator.connect() 
depends on). I also added some assert statements to the tearDown() code.

 TestStatsPublisherEnhanced throws NPE on JDBC connection failure
 

 Key: HIVE-2920
 URL: https://issues.apache.org/jira/browse/HIVE-2920
 Project: Hive
  Issue Type: Bug
  Components: Statistics, Testing Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2920.D2577.1.patch, HIVE-2920.D2577.1.patch




--
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




[jira] [Updated] (HIVE-2185) extend table statistics to store the size of uncompressed data (+extend interfaces for collecting other types of statistics)

2012-04-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2185:
-

Release Note: This patch added getSerDeStats() methods to the Serializer 
and Deserializer interfaces. Consequently, any SerDes which were compiled 
against the old interfaces will need to be recompiled against the new 
interfaces in order to work against Hive 0.8.0.

 extend table statistics to store the size of uncompressed data (+extend 
 interfaces for collecting other types of statistics)
 

 Key: HIVE-2185
 URL: https://issues.apache.org/jira/browse/HIVE-2185
 Project: Hive
  Issue Type: New Feature
  Components: Serializers/Deserializers, Statistics
Reporter: Tomasz Nykiel
Assignee: Tomasz Nykiel
 Fix For: 0.8.0

 Attachments: HIVE-2185.1.patch, HIVE-2185.2.patch, HIVE-2185.patch


 Currently, when executing INSERT OVERWRITE and ANALYZE TABLE commands we 
 collect statistics about the number of rows per partition/table. Other 
 statistics (e.g., total table/partition size) are derived from the file 
 system. 
 Here, we want to collect information about the sizes of uncompressed data, to 
 be able to determine the efficiency of compression.
 Currently, a large part of statistics collection mechanism is hardcoded and 
 not-easily extensible for other statistics.
 On top of adding the new statistic collected, it would be desirable to extend 
 the collection mechanism, so any new statistics could be added easily.

--
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




[jira] [Updated] (HIVE-2585) Collapse hive.metastore.uris and hive.metastore.local

2012-04-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2585:
-

Status: Open  (was: Patch Available)

 Collapse hive.metastore.uris and hive.metastore.local
 -

 Key: HIVE-2585
 URL: https://issues.apache.org/jira/browse/HIVE-2585
 Project: Hive
  Issue Type: Improvement
  Components: Metastore
Reporter: Ashutosh Chauhan
Assignee: Ashutosh Chauhan
 Attachments: HIVE-2585.D2559.1.patch


 We should just have hive.metastore.uris. If it is empty, we shall assume 
 local mode, if non-empty we shall use that string to connect to remote 
 metastore. Having two different keys for same information is confusing.

--
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




[jira] [Updated] (HIVE-896) Add LEAD/LAG/FIRST/LAST analytical windowing functions to Hive.

2012-03-27 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-896:


Component/s: UDF

 Add LEAD/LAG/FIRST/LAST analytical windowing functions to Hive.
 ---

 Key: HIVE-896
 URL: https://issues.apache.org/jira/browse/HIVE-896
 Project: Hive
  Issue Type: New Feature
  Components: OLAP, UDF
Reporter: Amr Awadallah
Priority: Minor

 Windowing functions are very useful for click stream processing and similar 
 time-series/sliding-window analytics.
 More details at:
 http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10736/analysis.htm#i1006709
 http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10736/analysis.htm#i1007059
 http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10736/analysis.htm#i1007032
 -- amr

--
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




[jira] [Updated] (HIVE-952) Support analytic NTILE function

2012-03-27 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-952:


Component/s: OLAP

 Support analytic NTILE function
 ---

 Key: HIVE-952
 URL: https://issues.apache.org/jira/browse/HIVE-952
 Project: Hive
  Issue Type: New Feature
  Components: OLAP, Query Processor
Reporter: Carl Steinbach

 The NTILE function divides a set of ordered rows into equally sized buckets 
 and assigns a bucket number to each row.
 Useful for calculating tertiles, quartiles, quintiles, etc.
 Example:
 {code:sql}
 SELECT last_name, salary,
 NTILE(4) OVER (ORDER BY salary DESC) AS quartile
 FROM employees
 WHERE department_id = 100;
 {code}

--
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




[jira] [Updated] (HIVE-952) Support analytic NTILE function

2012-03-27 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-952:


Component/s: UDF

 Support analytic NTILE function
 ---

 Key: HIVE-952
 URL: https://issues.apache.org/jira/browse/HIVE-952
 Project: Hive
  Issue Type: New Feature
  Components: OLAP, Query Processor, UDF
Reporter: Carl Steinbach

 The NTILE function divides a set of ordered rows into equally sized buckets 
 and assigns a bucket number to each row.
 Useful for calculating tertiles, quartiles, quintiles, etc.
 Example:
 {code:sql}
 SELECT last_name, salary,
 NTILE(4) OVER (ORDER BY salary DESC) AS quartile
 FROM employees
 WHERE department_id = 100;
 {code}

--
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




[jira] [Updated] (HIVE-1387) Add PERCENTILE_APPROX which works with double data type

2012-03-27 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-1387:
-

Component/s: UDF
 OLAP

 Add PERCENTILE_APPROX which works with double data type
 ---

 Key: HIVE-1387
 URL: https://issues.apache.org/jira/browse/HIVE-1387
 Project: Hive
  Issue Type: Improvement
  Components: OLAP, UDF
Affects Versions: 0.6.0
Reporter: Vaibhav Aggarwal
Assignee: Mayank Lahiri
 Fix For: 0.6.0

 Attachments: HIVE-1387.2.patch, HIVE-1387.3.patch, HIVE-1387.4.patch, 
 median_approx_quality.png, patch-1387-1.patch


 The PERCENTILE UDAF does not work with double datatype.

--
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




[jira] [Updated] (HIVE-2721) ability to select a view qualified by the database / schema name

2012-03-26 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2721:
-

Component/s: Database/Schema

 ability to select a view qualified by the database / schema name
 

 Key: HIVE-2721
 URL: https://issues.apache.org/jira/browse/HIVE-2721
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema, Query Processor
Affects Versions: 0.7.0, 0.7.1, 0.8.0
Reporter: Robert Morton
Priority: Blocker

 HIVE-1517 added support for selecting tables from different databases (aka 
 schemas) by qualifying the tables with the database name. The feature work 
 did not however extend this support to views. Note that this point came up in 
 the earlier JIRA, but was not addressed. See the following two comments:
 https://issues.apache.org/jira/browse/HIVE-1517?focusedCommentId=12996641page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12996641
 https://issues.apache.org/jira/browse/HIVE-1517?focusedCommentId=12996679page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12996679

--
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




[jira] [Updated] (HIVE-2742) InvalidOperationException alter table is not possible when using LOAD DATA INPATH OVERWRITE with database and partition

2012-03-26 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2742:
-

Component/s: Database/Schema

 InvalidOperationException alter table is not possible when using LOAD DATA 
 INPATH OVERWRITE with database and partition
 -

 Key: HIVE-2742
 URL: https://issues.apache.org/jira/browse/HIVE-2742
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema, Metastore, Query Processor
Affects Versions: 0.7.1
 Environment: reproduced on cdh3u2 (haven't tried other versions)
Reporter: Maxime Brugidou

 Here is a repeatable procedure:
 {code}
 $ echo test | hadoop fs -put - test.txt
 $ echo test2 | hadoop fs -put - test2.txt
 {code}
 Then in hive:
 {code}
  create database catalog;
  use catalog;
  create table test_load (t string) partitioned by (p string);
  use default;
 {code}
 Then the problem arises:
 {code}
  load data inpath 'test.txt' overwrite into table catalog.test_load 
  partition (p='test');
 Loading data to table catalog.test_load partition (p=test)
 OK
 Time taken: 0.175 seconds
  load data inpath 'test2.txt' overwrite into table catalog.test_load 
  partition (p='test');
 Loading data to table catalog.test_load partition (p=test)
 Moved to trash: 
 hdfs://mycluster/user/hive/warehouse/catalog.db/test_load/p=test
 Failed with exception InvalidOperationException(message:alter is not possible)
 FAILED: Execution Error, return code 1 from 
 org.apache.hadoop.hive.ql.exec.MoveTask
 {code}

--
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




[jira] [Updated] (HIVE-849) database_name.table_name.column_name not supported

2012-03-26 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-849:


Component/s: Database/Schema

 database_name.table_name.column_name not supported
 

 Key: HIVE-849
 URL: https://issues.apache.org/jira/browse/HIVE-849
 Project: Hive
  Issue Type: New Feature
  Components: Database/Schema
Reporter: Namit Jain
Assignee: Carl Steinbach



--
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




[jira] [Updated] (HIVE-2617) Insert overwrite table db.tname fails if partition already exists

2012-03-26 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2617:
-

Component/s: Database/Schema

 Insert overwrite table db.tname fails if partition already exists 
 --

 Key: HIVE-2617
 URL: https://issues.apache.org/jira/browse/HIVE-2617
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema, Metastore
Reporter: Aniket Mokashi
Assignee: Chinna Rao Lalam
 Fix For: 0.9.0

 Attachments: HIVE-2617.1.patch, HIVE-2617.D843.1.patch, 
 HIVE-2617.patch


 Insert Overwrite table db.tname fails if partition already exists.
 For example-
 insert overwrite table db.tname PARTITION(part='p') select .. from t2 where 
 part='p'; fails if partition 'p' already exists. Workaround is - use db; and 
 the fire the command.
 From the source code-
 alterPartition(tbl.getTableName(), new Partition(tbl, tpart)); takes String 
 tablename as argument and loses db information. Table table = 
 newTable(tablename) is called to retrieve table from name. But, it relies on 
 currentDatabase value (hence the workaround).

--
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




[jira] [Updated] (HIVE-2228) Can't use DB qualified column names in WHERE or GROUP BY clauses

2012-03-26 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2228:
-

Component/s: SQL
 Database/Schema

 Can't use DB qualified column names in WHERE or GROUP BY clauses
 

 Key: HIVE-2228
 URL: https://issues.apache.org/jira/browse/HIVE-2228
 Project: Hive
  Issue Type: Bug
  Components: Database/Schema, Query Processor, SQL
Affects Versions: 0.7.0
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo

 Hive doesn't allow you to use DB qualified column names in the WHERE or GROUP 
 BY clauses. The workaround is to define a table alias:
 {noformat}
 hive CREATE DATABASE db1;
 OK
 hive CREATE TABLE db1.t(a INT, b INT);
 OK
 hive SELECT * FROM db1.t WHERE db1.t.a  100;
 FAILED: Error in semantic analysis: Line 1:26 Invalid table alias or column 
 reference 'db1'
 hive SELECT * FROM db1.t t WHERE t.a  100;
 OK
 hive SELECT * FROM db1.t GROUP BY db1.t.a;
 FAILED: Error in semantic analysis: Line 1:29 Invalid table alias or column 
 reference 'db1'
 hive SELECT * FROM db1.t t GROUP BY t.a;
 OK
 {noformat}

--
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




[jira] [Updated] (HIVE-2887) Var Substitution not working when connecting to a remote hive

2012-03-22 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2887:
-

Component/s: Server Infrastructure

 Var Substitution not working when connecting to a remote hive
 -

 Key: HIVE-2887
 URL: https://issues.apache.org/jira/browse/HIVE-2887
 Project: Hive
  Issue Type: Bug
  Components: CLI, Server Infrastructure
Affects Versions: 0.8.1
 Environment: Ubuntu 10.10
Reporter: Albert Zhong

 When we use '-h' option to connect to a remove hive, var substitution will 
 not work. 
 More exactly, it seemed that the variables passed in the command line with 
 -d/--define and/or --hivevar do not correctly set to hive cli's configuration 
 variables.
 For example, we run hive without -h option, it works fine:
 {code}
 $ hive -S -d K=123
 hive SELECT * FROM foo;
 123 abc
 456 def
 hive SELECT * FROM foo WHERE r1=${K};
 123 abc
 hive SET -v;
 ...
 hive.zookeeper.session.timeout=60
 hivevar:K=123
 io.bytes.per.checksum=512
 ...
 {code} 
 But when we run hive with -h option, it doesn't work:
 {code}
 $ hive -S -d K=123 -h localhost
 hive SELECT * FROM foo;
 123 abc
 456 def
 hive SELECT * FROM foo WHERE r1=${K};
 hive SET -v;
 ...
 hive.zookeeper.session.timeout=60
 io.bytes.per.checksum=512
 ...
 hive SET hivevar:K=123;
 hive SET -v;
 ...
 hive.zookeeper.session.timeout=60
 hivevar:K=123
 io.bytes.per.checksum=512
 ...
 hive SELECT * FROM foo WHERE r1=${K};
 123 abc
 {code} 
 The same will happen if you use --hivevar to pass variables.

--
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




[jira] [Updated] (HIVE-2878) TestHBaseMinimrCliDriver hbase_bulk.m fails on 0.23

2012-03-19 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2878:
-

Affects Version/s: 0.8.1

 TestHBaseMinimrCliDriver hbase_bulk.m fails on 0.23
 ---

 Key: HIVE-2878
 URL: https://issues.apache.org/jira/browse/HIVE-2878
 Project: Hive
  Issue Type: Bug
  Components: Tests
Affects Versions: 0.8.1
Reporter: Carl Steinbach
Assignee: Carl Steinbach



--
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




[jira] [Updated] (HIVE-2878) TestHBaseMinimrCliDriver hbase_bulk.m fails on 0.23

2012-03-19 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2878:
-

Attachment: HIVE-2878.br08.1.patch.txt

 TestHBaseMinimrCliDriver hbase_bulk.m fails on 0.23
 ---

 Key: HIVE-2878
 URL: https://issues.apache.org/jira/browse/HIVE-2878
 Project: Hive
  Issue Type: Bug
  Components: Tests
Affects Versions: 0.8.1
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2878.br08.1.patch.txt




--
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




[jira] [Updated] (HIVE-2856) Fix TestCliDriver escape1.q failure on MR2

2012-03-15 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2856:
-

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

Committed to trunk. Thanks Zhenxiao!

 Fix TestCliDriver escape1.q failure on MR2
 --

 Key: HIVE-2856
 URL: https://issues.apache.org/jira/browse/HIVE-2856
 Project: Hive
  Issue Type: Bug
  Components: Query Processor, Tests
Affects Versions: 0.8.0
Reporter: Zhenxiao Luo
Assignee: Zhenxiao Luo
 Fix For: 0.9.0

 Attachments: HIVE-2856.1.patch.txt, HIVE-2856.2.patch.txt, 
 escape1.q.out, escape1.q.out, escape2.q.out


 Additional '^' in escape test:
 [junit] Begin query: escape1.q
 [junit] Copying file: file:/home/cloudera/Code/hive/data/files/escapetest.txt
 [junit] 12/01/23 15:22:15 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 15:22:15 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I 
 lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime 
 -I Location -I LOCATION ' -I transient_lastDdlTime -I last_modified_ -I 
 java.lang.RuntimeException -I at org -I at sun -I at java -I at junit -I 
 Caused by: -I LOCK_QUERYID: -I LOCK_TIME: -I grantTime -I [.][.][.] [0-9]* 
 more -I job_[0-9]*_[0-9]* -I USING 'java -cp 
 /home/cloudera/Code/hive/build/ql/test/logs/clientpositive/escape1.q.out 
 /home/cloudera/Code/hive/ql/src/test/results/clientpositive/escape1.q.out
 [junit] 893d892
 [junit]  1   1   ^
 [junit] junit.framework.AssertionFailedError: Client execution results failed 
 with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] at junit.framework.Assert.fail(Assert.java:50)
 [junit] at 
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_escape1(TestCliDriver.java:131)
 [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [junit] at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [junit] at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [junit] at java.lang.reflect.Method.invoke(Method.java:616)
 [junit] at junit.framework.TestCase.runTest(TestCase.java:168)
 [junit] at junit.framework.TestCase.runBare(TestCase.java:134)
 [junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
 [junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
 [junit] at junit.framework.TestResult.run(TestResult.java:113)
 [junit] at junit.framework.TestCase.run(TestCase.java:124)
 [junit] at junit.framework.TestSuite.runTest(TestSuite.java:243)
 [junit] at junit.framework.TestSuite.run(TestSuite.java:238)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
 [junit] Exception: Client execution results failed with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.)

--
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




[jira] [Updated] (HIVE-2819) Closed range scans on hbase keys

2012-03-15 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2819:
-

Component/s: HBase Handler

 Closed range scans on hbase keys 
 -

 Key: HIVE-2819
 URL: https://issues.apache.org/jira/browse/HIVE-2819
 Project: Hive
  Issue Type: Improvement
  Components: HBase Handler
Reporter: Ashutosh Chauhan
Assignee: Ashutosh Chauhan
 Attachments: HIVE-2819.D1923.1.patch


 This patch pushes range scans on keys of closed form into hbase 

--
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




[jira] [Updated] (HIVE-2815) Filter pushdown in hbase for keys stored in binary format

2012-03-15 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2815:
-

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

Committed to trunk. Thanks Ashutosh!

 Filter pushdown in hbase for keys stored in binary format
 -

 Key: HIVE-2815
 URL: https://issues.apache.org/jira/browse/HIVE-2815
 Project: Hive
  Issue Type: Improvement
  Components: HBase Handler
Affects Versions: 0.6.0, 0.7.0, 0.7.1, 0.8.0, 0.8.1
Reporter: Ashutosh Chauhan
Assignee: Ashutosh Chauhan
 Fix For: 0.9.0

 Attachments: HIVE-2815.D1875.1.patch, HIVE-2815.D1875.2.patch


 This patch enables filter pushdown for keys stored in binary format in hbase

--
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




[jira] [Updated] (HIVE-2856) Fix TestCliDriver escape1.q failure on MR2

2012-03-12 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2856:
-

Summary: Fix TestCliDriver escape1.q failure on MR2  (was: When integrating 
into MapReduce2, additional '^' in escape test)

 Fix TestCliDriver escape1.q failure on MR2
 --

 Key: HIVE-2856
 URL: https://issues.apache.org/jira/browse/HIVE-2856
 Project: Hive
  Issue Type: Bug
Reporter: Zhenxiao Luo
Assignee: Zhenxiao Luo
 Attachments: HIVE-2856.1.patch.txt, escape1.q.out


 Additional '^' in escape test:
 [junit] Begin query: escape1.q
 [junit] Copying file: file:/home/cloudera/Code/hive/data/files/escapetest.txt
 [junit] 12/01/23 15:22:15 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 15:22:15 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I 
 lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime 
 -I Location -I LOCATION ' -I transient_lastDdlTime -I last_modified_ -I 
 java.lang.RuntimeException -I at org -I at sun -I at java -I at junit -I 
 Caused by: -I LOCK_QUERYID: -I LOCK_TIME: -I grantTime -I [.][.][.] [0-9]* 
 more -I job_[0-9]*_[0-9]* -I USING 'java -cp 
 /home/cloudera/Code/hive/build/ql/test/logs/clientpositive/escape1.q.out 
 /home/cloudera/Code/hive/ql/src/test/results/clientpositive/escape1.q.out
 [junit] 893d892
 [junit]  1   1   ^
 [junit] junit.framework.AssertionFailedError: Client execution results failed 
 with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] at junit.framework.Assert.fail(Assert.java:50)
 [junit] at 
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_escape1(TestCliDriver.java:131)
 [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [junit] at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [junit] at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [junit] at java.lang.reflect.Method.invoke(Method.java:616)
 [junit] at junit.framework.TestCase.runTest(TestCase.java:168)
 [junit] at junit.framework.TestCase.runBare(TestCase.java:134)
 [junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
 [junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
 [junit] at junit.framework.TestResult.run(TestResult.java:113)
 [junit] at junit.framework.TestCase.run(TestCase.java:124)
 [junit] at junit.framework.TestSuite.runTest(TestSuite.java:243)
 [junit] at junit.framework.TestSuite.run(TestSuite.java:238)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
 [junit] Exception: Client execution results failed with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.)

--
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




[jira] [Updated] (HIVE-2856) Fix TestCliDriver escape1.q failure on MR2

2012-03-12 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2856:
-

Status: Open  (was: Patch Available)

Test failure in escape2.q

 Fix TestCliDriver escape1.q failure on MR2
 --

 Key: HIVE-2856
 URL: https://issues.apache.org/jira/browse/HIVE-2856
 Project: Hive
  Issue Type: Bug
Reporter: Zhenxiao Luo
Assignee: Zhenxiao Luo
 Attachments: HIVE-2856.1.patch.txt, escape1.q.out


 Additional '^' in escape test:
 [junit] Begin query: escape1.q
 [junit] Copying file: file:/home/cloudera/Code/hive/data/files/escapetest.txt
 [junit] 12/01/23 15:22:15 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 15:22:15 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I 
 lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime 
 -I Location -I LOCATION ' -I transient_lastDdlTime -I last_modified_ -I 
 java.lang.RuntimeException -I at org -I at sun -I at java -I at junit -I 
 Caused by: -I LOCK_QUERYID: -I LOCK_TIME: -I grantTime -I [.][.][.] [0-9]* 
 more -I job_[0-9]*_[0-9]* -I USING 'java -cp 
 /home/cloudera/Code/hive/build/ql/test/logs/clientpositive/escape1.q.out 
 /home/cloudera/Code/hive/ql/src/test/results/clientpositive/escape1.q.out
 [junit] 893d892
 [junit]  1   1   ^
 [junit] junit.framework.AssertionFailedError: Client execution results failed 
 with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] at junit.framework.Assert.fail(Assert.java:50)
 [junit] at 
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_escape1(TestCliDriver.java:131)
 [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [junit] at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [junit] at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [junit] at java.lang.reflect.Method.invoke(Method.java:616)
 [junit] at junit.framework.TestCase.runTest(TestCase.java:168)
 [junit] at junit.framework.TestCase.runBare(TestCase.java:134)
 [junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
 [junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
 [junit] at junit.framework.TestResult.run(TestResult.java:113)
 [junit] at junit.framework.TestCase.run(TestCase.java:124)
 [junit] at junit.framework.TestSuite.runTest(TestSuite.java:243)
 [junit] at junit.framework.TestSuite.run(TestSuite.java:238)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
 [junit] Exception: Client execution results failed with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.)

--
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




[jira] [Updated] (HIVE-2822) Add JSON output to the hive ddl commands

2012-03-12 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2822:
-

Status: Open  (was: Patch Available)

@Chris: Please submit a review request on phabricator. Instructions are here: 
https://cwiki.apache.org/Hive/phabricatorcodereview.html

 Add JSON output to the hive ddl commands
 

 Key: HIVE-2822
 URL: https://issues.apache.org/jira/browse/HIVE-2822
 Project: Hive
  Issue Type: Improvement
Reporter: Chris Dean
 Attachments: hive-json-01-branch0-8.patch, hive-json-01.patch, 
 hive-json-02.patch


 The goal is to have an option to produce JSON output of the DDL commands that 
 is easily machine parseable.
 For example, desc my_table currently gives
 {noformat}
 idbigint
 user  string
 {noformat} 
 and we want to allow a json output:
 {noformat}
 {
   columns: [
 {name: id, type: bigint},
 {name: user, type: string}
   ]
 }
 {noformat} 

--
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




[jira] [Updated] (HIVE-2860) TestNegativeCliDriver autolocal1.q fails on 0.23

2012-03-09 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2860:
-

Attachment: HIVE-2860.D2253.1.patch

 TestNegativeCliDriver autolocal1.q fails on 0.23
 

 Key: HIVE-2860
 URL: https://issues.apache.org/jira/browse/HIVE-2860
 Project: Hive
  Issue Type: Bug
  Components: Testing Infrastructure
Affects Versions: 0.9.0
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Fix For: 0.9.0

 Attachments: HIVE-2860.D2253.1.patch, HIVE-2860.D2253.1.patch




--
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




[jira] [Updated] (HIVE-2860) TestNegativeCliDriver autolocal1.q fails on 0.23

2012-03-09 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2860:
-

Status: Patch Available  (was: Open)

 TestNegativeCliDriver autolocal1.q fails on 0.23
 

 Key: HIVE-2860
 URL: https://issues.apache.org/jira/browse/HIVE-2860
 Project: Hive
  Issue Type: Bug
  Components: Testing Infrastructure
Affects Versions: 0.9.0
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Fix For: 0.9.0

 Attachments: HIVE-2860.D2253.1.patch, HIVE-2860.D2253.1.patch




--
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




[jira] [Updated] (HIVE-2646) Hive Ivy dependencies on Hadoop should depend on jars directly, not tarballs

2012-03-08 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2646:
-

Status: Open  (was: Patch Available)

 Hive Ivy dependencies on Hadoop should depend on jars directly, not tarballs
 

 Key: HIVE-2646
 URL: https://issues.apache.org/jira/browse/HIVE-2646
 Project: Hive
  Issue Type: Bug
  Components: Build Infrastructure
Affects Versions: 0.8.0
Reporter: Andrew Bayer
Priority: Critical
 Attachments: HIVE-2646.D2133.1.patch, HIVE-2646.D2133.2.patch, 
 HIVE-2646.D2133.3.patch, HIVE-2646.diff.txt


 The current Hive Ivy dependency logic for its Hadoop dependencies is 
 problematic - depending on the tarball and extracting the jars from there, 
 rather than depending on the jars directly. It'd be great if this was fixed 
 to actually have the jar dependencies defined directly.

--
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




[jira] [Updated] (HIVE-2827) Implement nullsafe equi-join

2012-03-07 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2827:
-

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

Committed to trunk. Thanks Navis!

 Implement nullsafe equi-join
 

 Key: HIVE-2827
 URL: https://issues.apache.org/jira/browse/HIVE-2827
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
 Environment: ubuntu 10.04
Reporter: Navis
Assignee: Navis
Priority: Minor
 Fix For: 0.9.0

 Attachments: HIVE-2827.D1971.1.patch, HIVE-2827.D1971.2.patch, 
 HIVE-2827.D1971.3.patch, HIVE-2827.D1971.4.patch, HIVE-2827.D1971.5.patch, 
 HIVE-2827.D1971.6.patch, HIVE-2827.D1971.7.patch


 was part of HIVE-2810, but separated because it affected more classes than 
 expected.
 {noformat}
 SELECT * FROM a JOIN b ON a.key = b.key
 {noformat}

--
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




[jira] [Updated] (HIVE-2771) Add support for filter pushdown for key ranges in hbase for keys of type string

2012-03-06 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2771:
-

   Resolution: Fixed
Fix Version/s: 0.9.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks Ashutosh!

 Add support for filter pushdown for key ranges in hbase for keys of type 
 string
 ---

 Key: HIVE-2771
 URL: https://issues.apache.org/jira/browse/HIVE-2771
 Project: Hive
  Issue Type: Sub-task
  Components: HBase Handler
Affects Versions: 0.7.0, 0.7.1, 0.8.0, 0.8.1
Reporter: Ashutosh Chauhan
Assignee: Ashutosh Chauhan
 Fix For: 0.9.0

 Attachments: HIVE-2771.D1551.1.patch, HIVE-2771.D1551.2.patch


 This is a subtask of HIVE-1643

--
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




[jira] [Updated] (HIVE-2840) INPUT__FILE__NAME virtual column returns unqualified paths on Hadoop 0.23

2012-03-06 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2840:
-

Status: Patch Available  (was: Open)

 INPUT__FILE__NAME virtual column returns unqualified paths on Hadoop 0.23
 -

 Key: HIVE-2840
 URL: https://issues.apache.org/jira/browse/HIVE-2840
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2840.D2127.1.patch, HIVE-2840.D2127.1.patch




--
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




[jira] [Updated] (HIVE-2840) INPUT__FILE__NAME virtual column returns unqualified paths on Hadoop 0.23

2012-03-06 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2840:
-

Attachment: HIVE-2840.D2127.1.patch

 INPUT__FILE__NAME virtual column returns unqualified paths on Hadoop 0.23
 -

 Key: HIVE-2840
 URL: https://issues.apache.org/jira/browse/HIVE-2840
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2840.D2127.1.patch, HIVE-2840.D2127.1.patch




--
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




[jira] [Updated] (HIVE-2810) Implement NULL-safe equality operator =

2012-03-06 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2810:
-

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

Committed to trunk. Thanks Navis!

 Implement NULL-safe equality operator =
 -

 Key: HIVE-2810
 URL: https://issues.apache.org/jira/browse/HIVE-2810
 Project: Hive
  Issue Type: New Feature
  Components: Query Processor, UDF
Reporter: Carl Steinbach
Assignee: Navis
 Fix For: 0.9.0

 Attachments: HIVE-2810.D1791.1.patch, HIVE-2810.D1791.2.patch, 
 HIVE-2810.D1791.3.patch, HIVE-2810.D1791.4.patch


 Ref: 
 http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_equal-to

--
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




[jira] [Updated] (HIVE-1634) Allow access to Primitive types stored in binary format in HBase

2012-03-06 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-1634:
-

Status: Open  (was: Patch Available)

 Allow access to Primitive types stored in binary format in HBase
 

 Key: HIVE-1634
 URL: https://issues.apache.org/jira/browse/HIVE-1634
 Project: Hive
  Issue Type: Improvement
  Components: HBase Handler
Affects Versions: 0.8.0, 0.7.0, 0.9.0
Reporter: Basab Maulik
Assignee: Ashutosh Chauhan
 Attachments: HIVE-1634.0.patch, HIVE-1634.1.patch, 
 HIVE-1634.D1581.1.patch, HIVE-1634.D1581.2.patch, 
 TestHiveHBaseExternalTable.java


 This addresses HIVE-1245 in part, for atomic or primitive types.
 The serde property hbase.columns.storage.types = -,b,b,b,b,b,b,b,b is a 
 specification of the storage option for the corresponding column in the serde 
 property hbase.columns.mapping. Allowed values are '-' for table default, 
 's' for standard string storage, and 'b' for binary storage as would be 
 obtained from o.a.h.hbase.utils.Bytes. Map types for HBase column families 
 use a colon separated pair such as 's:b' for the key and value part 
 specifiers respectively. See the test cases and queries for HBase handler for 
 additional examples.
 There is also a table property hbase.table.default.storage.type = string 
 to specify a table level default storage type. The other valid specification 
 is binary. The table level default is overridden by a column level 
 specification.
 This control is available for the boolean, tinyint, smallint, int, bigint, 
 float, and double primitive types. The attached patch also relaxes the 
 mapping of map types to HBase column families to allow any primitive type to 
 be the map key.
 Attached is a program for creating a table and populating it in HBase. The 
 external table in Hive can access the data as shown in the example below.
 hive create external table TestHiveHBaseExternalTable
  (key string, c_bool boolean, c_byte tinyint, c_short smallint,
   c_int int, c_long bigint, c_string string, c_float float, c_double 
 double)
   stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
   with serdeproperties (hbase.columns.mapping = 
 :key,cf:boolean,cf:byte,cf:short,cf:int,cf:long,cf:string,cf:float,cf:double)
   tblproperties (hbase.table.name = TestHiveHBaseExternalTable);
 OK
 Time taken: 0.691 seconds
 hive select * from TestHiveHBaseExternalTable;
 OK
 key-1 NULLNULLNULLNULLNULLTest-String NULLNULL
 Time taken: 0.346 seconds
 hive drop table TestHiveHBaseExternalTable;
 OK
 Time taken: 0.139 seconds
 hive create external table TestHiveHBaseExternalTable
  (key string, c_bool boolean, c_byte tinyint, c_short smallint,
   c_int int, c_long bigint, c_string string, c_float float, c_double 
 double)
   stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
   with serdeproperties (
   hbase.columns.mapping = 
 :key,cf:boolean,cf:byte,cf:short,cf:int,cf:long,cf:string,cf:float,cf:double,
   hbase.columns.storage.types = -,b,b,b,b,b,b,b,b )
   tblproperties (
   hbase.table.name = TestHiveHBaseExternalTable,
   hbase.table.default.storage.type = string);
 OK
 Time taken: 0.139 seconds
 hive select * from TestHiveHBaseExternalTable;
 OK
 key-1 true-128-32768  -2147483648 -9223372036854775808
 Test-String -2.1793132E-11  2.01345E291
 Time taken: 0.151 seconds
 hive drop table TestHiveHBaseExternalTable;
 OK
 Time taken: 0.154 seconds
 hive create external table TestHiveHBaseExternalTable
  (key string, c_bool boolean, c_byte tinyint, c_short smallint,
   c_int int, c_long bigint, c_string string, c_float float, c_double 
 double)
   stored by 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
   with serdeproperties (
   hbase.columns.mapping = 
 :key,cf:boolean,cf:byte,cf:short,cf:int,cf:long,cf:string,cf:float,cf:double,
   hbase.columns.storage.types = -,b,b,b,b,b,-,b,b )
   tblproperties (hbase.table.name = TestHiveHBaseExternalTable);
 OK
 Time taken: 0.347 seconds
 hive select * from TestHiveHBaseExternalTable;
 OK
 key-1 true-128-32768  -2147483648 -9223372036854775808
 Test-String -2.1793132E-11  2.01345E291
 Time taken: 0.245 seconds
 hive 

--
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




[jira] [Updated] (HIVE-2517) Support group by on union and struct type

2012-03-06 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2517:
-

Status: Open  (was: Patch Available)

@Ashutosh: Patch needs to be rebased on trunk. Also, can you please submit a 
review request on phabricator? Thanks.

 Support group by on union and struct type
 -

 Key: HIVE-2517
 URL: https://issues.apache.org/jira/browse/HIVE-2517
 Project: Hive
  Issue Type: New Feature
  Components: Query Processor
Reporter: Ashutosh Chauhan
Assignee: Ashutosh Chauhan
  Labels: structtype, uniontype
 Fix For: 0.9.0

 Attachments: hive-2517.patch, hive-2517_1.patch


 Currently group by on struct and union types are not supported. This issue 
 will enable support for those.

--
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




[jira] [Updated] (HIVE-2498) Group by operator doesnt estimate size of Timestamp Binary data correctly

2012-03-06 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2498:
-

Status: Open  (was: Patch Available)

 Group by operator doesnt estimate size of Timestamp  Binary data correctly
 ---

 Key: HIVE-2498
 URL: https://issues.apache.org/jira/browse/HIVE-2498
 Project: Hive
  Issue Type: Bug
Reporter: Ashutosh Chauhan
Assignee: Ashutosh Chauhan
 Fix For: 0.9.0

 Attachments: HIVE-2498.D1185.1.patch, hive-2498.patch


 It currently defaults to default case and returns constant value, whereas we 
 can do better by getting actual size at runtime.

--
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




[jira] [Updated] (HIVE-2831) TestContribCliDriver.dboutput and TestCliDriver.input45 fail on 0.23

2012-03-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2831:
-

Attachment: HIVE-2831.D2049.1.patch

 TestContribCliDriver.dboutput and TestCliDriver.input45 fail on 0.23
 

 Key: HIVE-2831
 URL: https://issues.apache.org/jira/browse/HIVE-2831
 Project: Hive
  Issue Type: Bug
  Components: Tests
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2831.1.patch.txt, HIVE-2831.D2049.1.patch, 
 HIVE-2831.D2049.1.patch




--
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




[jira] [Updated] (HIVE-2831) TestContribCliDriver.dboutput and TestCliDriver.input45 fail on 0.23

2012-03-01 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2831:
-

Attachment: HIVE-2831.1.patch.txt

 TestContribCliDriver.dboutput and TestCliDriver.input45 fail on 0.23
 

 Key: HIVE-2831
 URL: https://issues.apache.org/jira/browse/HIVE-2831
 Project: Hive
  Issue Type: Bug
  Components: Tests
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2831.1.patch.txt




--
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




[jira] [Updated] (HIVE-2810) Implement NULL-safe equality operator =

2012-03-01 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2810:
-

Status: Open  (was: Patch Available)

@Navis: Please update the patch with the request test changes. I will test and 
commit once this done. Thanks!

 Implement NULL-safe equality operator =
 -

 Key: HIVE-2810
 URL: https://issues.apache.org/jira/browse/HIVE-2810
 Project: Hive
  Issue Type: New Feature
  Components: Query Processor, UDF
Affects Versions: 0.9.0
Reporter: Carl Steinbach
Assignee: Navis
 Fix For: 0.9.0

 Attachments: HIVE-2810.D1791.1.patch, HIVE-2810.D1791.2.patch, 
 HIVE-2810.D1791.3.patch


 Ref: 
 http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_equal-to

--
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




[jira] [Updated] (HIVE-2827) Implement nullsafe equi-join

2012-03-01 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2827:
-

Status: Open  (was: Patch Available)

 Implement nullsafe equi-join
 

 Key: HIVE-2827
 URL: https://issues.apache.org/jira/browse/HIVE-2827
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
 Environment: ubuntu 10.04
Reporter: Navis
Assignee: Navis
Priority: Minor
 Attachments: HIVE-2827.D1971.1.patch, HIVE-2827.D1971.2.patch, 
 HIVE-2827.D1971.3.patch, HIVE-2827.D1971.4.patch


 was part of HIVE-2810, but separated because it affected more classes than 
 expected.
 {noformat}
 SELECT * FROM a JOIN b ON a.key = b.key
 {noformat}

--
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




[jira] [Updated] (HIVE-2810) Implement NULL-safe equality operator =

2012-02-21 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2810:
-

Status: Open  (was: Patch Available)

 Implement NULL-safe equality operator =
 -

 Key: HIVE-2810
 URL: https://issues.apache.org/jira/browse/HIVE-2810
 Project: Hive
  Issue Type: New Feature
  Components: Query Processor, UDF
Affects Versions: 0.9.0
Reporter: Carl Steinbach
Assignee: Navis
 Fix For: 0.9.0

 Attachments: HIVE-2810.D1791.1.patch


 Ref: 
 http://dev.mysql.com/doc/refman/5.0/en/comparison-operators.html#operator_equal-to

--
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




[jira] [Updated] (HIVE-2789) When integrating into MapReduce2, 'select * from src distribute by src.key limit 1' returns non-deterministic result

2012-02-20 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2789:
-

Component/s: Tests

 When integrating into MapReduce2, 'select * from src distribute by src.key 
 limit 1' returns non-deterministic result
 

 Key: HIVE-2789
 URL: https://issues.apache.org/jira/browse/HIVE-2789
 Project: Hive
  Issue Type: Bug
  Components: Tests
Reporter: Zhenxiao Luo
Assignee: Carl Steinbach
 Attachments: HIVE-2789.D1647.1.patch, HIVE-2789.D1647.1.patch, 
 HIVE-2789.D1647.2.patch


 query_properties.q test failure:
 [junit] Begin query: query_properties.q
 [junit] 12/01/23 16:59:13 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:13 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:18 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:18 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:22 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:22 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:27 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:27 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:32 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:32 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:36 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:36 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:41 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:41 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:46 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:46 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:50 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:50 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:55 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:55 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:59 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:59 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:04 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:04 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:08 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:08 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:13 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:13 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:18 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:18 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:22 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:22 WARN conf.Configuration: mapred.local.dir is 
 deprecated. 

[jira] [Updated] (HIVE-2789) When integrating into MapReduce2, 'select * from src distribute by src.key limit 1' returns non-deterministic result

2012-02-20 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2789:
-

Attachment: HIVE-2789.D1647.2.patch

 When integrating into MapReduce2, 'select * from src distribute by src.key 
 limit 1' returns non-deterministic result
 

 Key: HIVE-2789
 URL: https://issues.apache.org/jira/browse/HIVE-2789
 Project: Hive
  Issue Type: Bug
  Components: Tests
Reporter: Zhenxiao Luo
Assignee: Carl Steinbach
 Attachments: HIVE-2789.D1647.1.patch, HIVE-2789.D1647.1.patch, 
 HIVE-2789.D1647.2.patch, HIVE-2789.D1647.2.patch


 query_properties.q test failure:
 [junit] Begin query: query_properties.q
 [junit] 12/01/23 16:59:13 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:13 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:18 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:18 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:22 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:22 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:27 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:27 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:32 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:32 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:36 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:36 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:41 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:41 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:46 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:46 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:50 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:50 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:55 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:55 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 16:59:59 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 16:59:59 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:04 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:04 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:08 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:08 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:13 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:13 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:18 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:18 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/23 17:00:22 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 17:00:22 WARN 

[jira] [Updated] (HIVE-2793) Disable loadpart_err.q on 0.23

2012-02-14 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2793:
-

   Resolution: Fixed
Fix Version/s: 0.9.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk.

 Disable loadpart_err.q on 0.23
 --

 Key: HIVE-2793
 URL: https://issues.apache.org/jira/browse/HIVE-2793
 Project: Hive
  Issue Type: Bug
  Components: Testing Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Fix For: 0.9.0

 Attachments: HIVE-2793.D1665.1.patch, HIVE-2793.D1665.1.patch




--
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




[jira] [Updated] (HIVE-2782) New BINARY type produces unexpected results with supported UDFS when using MapReduce2

2012-02-14 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2782:
-

   Resolution: Fixed
Fix Version/s: 0.9.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk.

 New BINARY type produces unexpected results with supported UDFS when using 
 MapReduce2
 -

 Key: HIVE-2782
 URL: https://issues.apache.org/jira/browse/HIVE-2782
 Project: Hive
  Issue Type: Bug
Reporter: Zhenxiao Luo
Assignee: Carl Steinbach
 Fix For: 0.9.0

 Attachments: HIVE-2782.D1653.1.patch, HIVE-2782.D1653.1.patch


 When using MapReduce2 for Hive
 ba_table_udfs is failing with unexpected output:
 [junit] Begin query: ba_table_udfs.q
 [junit] 12/01/23 13:32:28 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/23 13:32:28 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I 
 lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime 
 -I Location -I LOCATION ' -I transient_lastDdlTime -I last_modified_ -I 
 java.lang.RuntimeException -I at org -I at sun -I at java -I at junit -I 
 Caused by: -I LOCK_QUERYID: -I LOCK_TIME: -I grantTime -I [.][.][.] [0-9]* 
 more -I job_[0-9]*_[0-9]* -I USING 'java -cp 
 /home/cloudera/Code/hive/build/ql/test/logs/clientpositive/ba_table_udfs.q.out
  
 /home/cloudera/Code/hive/ql/src/test/results/clientpositive/ba_table_udfs.q.out
 [junit] 20,26c20,26
 [junit]  2   10val_101
 [junit]  3   164val_164  1
 [junit]  3   150val_150  1
 [junit]  2   18val_181
 [junit]  3   177val_177  1
 [junit]  2   12val_121
 [junit]  2   11val_111
 [junit] —
 [junit]  3   120val_120  1
 [junit]  3   192val_192  1
 [junit]  3   119val_119  1
 [junit]  3   187val_187  1
 [junit]  3   176val_176  1
 [junit]  3   199val_199  1
 [junit]  3   118val_118  1
 [junit] Exception: Client execution results failed with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] junit.framework.AssertionFailedError: Client execution results failed 
 with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] at junit.framework.Assert.fail(Assert.java:50)
 [junit] at 
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ba_table_udfs(TestCliDriver.java:129)
 [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [junit] at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [junit] at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [junit] at java.lang.reflect.Method.invoke(Method.java:616)
 [junit] at junit.framework.TestCase.runTest(TestCase.java:168)
 [junit] at junit.framework.TestCase.runBare(TestCase.java:134)
 [junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
 [junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
 [junit] at junit.framework.TestResult.run(TestResult.java:113)
 [junit] at junit.framework.TestCase.run(TestCase.java:124)
 [junit] at junit.framework.TestSuite.runTest(TestSuite.java:243)
 [junit] at junit.framework.TestSuite.run(TestSuite.java:238)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.)
 [junit] Cleaning up TestCliDriver
 [junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 10.751 sec
 [junit] Test org.apache.hadoop.hive.cli.TestCliDriver FAILED
 [for] /home/cloudera/Code/hive/ql/build.xml: The following error occurred 
 while executing this line:
 [for] /home/cloudera/Code/hive/build.xml:328: The following error occurred 
 while executing this line:
 [for] /home/cloudera/Code/hive/build-common.xml:453: Tests failed!

--
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




[jira] [Updated] (HIVE-2799) change the following thrift apis to add a region

2012-02-13 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2799:
-

Component/s: Thrift API
 Metastore

 change the following thrift apis to add a region
 

 Key: HIVE-2799
 URL: https://issues.apache.org/jira/browse/HIVE-2799
 Project: Hive
  Issue Type: New Feature
  Components: Metastore, Thrift API
Reporter: Namit Jain
Assignee: Kevin Wilfong

  liststring get_tables(1: string db_name, 2: string pattern) throws (1: 
 MetaException o1)
   liststring get_all_tables(1: string db_name) throws (1: MetaException o1)
   Table get_table(1:string dbname, 2:string tbl_name)
throws (1:MetaException o1, 2:NoSuchObjectException o2)
   listTable get_table_objects_by_name(1:string dbname, 2:liststring 
 tbl_names)
throws (1:MetaException o1, 2:InvalidOperationException o2, 
 3:UnknownDBException o3)
   liststring get_table_names_by_filter(1:string dbname, 2:string filter, 
 3:i16 max_tables=-1)
throws (1:MetaException o1, 
 2:InvalidOperationException o2, 3:UnknownDBException o3)
   Partition add_partition(1:Partition new_part)
throws(1:InvalidObjectException o1, 
 2:AlreadyExistsException o2, 3:MetaException o3)
   i32 add_partitions(1:listPartition new_parts)
throws(1:InvalidObjectException o1, 
 2:AlreadyExistsException o2, 3:MetaException o3)
   Partition append_partition(1:string db_name, 2:string tbl_name, 
 3:liststring part_vals)
throws (1:InvalidObjectException o1, 
 2:AlreadyExistsException o2, 3:MetaException o3)
   Partition append_partition_by_name(1:string db_name, 2:string tbl_name, 
 3:string part_name)
throws (1:InvalidObjectException o1, 
 2:AlreadyExistsException o2, 3:MetaException o3)
   bool drop_partition(1:string db_name, 2:string tbl_name, 3:liststring 
 part_vals, 4:bool deleteData)
throws(1:NoSuchObjectException o1, 2:MetaException o2)
   bool drop_partition_by_name(1:string db_name, 2:string tbl_name, 3:string 
 part_name, 4:bool deleteData)
throws(1:NoSuchObjectException o1, 2:MetaException o2)
   Partition get_partition(1:string db_name, 2:string tbl_name, 3:liststring 
 part_vals)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
   Partition get_partition_with_auth(1:string db_name, 2:string tbl_name, 
 3:liststring part_vals,
   4: string user_name, 5: liststring group_names) 
 throws(1:MetaException o1, 2:NoSuchObjectException o2)
   Partition get_partition_by_name(1:string db_name 2:string tbl_name, 
 3:string part_name)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
   listPartition get_partitions(1:string db_name, 2:string tbl_name, 3:i16 
 max_parts=-1)
throws(1:NoSuchObjectException o1, 2:MetaException o2)
   listPartition get_partitions_with_auth(1:string db_name, 2:string 
 tbl_name, 3:i16 max_parts=-1,
  4: string user_name, 5: liststring group_names) 
 throws(1:NoSuchObjectException o1, 2:MetaException o2)
   liststring get_partition_names(1:string db_name, 2:string tbl_name, 3:i16 
 max_parts=-1)
throws(1:MetaException o2)
   listPartition get_partitions_ps(1:string db_name 2:string tbl_name
 3:liststring part_vals, 4:i16 max_parts=-1)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
   listPartition get_partitions_ps_with_auth(1:string db_name, 2:string 
 tbl_name, 3:liststring part_vals, 4:i16 max_parts=-1,
  5: string user_name, 6: liststring group_names) 
 throws(1:NoSuchObjectException o1, 2:MetaException o2)
   liststring get_partition_names_ps(1:string db_name,
 2:string tbl_name, 3:liststring part_vals, 4:i16 max_parts=-1)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
   listPartition get_partitions_by_filter(1:string db_name 2:string tbl_name
 3:string filter, 4:i16 max_parts=-1)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
   listPartition get_partitions_by_names(1:string db_name 2:string tbl_name 
 3:liststring names)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
   bool drop_index_by_name(1:string db_name, 2:string tbl_name, 3:string 
 index_name, 4:bool deleteData)
throws(1:NoSuchObjectException o1, 2:MetaException o2)
   Index get_index_by_name(1:string db_name 2:string tbl_name, 3:string 
 index_name)
throws(1:MetaException o1, 2:NoSuchObjectException o2)
   listIndex get_indexes(1:string db_name, 2:string tbl_name, 3:i16 
 max_indexes=-1)

[jira] [Updated] (HIVE-2804) Task log retrieval fails on secure cluster

2012-02-13 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2804:
-

Component/s: Security

 Task log retrieval fails on secure cluster
 --

 Key: HIVE-2804
 URL: https://issues.apache.org/jira/browse/HIVE-2804
 Project: Hive
  Issue Type: Bug
  Components: Diagnosability, Query Processor, Security
Reporter: Carl Steinbach



--
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




[jira] [Updated] (HIVE-2795) View partitions do not have a storage descriptor

2012-02-13 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2795:
-

Release Note: Requires upgrade of the metadata corresponding to partitioned 
views. Please see the comments in 
metastore/scripts/upgrade/001-HIVE-2795.update_view_partitions.py for more 
information.

 View partitions do not have a storage descriptor
 

 Key: HIVE-2795
 URL: https://issues.apache.org/jira/browse/HIVE-2795
 Project: Hive
  Issue Type: Improvement
  Components: Metastore
Reporter: Namit Jain
Assignee: Kevin Wilfong
 Fix For: 0.9.0

 Attachments: HIVE-2795.D1683.1.patch, HIVE-2795.D1683.2.patch, 
 HIVE-2795.D1683.3.patch


 Besides being an inconsistency, it causes errors.
 Calling describe formatted on a view partition throws an exception
 java.lang.NullPointerException
   at org.apache.hadoop.hive.ql.metadata.Partition.getCols(Partition.java:505) 
  
   at org.apache.hadoop.hive.ql.exec.DDLTask.describeTable(DDLTask.java:2570)
 because it does not have a column descriptor, which is part of the storage 
 descriptor.

--
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




[jira] [Updated] (HIVE-2612) support hive table/partitions exists in more than one region

2012-02-13 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2612:
-

Release Note: Requires a metastore upgrade.

 support hive table/partitions exists in more than one region
 

 Key: HIVE-2612
 URL: https://issues.apache.org/jira/browse/HIVE-2612
 Project: Hive
  Issue Type: New Feature
  Components: Metastore
Reporter: He Yongqiang
Assignee: Kevin Wilfong
 Fix For: 0.9.0

 Attachments: HIVE-2612.1.patch, HIVE-2612.2.patch.txt, 
 HIVE-2612.3.patch.txt, HIVE-2612.4.patch.txt, HIVE-2612.6.patch.txt, 
 HIVE-2612.7.patch.txt, HIVE-2612.8.patch.txt, HIVE-2612.D1569.1.patch, 
 HIVE-2612.D1569.2.patch, HIVE-2612.D1569.3.patch, HIVE-2612.D1569.4.patch, 
 HIVE-2612.D1569.5.patch, HIVE-2612.D1569.6.patch, HIVE-2612.D1569.7.patch, 
 HIVE-2612.D1707.1.patch, hive.2612.5.patch


 1) add region object into hive metastore
 2) each partition/table has a primary region and a list of living regions, 
 and also data location in each region

--
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




[jira] [Updated] (HIVE-2753) Remove empty java files

2012-02-13 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2753:
-

   Resolution: Fixed
Fix Version/s: 0.9.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks Owen!

 Remove empty java files
 ---

 Key: HIVE-2753
 URL: https://issues.apache.org/jira/browse/HIVE-2753
 Project: Hive
  Issue Type: Bug
Reporter: Owen O'Malley
Assignee: Owen O'Malley
 Fix For: 0.9.0

 Attachments: HIVE-2753.D1611.1.patch, h-2753.patch


 When looking at the 0.8.1 rc1, I discovered there were a set of empty Java 
 files that were likely left over from using 'patch' without the -E.
 {quote}
 jdbc/src/java/org/apache/hadoop/hive/jdbc/JdbcSessionState.java
 ql/src/java/org/apache/hadoop/hive/ql/exec/ExprNodeIndexEvaluator.java
 ql/src/java/org/apache/hadoop/hive/ql/exec/MapJoinObject.java
 ql/src/java/org/apache/hadoop/hive/ql/exec/PathUtil.java
 ql/src/java/org/apache/hadoop/hive/ql/exec/TypedBytesRecordReader.java
 ql/src/java/org/apache/hadoop/hive/ql/plan/AlterPartitionProtectModeDesc.java
 ql/src/java/org/apache/hadoop/hive/ql/plan/TouchDesc.java
 ql/src/test/org/apache/hadoop/hive/ql/plan/TestAddPartition.java
 serde/src/gen-java/org/apache/hadoop/hive/serde/test/Constants.java
 shims/src/0.20/java/org/apache/hadoop/fs/ProxyFileSystem.java
 shims/src/0.20/java/org/apache/hadoop/fs/ProxyLocalFileSystem.java
 {quote}

--
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




[jira] [Updated] (HIVE-2302) Allow grant privileges on granting privileges.

2012-02-10 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2302:
-

Component/s: Authorization

 Allow grant privileges on granting privileges.
 --

 Key: HIVE-2302
 URL: https://issues.apache.org/jira/browse/HIVE-2302
 Project: Hive
  Issue Type: Improvement
  Components: Authorization, Security
Reporter: Guy Doulberg
Assignee: Jakob Homan

 Today any user can grant him and any other users privileges on schemas and 
 tables.
 This way the administrator can not be sure that the rules he had apply are 
 fulfilled.
   

--
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




[jira] [Updated] (HIVE-2790) Grouping on constant expressions is broken on 0.23

2012-02-09 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2790:
-

Component/s: Query Processor

 Grouping on constant expressions is broken on 0.23
 --

 Key: HIVE-2790
 URL: https://issues.apache.org/jira/browse/HIVE-2790
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Zhenxiao Luo
Assignee: Zhenxiao Luo

 Query result(-30.33) is missing in the running output:
 [junit] Begin query: groupby_neg_float.q
 [junit] 12/01/24 10:57:53 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/24 10:57:53 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/24 10:57:58 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/24 10:57:58 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I 
 lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime 
 -I Location -I LOCATION ' -I transient_lastDdlTime -I last_modified_ -I 
 java.lang.RuntimeException -I at org -I at sun -I at java -I at junit -I 
 Caused by: -I LOCK_QUERYID: -I LOCK_TIME: -I grantTime -I [.][.][.] [0-9]* 
 more -I job_[0-9]*_[0-9]* -I USING 'java -cp 
 /home/cloudera/Code/hive/build/ql/test/logs/clientpositive/groupby_neg_float.q.out
  
 /home/cloudera/Code/hive/ql/src/test/results/clientpositive/groupby_neg_float.q.out
 [junit] 14c14,15
 [junit]  POSTHOOK: Output: 
 file:/tmp/cloudera/hive_2012-01-24_10-57-51_652_2049459353574360528/-mr-1
 [junit] —
 [junit]  POSTHOOK: Output: 
 file:/data/users/njain/hive5/hive5/build/ql/tmp/815331462/1
 [junit]  -30.33
 [junit] 28c29,30
 [junit]  POSTHOOK: Output: 
 file:/tmp/cloudera/hive_2012-01-24_10-57-56_909_7738265803221872068/-mr-1
 [junit] —
 [junit]  POSTHOOK: Output: 
 file:/data/users/njain/hive5/hive5/build/ql/tmp/2082702070/1
 [junit] junit.framework.AssertionFailedError: Client execution results failed 
 with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] at junit.framework.Assert.fail(Assert.java:50)
 [junit] at 
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_groupby_neg_float(TestCliDriver.java:129)
 [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [junit] at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [junit] at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [junit] at java.lang.reflect.Method.invoke(Method.java:616)
 [junit] at junit.framework.TestCase.runTest(TestCase.java:168)
 [junit] at junit.framework.TestCase.runBare(TestCase.java:134)
 [junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
 [junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
 [junit] at junit.framework.TestResult.run(TestResult.java:113)
 [junit] at junit.framework.TestCase.run(TestCase.java:124)
 [junit] at junit.framework.TestSuite.runTest(TestSuite.java:243)
 [junit] at junit.framework.TestSuite.run(TestSuite.java:238)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
 [junit] Exception: Client execution results failed with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit]  -30.33
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.)
 When trying the following(GROUP BY on Floating Point type and string type):
 FROM src
 SELECT -30.33
 GROUP BY -30.33
 LIMIT 1;
 FROM src
 SELECT '-30.33'
 GROUP BY '-30.33'
 LIMIT 1;
 Get NULL in result

--
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




[jira] [Updated] (HIVE-2790) Grouping on constant expressions is broken on 0.23

2012-02-09 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2790:
-

Summary: Grouping on constant expressions is broken on 0.23  (was: When 
integrating into MapReduce2, GROUP BY on Floating Point and String types are 
broken)

 Grouping on constant expressions is broken on 0.23
 --

 Key: HIVE-2790
 URL: https://issues.apache.org/jira/browse/HIVE-2790
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Zhenxiao Luo
Assignee: Zhenxiao Luo

 Query result(-30.33) is missing in the running output:
 [junit] Begin query: groupby_neg_float.q
 [junit] 12/01/24 10:57:53 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/24 10:57:53 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] 12/01/24 10:57:58 WARN conf.Configuration: mapred.system.dir is 
 deprecated. Instead, use mapreduce.jobtracker.system.dir
 [junit] 12/01/24 10:57:58 WARN conf.Configuration: mapred.local.dir is 
 deprecated. Instead, use mapreduce.cluster.local.dir
 [junit] diff -a -I file: -I pfile: -I hdfs: -I /tmp/ -I invalidscheme: -I 
 lastUpdateTime -I lastAccessTime -I [Oo]wner -I CreateTime -I LastAccessTime 
 -I Location -I LOCATION ' -I transient_lastDdlTime -I last_modified_ -I 
 java.lang.RuntimeException -I at org -I at sun -I at java -I at junit -I 
 Caused by: -I LOCK_QUERYID: -I LOCK_TIME: -I grantTime -I [.][.][.] [0-9]* 
 more -I job_[0-9]*_[0-9]* -I USING 'java -cp 
 /home/cloudera/Code/hive/build/ql/test/logs/clientpositive/groupby_neg_float.q.out
  
 /home/cloudera/Code/hive/ql/src/test/results/clientpositive/groupby_neg_float.q.out
 [junit] 14c14,15
 [junit]  POSTHOOK: Output: 
 file:/tmp/cloudera/hive_2012-01-24_10-57-51_652_2049459353574360528/-mr-1
 [junit] —
 [junit]  POSTHOOK: Output: 
 file:/data/users/njain/hive5/hive5/build/ql/tmp/815331462/1
 [junit]  -30.33
 [junit] 28c29,30
 [junit]  POSTHOOK: Output: 
 file:/tmp/cloudera/hive_2012-01-24_10-57-56_909_7738265803221872068/-mr-1
 [junit] —
 [junit]  POSTHOOK: Output: 
 file:/data/users/njain/hive5/hive5/build/ql/tmp/2082702070/1
 [junit] junit.framework.AssertionFailedError: Client execution results failed 
 with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit] at junit.framework.Assert.fail(Assert.java:50)
 [junit] at 
 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_groupby_neg_float(TestCliDriver.java:129)
 [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [junit] at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [junit] at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [junit] at java.lang.reflect.Method.invoke(Method.java:616)
 [junit] at junit.framework.TestCase.runTest(TestCase.java:168)
 [junit] at junit.framework.TestCase.runBare(TestCase.java:134)
 [junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
 [junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
 [junit] at junit.framework.TestResult.run(TestResult.java:113)
 [junit] at junit.framework.TestCase.run(TestCase.java:124)
 [junit] at junit.framework.TestSuite.runTest(TestSuite.java:243)
 [junit] at junit.framework.TestSuite.run(TestSuite.java:238)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)
 [junit] at 
 org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
 [junit] Exception: Client execution results failed with error code = 1
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.
 [junit]  -30.33
 [junit] See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false 
 to get more logs.)
 When trying the following(GROUP BY on Floating Point type and string type):
 FROM src
 SELECT -30.33
 GROUP BY -30.33
 LIMIT 1;
 FROM src
 SELECT '-30.33'
 GROUP BY '-30.33'
 LIMIT 1;
 Get NULL in result

--
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




[jira] [Updated] (HIVE-2793) Disable loadpart_err.q on 0.23

2012-02-08 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2793:
-

Attachment: HIVE-2793.D1665.1.patch

 Disable loadpart_err.q on 0.23
 --

 Key: HIVE-2793
 URL: https://issues.apache.org/jira/browse/HIVE-2793
 Project: Hive
  Issue Type: Bug
  Components: Testing Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2793.D1665.1.patch, HIVE-2793.D1665.1.patch




--
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




[jira] [Updated] (HIVE-1938) Cost Based Query optimization for Joins in Hive

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-1938:
-

Component/s: Statistics

 Cost Based Query optimization for Joins in Hive
 ---

 Key: HIVE-1938
 URL: https://issues.apache.org/jira/browse/HIVE-1938
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor, Statistics
 Environment: *nix,java
Reporter: bharath v
Assignee: bharath v

 Current optimization in Hive is just rule-based and involves applying a set 
 of rules on the Plan tree. This depends on hints given by the user (which may 
 or may-not be correct) and might result in execution of costlier plans.So 
 this jira aims at building a cost-model which can give a good estimate 
 various plans before hand (using some meta-data already collected) and we can 
 choose the best plan which incurs the least cost.

--
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




[jira] [Updated] (HIVE-2472) Metastore statistics are not being updated for CTAS queries.

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2472:
-

Component/s: Statistics

 Metastore statistics are not being updated for CTAS queries.
 

 Key: HIVE-2472
 URL: https://issues.apache.org/jira/browse/HIVE-2472
 Project: Hive
  Issue Type: Bug
  Components: Statistics
Reporter: Kevin Wilfong
Assignee: Robert Surówka
 Fix For: 0.8.0

 Attachments: HIVE-2472.1.patch.txt, HIVE-2472.2.patch, 
 HIVE-2472.3.patch, HIVE-2472.4.patch, HIVE-2472.5.patch


 We need to add a Statistics task at the end of a CTAS query in order to 
 update the metastore statistics for the table being created.

--
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




[jira] [Updated] (HIVE-33) [Hive]: Add ability to compute statistics on hive tables

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-33:
---

Component/s: Statistics

 [Hive]: Add ability to compute statistics on hive tables
 

 Key: HIVE-33
 URL: https://issues.apache.org/jira/browse/HIVE-33
 Project: Hive
  Issue Type: New Feature
  Components: Query Processor, Statistics
Reporter: Ashish Thusoo
  Labels: statistics

 Add commands to collect partition and column level statistics in hive.

--
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




[jira] [Updated] (HIVE-2554) Hive authorization with remote metastore does not work

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2554:
-

Component/s: Authorization

 Hive authorization with remote metastore does not work
 --

 Key: HIVE-2554
 URL: https://issues.apache.org/jira/browse/HIVE-2554
 Project: Hive
  Issue Type: Bug
  Components: Authorization, Security
Affects Versions: 0.7.1
 Environment: CentOS release 5.7
 Hadoop 0.20.2 (pseudo-distributed mode)
Reporter: Alex Holmes

 *Install Hadoop 0.20.2*
 #  Explode Hadoop 0.20.2 tarball
 #  Configure for pseudo-distributed mode from [Hadoop 
 site|http://hadoop.apache.org/common/docs/r0.20.2/quickstart.html#PseudoDistributed]
 #  Create user hadoop
 #  Start all Hadoop daemons as user hadoop
 *Install Hive 0.7.1*
 #  Explode Hive 0.7.1 tarball
 #  Create user hive
 #  Configure Hive to run with remote metastore, and with authentication.  
 Contents of hive-site.xml are:
 {code}
 configuration
 property
   namehive.metastore.local/name
   valuefalse/value
 /property
 property
   namehive.metastore.uris/name
   valuethrift://localhost:9083/value
 /property
 property
  namehive.security.authorization.enabled/name
  valuetrue/value
 /property
 /configuration
 {code}
 # Create and open-up the Hive-related directories in HDFS
 hadoop fs -mkdir /user/hive/warehouse
 hadoop fs -chmod -R 777 /user/hive/warehouse
 hadoop fs -mkdir /tmp
 hadoop fs -chmod -R 777 /tmp
 *Run the metastore*
 ./hive --service metastore
 *Run the hive client*
 The exception below is thrown regardless of which user is running the 
 metastore and client (tried as both the hive and hadoop users, and 
 combinations thereof).
 {code}
 ./hive
 hive set hive.security.authorization.enabled=false;
 hive CREATE TABLE pokes (foo INT, bar STRING) ROW FORMAT DELIMITED FIELDS 
 TERMINATED BY '-' STORED AS TEXTFILE;
 OK
 hive LOAD DATA LOCAL INPATH '/tmp/foobar.txt' OVERWRITE INTO TABLE pokes;
 Copying data from file:/tmp/foobar.txt
 Copying file: file:/tmp/foobar.txt
 Loading data to table default.pokes
 Deleted hdfs://localhost:9000/user/hive/warehouse/pokes
 OK
 Time taken: 0.443 seconds
 hive grant select on table pokes to user hive;
 OK
 Time taken: 0.191 seconds
 hive set hive.security.authorization.enabled=true;
 hive show grant user hive on table pokes;
 OK
 database  default 
 table pokes   
 principalName hive
 principalType USER
 privilege Select  
 grantTime 1320642081  
 grantor   hadoop  
 Time taken: 0.084 seconds
 hive select * from pokes;
 FAILED: Hive Internal Error: 
 org.apache.hadoop.hive.ql.metadata.HiveException(org.apache.thrift.TApplicationException:
  get_privilege_set failed: unknown result)
 org.apache.hadoop.hive.ql.metadata.HiveException: 
 org.apache.thrift.TApplicationException: get_privilege_set failed: unknown 
 result
   at 
 org.apache.hadoop.hive.ql.metadata.Hive.get_privilege_set(Hive.java:1617)
   at 
 org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider.authorizeUserPriv(DefaultHiveAuthorizationProvider.java:201)
   at 
 org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider.authorizeUserAndDBPriv(DefaultHiveAuthorizationProvider.java:226)
   at 
 org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider.authorizeUserDBAndTable(DefaultHiveAuthorizationProvider.java:259)
   at 
 org.apache.hadoop.hive.ql.security.authorization.DefaultHiveAuthorizationProvider.authorize(DefaultHiveAuthorizationProvider.java:159)
   at org.apache.hadoop.hive.ql.Driver.doAuthorization(Driver.java:531)
   at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:393)
   at org.apache.hadoop.hive.ql.Driver.run(Driver.java:736)
   at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:164)
   at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:241)
   at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:456)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
 Caused by: org.apache.thrift.TApplicationException: get_privilege_set failed: 
 unknown result
   at 
 org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_privilege_set(ThriftHiveMetastore.java:2414)
   at 
 org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_privilege_set(ThriftHiveMetastore.java:2379)
   at 
 

[jira] [Updated] (HIVE-2241) Thrift MetaStore interface bypasses authorization checks

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2241:
-

Component/s: Authorization

 Thrift MetaStore interface bypasses authorization checks
 

 Key: HIVE-2241
 URL: https://issues.apache.org/jira/browse/HIVE-2241
 Project: Hive
  Issue Type: Bug
  Components: Authorization, JDBC, Metastore, ODBC, Security
Reporter: Carl Steinbach
Assignee: Enis Soztutar

 Hive's authorization mechanism works with DML and DDL statements only. 
 Authorization checks are not applied when a Thrift client directly accesses 
 the Metastore's Thrift interface, e.g. create_table(), drop_table(), 
 alter_table(), get_databases(), get_tables(), etc.
 Catalog functions such as get_databases() and get_tables() are directly 
 accessed by JDBC and ODBC drivers.

--
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




[jira] [Updated] (HIVE-78) Authorization infrastructure for Hive

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-78:
---

Component/s: Authorization

 Authorization infrastructure for Hive
 -

 Key: HIVE-78
 URL: https://issues.apache.org/jira/browse/HIVE-78
 Project: Hive
  Issue Type: New Feature
  Components: Authorization, Metastore, Query Processor, Security, 
 Server Infrastructure
Reporter: Ashish Thusoo
Assignee: He Yongqiang
  Labels: authorization
 Fix For: 0.7.0

 Attachments: HIVE-78.1.nothrift.patch, HIVE-78.1.thrift.patch, 
 HIVE-78.10.no_thrift.patch, HIVE-78.11.patch, HIVE-78.12.2.patch, 
 HIVE-78.12.3.patch, HIVE-78.12.4.patch, HIVE-78.12.5.patch, HIVE-78.12.patch, 
 HIVE-78.2.nothrift.patch, HIVE-78.2.thrift.patch, HIVE-78.4.complete.patch, 
 HIVE-78.4.no_thrift.patch, HIVE-78.5.complete.patch, 
 HIVE-78.5.no_thrift.patch, HIVE-78.6.complete.patch, 
 HIVE-78.6.no_thrift.patch, HIVE-78.7.no_thrift.patch, HIVE-78.7.patch, 
 HIVE-78.9.no_thrift.patch, HIVE-78.9.patch, createuser-v1.patch, 
 hive-78-metadata-v1.patch, hive-78-syntax-v1.patch, hive-78.diff


 Allow hive to integrate with existing user repositories for authentication 
 and authorization infromation.

--
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




[jira] [Updated] (HIVE-1930) new configuration to disable all authorization related metadata changes

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-1930:
-

Component/s: Authorization

 new configuration to disable all authorization related metadata changes
 ---

 Key: HIVE-1930
 URL: https://issues.apache.org/jira/browse/HIVE-1930
 Project: Hive
  Issue Type: Improvement
  Components: Authorization
Reporter: Namit Jain
Assignee: He Yongqiang

 Even if authorization is disabled, some entries are inserted in the metastore 
 related to privileges.
 There should be a easy way to disable all authorization changes completely.

--
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




[jira] [Updated] (HIVE-1935) set hive.security.authorization.createtable.owner.grants to null by default

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-1935:
-

Component/s: Authorization

 set hive.security.authorization.createtable.owner.grants to null by default
 ---

 Key: HIVE-1935
 URL: https://issues.apache.org/jira/browse/HIVE-1935
 Project: Hive
  Issue Type: Bug
  Components: Authorization, Security
Reporter: He Yongqiang
Assignee: He Yongqiang
 Fix For: 0.7.0

 Attachments: HIVE-1935.1.patch


 It seems an empty setting in hive-size.xml does not overwrite hive-default.xml

--
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




[jira] [Updated] (HIVE-1696) Add delegation token support to metastore

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-1696:
-

Component/s: Authentication

 Add delegation token support to metastore
 -

 Key: HIVE-1696
 URL: https://issues.apache.org/jira/browse/HIVE-1696
 Project: Hive
  Issue Type: Sub-task
  Components: Authentication, Metastore, Security, Server 
 Infrastructure
Reporter: Todd Lipcon
Assignee: Devaraj Das
 Fix For: 0.7.0

 Attachments: hive-1696-1-with-gen-code.patch, hive-1696-1.patch, 
 hive-1696-3-with-gen-code.patch, hive-1696-3.patch, 
 hive-1696-4-with-gen-code.1.patch, hive-1696-4-with-gen-code.patch, 
 hive-1696-4.patch, hive-1696-4.patch, hive_1696.patch, hive_1696.patch, 
 hive_1696_no-thrift.patch


 As discussed in HIVE-842, kerberos authentication is only sufficient for 
 authentication of a hive user client to the metastore. There are other cases 
 where thrift calls need to be authenticated when the caller is running in an 
 environment without kerberos credentials. For example, an MR task running as 
 part of a hive job may want to report statistics to the metastore, or a job 
 may be running within the context of Oozie or Hive Server.
 This JIRA is to implement support of delegation tokens for the metastore. The 
 concept of a delegation token is borrowed from the Hadoop security design - 
 the quick summary is that a kerberos-authenticated client may retrieve a 
 binary token from the server. This token can then be passed to other clients 
 which can use it to achieve authentication as the original user in lieu of a 
 kerberos ticket.

--
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




[jira] [Updated] (HIVE-842) Authentication Infrastructure for Hive

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-842:


Component/s: Authentication

 Authentication Infrastructure for Hive
 --

 Key: HIVE-842
 URL: https://issues.apache.org/jira/browse/HIVE-842
 Project: Hive
  Issue Type: New Feature
  Components: Authentication, Security, Server Infrastructure
Reporter: Edward Capriolo
Assignee: Todd Lipcon
 Fix For: 0.7.0

 Attachments: HiveSecurityThoughts.pdf, hive-842.txt, hive-842_2.patch


 This issue deals with the authentication (user name,password) infrastructure. 
 Not the authorization components that specify what a user should be able to 
 do.

--
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




[jira] [Updated] (HIVE-2743) Enable SASL mode for HiveServer

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2743:
-

Component/s: Authentication

 Enable SASL mode for HiveServer
 ---

 Key: HIVE-2743
 URL: https://issues.apache.org/jira/browse/HIVE-2743
 Project: Hive
  Issue Type: New Feature
  Components: Authentication, Security, Server Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach



--
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




[jira] [Updated] (HIVE-2093) create/drop database should populate inputs/outputs and check concurrency and user permission

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2093:
-

Component/s: Locking
 Authorization

 create/drop database should populate inputs/outputs and check concurrency and 
 user permission
 -

 Key: HIVE-2093
 URL: https://issues.apache.org/jira/browse/HIVE-2093
 Project: Hive
  Issue Type: Bug
  Components: Authorization, Locking, Metastore, Security
Reporter: Namit Jain
Assignee: Siying Dong
 Attachments: HIVE-2093.6.patch, HIVE.2093.1.patch, HIVE.2093.2.patch, 
 HIVE.2093.3.patch, HIVE.2093.4.patch, HIVE.2093.5.patch


 concurrency and authorization are needed for create/drop table. Also to make 
 concurrency work, it's better to have LOCK/UNLOCK DATABASE and SHOW LOCKS 
 DATABASE

--
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




[jira] [Updated] (HIVE-1648) Automatically gathering statistics when reading a table/partition

2012-02-02 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-1648:
-

Component/s: Statistics
Summary: Automatically gathering statistics when reading a 
table/partition  (was: Automatically gathering stats when reading a 
table/partition)

 Automatically gathering statistics when reading a table/partition
 -

 Key: HIVE-1648
 URL: https://issues.apache.org/jira/browse/HIVE-1648
 Project: Hive
  Issue Type: Sub-task
  Components: Statistics
Reporter: Ning Zhang
Assignee: Paul Butler
 Attachments: HIVE-1648.2.patch, HIVE-1648.3.patch, HIVE-1648.4.patch, 
 HIVE-1648.5.patch, HIVE-1648.patch, hive-1648.svn.patch


 HIVE-1361 introduces a new command 'ANALYZE TABLE T COMPUTE STATISTICS' to 
 gathering stats. This requires additional scan of the data. Stats gathering 
 can be piggy-backed on TableScanOperator whenever a table/partition is 
 scanned (given not LIMIT operator). 

--
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




[jira] [Updated] (HIVE-2611) Make index table output of create index command if index is table based

2012-02-01 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2611:
-

  Component/s: Indexing
Fix Version/s: 0.9.0

 Make index table output of create index command if index is table based
 ---

 Key: HIVE-2611
 URL: https://issues.apache.org/jira/browse/HIVE-2611
 Project: Hive
  Issue Type: Improvement
  Components: Indexing
Reporter: Kevin Wilfong
Assignee: Kevin Wilfong
 Fix For: 0.9.0

 Attachments: HIVE-2611.1.patch.txt, HIVE-2611.D705.1.patch, 
 HIVE-2611.D705.2.patch, HIVE-2611.D705.3.patch


 If an index is table based, when that index is created a table is created to 
 contain that index.  This should be listed in the output of the command.

--
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




[jira] [Updated] (HIVE-2765) hbase handler uses ZooKeeperConnectionException which is not compatible with HBase versions other than 0.89

2012-01-31 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2765:
-

Fix Version/s: 0.9.0

 hbase handler uses ZooKeeperConnectionException which is not compatible with 
 HBase versions other than 0.89 
 

 Key: HIVE-2765
 URL: https://issues.apache.org/jira/browse/HIVE-2765
 Project: Hive
  Issue Type: Improvement
  Components: HBase Handler
Affects Versions: 0.7.0, 0.8.0
Reporter: Pei Yue
  Labels: patch
 Fix For: 0.9.0

 Attachments: HIVE-2765.D1485.3.patch

   Original Estimate: 2h
  Remaining Estimate: 2h

 It cannot integrate with HBase0.21 and may not be able to integrate with 
 hbase0.9x

--
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




[jira] [Updated] (HIVE-2662) Add Ant configuration property for dumping classpath of tests

2012-01-29 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2662:
-

   Resolution: Fixed
Fix Version/s: 0.9.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk.

 Add Ant configuration property for dumping classpath of tests
 -

 Key: HIVE-2662
 URL: https://issues.apache.org/jira/browse/HIVE-2662
 Project: Hive
  Issue Type: Improvement
  Components: Testing Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Fix For: 0.9.0

 Attachments: HIVE-2662.D903.1.patch, HIVE-2662.D903.1.patch




--
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




[jira] [Updated] (HIVE-2760) TestCliDriver should log elapsed time

2012-01-29 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2760:
-

Attachment: HIVE-2760.D1503.2.patch

 TestCliDriver should log elapsed time
 -

 Key: HIVE-2760
 URL: https://issues.apache.org/jira/browse/HIVE-2760
 Project: Hive
  Issue Type: Improvement
  Components: Testing Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Fix For: 0.9.0

 Attachments: HIVE-2760.D1503.1.patch, HIVE-2760.D1503.1.patch, 
 HIVE-2760.D1503.2.patch, HIVE-2760.D1503.2.patch




--
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




[jira] [Updated] (HIVE-2760) TestCliDriver should log elapsed time

2012-01-29 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2760:
-

   Resolution: Fixed
Fix Version/s: 0.9.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk.

 TestCliDriver should log elapsed time
 -

 Key: HIVE-2760
 URL: https://issues.apache.org/jira/browse/HIVE-2760
 Project: Hive
  Issue Type: Improvement
  Components: Testing Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Fix For: 0.9.0

 Attachments: HIVE-2760.D1503.1.patch, HIVE-2760.D1503.1.patch, 
 HIVE-2760.D1503.2.patch, HIVE-2760.D1503.2.patch




--
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




[jira] [Updated] (HIVE-2760) TestCliDriver should log elapsed time

2012-01-27 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2760:
-

Attachment: HIVE-2760.D1503.1.patch

 TestCliDriver should log elapsed time
 -

 Key: HIVE-2760
 URL: https://issues.apache.org/jira/browse/HIVE-2760
 Project: Hive
  Issue Type: Improvement
  Components: Testing Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2760.D1503.1.patch, HIVE-2760.D1503.1.patch




--
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




[jira] [Updated] (HIVE-2760) TestCliDriver should log elapsed time

2012-01-27 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2760:
-

Status: Patch Available  (was: Open)

 TestCliDriver should log elapsed time
 -

 Key: HIVE-2760
 URL: https://issues.apache.org/jira/browse/HIVE-2760
 Project: Hive
  Issue Type: Improvement
  Components: Testing Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2760.D1503.1.patch, HIVE-2760.D1503.1.patch




--
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




[jira] [Updated] (HIVE-2734) Fix some nondeterministic test output

2012-01-26 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2734:
-

   Resolution: Fixed
Fix Version/s: 0.9.0
 Hadoop Flags: Reviewed
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks Zhenxiao.

 Fix some nondeterministic test output
 -

 Key: HIVE-2734
 URL: https://issues.apache.org/jira/browse/HIVE-2734
 Project: Hive
  Issue Type: Bug
  Components: Testing Infrastructure
Reporter: Zhenxiao Luo
Assignee: Zhenxiao Luo
 Fix For: 0.9.0

 Attachments: HIVE-2734.D1359.1.patch, HIVE-2734.D1359.2.patch, 
 HIVE-2734.D1359.2.patch, HIVE-2734.D1365.1.patch, HIVE-2734.D1365.2.patch, 
 HIVE-2734.D1365.2.patch, HIVE-2734.D1419.1.patch, HIVE-2734.D1419.1.patch, 
 HIVE-2734.D1425.1.patch, HIVE-2734.D1425.1.patch, HIVE-2734.D1443.1.patch, 
 HIVE-2734.D1443.1.patch, HIVE-2734.D1449.1.patch, HIVE-2734.D1449.1.patch


 Many Hive query tests lack an ORDER BY clause, and consequently the ordering
 of the rows in the result set is nondeterministic:
 groupby1_limit
 input11_limit
 input1_limit
 input_lazyserde
 join18_multi_distinct
 join_1to1
 join_casesensitive
 join_filters
 join_nulls
 merge3
 rcfile_columnar
 rcfile_lazydecompress
 rcfile_union
 sample10
 udf_sentences
 union24
 columnarserde_create_shortcut
 combine1
 global_limit

--
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




[jira] [Updated] (HIVE-2734) Fix some nondeterministic test output

2012-01-26 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2734:
-

Component/s: Testing Infrastructure

 Fix some nondeterministic test output
 -

 Key: HIVE-2734
 URL: https://issues.apache.org/jira/browse/HIVE-2734
 Project: Hive
  Issue Type: Bug
  Components: Testing Infrastructure
Reporter: Zhenxiao Luo
Assignee: Zhenxiao Luo
 Fix For: 0.9.0

 Attachments: HIVE-2734.D1359.1.patch, HIVE-2734.D1359.2.patch, 
 HIVE-2734.D1359.2.patch, HIVE-2734.D1365.1.patch, HIVE-2734.D1365.2.patch, 
 HIVE-2734.D1365.2.patch, HIVE-2734.D1419.1.patch, HIVE-2734.D1419.1.patch, 
 HIVE-2734.D1425.1.patch, HIVE-2734.D1425.1.patch, HIVE-2734.D1443.1.patch, 
 HIVE-2734.D1443.1.patch, HIVE-2734.D1449.1.patch, HIVE-2734.D1449.1.patch


 Many Hive query tests lack an ORDER BY clause, and consequently the ordering
 of the rows in the result set is nondeterministic:
 groupby1_limit
 input11_limit
 input1_limit
 input_lazyserde
 join18_multi_distinct
 join_1to1
 join_casesensitive
 join_filters
 join_nulls
 merge3
 rcfile_columnar
 rcfile_lazydecompress
 rcfile_union
 sample10
 udf_sentences
 union24
 columnarserde_create_shortcut
 combine1
 global_limit

--
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




[jira] [Updated] (HIVE-2698) Enable Hadoop-1.0.0 in Hive

2012-01-25 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2698:
-

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

Committed to trunk. Thanks Enis!

 Enable Hadoop-1.0.0 in Hive
 ---

 Key: HIVE-2698
 URL: https://issues.apache.org/jira/browse/HIVE-2698
 Project: Hive
  Issue Type: New Feature
  Components: Security, Shims
Affects Versions: 0.9.0
Reporter: Enis Soztutar
Assignee: Enis Soztutar
  Labels: hadoop, hadoop-1.0, jars
 Attachments: HIVE-2698.D1389.1.patch, HIVE-2698.D1389.2.patch, 
 HIVE-2698.D1389.2.patch, HIVE-2698_v1.patch, HIVE-2698_v2.patch, 
 HIVE-2698_v3.patch


 Hadoop-1.0.0 is recently released, which is AFAIK, API compatible to the 
 0.20S release. 

--
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




[jira] [Updated] (HIVE-2737) CombineFileInputFormat fails if mapred.job.tracker is set to local with a sub-query

2012-01-23 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2737:
-

Component/s: Query Processor

 CombineFileInputFormat fails if mapred.job.tracker is set to local with a 
 sub-query
 ---

 Key: HIVE-2737
 URL: https://issues.apache.org/jira/browse/HIVE-2737
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Affects Versions: 0.8.0
Reporter: Esteban Gutierrez

 If the CombineFileInputFormat and mapred.job.tracker=local are used together, 
 the CombineFileInputFormat throws a java.io.FileNotFoundException if the 
 query statment contains a sub-query:
 {code}
 hive select count(*) from (select count(*), a from hivetest2 group by a) x; 
 Total MapReduce jobs = 2 
 Launching Job 1 out of 2 
 Number of reduce tasks not specified. Estimated from input data size: 1 
 In order to change the average load for a reducer (in bytes): 
 set hive.exec.reducers.bytes.per.reducer=number 
 In order to limit the maximum number of reducers: 
 set hive.exec.reducers.max=number 
 In order to set a constant number of reducers: 
 set mapred.reduce.tasks=number 
 Execution log at: 
 /tmp/esteban/esteban_20120119134040_5d105797-1444-43ce-8ca8-3b4735b7a70d.log 
 Job running in-process (local Hadoop) 
 2012-01-19 13:40:49,618 null map = 100%, reduce = 100% 
 Ended Job = job_local_0001 
 Launching Job 2 out of 2 
 Number of reduce tasks determined at compile time: 1 
 In order to change the average load for a reducer (in bytes): 
 set hive.exec.reducers.bytes.per.reducer=number 
 In order to limit the maximum number of reducers: 
 set hive.exec.reducers.max=number 
 In order to set a constant number of reducers: 
 set mapred.reduce.tasks=number 
 Execution log at: 
 /tmp/esteban/esteban_20120119134040_5d105797-1444-43ce-8ca8-3b4735b7a70d.log 
 java.io.FileNotFoundException: File does not exist: 
 /tmp/esteban/hive_2012-01-19_13-40-45_277_494412568828098242/-mr-10002/00_0
  
 at 
 org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:546)
  
 at 
 org.apache.hadoop.mapred.lib.CombineFileInputFormat$OneFileInfo.init(CombineFileInputFormat.java:462)
  
 at 
 org.apache.hadoop.mapred.lib.CombineFileInputFormat.getMoreSplits(CombineFileInputFormat.java:256)
  
 at 
 org.apache.hadoop.mapred.lib.CombineFileInputFormat.getSplits(CombineFileInputFormat.java:212)
  
 at 
 org.apache.hadoop.hive.shims.Hadoop20SShims$CombineFileInputFormatShim.getSplits(Hadoop20SShims.java:347)
  
 at 
 org.apache.hadoop.hive.shims.Hadoop20SShims$CombineFileInputFormatShim.getSplits(Hadoop20SShims.java:313)
  
 at 
 org.apache.hadoop.hive.ql.io.CombineHiveInputFormat.getSplits(CombineHiveInputFormat.java:377)
  
 at org.apache.hadoop.mapred.JobClient.writeOldSplits(JobClient.java:971) 
 at org.apache.hadoop.mapred.JobClient.writeSplits(JobClient.java:963) 
 at org.apache.hadoop.mapred.JobClient.access$500(JobClient.java:170) 
 at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:880) 
 at org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:833) 
 at java.security.AccessController.doPrivileged(Native Method) 
 at javax.security.auth.Subject.doAs(Subject.java:396) 
 at 
 org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1127)
  
 at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:833) 
 at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:807) 
 at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:671) 
 at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:1092) 
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
 at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
 at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  
 at java.lang.reflect.Method.invoke(Method.java:597) 
 at org.apache.hadoop.util.RunJar.main(RunJar.java:186) 
 Job Submission failed with exception 'java.io.FileNotFoundException(File does 
 not exist: 
 /tmp/esteban/hive_2012-01-19_13-40-45_277_494412568828098242/-mr-10002/00_0)'
 {code}

--
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




[jira] [Updated] (HIVE-2589) Newly created partition should inherit properties from table

2012-01-23 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2589:
-

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

Backported to branch-0.8-r2. Thanks Ashutosh!

 Newly created partition should inherit properties from table
 

 Key: HIVE-2589
 URL: https://issues.apache.org/jira/browse/HIVE-2589
 Project: Hive
  Issue Type: Improvement
  Components: Metastore
Reporter: Ashutosh Chauhan
Assignee: Ashutosh Chauhan
 Fix For: 0.8.1, 0.9.0

 Attachments: HIVE-2589.D1335.1.patch, HIVE-2589.D1335.2.patch, 
 hive-2589.patch, hive-2589.patch, hive-2589_1.patch, hive-2589_2.patch, 
 hive-2589_3.patch, hive-2589_4.patch, hive-2589_branch8.patch


 This will make all the info contained in table properties available to 
 partitions. 

--
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




[jira] [Updated] (HIVE-2698) Enable Hadoop-1.0.0 in Hive

2012-01-23 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2698:
-

Status: Open  (was: Patch Available)

Please submit a review request on phabricator.
https://cwiki.apache.org/Hive/phabricatorcodereview.html
Thanks.

 Enable Hadoop-1.0.0 in Hive
 ---

 Key: HIVE-2698
 URL: https://issues.apache.org/jira/browse/HIVE-2698
 Project: Hive
  Issue Type: New Feature
  Components: Security, Shims
Affects Versions: 0.9.0
Reporter: Enis Soztutar
Assignee: Enis Soztutar
  Labels: hadoop, hadoop-1.0, jars
 Attachments: HIVE-2698_v1.patch, HIVE-2698_v2.patch, 
 HIVE-2698_v3.patch


 Hadoop-1.0.0 is recently released, which is AFAIK, API compatible to the 
 0.20S release. 

--
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




[jira] [Updated] (HIVE-2724) Remove unused lib/log4j-1.2.15.jar

2012-01-23 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2724:
-

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

Committed to trunk. Thanks Andrew!

 Remove unused lib/log4j-1.2.15.jar
 --

 Key: HIVE-2724
 URL: https://issues.apache.org/jira/browse/HIVE-2724
 Project: Hive
  Issue Type: Bug
  Components: Build Infrastructure
Affects Versions: 0.8.0
Reporter: Andrew Bayer
Assignee: Andrew Bayer
 Attachments: HIVE-2724.diff.txt


 There's still a file, lib/log4j-1.2.15.jar, even though log4j is now pulled 
 in via Ivy. As a result, this older log4j gets pulled into the Hive release 
 tarball, and may end up in classpaths as well. It should be removed.

--
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




[jira] [Updated] (HIVE-2279) Implement sort_array UDF

2012-01-20 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2279:
-

Summary: Implement sort_array UDF  (was: Implement sort(array) UDF)

 Implement sort_array UDF
 

 Key: HIVE-2279
 URL: https://issues.apache.org/jira/browse/HIVE-2279
 Project: Hive
  Issue Type: New Feature
  Components: UDF
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Attachments: HIVE-2279.D1059.1.patch, HIVE-2279.D1101.1.patch, 
 HIVE-2279.D1107.1.patch, HIVE-2279.D1125.1.patch, HIVE-2279.D1143.1.patch, 
 HIVE-2279.D1143.1.patch




--
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




[jira] [Updated] (HIVE-2279) Implement sort_array UDF

2012-01-20 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2279:
-

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

Committed to trunk. Thanks Zhenxiao!

 Implement sort_array UDF
 

 Key: HIVE-2279
 URL: https://issues.apache.org/jira/browse/HIVE-2279
 Project: Hive
  Issue Type: New Feature
  Components: UDF
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Attachments: HIVE-2279.D1059.1.patch, HIVE-2279.D1101.1.patch, 
 HIVE-2279.D1107.1.patch, HIVE-2279.D1125.1.patch, HIVE-2279.D1143.1.patch, 
 HIVE-2279.D1143.1.patch




--
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




[jira] [Updated] (HIVE-2279) Implement sort_array UDF

2012-01-20 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2279:
-

Fix Version/s: 0.9.0

 Implement sort_array UDF
 

 Key: HIVE-2279
 URL: https://issues.apache.org/jira/browse/HIVE-2279
 Project: Hive
  Issue Type: New Feature
  Components: UDF
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Fix For: 0.9.0

 Attachments: HIVE-2279.D1059.1.patch, HIVE-2279.D1101.1.patch, 
 HIVE-2279.D1107.1.patch, HIVE-2279.D1125.1.patch, HIVE-2279.D1143.1.patch, 
 HIVE-2279.D1143.1.patch




--
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




[jira] [Updated] (HIVE-2694) Add FORMAT UDF

2012-01-20 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2694:
-

Status: Open  (was: Patch Available)

 Add FORMAT UDF
 --

 Key: HIVE-2694
 URL: https://issues.apache.org/jira/browse/HIVE-2694
 Project: Hive
  Issue Type: New Feature
  Components: UDF
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Attachments: HIVE-2694.D1149.1.patch, HIVE-2694.D1149.2.patch




--
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




[jira] [Updated] (HIVE-2715) Upgrade Thrift dependency to 0.9.0

2012-01-17 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2715:
-

Fix Version/s: (was: 0.8.1)
  Summary: Upgrade Thrift dependency to 0.9.0  (was: Memory leak in 
TSaslServerTransport)

Looks like the fix for THRIFT-1468 will be included in the as-yet-unreleased
version 0.9.0. We can update Hive's Thrift dependency once this release
goes GA.

 Upgrade Thrift dependency to 0.9.0
 --

 Key: HIVE-2715
 URL: https://issues.apache.org/jira/browse/HIVE-2715
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 0.8.0
Reporter: Mithun Radhakrishnan
 Fix For: 0.9.0


 I work on HCatalog (0.2). Recently, we ran into HCat_server running out of 
 memory every few days, and it boiled down to a bug in thrift, (THRIFT-1468, 
 recently fixed).
 HCat-0.2-branch depends on Hive-0.8, which in turn depends on thrift-0.5.0. 
 (The bug also exists on 0.7.0.)
 May I please enquire if Hive can't depend on a more current version of 
 thrift? (Does it break the metastore?) I'm afraid I'm not privy to the 
 reasoning behind Hive's dependency on a slightly dated thrift-lib. 

--
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




[jira] [Updated] (HIVE-2697) Ant compile-test target should be triggered from subprojects, not from top-level targets

2012-01-17 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2697:
-

Fix Version/s: (was: 0.8.1)

 Ant compile-test target should be triggered from subprojects, not from 
 top-level targets
 

 Key: HIVE-2697
 URL: https://issues.apache.org/jira/browse/HIVE-2697
 Project: Hive
  Issue Type: Improvement
  Components: Build Infrastructure
Affects Versions: 0.8.0
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2697.1.patch.txt




--
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




[jira] [Updated] (HIVE-2712) Make ZooKeeper token store ACL configurable

2012-01-17 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2712:
-

Affects Version/s: 0.8.1
Fix Version/s: (was: 0.8.1)

 Make ZooKeeper token store ACL configurable
 ---

 Key: HIVE-2712
 URL: https://issues.apache.org/jira/browse/HIVE-2712
 Project: Hive
  Issue Type: Improvement
  Components: Metastore, Security, Server Infrastructure
Affects Versions: 0.8.0, 0.8.1, 0.9.0
Reporter: Thomas Weise
Assignee: Thomas Weise
 Fix For: 0.9.0


 ACL needs to be set to secure the token store with ZK 3.4.
 The patch will also include the review changes from HIVE-2467 that were not 
 committed.

--
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




[jira] [Updated] (HIVE-2708) Hive MR local jobs fail on Hadoop 0.23

2012-01-17 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2708:
-

Fix Version/s: (was: 0.8.1)

 Hive MR local jobs fail on Hadoop 0.23
 --

 Key: HIVE-2708
 URL: https://issues.apache.org/jira/browse/HIVE-2708
 Project: Hive
  Issue Type: Bug
Reporter: Amareshwari Sriramadasu
Assignee: Amareshwari Sriramadasu
 Attachments: localjob-hive-mr23.txt


 Hive MR local jobs fail on 0.23 with following exception:
 Job running in-process (local Hadoop)
 Hadoop job information for null: number of mappers: 0; number of reducers: 0
 java.io.IOException: Could not find status of job:job_local_0001
   at 
 org.apache.hadoop.hive.ql.exec.HadoopJobExecHelper.progress(HadoopJobExecHelper.java:291)
   at 
 org.apache.hadoop.hive.ql.exec.HadoopJobExecHelper.progress(HadoopJobExecHelper.java:685)
   at 
 org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:458)
   at org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:710)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.hadoop.util.RunJar.main(RunJar.java:189)
 Ended Job = job_local_0001 with exception 'java.io.IOException(Could not find 
 status of job:job_local_0001)'
 Execution

--
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




[jira] [Updated] (HIVE-2676) The row count that loaded to a table may not right

2012-01-17 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2676:
-

Fix Version/s: (was: 0.8.1)

 The row count that loaded to a table may not right   
 -

 Key: HIVE-2676
 URL: https://issues.apache.org/jira/browse/HIVE-2676
 Project: Hive
  Issue Type: Improvement
Reporter: binlijin
Priority: Minor
  Labels: patch
 Attachments: HIVE-2676.patch


 create table tablename as SELECT ***
 At the end hive will print a number that show how many Rows loaded to the 
 tablename, but sometimes the number is not right.  

--
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




[jira] [Updated] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

2012-01-17 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2673:
-

Fix Version/s: (was: 0.8.1)

 Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
 -

 Key: HIVE-2673
 URL: https://issues.apache.org/jira/browse/HIVE-2673
 Project: Hive
  Issue Type: Bug
  Components: Build Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Attachments: HIVE-2673.1.patch.txt




--
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




[jira] [Updated] (HIVE-2612) support hive table/partitions coexistes in more than one clusters

2012-01-17 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2612:
-

Component/s: Metastore

 support hive table/partitions coexistes in more than one clusters
 -

 Key: HIVE-2612
 URL: https://issues.apache.org/jira/browse/HIVE-2612
 Project: Hive
  Issue Type: New Feature
  Components: Metastore
Reporter: He Yongqiang
Assignee: He Yongqiang

 1) add cluster object into hive metastore
 2) each partition/table has a creation cluster and a list of living clusters, 
 and also data location in each cluster

--
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




[jira] [Updated] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

2012-01-16 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2673:
-

Status: Patch Available  (was: Open)

 Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
 -

 Key: HIVE-2673
 URL: https://issues.apache.org/jira/browse/HIVE-2673
 Project: Hive
  Issue Type: Bug
  Components: Build Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Fix For: 0.8.1

 Attachments: HIVE-2673.1.patch.txt




--
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




[jira] [Updated] (HIVE-2673) Eclipse launch configurations fail due to unsatisfied builtins JAR dependency

2012-01-16 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2673:
-

Attachment: HIVE-2673.1.patch.txt

 Eclipse launch configurations fail due to unsatisfied builtins JAR dependency
 -

 Key: HIVE-2673
 URL: https://issues.apache.org/jira/browse/HIVE-2673
 Project: Hive
  Issue Type: Bug
  Components: Build Infrastructure
Reporter: Carl Steinbach
Assignee: Carl Steinbach
 Fix For: 0.8.1

 Attachments: HIVE-2673.1.patch.txt




--
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




[jira] [Updated] (HIVE-2203) Extend concat_ws() UDF to support arrays of strings

2012-01-16 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2203:
-

Status: Open  (was: Patch Available)

@Zhenxiao: Please attach a copy of the patch (D1137) and give license rights to 
Apache.

 Extend concat_ws() UDF to support arrays of strings
 ---

 Key: HIVE-2203
 URL: https://issues.apache.org/jira/browse/HIVE-2203
 Project: Hive
  Issue Type: Improvement
  Components: UDF
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
Priority: Minor
 Attachments: HIVE-2203.D1065.1.patch, HIVE-2203.D1071.1.patch, 
 HIVE-2203.D1113.1.patch, HIVE-2203.D1119.1.patch, HIVE-2203.D1137.1.patch


 concat_ws() should support the following type of input parameters:
 concat_ws(string separator, arraystring)

--
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




[jira] [Updated] (HIVE-2694) Add FORMAT UDF

2012-01-16 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2694:
-

Status: Open  (was: Patch Available)

 Add FORMAT UDF
 --

 Key: HIVE-2694
 URL: https://issues.apache.org/jira/browse/HIVE-2694
 Project: Hive
  Issue Type: New Feature
  Components: UDF
Reporter: Carl Steinbach
Assignee: Zhenxiao Luo
 Attachments: HIVE-2694.D1149.1.patch




--
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




[jira] [Updated] (HIVE-2719) Fix test failures caused by HIVE-2589

2012-01-16 Thread Carl Steinbach (Updated) (JIRA)

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

Carl Steinbach updated HIVE-2719:
-

Summary: Fix test failures caused by HIVE-2589  (was: Fix test failures 
caused by HIVE-2589 or HIVE-2682)

Looks like the test failures are tied to HIVE-2589:
https://builds.apache.org/job/Hive-trunk-h0.21-dbg/4/

@Ashutosh: Do you think you can have a fix for this ready in the next couple of 
days? If not, I think we should consider temporarily backing this patch out.

 Fix test failures caused by HIVE-2589
 -

 Key: HIVE-2719
 URL: https://issues.apache.org/jira/browse/HIVE-2719
 Project: Hive
  Issue Type: Task
Reporter: Carl Steinbach
Assignee: Ashutosh Chauhan
Priority: Blocker

 149 new test failures appeared on Hudson after HIVE-2589 and HIVE-2682 were 
 committed:
 https://builds.apache.org/job/Hive-trunk-h0.21/1195/
 @Ashutosh: Can you please take a look?

--
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




  1   2   3   >