Win a copy of Head First Go this week in the Go forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

TSocket read 0 byte in Hue Browser  RSS feed

 
Ranch Hand
Posts: 1724
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am running cloudera vm quickstarts 5.13.
In Hue browser in my cloudera virtual machine, I created a table with a column family, cf and then used bulk upload to upload a csv file.

But I got an error "API error: TSocket reads 0 bytes'.

I have already used "sudo service hbase-thrift restart " and sudo jps shows that ThriftServer is running.

The hue log file says:


8/Feb/2019 19:34:15 -0800] thrift_util  INFO     Thrift exception; retrying: TSocket read 0 bytes
[18/Feb/2019 19:34:16 -0800] thrift_util  INFO     Thrift exception; retrying: TSocket read 0 bytes
[18/Feb/2019 19:34:16 -0800] thrift_util  WARNING  Out of retries for thrift call: mutateRows
[18/Feb/2019 19:34:16 -0800] thrift_util  INFO     Thrift saw a transport exception: TSocket read 0 bytes
[18/Feb/2019 19:34:16 -0800] exceptions_renderable ERROR    Potential trace: [('/usr/lib/hue/apps/hbase/src/hbase/api.py', 46, 'query', 'return getattr(self, action)(*args)'), ('/usr/lib/hue/apps/hbase/src/hbase/api.py', 253, 'bulkUpload', 'client.mutateRows(tableName, batches, None, doas=self.user.username)'), ('/usr/lib/hue/desktop/core/src/desktop/lib/thrift_util.py', 389, 'wrapper', 'raise StructuredThriftTransportException(e, error_code=502)')]
[18/Feb/2019 19:34:16 -0800] middleware   INFO     Processing exception: Api Error: TSocket read 0 bytes: Traceback (most recent call last):
 File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/core/handlers/base.py", line 112, in get_response
   response = wrapped_callback(request, *callback_args, **callback_kwargs)
 File "/usr/lib/hue/build/env/lib/python2.6/site-packages/Django-1.6.10-py2.6.egg/django/db/transaction.py", line 371, in inner
   return func(*args, **kwargs)
 File "/usr/lib/hue/apps/hbase/src/hbase/views.py", line 79, in api_router
   return api_dump(HbaseApi(request.user).query(*url_params))
 File "/usr/lib/hue/apps/hbase/src/hbase/api.py", line 54, in query
   raise PopupException(_("Api Error: %s") % error_msg)
PopupException: Api Error: TSocket read 0 bytes



Please advice.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!