[jira] [Created] (CARBONDATA-288) In hdfs bad record logger is failing in writting the bad records
Posted by
Akash R Nilugal (Jira) on
Oct 08, 2016; 7:49pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Created-CARBONDATA-288-In-hdfs-bad-record-logger-is-failing-in-writting-the-bad-records-tp1689.html
Mohammad Shahid Khan created CARBONDATA-288:
-----------------------------------------------
Summary: 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
Reporter: Mohammad Shahid Khan
Assignee: Mohammad Shahid Khan
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 file must be created first.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)