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 Can not be started from Ambari Server?

Highlighted

Zeppelin Can not be started from Ambari Server?

Hello,

I can not start Zeppelin service from the Ambari launcher due to following error:

  1. Traceback(most recent call last):
  2. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 282,in _run_command
  3. result_dict = json.loads(out)
  4. File"/usr/lib/ambari-agent/lib/ambari_simplejson/__init__.py", line 307,in loads
  5. return _default_decoder.decode(s)
  6. File"/usr/lib/ambari-agent/lib/ambari_simplejson/decoder.py", line 335,in decode
  7. obj,end=self.raw_decode(s, idx=_w(s,0).end())
  8. File"/usr/lib/ambari-agent/lib/ambari_simplejson/decoder.py", line 353,in raw_decode
  9. raiseValueError("No JSON object could be decoded")
  10. ValueError:No JSON object could be decoded
  11. The above exception was the cause of the following exception:
  12. Traceback(most recent call last):
  13. File"/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZEPPELIN/package/scripts/master.py", line 681,in<module>
  14. Master().execute()
  15. File"/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 351,in execute
  16. method(env)
  17. File"/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZEPPELIN/package/scripts/master.py", line 250,in start
  18. self.create_zeppelin_dir(params)
  19. File"/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZEPPELIN/package/scripts/master.py", line 65,in create_zeppelin_dir
  20. recursive_chmod=True
  21. File"/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166,in __init__
  22. self.env.run()
  23. File"/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160,in run
  24. self.run_action(resource, action)
  25. File"/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124,in run_action
  26. provider_action()
  27. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 672,in action_create_on_execute
  28. self.action_delayed("create")
  29. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 669,in action_delayed
  30. self.get_hdfs_resource_executor().action_delayed(action_name,self)
  31. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 368,in action_delayed
  32. self.action_delayed_for_nameservice(None, action_name, main_resource)
  33. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 400,in action_delayed_for_nameservice
  34. self._set_owner(self.target_status)
  35. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 563,in _set_owner
  36. self.util.run_command(path,'SETOWNER', method='PUT', owner=owner,group=group, assertable_result=False)
  37. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 209,in run_command
  38. returnself._run_command(*args,**kwargs)
  39. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 290,in _run_command
  40. raiseWebHDFSCallException(err_msg, result_dict)
  41. resource_management.libraries.providers.hdfs_resource.WebHDFSCallException:Execution of 'curl -sS -L -w '%{http_code}' -X PUT -d '' -H 'Content-Length:0' 'http://foodscience-labroratory.com:50070/webhdfs/v1/user/zeppelin/.Trash/Current/user/hadoop/test/foodmeal_extracted.csv?op=SETOWNER&owner=zeppelin&group=&user.name=hdfs'' returned status_code=400.

How can I fix this? Where is this trash folder of Zeppelin in HDFS located? Because the 400 error means the file in the trash is already deleted but why is he trying to load the file? Is there a command for the console to empty the zeppelin trash folder manually?


Thanks in advance ;)

2 REPLIES 2

Re: Zeppelin Can not be started from Ambari Server?

Rising Star

This error can occur when the user permissions in /user/<zeppelin username> or .trash are incorrect. Could you check the permissions?

Highlighted

Re: Zeppelin Can not be started from Ambari Server?

Mentor

@Andreas Kühnert

Duplicate post when you open more than a for the same issue, you lose the trace of the initial troubleshooting by members

https://community.hortonworks.com/questions/232737/zeppeln-service-is-not-starting-anymore-due-to-mi...

Please, can you delete one of the two? Thank you

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