Support Questions

Find answers, ask questions, and share your expertise

Zeppelin strange start problem



After the first restart of zeppelin from a new installation of a hdp 2.6.1 cluster. Zeppelin can't start (seem that there is an encoding problem).

I drop this zeppelin installation and I install zeppelin in another node. I have exactely the same problem when I start zeppelin server by ambari service.

Bellow the trace of the error :

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/", line 448, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/", line 329, in execute
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/", line 215, in start
  File "/var/lib/ambari-agent/cache/common-services/ZEPPELIN/", line 73, in create_zeppelin_dir
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 155, in __init__
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 124, in run_action
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/", line 555, in action_create_on_execute
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/", line 552, in action_delayed
    self.get_hdfs_resource_executor().action_delayed(action_name, self)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/", line 289, in action_delayed
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/", line 452, in _set_owner
    self.util.run_command(path, 'SETOWNER', method='PUT', owner=owner, group=group, assertable_result=False)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/", line 186, in run_command
    _, out, err = get_user_call_output(cmd, user=self.run_user, logoutput=self.logoutput, quiet=False)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/", line 50, in get_user_call_output
    code, _ =, user), quiet=quiet, **call_kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/", line 337, in as_user
    return "{0} su {1} -l -s /bin/bash -c {2}".format(_get_sudo_binary(), user, quote_bash_args(export_env + command))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 155: ordinal not in range(128)

Any idea to resolve this error ?

Thank you in advance.


Expert Contributor

@A. Karray

Isn't by any chance an 'é' in your user name?

@A. Karray

The unicode string for \xe9 is an accented e - é

Your error "UnicodeEncodeError:'ascii' codec can't encode character u'\xe9' in position 155: ordinal not in range(128)" indicates you have special char in your username.


Thank for your help. I never use accent character in user name.

I find the problem, it was a file path using an accent char.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.