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

ASF GitHub Bot commented on TRAFODION-2109:
-------------------------------------------

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

    https://github.com/apache/incubator-trafodion/pull/593#discussion_r71015190
  
    --- Diff: core/sql/executor/ExHbaseAccess.cpp ---
    @@ -2967,22 +2968,28 @@ void ExHbaseAccessTcb::handleException(NAHeap *heap,
                                         ComCondition *errorCond,
                                         ExpHbaseInterface * ehi,
                                         NABoolean & LoggingFileCreated,
    -                                    char *loggingFileName)
    +                                    char *loggingFileName,
    +                                    ComDiagsArea **loggingErrorDiags)
     {
       Lng32 errorMsgLen = 0;
       charBuf *cBuf = NULL;
       char *errorMsg;
       Lng32 retcode;
     
    +  if (*loggingErrorDiags != NULL)
    --- End diff --
    
    Basically, we want to skip the error rows in the source and continue to 
load. Load command has constructs to log the error row and the error 
information about it.  We just want to report the error while logging the error 
rows as warning at the end of the load command. This check is skipping the 
logging once an error is encountered  in the earlier attempt to log the error 
row.


> Load with log error rows returns the following error at times
> -------------------------------------------------------------
>
>                 Key: TRAFODION-2109
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2109
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-exe
>    Affects Versions: 1.3-incubating
>            Reporter: Selvaganesan Govindarajan
>            Assignee: Selvaganesan Govindarajan
>             Fix For: 2.1-incubating
>
>
> load with log error rows into <trafodion_table>
> select * from hive.hive.<hive_table>
> *** ERROR[2034] $Z0014JQ:5192: Operating system error 201 while communicating 
> with server process $Z021FS0:425.
>  
> *** ERROR[2034] $Z0014JQ:5192: Operating system error 201 while communicating 
> with server process $Z021FS0:425.
>  
> *** ERROR[2034] $Z0014JQ:5192: Operating system error 201 while communicating 
> with server process $Z021FS0:425.
>  
> --- 0 row(s) loaded.



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

Reply via email to