[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-29 Thread Arina Ielchiieva (JIRA)


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

Arina Ielchiieva updated DRILL-6863:

Affects Version/s: (was: 1.15.0)
   1.14.0

> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.14.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
>  Labels: ready-to-commit
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Table was droped.
> Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
> successfully returns error message if "drop table" query starts with '/' in 
> table path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-29 Thread Vitalii Diravka (JIRA)


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

Vitalii Diravka updated DRILL-6863:
---
Fix Version/s: (was: 1.16.0)
   1.15.0

> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
>  Labels: ready-to-commit
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Table was droped.
> Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
> successfully returns error message if "drop table" query starts with '/' in 
> table path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-29 Thread Vitalii Diravka (JIRA)


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

Vitalii Diravka updated DRILL-6863:
---
Labels: ready-to-commit  (was: )

> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
>  Labels: ready-to-commit
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Table was droped.
> Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
> successfully returns error message if "drop table" query starts with '/' in 
> table path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-28 Thread Arina Ielchiieva (JIRA)


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

Arina Ielchiieva updated DRILL-6863:

Reviewer: Vitalii Diravka

> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.16.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Table was droped.
> Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
> successfully returns error message if "drop table" query starts with '/' in 
> table path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-27 Thread Denys Ordynskiy (JIRA)


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

Denys Ordynskiy updated DRILL-6863:
---
Description: 
Drill works incorrectly if path to the table within workspace starts with '/'

Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
 but if I add '/' in the begining of the tables path "drop table 
s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is trying 
to find table in the root directory but not in workspace path.

*Actual result:*
 Drill returns successfully response
 "Table [/drill/transitive_closure/tab1] dropped"
 but table was not dropped.

 

*Expected result:*

Table was droped.

Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
successfully returns error message if "drop table" query starts with '/' in 
table path.

  was:
Drill works incorrectly if path to the table within workspace starts with '/'

Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
 but if I add '/' in the begining of the tables path "drop table 
s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is trying 
to find table in the root directory but not in workspace path.

*Actual result:*
 Drill returns successfully response
 "Table [/drill/transitive_closure/tab1] dropped"
 but table was not dropped.

 

*Expected result:*

Drill returns error message in the response.

Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
successfully returns error message if "drop table" query starts with '/' in 
table path.


> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.16.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Table was droped.
> Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
> successfully returns error message if "drop table" query starts with '/' in 
> table path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-27 Thread Bohdan Kazydub (JIRA)


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

Bohdan Kazydub updated DRILL-6863:
--
Affects Version/s: (was: 1.16.0)
   1.15.0

> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Drill returns error message in the response.
> Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
> successfully returns error message if "drop table" query starts with '/' in 
> table path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-27 Thread Bohdan Kazydub (JIRA)


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

Bohdan Kazydub updated DRILL-6863:
--
Affects Version/s: (was: 1.15.0)
   1.16.0

> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.16.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Drill returns error message in the response.
> Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
> successfully returns error message if "drop table" query starts with '/' in 
> table path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-27 Thread Bohdan Kazydub (JIRA)


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

Bohdan Kazydub updated DRILL-6863:
--
Fix Version/s: (was: 1.15.0)
   1.16.0

> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.16.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Drill returns error message in the response.
> Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
> successfully returns error message if "drop table" query starts with '/' in 
> table path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-22 Thread Denys Ordynskiy (JIRA)


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

Denys Ordynskiy updated DRILL-6863:
---
Description: 
Drill works incorrectly if path to the table within workspace starts with '/'

Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
 but if I add '/' in the begining of the tables path "drop table 
s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is trying 
to find table in the root directory but not in workspace path.

*Actual result:*
 Drill returns successfully response
 "Table [/drill/transitive_closure/tab1] dropped"
 but table was not dropped.

 

*Expected result:*

Drill returns error message in the response.

Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
successfully returns error message if "drop table" query starts with '/' in 
table path.

  was:
Drill works incorrectly if path to the table within workspace starts with '/'

Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
 but if I add '/' in the begining of the tables path "drop table 
s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is trying 
to find table in the root directory but not in workspace path.

*Actual result:*
 Drill returns successfully response
 "Table [/drill/transitive_closure/tab1] dropped"
 but table was not dropped.

 

*Expected result:*

Drill returns error message in the response.


> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Drill returns error message in the response.
> Bug can be reproduced on S3 and DFS storages. On FileSystem storage Drill 
> successfully returns error message if "drop table" query starts with '/' in 
> table path.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-21 Thread Denys Ordynskiy (JIRA)


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

Denys Ordynskiy updated DRILL-6863:
---
Description: 
Drill works incorrectly if path to the table within workspace starts with '/'

Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
 but if I add '/' in the begining of the tables path "drop table 
s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is trying 
to find table in the root directory but not in workspace path.

*Actual result:*
 Drill returns successfully response
 "Table [/drill/transitive_closure/tab1] dropped"
 but table was not dropped.

 

*Expected result:*

Drill returns error message in the response.

  was:
Drill works incorrectly if path to the table within workspace starts with '/'

Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
 but if I add '/' in the begining of the tables path "drop table 
s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is trying 
to find table in the root directory but not in workspace path.

*Actual result:*
 Drill returns successfully response
 "Table [/drill/transitive_closure/tab1] dropped"
 but table was not dropped.


> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.
>  
> *Expected result:*
> Drill returns error message in the response.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-21 Thread Denys Ordynskiy (JIRA)


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

Denys Ordynskiy updated DRILL-6863:
---
Description: 
Drill works incorrectly if path to the table within workspace starts with '/'

Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
 but if I add '/' in the begining of the tables path "drop table 
s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is trying 
to find table in the root directory but not in workspace path.

*Actual result:*
 Drill returns successfully response
 "Table [/drill/transitive_closure/tab1] dropped"
 but table was not dropped.

  was:
Drill works incorrectly if path to the table within workspace starts with '/'

Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
 but if I add '/' in the begining of the tables path "drop table 
s3.tmp.`*{color:#d04437}/{color}*drill/transitive_closure/tab1`", Drill is 
trying to find table in the root directory but not in workspace path.

*Actual result:*
 Drill returns successfully response
 "Table [/drill/transitive_closure/tab1] dropped"
 but table was not dropped.


> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`{color:#d04437}/{color}drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-21 Thread Denys Ordynskiy (JIRA)


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

Denys Ordynskiy updated DRILL-6863:
---
Description: 
Drill works incorrectly if path to the table within workspace starts with '/'

Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
 but if I add '/' in the begining of the tables path "drop table 
s3.tmp.`*{color:#d04437}/{color}*drill/transitive_closure/tab1`", Drill is 
trying to find table in the root directory but not in workspace path.

*Actual result:*
 Drill returns successfully response
 "Table [/drill/transitive_closure/tab1] dropped"
 but table was not dropped.

  was:
Drill works incorrectly if Parquet table was created using CTAS on S3.

Request "drop table 
s3.tmp.`/drill/transitive_closure/DRILL_6173_filterPushdown/tab1`"
returns successfully response:

"Table [/drill/transitive_closure/DRILL_6173_filterPushdown/tab1] dropped"

 

*Actual result:*

Drill did not return access error for "drop table" query.

In "drillbit.out":
{code:java}
23:54:49.661 [2416095b-6544-fc80-0dfa-2fc19c4dee0e:foreman] ERROR 
o.apache.hadoop.fs.s3a.S3AFileSystem - rename: src not found 
/drill/transitive_closure/DRILL_6173_filterPushdown/tab1
{code}
 

*Expected result:*

Drill should return an error on query "drop table" if user hasn't access to 
rename folders on S3 storage.


> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.15.0
>
>
> Drill works incorrectly if path to the table within workspace starts with '/'
> Request "drop table s3.tmp.`drill/transitive_closure/tab1`" works fine,
>  but if I add '/' in the begining of the tables path "drop table 
> s3.tmp.`*{color:#d04437}/{color}*drill/transitive_closure/tab1`", Drill is 
> trying to find table in the root directory but not in workspace path.
> *Actual result:*
>  Drill returns successfully response
>  "Table [/drill/transitive_closure/tab1] dropped"
>  but table was not dropped.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-21 Thread Denys Ordynskiy (JIRA)


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

Denys Ordynskiy updated DRILL-6863:
---
Summary: Drop table is not working if path within workspace starts with '/' 
 (was: Drop table is not working on amazon S3)

> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.15.0
>
>
> Parquet table was created using CTAS on S3.
> Request "drop table 
> s3.tmp.`/drill/transitive_closure/DRILL_6173_filterPushdown/tab1`"
> returns successfully response:
> "Table [/drill/transitive_closure/DRILL_6173_filterPushdown/tab1] dropped"
>  
> *Actual result:*
> Drill did not return access error for "drop table" query.
> In "drillbit.out":
> {code:java}
> 23:54:49.661 [2416095b-6544-fc80-0dfa-2fc19c4dee0e:foreman] ERROR 
> o.apache.hadoop.fs.s3a.S3AFileSystem - rename: src not found 
> /drill/transitive_closure/DRILL_6173_filterPushdown/tab1
> {code}
>  
> *Expected result:*
> Drill should return an error on query "drop table" if user hasn't access to 
> rename folders on S3 storage.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (DRILL-6863) Drop table is not working if path within workspace starts with '/'

2018-11-21 Thread Denys Ordynskiy (JIRA)


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

Denys Ordynskiy updated DRILL-6863:
---
Description: 
Drill works incorrectly if Parquet table was created using CTAS on S3.

Request "drop table 
s3.tmp.`/drill/transitive_closure/DRILL_6173_filterPushdown/tab1`"
returns successfully response:

"Table [/drill/transitive_closure/DRILL_6173_filterPushdown/tab1] dropped"

 

*Actual result:*

Drill did not return access error for "drop table" query.

In "drillbit.out":
{code:java}
23:54:49.661 [2416095b-6544-fc80-0dfa-2fc19c4dee0e:foreman] ERROR 
o.apache.hadoop.fs.s3a.S3AFileSystem - rename: src not found 
/drill/transitive_closure/DRILL_6173_filterPushdown/tab1
{code}
 

*Expected result:*

Drill should return an error on query "drop table" if user hasn't access to 
rename folders on S3 storage.

  was:
Parquet table was created using CTAS on S3.

Request "drop table 
s3.tmp.`/drill/transitive_closure/DRILL_6173_filterPushdown/tab1`"
returns successfully response:

"Table [/drill/transitive_closure/DRILL_6173_filterPushdown/tab1] dropped"

 

*Actual result:*

Drill did not return access error for "drop table" query.

In "drillbit.out":
{code:java}
23:54:49.661 [2416095b-6544-fc80-0dfa-2fc19c4dee0e:foreman] ERROR 
o.apache.hadoop.fs.s3a.S3AFileSystem - rename: src not found 
/drill/transitive_closure/DRILL_6173_filterPushdown/tab1
{code}
 

*Expected result:*

Drill should return an error on query "drop table" if user hasn't access to 
rename folders on S3 storage.


> Drop table is not working if path within workspace starts with '/'
> --
>
> Key: DRILL-6863
> URL: https://issues.apache.org/jira/browse/DRILL-6863
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.15.0
>Reporter: Denys Ordynskiy
>Assignee: Bohdan Kazydub
>Priority: Major
> Fix For: 1.15.0
>
>
> Drill works incorrectly if Parquet table was created using CTAS on S3.
> Request "drop table 
> s3.tmp.`/drill/transitive_closure/DRILL_6173_filterPushdown/tab1`"
> returns successfully response:
> "Table [/drill/transitive_closure/DRILL_6173_filterPushdown/tab1] dropped"
>  
> *Actual result:*
> Drill did not return access error for "drop table" query.
> In "drillbit.out":
> {code:java}
> 23:54:49.661 [2416095b-6544-fc80-0dfa-2fc19c4dee0e:foreman] ERROR 
> o.apache.hadoop.fs.s3a.S3AFileSystem - rename: src not found 
> /drill/transitive_closure/DRILL_6173_filterPushdown/tab1
> {code}
>  
> *Expected result:*
> Drill should return an error on query "drop table" if user hasn't access to 
> rename folders on S3 storage.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)