You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/10/08 21:02:20 UTC
[jira] [Commented] (CARBONDATA-288) In hdfs bad record logger is
failing in writting the bad records
[ https://issues.apache.org/jira/browse/CARBONDATA-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15558712#comment-15558712 ]
ASF GitHub Bot commented on CARBONDATA-288:
-------------------------------------------
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 <mo...@gmail.com>
Date: 2016-10-08T20:54:57Z
[CARBONDATA-288] In hdfs bad record logger is failing in writting the bad records
----
> In hdfs bad record logger is failing in writting the bad records
> ----------------------------------------------------------------
>
> Key: CARBONDATA-288
> URL: https://issues.apache.org/jira/browse/CARBONDATA-288
> Project: CarbonData
> Issue Type: Bug
> Affects Versions: 0.2.0-incubating
> Reporter: Mohammad Shahid Khan
> Assignee: Mohammad Shahid Khan
> Priority: Minor
> Fix For: 0.2.0-incubating
>
>
> 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, the must be created first
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)