Re: Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?

2015-09-15 Thread Daniel Barclay
Aman Sinha wrote: Here's a different issue I encountered running unit tests on a clean master branch on my Mac: Running org.apache.drill.exec.store.jdbc.TestJdbcPlugin But that's the JDBC storage plug-in, not the Drill JDBC driver and its tests. Daniel ... ... Tue Sep 15 20:01:36 PDT

Re: Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?

2015-09-15 Thread Daniel Barclay
Chris Westin wrote: Variability: for me so far 2 out of 2 times. No stack trace, but as above, when I try to reproduce it in an IDE "This seems to be because the test is getting an ExceptionInInitializer in DrillbitClassLoader because the app.class.path property isn't set (and then the resulting

Re: Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?

2015-09-15 Thread Aman Sinha
Here's a different issue I encountered running unit tests on a clean master branch on my Mac: Running org.apache.drill.exec.store.jdbc.TestJdbcPlugin ... ... Tue Sep 15 20:01:36 PDT 2015 : Could not listen on port 2 on host 127.0.0.1: java.net.BindException: Address already in use It has t

Re: Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?

2015-09-15 Thread Chris Westin
Variability: for me so far 2 out of 2 times. No stack trace, but as above, when I try to reproduce it in an IDE "This seems to be because the test is getting an ExceptionInInitializer in DrillbitClassLoader because the app.class.path property isn't set (and then the resulting String.length() on it

Re: Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?

2015-09-15 Thread Jacques Nadeau
It was tested on a clean machine a number of times. Any thoughts on the variability? Can you provide stack trace? On Sep 15, 2015 6:28 PM, "Sudheesh Katkam" wrote: > Yes, I see this issue too. > > > On Sep 15, 2015, at 5:53 PM, Chris Westin > wrote: > > > > This seems to be because the test is g

[jira] [Resolved] (DRILL-2482) JDBC : calling getObject when the actual column type is 'NVARCHAR' results in NoClassDefFoundError

2015-09-15 Thread Daniel Barclay (Drill) (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Barclay (Drill) resolved DRILL-2482. --- Resolution: Fixed > JDBC : calling getObject when the actual column type is 'N

[jira] [Resolved] (DRILL-3658) Missing org.apache.hadoop in the JDBC jar

2015-09-15 Thread Daniel Barclay (Drill) (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-3658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Barclay (Drill) resolved DRILL-3658. --- Resolution: Fixed > Missing org.apache.hadoop in the JDBC jar > --

Re: Review Request 38359: DRILL-3201: Add authentication and authorization to Drill Web client

2015-09-15 Thread Venki Korukanti
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/38359/ --- (Updated Sept. 15, 2015, 7:57 p.m.) Review request for drill, Jacques Nadeau an

Re: Review Request 38359: DRILL-3201: Add authentication and authorization to Drill Web client

2015-09-15 Thread Venki Korukanti
> On Sept. 14, 2015, 7 p.m., Jacques Nadeau wrote: > > exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/WebUserSession.java, > > line 31 > > > > > > Why do we have a WebUserSession and a principal? Shou

[jira] [Resolved] (DRILL-3783) Incorrect results : COUNT() over results returned by UNION ALL

2015-09-15 Thread Sean Hsuan-Yi Chu (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Hsuan-Yi Chu resolved DRILL-3783. -- Resolution: Invalid This is fine. Set-Operator (e.g., Union, Intersect) has the least pr

Re: Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?

2015-09-15 Thread Sudheesh Katkam
Yes, I see this issue too. > On Sep 15, 2015, at 5:53 PM, Chris Westin wrote: > > This seems to be because the test is getting an ExceptionInInitializer in > DrillbitClassLoader because the app.class.path property isn't set (and then > the resulting String.length() on its value throws an NPE). >

[jira] [Created] (DRILL-3788) Partition Pruning not taking place with metadata caching when we have ~20k files

2015-09-15 Thread Rahul Challapalli (JIRA)
Rahul Challapalli created DRILL-3788: Summary: Partition Pruning not taking place with metadata caching when we have ~20k files Key: DRILL-3788 URL: https://issues.apache.org/jira/browse/DRILL-3788

Re: Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?

2015-09-15 Thread Chris Westin
This seems to be because the test is getting an ExceptionInInitializer in DrillbitClassLoader because the app.class.path property isn't set (and then the resulting String.length() on its value throws an NPE). Bueller? On Tue, Sep 15, 2015 at 5:20 PM, Chris Westin wrote: > I just rebased, and tw

[jira] [Resolved] (DRILL-3679) IOB Exception : when window functions used in outer and inner query

2015-09-15 Thread Jinfeng Ni (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinfeng Ni resolved DRILL-3679. --- Resolution: Fixed The symptom is different, but the root cause is same as DRILL-3680. Marked as dupli

Is anyone having issues with the jdbc unit tests (ITTestShadedJar)?

2015-09-15 Thread Chris Westin
I just rebased, and twice in a row I've gotten wedged running org.apache.drill.jdbc.ITTestShadedJar

[jira] [Created] (DRILL-3787) Need a better error message

2015-09-15 Thread Khurram Faraaz (JIRA)
Khurram Faraaz created DRILL-3787: - Summary: Need a better error message Key: DRILL-3787 URL: https://issues.apache.org/jira/browse/DRILL-3787 Project: Apache Drill Issue Type: Bug

[jira] [Created] (DRILL-3786) Query with window function fails with IllegalFormatConversionException

2015-09-15 Thread Abhishek Girish (JIRA)
Abhishek Girish created DRILL-3786: -- Summary: Query with window function fails with IllegalFormatConversionException Key: DRILL-3786 URL: https://issues.apache.org/jira/browse/DRILL-3786 Project: Apa

Re: anyone seen these errors on master ?

2015-09-15 Thread Jacques Nadeau
That is the same set of failures I saw. I think we need to fix these tests so that they aren't sensitive to random memory settings. -- Jacques Nadeau CTO and Co-Founder, Dremio On Tue, Sep 15, 2015 at 1:12 PM, Daniel Barclay wrote: > I recently saw some failures that may be related. Some tes

[jira] [Resolved] (DRILL-3765) Partition prune rule is unnecessary fired multiple times.

2015-09-15 Thread Jinfeng Ni (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-3765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinfeng Ni resolved DRILL-3765. --- Resolution: Won't Fix I looked at the Calcite trace file. Seems the multiple rule firing is what Calc

[GitHub] drill pull request: DRILL-1065: Support for ALTER ... RESET statem...

2015-09-15 Thread sudheeshkatkam
GitHub user sudheeshkatkam opened a pull request: https://github.com/apache/drill/pull/159 DRILL-1065: Support for ALTER ... RESET statement + Support for "SET option = value" statement (assumes scope as SESSION) + Better error messages in SetOptionHandler + Changes in Compou

[jira] [Resolved] (DRILL-3393) Quotes not being recognized in tab delimited (tsv) files

2015-09-15 Thread Sean Hsuan-Yi Chu (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-3393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Hsuan-Yi Chu resolved DRILL-3393. -- Resolution: Fixed Resolved in commit#: 48bc0b9a8916af7191b0a99351c27fd5b69786c3 > Quote

[jira] [Created] (DRILL-3785) AssertionError in FindPartitionConditions.java

2015-09-15 Thread Rahul Challapalli (JIRA)
Rahul Challapalli created DRILL-3785: Summary: AssertionError in FindPartitionConditions.java Key: DRILL-3785 URL: https://issues.apache.org/jira/browse/DRILL-3785 Project: Apache Drill I

[jira] [Resolved] (DRILL-3238) Cannot Plan Exception is raised when the same window partition is defined in select & window clauses

2015-09-15 Thread Sean Hsuan-Yi Chu (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Hsuan-Yi Chu resolved DRILL-3238. -- Resolution: Fixed > Cannot Plan Exception is raised when the same window partition is de

Re: anyone seen these errors on master ?

2015-09-15 Thread Daniel Barclay
I recently saw some failures that may be related. Some test got a different allocation exception than it expected. I think that it was expecting something like OversizeAllocationException but got an OutOfMemoryError or OutOfMemoryException. Daniel Abdel Hakim Deneche wrote: I didn't go into t

[jira] [Created] (DRILL-3784) simple Jdbc program fails with NoClassDefFoundError

2015-09-15 Thread Deneche A. Hakim (JIRA)
Deneche A. Hakim created DRILL-3784: --- Summary: simple Jdbc program fails with NoClassDefFoundError Key: DRILL-3784 URL: https://issues.apache.org/jira/browse/DRILL-3784 Project: Apache Drill

Re: anyone seen these errors on master ?

2015-09-15 Thread Abdel Hakim Deneche
I didn't go into the details of the failures, but the exception was caused by netty's not being able to allocate a new chunk of direct memory. On Tue, Sep 15, 2015 at 10:21 AM, Jacques Nadeau wrote: > I've seen sporadic failures with those tests. I'm wondering whether they > need to be redesigne

[jira] [Created] (DRILL-3783) Incorrect results : COUNT() over results returned by UNION ALL

2015-09-15 Thread Khurram Faraaz (JIRA)
Khurram Faraaz created DRILL-3783: - Summary: Incorrect results : COUNT() over results returned by UNION ALL Key: DRILL-3783 URL: https://issues.apache.org/jira/browse/DRILL-3783 Project: Apache Drill

Re: anyone seen these errors on master ?

2015-09-15 Thread Jacques Nadeau
I've seen sporadic failures with those tests. I'm wondering whether they need to be redesigned. Limiting direct memory to 8gb shouldn't fail the test. -- Jacques Nadeau CTO and Co-Founder, Dremio On Tue, Sep 15, 2015 at 9:39 AM, Abdel Hakim Deneche wrote: > I found what was causing those errors

Community Hangout happening now!

2015-09-15 Thread Abdel Hakim Deneche
Please join us in the weekly community hangout: https://plus.google.com/hangouts/_/event/ci4rdiju8bv04a64efj5fedd0lc -- Abdelhakim Deneche Software Engineer Now Available - Free Hadoop On-Demand Training

Re: anyone seen these errors on master ?

2015-09-15 Thread Abdel Hakim Deneche
I found what was causing those errors on my VM. I exported a MAVEN_OPTS that limits the direct memory to 8GB and forget to unset it, this was causing the build to fail because it couldn't allocate more direct memory, for some reason it was always failing on those TestValueVector unit tests. On Wed

[GitHub] drill pull request: DRILL-3735: For partition pruning divide up th...

2015-09-15 Thread jinfengni
Github user jinfengni commented on a diff in the pull request: https://github.com/apache/drill/pull/156#discussion_r39528358 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/ParquetPartitionDescriptor.java --- @@ -125,4 +117,16 @@ private String getBaseTableLoc

[GitHub] drill pull request: DRILL-3735: For partition pruning divide up th...

2015-09-15 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/156#discussion_r39528224 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/ParquetPartitionDescriptor.java --- @@ -125,4 +117,16 @@ private String getBaseTable

[GitHub] drill pull request: DRILL-3735: For partition pruning divide up th...

2015-09-15 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/156#discussion_r39527135 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/partition/PruneScanRule.java --- @@ -176,81 +177,103 @@ protected void doOnM

[GitHub] drill pull request: DRILL-3735: For partition pruning divide up th...

2015-09-15 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/156#discussion_r39527473 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/partition/PruneScanRule.java --- @@ -176,81 +177,103 @@ protected void doOnM

[GitHub] drill pull request: DRILL-3767: SchemaPath.getCompoundPath(String....

2015-09-15 Thread adeneche
Github user adeneche commented on a diff in the pull request: https://github.com/apache/drill/pull/155#discussion_r39526289 --- Diff: common/src/main/java/org/apache/drill/common/expression/SchemaPath.java --- @@ -54,15 +50,16 @@ public static SchemaPath getSimplePath(String name)

[GitHub] drill pull request: DRILL-3767: SchemaPath.getCompoundPath(String....

2015-09-15 Thread adeneche
Github user adeneche commented on a diff in the pull request: https://github.com/apache/drill/pull/155#discussion_r39526314 --- Diff: common/src/main/java/org/apache/drill/common/expression/SchemaPath.java --- @@ -220,9 +214,6 @@ public boolean contains(Object obj) { }

Re: Design and Implementation Question - related to DRILL-3738

2015-09-15 Thread Abdel Hakim Deneche
Hi Edmon, So basically you want to read/write data from/to Excel files. I guess you'd have to add a Format Plugin that extends from EasyFormatPlugin. I don't think we have proper documentation to explain how to do it, but you can look at how JSONFormatPlugin is implemented. Thanks On Mon, Sep 14

[GitHub] drill pull request: DRILL-2650: Mark query end time when closing t...

2015-09-15 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/drill/pull/80 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enable

[GitHub] drill pull request: DRILL-3347: VARCHAR ResultSet.getObject return...

2015-09-15 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/drill/pull/144 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabl

[GitHub] drill pull request: DRILL-1942-hygiene:

2015-09-15 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/drill/pull/133 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabl