GitHub user mohammadshahidkhan opened a pull request:

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

    [CARBONDATA-288] In hdfs bad record logger is failing in writing the bad 
records in log file

    **Poblem**
    For HDFS file system 
    CarbonFile logFile = FileFactory.getCarbonFile(filePath, FileType.HDFS);
    if filePath does not exits then
    Calling CarbonFile.getPath() throws NullPointerException.
    **Solution:**
    If file does not exist then before accessing the file must be created first.

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

    $ git pull https://github.com/mohammadshahidkhan/incubator-carbondata 
badrecord_log_file_writting_fix

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

    https://github.com/apache/incubator-carbondata/pull/218.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 #218
    
----
commit 6a9ca5a78bc128f1e4f8c37164fc81dec6b70894
Author: mohammadshahidkhan <[email protected]>
Date:   2016-10-08T20:54:57Z

    [CARBONDATA-288] In hdfs bad record logger is failing in writting the bad 
records

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to