質問

I have installed windows service on my local machine and all setup looks good. However when I read from external table, I get http response code 500.

CREATE EXTERNAL TEMPORARY TABLE A
(
    a smallint,
    b integer,
    c text  
)
LOCATION ('gpfdist://hostname:8081/filename.txt')
FORMAT 'TEXT' (DELIMITER AS '   ' null '' ESCAPE 'OFF') ;

Error message -

ERROR:  http response code 500 from gpfdist (gpfdist://hostname8081/filename.txt): HTTP/1.0 500 session error (url.c:326)  (seg538 slice1 sdw135:40002 pid=6237) (cdbdisp.c:1476)

I am not sure how to resolve this error

役に立ちましたか?

解決

Possible chance of permission / access issues. check your stream provisioning setup.

User who is creating External table should have permission to write and access the directories over ETL nodes where you've started your stream provisioning.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top