notebook GateWay timeout (error 504)

65 views
Skip to first unread message

tjbk...@gmail.com

unread,
May 25, 2016, 7:38:45 AM5/25/16
to hue-user
hi all,

    I use hue3.10, hue-cdh5-base-3.10.0

    use notebook -> scala

[25/May/2016 18:52:30 +0800] decorators   ERROR    error running <function create_session at 0x7f74412e3cf8>
Traceback (most recent call last):
  File "/opt/cyb/hue-cdh5-base-3.10.0/desktop/libs/notebook/src/notebook/decorators.py", line 81, in decorator
    return func(*args, **kwargs)
  File "/opt/cyb/hue-cdh5-base-3.10.0/desktop/libs/notebook/src/notebook/api.py", line 78, in create_session
    response['session'] = get_api(request, session).create_session(lang=session['type'], properties=properties)
  File "/opt/cyb/hue-cdh5-base-3.10.0/desktop/libs/notebook/src/notebook/connectors/spark_shell.py", line 159, in create_session
    response = api.create_session(**props)
  File "/opt/cyb/hue-cdh5-base-3.10.0/apps/spark/src/spark/job_server_api.py", line 101, in create_session
    return self._root.post('sessions', data=json.dumps(properties), contenttype=_JSON_CONTENT_TYPE)
  File "/opt/cyb/hue-cdh5-base-3.10.0/desktop/core/src/desktop/lib/rest/resource.py", line 124, in post
    return self.invoke("POST", relpath, params, data, self._make_headers(contenttype, headers), files)
  File "/opt/cyb/hue-cdh5-base-3.10.0/desktop/core/src/desktop/lib/rest/resource.py", line 79, in invoke
    urlencode=self._urlencode)
  File "/opt/cyb/hue-cdh5-base-3.10.0/desktop/core/src/desktop/lib/rest/http_client.py", line 163, in execute
    raise self._exc_class(ex)
RestException: Gateway timeout (error 504)

livy-defaults.conf modify follow :
livy.server.session.factory = yarn
livy.yarn.jar = hdfs://centos214:8020/user/hue/share/lib/livy-assembly-0.2.0-SNAPSHOT.jar

bin/livy-yar-server

I think the parameters(livy.yarn.jar) is invalid



Reply all
Reply to author
Forward
0 new messages