L.1 Configuring through the UI

Follow the subsequent steps to configure the zeppelin.interpreter.output.limit through the UI:

Using the Wizard Screen:

  1. Click the User Icon right top corner.
  2. Go to Data Studio Options.
  3. Click Interpreters. The Interpreters page is displayed.
  4. select the python interpreter for which you want to configure the zeppelin.interpreter.output.limit.
  5. Select python from the LHS options.
  6. Click on the WizardThis icon shows the action to corresponding workspace. Icon.
  7. From the RHS side click on oracle.datastudio.python.DsPythonInterpreter under Interpreter Client Configurations. The Interpreter Client Configuration popup is displayed.
  8. Under Properties, click on +Properties. The Properties popup is displayed.
  9. Fill the options as shown in the following spring-postSacalert.properties file figure . Set the default value to 870400 (for 1000 records approx.).

    Note:

    • Configuration using the Wizard screen is preferable to other ways of configuration.
    • If the data is more than 1000 records, update the zeppelin.python.maxResult in properties to the desired value and zeppelin.interpreter.output.limit as 870.4 x maxResult.
    • If you cannot see the Create and Cancel buttons, click on the header label of the Properties window.
    • The default value for zeppelin.interpreter.output.limit i is 102400 (in bytes)
    • Increasing the default value from 102400 bytes to an immense value will slow down the rendering of outputs of python paragraphs.

    Figure L-1 spring-postSacalert.properties file


    spring-postSacalert.properties file

  10. Click Create. The Interpreter Client Configuration popup is displayed and zeppelin.interpreter.output.limit is displayed under Properties.
  11. Click Confirm. The Interpreter Client Configuration window is displayed.
  12. Click Update.
  13. Restart the Compliance Studio application to reflect the changes.

Configuration through JSON Screen:

  1. Click the User Icon right top corner.
  2. Go to Data Studio Options.
  3. Click Interpreters. The Interpreters page is displayed.
  4. select the python interpreter for which you want to configure the zeppelin.interpreter.output.limit.
  5. Select python from the LHS options.
  6. Click on the This icon shows the action to corresponding workspace. Icon. The JSON configuration screen is displayed.
  7. Scroll down and locate interpreterClientConfigs with className oracle.datastudio.python.DsPythonInterpreter. you can find the properties section with zeppelin configurations.
  8. Add the zeppelin.interpreter.output.limit. See the following figure .

    Figure L-2 JSON Screen


    JSON Screen

  9. The update button will be enabled in the bottom right corner after the JSON modification. Click Update.
  10. Restart the Compliance Studio application to reflect the changes.