You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Nick Amato (JIRA)" <ji...@apache.org> on 2015/06/24 02:33:43 UTC

[jira] [Created] (DRILL-3350) query of csv with 65k columns causes Drill Explorer exception

Nick Amato created DRILL-3350:
---------------------------------

             Summary: query of csv with 65k columns causes Drill Explorer exception 
                 Key: DRILL-3350
                 URL: https://issues.apache.org/jira/browse/DRILL-3350
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Flow
    Affects Versions: 1.0.0
            Reporter: Nick Amato
            Assignee: Chris Westin
            Priority: Minor


The error is in a dialogue window, "Unexpected end of content while loading JArray.  Path '[9506]', line 1, position 65536.".

I will attach the file.  Steps to reproduce:
- Open Drill Explorer -- I used Drill 1.0.0 (both on ODBC side and cluster)
running on a 5.0.0 build from about two weeks ago.
- Browse under dfs.root to a csv file with 65k columns.  I was able to reproduce it
with these size files:
    - 5000 columns OK
    - 20k, 30k, 50k, 65k failed
- Selecting the file causes the following exception:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Newtonsoft.Json.JsonReaderException: Unexpected end of content while loading
JArray. Path '[9506]', line 1, position 65536.
   at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader)
   at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader)
   at Newtonsoft.Json.Linq.JArray.Parse(String json)
   at DrillExplorer.DRExploreTablesDialog.ParseCSVJsonToColumns(String
jsonString)
   at DrillExplorer.DRExploreTablesDialog.RetrieveCSVMetadata(String
schemaName, String path)
   at DrillExplorer.DRExploreTablesDialog.BrowseDfsNode(DRTreeNode dfsNode)
   at DrillExplorer.DRExploreTablesDialog.browseTreeView_AfterSelect(Object
sender, TreeViewEventArgs e)
   at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
   at System.Windows.Forms.TreeView.WmNotify(Message& m)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)



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