Github user mebelousov commented on the issue: https://github.com/apache/zeppelin/pull/3163 @zjffdu - In note tree plus sing near folder must create note in this folder not at root. - It's seems double dots as folder name is still not fixed. - Can we avoid CR/LF chars as names? Notes are created, but have "?" in file system name. - Need to limit the name length for 255 symbols. For long names user get (tested on Ubuntu 16.04) `Failed to create note.` `IOException: Fail to create Note` ```python import requests import json zeppelin_user, zeppelin_password = 'user1' , '' zeppelin_host, zeppelin_port = 'localhost', 8080 class Izpepelin: def __init__(self): self.session = requests.Session() self.session.auth = (zeppelin_user, zeppelin_password) self.base_url = 'http://' + zeppelin_host + ':' + str(zeppelin_port) def create_note(self, note_name): body = {"name": note_name} return self.session.post(self.base_url + '/api/notebook/', json = body).json() super_names = ['Folder1/../double dot' '''Folder1/New line''', 'Folder1/1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111'] for name in super_names: zepp.create_note(name) ```
---