Skip to content

Commit

Permalink
jira-595: better error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
drealeed committed May 15, 2024
1 parent c229365 commit 680baa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ public RowServiceInputStream(DataPartition dp, FieldDef rd, FieldDef pRd, int co
this.streamPos = restartInfo.streamPos;
this.streamPosOfFetchStart = this.streamPos;
}
String prefix = "RowServiceInputStream constructor, file " + dataPart.getCopyPath(0) + " part " + dataPart.getThisPart() + " on IP " + getIP() + ":";
String prefix = "RowServiceInputStream constructor, file " + fileName + " part " + dataPart.getThisPart() + " on IP " + getIP() + ":";

if (inFetchingMode == false)
{
Expand Down Expand Up @@ -2229,7 +2229,7 @@ private RowServiceResponse readResponse() throws HpccFileException
sb.append("\nInvalid file access expiry reported - change File Access Expiry (HPCCFile) and retry");
break;
case RFCCodes.DAFSERR_cmdstream_authexpired:
sb.append("\nFile access expired before initial request - Retry and consider increasing File Access Expiry (HPCCFile)");
sb.append("\nFile access expired before initial request - Retry and consider increasing File Access Expiry (HPCCFile) to something greater than " + this.socketOpTimeoutMs);
break;
default:
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ private RowServiceResponse readResponse() throws HpccFileException
sb.append("\nInvalid file access expiry reported - change File Access Expiry (HPCCFile) and retry");
break;
case RFCCodes.DAFSERR_cmdstream_authexpired:
sb.append("\nFile access expired before initial request - Retry and consider increasing File Access Expiry (HPCCFile)");
sb.append("\nFile access expired before initial request - Retry and consider increasing File Access Expiry (HPCCFile) to something greater than " + this.sockOpTimeoutMs);
break;
default:
break;
Expand Down

0 comments on commit 680baa3

Please sign in to comment.