GitHub user ravikiran23 opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/160

    [CARBONDATA-245] Actual Exception is getting lost in case of data 
dictionary file generation.

    PROBLEM : 
    during data load if any exception comes when the dictionary file is getting 
generated.
    then in the finally block trying to write the meta file but as the stream 
is null, it will throw null pointer.
      
    solution : 
    in the finally added a check whether the stream is null or not. then only 
writing data to the stream.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ravikiran23/incubator-carbondata 
nullPointerInDataLoad

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/160.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #160
    
----
commit 58335f16ac3541b2ebcf157e933ab5291a59e9c1
Author: ravikiran <ravikiran.sn...@gmail.com>
Date:   2016-09-16T18:34:38Z

    if for any reason data load is failed during the dictionary generation then 
in the finally block trying to write the meta file but as the stream is null, 
it will throw null pointer.

----


---
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