Re: Not able to create table in hive

2012-02-03 Thread alo alt
check the rights in hdfs for the table

hadoop dfs -fsck /path/to/warehouse/dir/table

The table was created with the right of the user guest, so only guest can write 
in.

- Alex  

--
Alexander Lorenz
http://mapredit.blogspot.com

On Feb 3, 2012, at 8:58 AM, Manish.Bhoge wrote:

 Thanks Mark, 
 
 I do have an access on metastore as I am login as admin. However when I query 
 through Hue web interface it is working for me (using User: Guest). 
 
 Here is how my hive-site.xml looks like. Is there any property that I need to 
 extend here. 
 
 property
  namejavax.jdo.option.ConnectionURL/name
  
 valuejdbc:derby:;databaseName=/usr/share/hue/metastore_db;create=true/value
  descriptionJDBC connect string for a JDBC metastore/description
 /property
 
 property
  namejavax.jdo.option.ConnectionDriverName/name
  valueorg.apache.derby.jdbc.EmbeddedDriver/value
  descriptionDriver class name for a JDBC metastore/description
 /property
 
 property
  namehive.hwi.war.file/name
  value/usr/lib/hive/lib/hive-hwi-0.7.0-CDH3B4.war/value
  descriptionThis is the WAR file with the jsp content for Hive Web 
 Interface/description
 /property
 
 Thank You,
 Manish
 
 -Original Message-
 From: Mark Grover [mailto:mgro...@oanda.com] 
 Sent: Thursday, February 02, 2012 8:15 PM
 To: u...@hive.apache.org
 Subject: Re: Not able to create table in hive
 
 Hi Manish,
 Sounds like a problem with your metastore. Can you verify that you have the 
 access and correct permissions to your metastore?
 
 Mark
 
 Mark Grover, Business Intelligence Analyst
 OANDA Corporation 
 
 www: oanda.com www: fxtrade.com 
 e: mgro...@oanda.com 
 
 Best Trading Platform - World Finance's Forex Awards 2009. 
 The One to Watch - Treasury Today's Adam Smith Awards 2009. 
 
 
 - Original Message -
 From: Manish.Bhoge manish.bh...@target.com
 To: u...@hive.apache.org, dev@hive.apache.org
 Sent: Thursday, February 2, 2012 8:45:26 AM
 Subject: Not able to create table in hive
 
 
 
 
 Hi, 
 
 
 
 I am trying to create a table in Hive using below DDL: 
 
 
 
 CREATE TABLE pokes (foo INT, bar STRING); 
 
 
 
 I am getting below error, I have logged in as admin user : 
 
 
 
 FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException: Cannot get a 
 connection, pool error Could not create a validated object, cause: A 
 read-only user or a user in a read-only database is not permitted to disable 
 read-only mode on a connection. 
 
 
 
 NestedThrowables: 
 
 org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool 
 error Could not create a validated object, cause: A read-only user or a user 
 in a read-only database is not permitted to disable read-only mode on a 
 connection. 
 
 FAILED: Execution Error, return code 1 from 
 org.apache.hadoop.hive.ql.exec.DDLTask 
 
 
 
 Any idea? 
 
 
 
 Thank You, 
 
 Manish 
 



Re: Not able to create table in hive

2012-02-03 Thread hadoop hive
Thanks Mark,

I do have an access on metastore as I am login as admin. However when I
query through Hue web interface it is working for me (using User: Guest).

Here is how my hive-site.xml looks like. Is there any property that I need
to extend here.

property
 namejavax.jdo.option.ConnectionURL/name

 valuejdbc:derby:*;*databaseName=/usr/share/hue/metastore_db;create=true/
value

 descriptionJDBC connect string for a JDBC metastore/description
/property

property
 namejavax.jdo.option.ConnectionDriverName/name
 valueorg.apache.derby.jdbc.EmbeddedDriver/value
 descriptionDriver class name for a JDBC metastore/description
/property

property
 namehive.hwi.war.file/name
 value/usr/lib/hive/lib/hive-hwi-0.7.0-CDH3B4.war/value
 descriptionThis is the WAR file with the jsp content for Hive Web
Interface/description
/property

Thank You,
Manish

On Fri, Feb 3, 2012 at 1:37 PM, alo alt wget.n...@googlemail.com wrote:

 check the rights in hdfs for the table

 hadoop dfs -fsck /path/to/warehouse/dir/table

 The table was created with the right of the user guest, so only guest can
 write in.

 - Alex

 --
 Alexander Lorenz
 http://mapredit.blogspot.com

 On Feb 3, 2012, at 8:58 AM, Manish.Bhoge wrote:

  Thanks Mark,
 
  I do have an access on metastore as I am login as admin. However when I
 query through Hue web interface it is working for me (using User: Guest).
 
  Here is how my hive-site.xml looks like. Is there any property that I
 need to extend here.
 
  property
   namejavax.jdo.option.ConnectionURL/name
 
  
 valuejdbc:derby:;databaseName=/usr/share/hue/metastore_db;create=true/value
   descriptionJDBC connect string for a JDBC metastore/description
  /property
 
  property
   namejavax.jdo.option.ConnectionDriverName/name
   valueorg.apache.derby.jdbc.EmbeddedDriver/value
   descriptionDriver class name for a JDBC metastore/description
  /property
 
  property
   namehive.hwi.war.file/name
   value/usr/lib/hive/lib/hive-hwi-0.7.0-CDH3B4.war/value
   descriptionThis is the WAR file with the jsp content for Hive Web
 Interface/description
  /property
 
  Thank You,
  Manish
 
  -Original Message-
  From: Mark Grover [mailto:mgro...@oanda.com]
  Sent: Thursday, February 02, 2012 8:15 PM
  To: u...@hive.apache.org
  Subject: Re: Not able to create table in hive
 
  Hi Manish,
  Sounds like a problem with your metastore. Can you verify that you have
 the access and correct permissions to your metastore?
 
  Mark
 
  Mark Grover, Business Intelligence Analyst
  OANDA Corporation
 
  www: oanda.com www: fxtrade.com
  e: mgro...@oanda.com
 
  Best Trading Platform - World Finance's Forex Awards 2009.
  The One to Watch - Treasury Today's Adam Smith Awards 2009.
 
 
  - Original Message -
  From: Manish.Bhoge manish.bh...@target.com
  To: u...@hive.apache.org, dev@hive.apache.org
  Sent: Thursday, February 2, 2012 8:45:26 AM
  Subject: Not able to create table in hive
 
 
 
 
  Hi,
 
 
 
  I am trying to create a table in Hive using below DDL:
 
 
 
  CREATE TABLE pokes (foo INT, bar STRING);
 
 
 
  I am getting below error, I have logged in as admin user :
 
 
 
  FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException: Cannot
 get a connection, pool error Could not create a validated object, cause: A
 read-only user or a user in a read-only database is not permitted to
 disable read-only mode on a connection.
 
 
 
  NestedThrowables:
 
  org.apache.commons.dbcp.SQLNestedException: Cannot get a connection,
 pool error Could not create a validated object, cause: A read-only user or
 a user in a read-only database is not permitted to disable read-only mode
 on a connection.
 
  FAILED: Execution Error, return code 1 from
 org.apache.hadoop.hive.ql.exec.DDLTask
 
 
 
  Any idea?
 
 
 
  Thank You,
 
  Manish
 




RE: Not able to create table in hive

2012-02-03 Thread Manish . Bhoge
This command can just tell about the data node and block details. 

My question was not specific to particular table. But I was not able to run any 
Hive command from command however same SQL can run from WEB UI.

Yes, I am using 2 different users, 'Guest' user from Web and 'admin' user from 
command line.

Thank You,
Manish

-Original Message-
From: alo alt [mailto:wget.n...@googlemail.com] 
Sent: Friday, February 03, 2012 1:37 PM
To: u...@hive.apache.org
Cc: dev@hive.apache.org; mgro...@oanda.com
Subject: Re: Not able to create table in hive
Importance: High

check the rights in hdfs for the table

hadoop dfs -fsck /path/to/warehouse/dir/table

The table was created with the right of the user guest, so only guest can write 
in.

- Alex  

--
Alexander Lorenz
http://mapredit.blogspot.com

On Feb 3, 2012, at 8:58 AM, Manish.Bhoge wrote:

 Thanks Mark, 
 
 I do have an access on metastore as I am login as admin. However when I query 
 through Hue web interface it is working for me (using User: Guest). 
 
 Here is how my hive-site.xml looks like. Is there any property that I need to 
 extend here. 
 
 property
  namejavax.jdo.option.ConnectionURL/name
  
 valuejdbc:derby:;databaseName=/usr/share/hue/metastore_db;create=true/value
  descriptionJDBC connect string for a JDBC metastore/description
 /property
 
 property
  namejavax.jdo.option.ConnectionDriverName/name
  valueorg.apache.derby.jdbc.EmbeddedDriver/value
  descriptionDriver class name for a JDBC metastore/description
 /property
 
 property
  namehive.hwi.war.file/name
  value/usr/lib/hive/lib/hive-hwi-0.7.0-CDH3B4.war/value
  descriptionThis is the WAR file with the jsp content for Hive Web 
 Interface/description
 /property
 
 Thank You,
 Manish
 
 -Original Message-
 From: Mark Grover [mailto:mgro...@oanda.com] 
 Sent: Thursday, February 02, 2012 8:15 PM
 To: u...@hive.apache.org
 Subject: Re: Not able to create table in hive
 
 Hi Manish,
 Sounds like a problem with your metastore. Can you verify that you have the 
 access and correct permissions to your metastore?
 
 Mark
 
 Mark Grover, Business Intelligence Analyst
 OANDA Corporation 
 
 www: oanda.com www: fxtrade.com 
 e: mgro...@oanda.com 
 
 Best Trading Platform - World Finance's Forex Awards 2009. 
 The One to Watch - Treasury Today's Adam Smith Awards 2009. 
 
 
 - Original Message -
 From: Manish.Bhoge manish.bh...@target.com
 To: u...@hive.apache.org, dev@hive.apache.org
 Sent: Thursday, February 2, 2012 8:45:26 AM
 Subject: Not able to create table in hive
 
 
 
 
 Hi, 
 
 
 
 I am trying to create a table in Hive using below DDL: 
 
 
 
 CREATE TABLE pokes (foo INT, bar STRING); 
 
 
 
 I am getting below error, I have logged in as admin user : 
 
 
 
 FAILED: Error in metadata: javax.jdo.JDOFatalDataStoreException: Cannot get a 
 connection, pool error Could not create a validated object, cause: A 
 read-only user or a user in a read-only database is not permitted to disable 
 read-only mode on a connection. 
 
 
 
 NestedThrowables: 
 
 org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool 
 error Could not create a validated object, cause: A read-only user or a user 
 in a read-only database is not permitted to disable read-only mode on a 
 connection. 
 
 FAILED: Execution Error, return code 1 from 
 org.apache.hadoop.hive.ql.exec.DDLTask 
 
 
 
 Any idea? 
 
 
 
 Thank You, 
 
 Manish 
 



Hive-trunk-h0.21 - Build # 1241 - Still Failing

2012-02-03 Thread Apache Jenkins Server
Changes for Build #1199

Changes for Build #1200

Changes for Build #1201

Changes for Build #1202

Changes for Build #1203

Changes for Build #1204
[cws] HIVE-2719. Revert HIVE-2589 (He Yongqiang via cws)


Changes for Build #1205

Changes for Build #1207
[namit] HIVE-2718 NPE in union followed by join
(He Yongqiang via namit)


Changes for Build #1208

Changes for Build #1209

Changes for Build #1210
[namit] HIVE-2674 get_partitions_ps throws TApplicationException if table 
doesn't
exist (Kevin Wilfong via namit)


Changes for Build #1211
[cws] HIVE-2203. Extend concat_ws() UDF to support arrays of strings (Zhenxiao 
Luo via cws)

[cws] HIVE-2279. Implement sort(array) UDF (Zhenxiao Luo via cws)


Changes for Build #1212
[hashutosh] HIVE-2589 : Newly created partition should inherit properties from 
table (Ashutosh Chauhan)


Changes for Build #1213

Changes for Build #1214

Changes for Build #1215

Changes for Build #1216
[cws] HIVE-2724. Remove unused lib/log4j-1.2.15.jar (Andrew Bayer via cws)


Changes for Build #1217

Changes for Build #1218

Changes for Build #1219
[hashutosh] HIVE-2665 : Support for metastore service specific HADOOP_OPTS 
environment setting (thw via hashutosh)


Changes for Build #1220
[namit] HIVE-2727 add a testcase for partitioned view on union and base tables 
have
index (He Yongqiang via namit)


Changes for Build #1221
[hashutosh] HIVE-2746 : Metastore client doesn't log properly in case of 
connection failure to server (hashutosh)

[cws] HIVE-2698 [jira] Enable Hadoop-1.0.0 in Hive
(Enis Söztutar via Carl Steinbach)

Summary:
third version of the patch

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

Test Plan: EMPTY

Reviewers: JIRA, cwsteinbach

Reviewed By: cwsteinbach

CC: cwsteinbach, enis

Differential Revision: https://reviews.facebook.net/D1389


Changes for Build #1222
[namit] HIVE-2750 Hive multi group by single reducer optimization causes 
invalid column
reference error (Kevin Wilfong via namit)


Changes for Build #1223

Changes for Build #1224
[cws] HIVE-2734 [jira] Fix some nondeterministic test output
(Zhenxiao Luo via Carl Steinbach)

Summary:
HIVE-2734: Fix some nondeterministic test output

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

Test Plan: EMPTY

Reviewers: JIRA, cwsteinbach

Reviewed By: cwsteinbach

CC: zhenxiao, cwsteinbach

Differential Revision: https://reviews.facebook.net/D1449

[namit] HIVE-2754 NPE in union with lateral view
(Yongqiang He via namit)


Changes for Build #1225

Changes for Build #1226

Changes for Build #1227
[namit] HIVE-2755 union follwowed by union_subq does not work if the subquery 
union
has reducers (He Yongqiang via namit)


Changes for Build #1228

Changes for Build #1229
[hashutosh] HIVE-2735: PlanUtils.configureTableJobPropertiesForStorageHandler() 
is not called for partitioned table (sushanth via ashutosh)


Changes for Build #1230
[cws] HIVE-2760 [jira] TestCliDriver should log elapsed time

Summary: HIVE-2760. TestCliDriver should log elapsed time

Test Plan: EMPTY

Reviewers: JIRA, ashutoshc

Reviewed By: ashutoshc

CC: ashutoshc, cwsteinbach

Differential Revision: https://reviews.facebook.net/D1503

[cws] HIVE-2662 [jira] Add Ant configuration property for dumping classpath of 
tests

Summary: HIVE-2662. Add Ant configuration property for dumping classpath of
tests

Test Plan: EMPTY

Reviewers: JIRA, jsichi, ashutoshc

Reviewed By: ashutoshc

CC: ashutoshc

Differential Revision: https://reviews.facebook.net/D903


Changes for Build #1231
[hashutosh] HIVE_2645: Hive Web Server startup messages logs incorrect path it 
is searching for WAR (Edward Capriolo via Ashutosh Chauhan)


Changes for Build #1232

Changes for Build #1233
[sdong] HIVE-2249 When creating constant expression for numbers, try to infer 
type from another comparison operand, instead of trying to use integer first, 
and then long and double (Zhiqiu Kong via Siying Dong)


Changes for Build #1234

Changes for Build #1235
[heyongqiang] HIVE-2765 hbase handler uses ZooKeeperConnectionException which 
is not compatible with HBase versions other than 0.89 (Pei Yue via He Yongqiang)


Changes for Build #1236

Changes for Build #1237

Changes for Build #1238
[heyongqiang] HIVE-2772 [jira] make union31.q deterministic
(Namit Jain via Yongqiang He)

Summary:
https://issues.apache.org/jira/browse/HIVE-2772

HIVE-2772



Test Plan: EMPTY

Reviewers: JIRA, ashutoshc

Reviewed By: ashutoshc

CC: ashutoshc

Differential Revision: https://reviews.facebook.net/D1557

[kevinwilfong] HIVE-2758 Metastore is caching too aggressively (Kevin Wilfong 
reviewed by Carl 

[jira] [Commented] (HIVE-2756) Views should be added to the inputs of queries.

2012-02-03 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13199657#comment-13199657
 ] 

Hudson commented on HIVE-2756:
--

Integrated in Hive-trunk-h0.21 #1241 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1241/])
HIVE-2756 Views should be added to the inputs of queries.
(Yongqiang He via namit)

namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1240005
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/results/clientnegative/create_or_replace_view7.q.out
* /hive/trunk/ql/src/test/results/clientnegative/invalidate_view1.q.out
* /hive/trunk/ql/src/test/results/clientnegative/recursive_view.q.out
* /hive/trunk/ql/src/test/results/clientpositive/alter_view_rename.q.out
* /hive/trunk/ql/src/test/results/clientpositive/create_big_view.q.out
* /hive/trunk/ql/src/test/results/clientpositive/create_or_replace_view.q.out
* /hive/trunk/ql/src/test/results/clientpositive/create_view.q.out
* /hive/trunk/ql/src/test/results/clientpositive/create_view_partitioned.q.out
* /hive/trunk/ql/src/test/results/clientpositive/ppd_union_view.q.out


 Views should be added to the inputs of queries.
 ---

 Key: HIVE-2756
 URL: https://issues.apache.org/jira/browse/HIVE-2756
 Project: Hive
  Issue Type: Improvement
Reporter: Kevin Wilfong
Assignee: Kevin Wilfong
 Attachments: HIVE-2756.D1575.1.patch


 Views, in addition to the underlying tables, should be included in the inputs 
 of a command which queries a view.
 This is useful when we want to know exactly what inputs need to be present in 
 order to run the query run by a user.

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




Hive-trunk-h0.21 - Build # 1242 - Still Failing

2012-02-03 Thread Apache Jenkins Server
Changes for Build #1199

Changes for Build #1200

Changes for Build #1201

Changes for Build #1202

Changes for Build #1203

Changes for Build #1204
[cws] HIVE-2719. Revert HIVE-2589 (He Yongqiang via cws)


Changes for Build #1205

Changes for Build #1207
[namit] HIVE-2718 NPE in union followed by join
(He Yongqiang via namit)


Changes for Build #1208

Changes for Build #1209

Changes for Build #1210
[namit] HIVE-2674 get_partitions_ps throws TApplicationException if table 
doesn't
exist (Kevin Wilfong via namit)


Changes for Build #1211
[cws] HIVE-2203. Extend concat_ws() UDF to support arrays of strings (Zhenxiao 
Luo via cws)

[cws] HIVE-2279. Implement sort(array) UDF (Zhenxiao Luo via cws)


Changes for Build #1212
[hashutosh] HIVE-2589 : Newly created partition should inherit properties from 
table (Ashutosh Chauhan)


Changes for Build #1213

Changes for Build #1214

Changes for Build #1215

Changes for Build #1216
[cws] HIVE-2724. Remove unused lib/log4j-1.2.15.jar (Andrew Bayer via cws)


Changes for Build #1217

Changes for Build #1218

Changes for Build #1219
[hashutosh] HIVE-2665 : Support for metastore service specific HADOOP_OPTS 
environment setting (thw via hashutosh)


Changes for Build #1220
[namit] HIVE-2727 add a testcase for partitioned view on union and base tables 
have
index (He Yongqiang via namit)


Changes for Build #1221
[hashutosh] HIVE-2746 : Metastore client doesn't log properly in case of 
connection failure to server (hashutosh)

[cws] HIVE-2698 [jira] Enable Hadoop-1.0.0 in Hive
(Enis Söztutar via Carl Steinbach)

Summary:
third version of the patch

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

Test Plan: EMPTY

Reviewers: JIRA, cwsteinbach

Reviewed By: cwsteinbach

CC: cwsteinbach, enis

Differential Revision: https://reviews.facebook.net/D1389


Changes for Build #1222
[namit] HIVE-2750 Hive multi group by single reducer optimization causes 
invalid column
reference error (Kevin Wilfong via namit)


Changes for Build #1223

Changes for Build #1224
[cws] HIVE-2734 [jira] Fix some nondeterministic test output
(Zhenxiao Luo via Carl Steinbach)

Summary:
HIVE-2734: Fix some nondeterministic test output

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

Test Plan: EMPTY

Reviewers: JIRA, cwsteinbach

Reviewed By: cwsteinbach

CC: zhenxiao, cwsteinbach

Differential Revision: https://reviews.facebook.net/D1449

[namit] HIVE-2754 NPE in union with lateral view
(Yongqiang He via namit)


Changes for Build #1225

Changes for Build #1226

Changes for Build #1227
[namit] HIVE-2755 union follwowed by union_subq does not work if the subquery 
union
has reducers (He Yongqiang via namit)


Changes for Build #1228

Changes for Build #1229
[hashutosh] HIVE-2735: PlanUtils.configureTableJobPropertiesForStorageHandler() 
is not called for partitioned table (sushanth via ashutosh)


Changes for Build #1230
[cws] HIVE-2760 [jira] TestCliDriver should log elapsed time

Summary: HIVE-2760. TestCliDriver should log elapsed time

Test Plan: EMPTY

Reviewers: JIRA, ashutoshc

Reviewed By: ashutoshc

CC: ashutoshc, cwsteinbach

Differential Revision: https://reviews.facebook.net/D1503

[cws] HIVE-2662 [jira] Add Ant configuration property for dumping classpath of 
tests

Summary: HIVE-2662. Add Ant configuration property for dumping classpath of
tests

Test Plan: EMPTY

Reviewers: JIRA, jsichi, ashutoshc

Reviewed By: ashutoshc

CC: ashutoshc

Differential Revision: https://reviews.facebook.net/D903


Changes for Build #1231
[hashutosh] HIVE_2645: Hive Web Server startup messages logs incorrect path it 
is searching for WAR (Edward Capriolo via Ashutosh Chauhan)


Changes for Build #1232

Changes for Build #1233
[sdong] HIVE-2249 When creating constant expression for numbers, try to infer 
type from another comparison operand, instead of trying to use integer first, 
and then long and double (Zhiqiu Kong via Siying Dong)


Changes for Build #1234

Changes for Build #1235
[heyongqiang] HIVE-2765 hbase handler uses ZooKeeperConnectionException which 
is not compatible with HBase versions other than 0.89 (Pei Yue via He Yongqiang)


Changes for Build #1236

Changes for Build #1237

Changes for Build #1238
[heyongqiang] HIVE-2772 [jira] make union31.q deterministic
(Namit Jain via Yongqiang He)

Summary:
https://issues.apache.org/jira/browse/HIVE-2772

HIVE-2772



Test Plan: EMPTY

Reviewers: JIRA, ashutoshc

Reviewed By: ashutoshc

CC: ashutoshc

Differential Revision: https://reviews.facebook.net/D1557

[kevinwilfong] HIVE-2758 Metastore is caching too aggressively (Kevin Wilfong 
reviewed by Carl 

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

2012-02-03 Thread Namit Jain (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13200101#comment-13200101
 ] 

Namit Jain commented on HIVE-2612:
--

https://cwiki.apache.org/confluence/display/Hive/Hive+across+Multiple+Data+Centers+%28Physical+Clusters%29

is the correct link to the wiki

 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: Namit Jain
 Attachments: HIVE-2612.1.patch, HIVE-2612.D1569.1.patch


 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-2542) DROP DATABASE CASCADE does not drop non-native tables.

2012-02-03 Thread Vandana Ayyalasomayajula (Updated) (JIRA)

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

Vandana Ayyalasomayajula updated HIVE-2542:
---

Attachment: HIVE-2542.05.patch

 DROP DATABASE CASCADE does not drop non-native tables. 
 ---

 Key: HIVE-2542
 URL: https://issues.apache.org/jira/browse/HIVE-2542
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Reporter: Vandana Ayyalasomayajula
Assignee: Vandana Ayyalasomayajula
  Labels: handler, hive, metastore, storage
 Attachments: HIVE-2542.04.patch, HIVE-2542.05.patch, 
 Hive-2542.03.patch, Hive-2542.patch


 The hive meta store client does not delete the non-native tables during the 
 drop database dbname cascade operation. As a result even though the 
 database is deleted the tables still exist. This is related to HCATALOG-144. 
 A deeper look at the HiveMetaStoreClient's dropDatabase function, tells us 
 that the function does not utilize the hive meta hooks of the tables in the 
 database for dropping the non-native tables. 

--
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-2542) DROP DATABASE CASCADE does not drop non-native tables.

2012-02-03 Thread Vandana Ayyalasomayajula (Updated) (JIRA)

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

Vandana Ayyalasomayajula updated HIVE-2542:
---

Attachment: HIVE-2542.06.patch

 DROP DATABASE CASCADE does not drop non-native tables. 
 ---

 Key: HIVE-2542
 URL: https://issues.apache.org/jira/browse/HIVE-2542
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Reporter: Vandana Ayyalasomayajula
Assignee: Vandana Ayyalasomayajula
  Labels: handler, hive, metastore, storage
 Attachments: HIVE-2542.04.patch, HIVE-2542.05.patch, 
 HIVE-2542.06.patch, Hive-2542.03.patch, Hive-2542.patch


 The hive meta store client does not delete the non-native tables during the 
 drop database dbname cascade operation. As a result even though the 
 database is deleted the tables still exist. This is related to HCATALOG-144. 
 A deeper look at the HiveMetaStoreClient's dropDatabase function, tells us 
 that the function does not utilize the hive meta hooks of the tables in the 
 database for dropping the non-native tables. 

--
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-2756) Views should be added to the inputs of queries.

2012-02-03 Thread Ashutosh Chauhan (Updated) (JIRA)

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

Ashutosh Chauhan updated HIVE-2756:
---

  Component/s: Views
Fix Version/s: 0.9.0

 Views should be added to the inputs of queries.
 ---

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

 Attachments: HIVE-2756.D1575.1.patch


 Views, in addition to the underlying tables, should be included in the inputs 
 of a command which queries a view.
 This is useful when we want to know exactly what inputs need to be present in 
 order to run the query run by a user.

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