[jira] [Updated] (HIVE-14973) Flaky test: TestJdbcWithSQLAuthorization.testBlackListedUdfUsage

2016-10-18 Thread Siddharth Seth (JIRA)

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

Siddharth Seth updated HIVE-14973:
--
   Resolution: Fixed
Fix Version/s: 2.2.0
   Status: Resolved  (was: Patch Available)

Committed. Created HIVE-15008 to add cleanup to the mentioned tests.

> Flaky test: TestJdbcWithSQLAuthorization.testBlackListedUdfUsage
> 
>
> Key: HIVE-14973
> URL: https://issues.apache.org/jira/browse/HIVE-14973
> Project: Hive
>  Issue Type: Sub-task
>  Components: Tests
>Affects Versions: 2.2.0
>Reporter: Gopal V
>Assignee: Zoltan Haindrich
> Fix For: 2.2.0
>
> Attachments: HIVE-14973.1.patch
>
>
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
> AlreadyExistsException(message:Table test_jdbc_sql_auth_udf already exists)
>  at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:854)
>  at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:862)
>  at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:4052)
>  at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:340)
>  at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:199)
>  at 
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
>  at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1988)
>  at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1679)
>  at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1410)
>  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1143)
>  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1136)
>  at 
> org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:248)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-14973) Flaky test: TestJdbcWithSQLAuthorization.testBlackListedUdfUsage

2016-10-18 Thread Zoltan Haindrich (JIRA)

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

Zoltan Haindrich updated HIVE-14973:

Status: Patch Available  (was: Open)

> Flaky test: TestJdbcWithSQLAuthorization.testBlackListedUdfUsage
> 
>
> Key: HIVE-14973
> URL: https://issues.apache.org/jira/browse/HIVE-14973
> Project: Hive
>  Issue Type: Sub-task
>  Components: Tests
>Affects Versions: 2.2.0
>Reporter: Gopal V
>Assignee: Zoltan Haindrich
> Attachments: HIVE-14973.1.patch
>
>
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
> AlreadyExistsException(message:Table test_jdbc_sql_auth_udf already exists)
>  at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:854)
>  at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:862)
>  at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:4052)
>  at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:340)
>  at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:199)
>  at 
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
>  at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1988)
>  at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1679)
>  at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1410)
>  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1143)
>  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1136)
>  at 
> org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:248)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-14973) Flaky test: TestJdbcWithSQLAuthorization.testBlackListedUdfUsage

2016-10-18 Thread Zoltan Haindrich (JIRA)

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

Zoltan Haindrich updated HIVE-14973:

Attachment: HIVE-14973.1.patch

This was a table name clash...both tests used the same name for the test table.

I was able to reproduce the issue with:
{code}
mvn install test=TestJdbcWithSQLAuthorization,TestJdbcWithSQLAuthUDFBlacklist 
-Pitests
{code}

patch#1) rename one of the tables

> Flaky test: TestJdbcWithSQLAuthorization.testBlackListedUdfUsage
> 
>
> Key: HIVE-14973
> URL: https://issues.apache.org/jira/browse/HIVE-14973
> Project: Hive
>  Issue Type: Sub-task
>  Components: Tests
>Affects Versions: 2.2.0
>Reporter: Gopal V
>Assignee: Zoltan Haindrich
> Attachments: HIVE-14973.1.patch
>
>
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
> AlreadyExistsException(message:Table test_jdbc_sql_auth_udf already exists)
>  at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:854)
>  at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:862)
>  at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:4052)
>  at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:340)
>  at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:199)
>  at 
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
>  at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1988)
>  at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1679)
>  at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1410)
>  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1143)
>  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1136)
>  at 
> org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:248)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HIVE-14973) Flaky test: TestJdbcWithSQLAuthorization.testBlackListedUdfUsage

2016-10-17 Thread Siddharth Seth (JIRA)

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

Siddharth Seth updated HIVE-14973:
--
Issue Type: Sub-task  (was: Bug)
Parent: HIVE-14547

> Flaky test: TestJdbcWithSQLAuthorization.testBlackListedUdfUsage
> 
>
> Key: HIVE-14973
> URL: https://issues.apache.org/jira/browse/HIVE-14973
> Project: Hive
>  Issue Type: Sub-task
>  Components: Tests
>Affects Versions: 2.2.0
>Reporter: Gopal V
>
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
> AlreadyExistsException(message:Table test_jdbc_sql_auth_udf already exists)
>  at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:854)
>  at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:862)
>  at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:4052)
>  at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:340)
>  at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:199)
>  at 
> org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:100)
>  at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1988)
>  at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1679)
>  at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1410)
>  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1143)
>  at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1136)
>  at 
> org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:248)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)