User 512 | 12/12/2014, 4:19:25 PM
I was importing a big CSV file into Graphlab, and it keeps showing Server error after reading some lines:
PROGRESS: Finished parsing file text.csv PROGRESS: Parsing completed. Parsed 100 lines in 1.05467 secs. Unable to infer column types. Defaulting to str Could not detect types. Using str for each column. PROGRESS: Read 93629 lines. Lines per second: 34651.6 PROGRESS: Read 306381 lines. Lines per second: 31554.2 Unable to reach server for 3 consecutive pings. Server is considered dead. Please exit and restart. Traceback (most recent call last): File "<stdin>", line 2, in <module> File "/usr/local/lib/python2.7/site-packages/graphlab/data_structures/sframe.py", line 994, in read_csv store_errors=False) File "/usr/local/lib/python2.7/site-packages/graphlab/data_structures/sframe.py", line 599, in _read_csv_impl errors = proxy.load_from_csvs(internal_url, parsing_config, type_hints) File "/usr/local/lib/python2.7/site-packages/graphlab/cython/context.py", line 23, in __exit__ raise exc_type(exc_value)
Is there any way to fix this?