carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-288) In hdfs bad record logger is failing in writting the bad records
Date Wed, 12 Oct 2016 14:21:20 GMT

    [ https://issues.apache.org/jira/browse/CARBONDATA-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15568857#comment-15568857
] 

ASF GitHub Bot commented on CARBONDATA-288:
-------------------------------------------

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

    https://github.com/apache/incubator-carbondata/pull/218#discussion_r83014871
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/surrogatekeysgenerator/csvbased/BadRecordslogger.java
---
    @@ -69,9 +68,13 @@
       private BufferedWriter bufferedCSVWriter;
       private DataOutputStream outCSVStream;
       /**
    -   *
    +   * bad record log file path
    +   */
    +  private String logFilePath;
    +  /**
    +   * csv file path
        */
    -  private CarbonFile logFile;
    +  private String csvFilePath;
    --- End diff --
    
    What is this csv file? What is the difference from logFilePath?


> 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 must be created first



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message