[jira] [Updated] (HIVE-2138) Exception when no splits returned from index

2011-08-08 Thread John Sichi (JIRA)

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

John Sichi updated HIVE-2138:
-

   Resolution: Fixed
Fix Version/s: 0.8.0
 Hadoop Flags: [Reviewed]
   Status: Resolved  (was: Patch Available)

Committed.  Thanks Syed!


 Exception when no splits returned from index
 

 Key: HIVE-2138
 URL: https://issues.apache.org/jira/browse/HIVE-2138
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.8.0
Reporter: Russell Melick
Assignee: Syed S. Albiz
 Fix For: 0.8.0

 Attachments: HIVE-2138.1.patch, HIVE-2138.2.patch, HIVE-2138.3.patch, 
 HIVE-2138.4.patch, HIVE-2138.5.patch, index_auto_test_if_used.q


 Running a query that uses indexing but doesn't return any results give an 
 exception.
 {code} java.lang.IllegalArgumentException: Can not create a Path from an 
 empty string
 at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
 at org.apache.hadoop.fs.Path.init(Path.java:90)
 at org.apache.hadoop.util.StringUtils.stringToPath(StringUtils.java:224)
 at 
 org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:282)
 at 
 org.apache.hadoop.hive.ql.index.HiveIndexedInputFormat.getSplits(HiveIndexedInputFormat.java:123)
  {code}
 This could potentially be fixed by creating a new empty file to use for the 
 splits.
 Once this is fixed, the index_auto_test_if_used.q can be used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2138) Exception when no splits returned from index

2011-08-05 Thread Syed S. Albiz (JIRA)

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

Syed S. Albiz updated HIVE-2138:


Status: Patch Available  (was: Open)

 Exception when no splits returned from index
 

 Key: HIVE-2138
 URL: https://issues.apache.org/jira/browse/HIVE-2138
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.8.0
Reporter: Russell Melick
Assignee: Syed S. Albiz
 Attachments: HIVE-2138.1.patch, HIVE-2138.2.patch, HIVE-2138.3.patch, 
 HIVE-2138.4.patch, HIVE-2138.5.patch, index_auto_test_if_used.q


 Running a query that uses indexing but doesn't return any results give an 
 exception.
 {code} java.lang.IllegalArgumentException: Can not create a Path from an 
 empty string
 at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
 at org.apache.hadoop.fs.Path.init(Path.java:90)
 at org.apache.hadoop.util.StringUtils.stringToPath(StringUtils.java:224)
 at 
 org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:282)
 at 
 org.apache.hadoop.hive.ql.index.HiveIndexedInputFormat.getSplits(HiveIndexedInputFormat.java:123)
  {code}
 This could potentially be fixed by creating a new empty file to use for the 
 splits.
 Once this is fixed, the index_auto_test_if_used.q can be used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2138) Exception when no splits returned from index

2011-08-04 Thread John Sichi (JIRA)

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

John Sichi updated HIVE-2138:
-

Status: Open  (was: Patch Available)

index_auto_test_if_used.q should not be in this patch.

 Exception when no splits returned from index
 

 Key: HIVE-2138
 URL: https://issues.apache.org/jira/browse/HIVE-2138
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.8.0
Reporter: Russell Melick
Assignee: Syed S. Albiz
 Attachments: HIVE-2138.1.patch, HIVE-2138.2.patch, HIVE-2138.3.patch, 
 index_auto_test_if_used.q


 Running a query that uses indexing but doesn't return any results give an 
 exception.
 {code} java.lang.IllegalArgumentException: Can not create a Path from an 
 empty string
 at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
 at org.apache.hadoop.fs.Path.init(Path.java:90)
 at org.apache.hadoop.util.StringUtils.stringToPath(StringUtils.java:224)
 at 
 org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:282)
 at 
 org.apache.hadoop.hive.ql.index.HiveIndexedInputFormat.getSplits(HiveIndexedInputFormat.java:123)
  {code}
 This could potentially be fixed by creating a new empty file to use for the 
 splits.
 Once this is fixed, the index_auto_test_if_used.q can be used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2138) Exception when no splits returned from index

2011-08-04 Thread John Sichi (JIRA)

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

John Sichi updated HIVE-2138:
-

Status: Open  (was: Patch Available)

index_auto_empty needs its log updated:

[junit]  PREHOOK: type: ALTERINDEX_REBUILD
[junit] ---
[junit]  PREHOOK: type: QUERY
[junit] 23c23
[junit]  POSTHOOK: type: ALTERINDEX_REBUILD
[junit] ---


 Exception when no splits returned from index
 

 Key: HIVE-2138
 URL: https://issues.apache.org/jira/browse/HIVE-2138
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.8.0
Reporter: Russell Melick
Assignee: Syed S. Albiz
 Attachments: HIVE-2138.1.patch, HIVE-2138.2.patch, HIVE-2138.3.patch, 
 HIVE-2138.4.patch, index_auto_test_if_used.q


 Running a query that uses indexing but doesn't return any results give an 
 exception.
 {code} java.lang.IllegalArgumentException: Can not create a Path from an 
 empty string
 at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
 at org.apache.hadoop.fs.Path.init(Path.java:90)
 at org.apache.hadoop.util.StringUtils.stringToPath(StringUtils.java:224)
 at 
 org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:282)
 at 
 org.apache.hadoop.hive.ql.index.HiveIndexedInputFormat.getSplits(HiveIndexedInputFormat.java:123)
  {code}
 This could potentially be fixed by creating a new empty file to use for the 
 splits.
 Once this is fixed, the index_auto_test_if_used.q can be used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2138) Exception when no splits returned from index

2011-08-02 Thread Syed S. Albiz (JIRA)

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

Syed S. Albiz updated HIVE-2138:


Attachment: HIVE-2138.3.patch

replace testcase with a robust testcase to check for empty splits

 Exception when no splits returned from index
 

 Key: HIVE-2138
 URL: https://issues.apache.org/jira/browse/HIVE-2138
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.8.0
Reporter: Russell Melick
Assignee: Syed S. Albiz
 Attachments: HIVE-2138.1.patch, HIVE-2138.2.patch, HIVE-2138.3.patch, 
 index_auto_test_if_used.q


 Running a query that uses indexing but doesn't return any results give an 
 exception.
 {code} java.lang.IllegalArgumentException: Can not create a Path from an 
 empty string
 at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
 at org.apache.hadoop.fs.Path.init(Path.java:90)
 at org.apache.hadoop.util.StringUtils.stringToPath(StringUtils.java:224)
 at 
 org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:282)
 at 
 org.apache.hadoop.hive.ql.index.HiveIndexedInputFormat.getSplits(HiveIndexedInputFormat.java:123)
  {code}
 This could potentially be fixed by creating a new empty file to use for the 
 splits.
 Once this is fixed, the index_auto_test_if_used.q can be used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2138) Exception when no splits returned from index

2011-08-01 Thread Syed S. Albiz (JIRA)

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

Syed S. Albiz updated HIVE-2138:


Status: Patch Available  (was: Open)

 Exception when no splits returned from index
 

 Key: HIVE-2138
 URL: https://issues.apache.org/jira/browse/HIVE-2138
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.8.0
Reporter: Russell Melick
Assignee: Syed S. Albiz
 Attachments: HIVE-2138.1.patch, index_auto_test_if_used.q


 Running a query that uses indexing but doesn't return any results give an 
 exception.
 {code} java.lang.IllegalArgumentException: Can not create a Path from an 
 empty string
 at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
 at org.apache.hadoop.fs.Path.init(Path.java:90)
 at org.apache.hadoop.util.StringUtils.stringToPath(StringUtils.java:224)
 at 
 org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:282)
 at 
 org.apache.hadoop.hive.ql.index.HiveIndexedInputFormat.getSplits(HiveIndexedInputFormat.java:123)
  {code}
 This could potentially be fixed by creating a new empty file to use for the 
 splits.
 Once this is fixed, the index_auto_test_if_used.q can be used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2138) Exception when no splits returned from index

2011-04-30 Thread Russell Melick (JIRA)

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

Russell Melick updated HIVE-2138:
-

Attachment: index_auto_test_if_used.q

Attached test file (index_auto_test_if_used) that should test whether indexes 
are used.

 Exception when no splits returned from index
 

 Key: HIVE-2138
 URL: https://issues.apache.org/jira/browse/HIVE-2138
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.8.0
Reporter: Russell Melick
 Attachments: index_auto_test_if_used.q


 Running a query that uses indexing but doesn't return any results give an 
 exception.
 {code} java.lang.IllegalArgumentException: Can not create a Path from an 
 empty string
 at org.apache.hadoop.fs.Path.checkPathArg(Path.java:82)
 at org.apache.hadoop.fs.Path.init(Path.java:90)
 at org.apache.hadoop.util.StringUtils.stringToPath(StringUtils.java:224)
 at 
 org.apache.hadoop.mapred.FileInputFormat.setInputPaths(FileInputFormat.java:282)
 at 
 org.apache.hadoop.hive.ql.index.HiveIndexedInputFormat.getSplits(HiveIndexedInputFormat.java:123)
  {code}
 This could potentially be fixed by creating a new empty file to use for the 
 splits.
 Once this is fixed, the index_auto_test_if_used.q can be used.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira