Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21438


Change subject: IMPALA-13093: Fix failure in inserting into OBS tables
......................................................................

IMPALA-13093: Fix failure in inserting into OBS tables

On Huawei OBS (Object Storage Service), a file cannot be stat'ed until
after it's closed. The call on hdfsGetPathInfo() inside
CreateNewTmpFile() will always lead to a failure of "No such file or
directory".

This adds check on OBS paths and skips the call to hdfsGetPathInfo(). We
have done so for all other object storages.

Tests:
 - Verified INSERT on OBS tables succeed after this fix

Change-Id: I2441da0fc521b4b1111bed10c8edceb937bde481
---
M be/src/exec/table-sink-base.cc
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/38/21438/1
--
To view, visit http://gerrit.cloudera.org:8080/21438
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2441da0fc521b4b1111bed10c8edceb937bde481
Gerrit-Change-Number: 21438
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <huangquanl...@gmail.com>

Reply via email to