[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-09-13 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-4171:
---

   Resolution: Fixed
Fix Version/s: 0.13.0
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Thejas!

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Fix For: 0.13.0

 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, HIVE-4171.5.patch, 
 HIVE-4171.6.patch, HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-09-13 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Fix Version/s: (was: 0.13.0)
   0.12.0

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Fix For: 0.12.0

 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, HIVE-4171.5.patch, 
 HIVE-4171.6.patch, HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-09-11 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Status: Open  (was: Patch Available)

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, HIVE-4171.5.patch, 
 HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-09-11 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Attachment: HIVE-4171.6.patch

HIVE-4171.6.patch - fixes unit test failure

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, HIVE-4171.5.patch, 
 HIVE-4171.6.patch, HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-09-11 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Status: Patch Available  (was: Open)

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, HIVE-4171.5.patch, 
 HIVE-4171.6.patch, HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-09-10 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Attachment: HIVE-4171.5.patch

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, HIVE-4171.5.patch, 
 HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-09-10 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Status: Patch Available  (was: Open)

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, HIVE-4171.5.patch, 
 HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-06-03 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-4171:
---

Status: Open  (was: Patch Available)

Canceling patch for now.

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, 
 HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-04-23 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Attachment: HIVE-4171.4.patch

HIVE-4171.4.patch - includes test cases, hcatalog changes.

[~prasadm] I have added the current default database to restricted list, as you 
recommended.

Patch is ready for review.


 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, 
 HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-04-23 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Status: Open  (was: Patch Available)

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, 
 HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-04-23 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Status: Patch Available  (was: Open)

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Thejas M Nair
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.4.patch, 
 HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-03-28 Thread Thejas M Nair (JIRA)

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

Thejas M Nair updated HIVE-4171:


Attachment: HIVE-4171.3.patch

I think it would be better to store this information in HiveConf and remove the 
member from Hive class. This would mean that there will be only one source for 
truth for his information (instead of having it in Hive and SessionState 
classes).
I can submit another patch with fix for the TODO in patch and unit tests if you 
agree . HIVE-4171.3.patch (also in https://reviews.apache.org/r/10180/ )

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Navis
  Labels: HiveServer2
 Attachments: HIVE-4171.3.patch, HIVE-4171.D9399.1.patch, 
 HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-03-26 Thread Phabricator (JIRA)

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

Phabricator updated HIVE-4171:
--

Attachment: HIVE-4171.D9399.2.patch

navis updated the revision HIVE-4171 [jira] Current database in metastore.Hive 
is not consistent with SessionState.

  Should change context loader, too

Reviewers: JIRA

REVISION DETAIL
  https://reviews.facebook.net/D9399

CHANGE SINCE LAST DIFF
  https://reviews.facebook.net/D9399?vs=29805id=30543#toc

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
  ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java

To: JIRA, navis
Cc: prasadm


 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Navis
  Labels: HiveServer2
 Attachments: HIVE-4171.D9399.1.patch, HIVE-4171.D9399.2.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-03-13 Thread Navis (JIRA)

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

Navis updated HIVE-4171:


Status: Patch Available  (was: Open)

 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Navis
 Attachments: HIVE-4171.D9399.1.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HIVE-4171) Current database in metastore.Hive is not consistent with SessionState

2013-03-13 Thread Phabricator (JIRA)

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

Phabricator updated HIVE-4171:
--

Attachment: HIVE-4171.D9399.1.patch

navis requested code review of HIVE-4171 [jira] Current database in 
metastore.Hive is not consistent with SessionState.

Reviewers: JIRA

HIVE-4171 Current database in metastore.Hive is not consistent with SessionState

metastore.Hive is thread local instance, which can have different status with 
SessionState. Currently the only status in metastore.Hive is database name in 
use.

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D9399

AFFECTED FILES
  ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
  ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java

MANAGE HERALD RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/22575/

To: JIRA, navis


 Current database in metastore.Hive is not consistent with SessionState
 --

 Key: HIVE-4171
 URL: https://issues.apache.org/jira/browse/HIVE-4171
 Project: Hive
  Issue Type: Bug
  Components: CLI
Reporter: Navis
Assignee: Navis
 Attachments: HIVE-4171.D9399.1.patch


 metastore.Hive is thread local instance, which can have different status with 
 SessionState. Currently the only status in metastore.Hive is database name in 
 use.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira