Create Zeppelin Interpreter Output Limit in the Python Interpreter
Note:
This section is applicable only when zeppelin.interpreter.output.limit is unavailable in the Python Interpreter.You can create the Zeppelin Interpreter Output Limit in the Python
interpreter either in OFS MMG UI or in OFS MMG Server.
OFS MMG UI
To create the Zeppelin Interpreter Output Limit in Python Interpreter
via OFS MMG UI, follow these steps:
OFS MMG Server
To create the Zeppelin Interpreter Output Limit in the Python
interpreter in OFS MMG Server, follow these steps:
- Navigate to the
<MMG_INSTALLATION_PATH>/deployed/mmg-home/mmgstudio/ server/builtin/interpreters
directory. - Open the python.json file and navigate to className": "oracle.datastudio.python.DsPythonInterpreter.
- Add the following lines at the end of the zeppelin
properties.
"zeppelin.interpreter.output.limit ": { "envName": "", "propertyName": "", "defaultValue": "", "description": "", "type": "" }
You can refer the following example when default value is 102400 bytes."zeppelin.interpreter.output.limit ": { "envName": "null", "propertyName": "zeppelin.interpreter.output.limit", "defaultValue": "102400", "description": "Output message from interpreter exceeding the limit will be truncated", "type": "number" }
- Save and close the python.json file.
- Restart OFS MMG. The new zeppelin.interpreter.output.limit will be created in the python interpreter.