[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated HIVE-16950: --- Fix Version/s: (was: 3.2.0) I cleared the fixVersion field since this ticket is not resolved. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED. According to the JIRA guidelines (https://cwiki.apache.org/confluence/display/Hive/HowToContribute) the fixVersion should be set only when the issue is resolved/closed. > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Attachments: HIVE-16950.1.patch, HIVE-16950.10.patch, > HIVE-16950.2.patch, HIVE-16950.3.patch, HIVE-16950.4.patch, > HIVE-16950.5.patch, HIVE-16950.6.patch, HIVE-16950.7.patch, > HIVE-16950.8.patch, HIVE-16950.9.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.10.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.2.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.10.patch, > HIVE-16950.2.patch, HIVE-16950.3.patch, HIVE-16950.4.patch, > HIVE-16950.5.patch, HIVE-16950.6.patch, HIVE-16950.7.patch, > HIVE-16950.8.patch, HIVE-16950.9.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.2.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.10.patch, > HIVE-16950.2.patch, HIVE-16950.3.patch, HIVE-16950.4.patch, > HIVE-16950.5.patch, HIVE-16950.6.patch, HIVE-16950.7.patch, > HIVE-16950.8.patch, HIVE-16950.9.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.2.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch, HIVE-16950.8.patch, HIVE-16950.9.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16950: --- Fix Version/s: (was: 3.1.0) 3.2.0 Deferring this to 3.2.0 since the branch for 3.1.0 has been cut off. > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.2.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch, HIVE-16950.8.patch, HIVE-16950.9.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch, HIVE-16950.8.patch, HIVE-16950.9.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch, HIVE-16950.8.patch, HIVE-16950.9.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.9.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch, HIVE-16950.8.patch, HIVE-16950.9.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.8.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch, HIVE-16950.8.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch, HIVE-16950.8.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch, HIVE-16950.8.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.7.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, > HIVE-16950.6.patch, HIVE-16950.7.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, HIVE-16950.6.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, HIVE-16950.6.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.6.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch, HIVE-16950.6.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.5.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch, HIVE-16950.5.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16950: --- Fix Version/s: (was: 3.0.0) 3.1.0 Deferring this to 3.1.0 since the branch for 3.0.0 has been cut off. Please update the JIRA if you would like to get your patch in 3.0.0. > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.1.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.0.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.0.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.4.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.0.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.0.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.0.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch, HIVE-16950.4.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.0.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.0.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Fix Version/s: 3.0.0 > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Fix For: 3.0.0 > > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.3.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch, > HIVE-16950.3.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.2.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Attachments: HIVE-16950.1.patch, HIVE-16950.2.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: In Progress (was: Patch Available) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Attachments: HIVE-16950.1.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Attachment: HIVE-16950.1.patch > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Attachments: HIVE-16950.1.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16950) Dropping hive database/table which was created explicitly in default database location, deletes all databases data from default database location
[ https://issues.apache.org/jira/browse/HIVE-16950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleksiy Sayankin updated HIVE-16950: Status: Patch Available (was: In Progress) > Dropping hive database/table which was created explicitly in default database > location, deletes all databases data from default database location > - > > Key: HIVE-16950 > URL: https://issues.apache.org/jira/browse/HIVE-16950 > Project: Hive > Issue Type: Bug > Components: Hive >Affects Versions: 1.2.1 >Reporter: Rahul Kalgunde >Assignee: Oleksiy Sayankin >Priority: Minor > Attachments: HIVE-16950.1.patch > > > When database/table is created explicitly pointing to the default location, > dropping the database/table deletes all the data associated with the all > databases/tables. > Steps to replicate: > in below e.g. dropping table test_db2 also deletes data of test_db1 where as > metastore still contains test_db1 > hive> create database test_db1; > OK > Time taken: 4.858 seconds > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.599 seconds, Fetched: 1 row(s) > hive> create database test_db2 location '/apps/hive/warehouse' ; > OK > Time taken: 1.457 seconds > hive> describe database test_db2; > OK > test_db2 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse rootUSER > Time taken: 0.582 seconds, Fetched: 1 row(s) > hive> drop database test_db2; > OK > Time taken: 1.317 seconds > hive> dfs -ls /apps/hive/warehouse; > ls: `/apps/hive/warehouse': No such file or directory > Command failed with exit code = 1 > Query returned non-zero code: 1, cause: null > hive> describe database test_db1; > OK > test_db1 > hdfs://sandbox.hortonworks.com:8020/apps/hive/warehouse/test_db1.db root > USER > Time taken: 0.629 seconds, Fetched: 1 row(s) -- This message was sent by Atlassian JIRA (v6.4.14#64029)