Github user vinodkc commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/160#discussion_r79282603
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/writer/ThriftWriter.java ---
    @@ -80,6 +80,17 @@ public void open() throws IOException {
       }
     
       /**
    +   * This will check whether stream and binary out is open or not.
    +   * @return
    +   */
    +  public boolean isOpen() {
    +    if (null != binaryOut && null != dataOutputStream) {
    --- End diff --
    
    need to set  binaryOut  and dataOutputStream to null in close() method


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to