Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Zeppelin Can not be started from Ambari Server?


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/", line 282,in _run_command
  3. result_dict = json.loads(out)
  4. File"/usr/lib/ambari-agent/lib/ambari_simplejson/", line 307,in loads
  5. return _default_decoder.decode(s)
  6. File"/usr/lib/ambari-agent/lib/ambari_simplejson/", 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/", 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/", line 681,in<module>
  14. Master().execute()
  15. File"/usr/lib/ambari-agent/lib/resource_management/libraries/script/", line 351,in execute
  16. method(env)
  17. File"/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/ZEPPELIN/package/scripts/", 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/", line 65,in create_zeppelin_dir
  20. recursive_chmod=True
  21. File"/usr/lib/ambari-agent/lib/resource_management/core/", line 166,in __init__
  23. File"/usr/lib/ambari-agent/lib/resource_management/core/", line 160,in run
  24. self.run_action(resource, action)
  25. File"/usr/lib/ambari-agent/lib/resource_management/core/", line 124,in run_action
  26. provider_action()
  27. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/", line 672,in action_create_on_execute
  28. self.action_delayed("create")
  29. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/", 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/", 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/", 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/", 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/", line 209,in run_command
  38. returnself._run_command(*args,**kwargs)
  39. File"/usr/lib/ambari-agent/lib/resource_management/libraries/providers/", 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' ''' 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 😉


Rising Star

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


@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

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

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