Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Zeppelin starting error in HDP 2.3.2 on Amazon Ec2

Solved Go to solution
Highlighted

Zeppelin starting error in HDP 2.3.2 on Amazon Ec2

Rising Star

Hi,

I am getting error while starting the Zeppelin service through Ambari

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.3/services/ZEPPELIN/package/scripts/master.py", line 295, in <module>
    Master().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 216, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.3/services/ZEPPELIN/package/scripts/master.py", line 230, in start
    Execute (params.zeppelin_dir+'/bin/zeppelin-daemon.sh start >> ' + params.zeppelin_log_file, user=params.zeppelin_user)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 260, in action_run
    tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 290, in _call
    err_msg = Logger.filter_text(("Execution of '%s' returned %d. %s") % (command_alias, code, all_output))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 31: ordinal not in range(128)

Any pointer/guidance would be really appreaciated.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Zeppelin starting error in HDP 2.3.2 on Amazon Ec2

@Divya Gehlot

Try enabling utf8 in /var/lib/ambari-agent/cache/stacks/HDP/2.3/services/ZEPPELIN/package/scripts/master.py and restart zeppelin

# encoding=utf8

import sys, os, pwd, grp, signal, time, glob

from resource_management import *

from subprocess import call

3 REPLIES 3

Re: Zeppelin starting error in HDP 2.3.2 on Amazon Ec2

@Divya Gehlot

Try enabling utf8 in /var/lib/ambari-agent/cache/stacks/HDP/2.3/services/ZEPPELIN/package/scripts/master.py and restart zeppelin

# encoding=utf8

import sys, os, pwd, grp, signal, time, glob

from resource_management import *

from subprocess import call

Re: Zeppelin starting error in HDP 2.3.2 on Amazon Ec2

Could you provide details on what OS you are running and its version?

Re: Zeppelin starting error in HDP 2.3.2 on Amazon Ec2

Mentor

@Divya Gehlot has this been resolved? Can you post your solution or accept best answer?

Don't have an account?
Coming from Hortonworks? Activate your account here