Zhiguo Wu created AMBARI-25739: ---------------------------------- Summary: Illegal character SPACE when starting Zeppelin notebook Key: AMBARI-25739 URL: https://issues.apache.org/jira/browse/AMBARI-25739 Project: Ambari Issue Type: Documentation Reporter: Zhiguo Wu
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/scripts/master.py", line 677, in <module> Master().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 355, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/scripts/master.py", line 239, in start self.check_and_copy_notebook_in_hdfs(params) File "/var/lib/ambari-agent/cache/stacks/BIGTOP/3.2.0/services/ZEPPELIN/package/scripts/master.py", line 213, in check_and_copy_notebook_in_hdfs recursive_chmod=True File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__ self.env.run() File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 713, in action_create_on_execute self.action_delayed("create") File "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 710, in action_delayed self.get_hdfs_resource_executor().action_delayed(action_name, self) File "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 385, in action_delayed self.action_delayed_for_nameservice(None, action_name, main_resource) File "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 415, in action_delayed_for_nameservice self._create_resource() File "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 434, in _create_resource self._copy_from_local_directory(self.main_resource.resource.target, self.main_resource.resource.source) File "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 442, in _copy_from_local_directory self._create_directory(new_target) File "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 506, in _create_directory self.util.run_command(target, 'MKDIRS', method='PUT') File "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 226, in run_command return self._run_command(*args, **kwargs) File "/usr/lib/ambari-agent/lib/resource_management/libraries/providers/hdfs_resource.py", line 307, in _run_command raise WebHDFSCallException(err_msg, result_dict) resource_management.libraries.providers.hdfs_resource.WebHDFSCallException: Execution of 'curl -sS -L -w '%\{http_code}' -X PUT -d '' -H 'Content-Length: 0' 'http://ambari-agent-01:50070/webhdfs/v1/user/zeppelin/notebook/Miscellaneous Tutorial?op=MKDIRS&user.name=hdfs'' returned status_code=400. <h1>Bad Message 400</h1><pre>reason: Illegal character SPACE=' '</pre> -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org For additional commands, e-mail: issues-h...@ambari.apache.org