Jonathan Tinkham created ZEPPELIN-2885: ------------------------------------------
Summary: Python/PySpark: Logger doesn't implement 'isatty()' Key: ZEPPELIN-2885 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2885 Project: Zeppelin Issue Type: Bug Components: Interpreters, pySpark, python-interpreter Affects Versions: 0.7.2 Reporter: Jonathan Tinkham Priority: Minor When attempting to use H2O from Zeppelin, paragraphs fail with {AttributeError: 'Logger' object has no attribute 'isatty'}, due to Zeppelin using a custom class to capture output and redirect it. While adding a stub method to return false is possible (similar to what was done previously for ZEPPELIN-734), I think it would be better to have Logger inherit from a {TextIO} class and override the {write} method, increasing compatibility with libraries that use stdout. -- This message was sent by Atlassian JIRA (v6.4.14#64029)